Jump to content

Smartyn34

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank for reply, now i2c is working, I compared dts file from other dist (where i2c works) , and changed: i2c0-pins { pins = "PH0\0PH1"; function = "i2c0"; phandle = <0x30>; }; i2c1-pins { pins = "PH2\0PH3"; function = "i2c1"; phandle = <0x31>; }; i2c2-ph-pins { pins = "PH4\0PH5"; function = "i2c2"; phandle = <0x69>; }; i2c@1c2ac00 { compatible = "allwinner,sun8i-a83t-i2c\0allwinner,sun6i-a31-i2c"; reg = <0x1c2ac00 0x400>; interrupts = <0x00 0x06 0x04>; clocks = <0x02 0x32>; resets = <0x02 0x25>; pinctrl-names = "default"; pinctrl-0 = <0x30>; status = "okay"; #address-cells = <0x01>; #size-cells = <0x00>; phandle = <0x78>; }; i2c@1c2b000 { compatible = "allwinner,sun8i-a83t-i2c\0allwinner,sun6i-a31-i2c"; reg = <0x1c2b000 0x400>; interrupts = <0x00 0x07 0x04>; clocks = <0x02 0x33>; resets = <0x02 0x26>; pinctrl-names = "default"; pinctrl-0 = <0x31>; status = "okay"; #address-cells = <0x01>; #size-cells = <0x00>; phandle = <0x79>; }; i2c@1c2b400 { compatible = "allwinner,sun8i-a83t-i2c\0allwinner,sun6i-a31-i2c"; reg = <0x1c2b400 0x400>; interrupts = <0x00 0x08 0x04>; clocks = <0x02 0x34>; resets = <0x02 0x27>; pinctrl-names = "default"; pinctrl-0 = <0x69>; status = "okay"; #address-cells = <0x01>; #size-cells = <0x00>; phandle = <0x7a>; }; spravce@bananapim3:~$ sudo i2cdetect -y 3 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: 20 21 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines