error in dtb for orange pi one ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

error in dtb for orange pi one ?

Stephen Graf
I took this dtb from the amd64 dtb package yesterday (dtb-4.13.tgz).

 

The address register for i2c01 and i2c02 are the same.  I2c02 should be:

reg = <0x1c2b400 0x400>;

 

dtc -O dts -I dtb -o temp.dts
/usr/local/share/dtb/arm/sun8i-h3-orangepi-one.dtb

.

 

           i2c@01c2ac00 {

                        compatible = "allwinner,sun6i-a31-i2c";

                        reg = <0x1c2ac00 0x400>;

                        interrupts = <0x0 0x6 0x4>;

                        clocks = <0x2 0x3b>;

                        resets = <0x2 0x2e>;

                        pinctrl-names = "default";

                        pinctrl-0 = <0x13>;

                        status = "disabled";

                        #address-cells = <0x1>;

                        #size-cells = <0x0>;

                };

 

                i2c@01c2b000 {

                        compatible = "allwinner,sun6i-a31-i2c";

                        reg = <0x1c2b000 0x400>;

                        interrupts = <0x0 0x7 0x4>;

                        clocks = <0x2 0x3c>;

                        resets = <0x2 0x2f>;

                        pinctrl-names = "default";

                        pinctrl-0 = <0x14>;

                        status = "disabled";

                        #address-cells = <0x1>;

                        #size-cells = <0x0>;

                };

 

                i2c@01c2b400 {

                        compatible = "allwinner,sun6i-a31-i2c";

                        reg = <0x1c2b000 0x400>;

                        interrupts = <0x0 0x8 0x4>;

                        clocks = <0x2 0x3d>;

                        resets = <0x2 0x30>;

                        pinctrl-names = "default";

                        pinctrl-0 = <0x15>;

                        status = "disabled";

                        #address-cells = <0x1>;

                        #size-cells = <0x0>;

                };