]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/dts/sun8i-h3.dtsi
Add support for IPFire Nano
[people/ms/u-boot.git] / arch / arm / dts / sun8i-h3.dtsi
index afa60793a2353d3018f7dbc001df06c2e95b9fa8..b5104d58897840c0e32daa7877d2b0481a4606e0 100644 (file)
                                allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
                        };
 
+                       i2c0_pins: i2c0 {
+                               pins = "PA11", "PA12";
+                               function = "i2c0";
+                       };
+
                        mmc0_pins_a: mmc0@0 {
                                allwinner,pins = "PF0", "PF1", "PF2", "PF3",
                                                 "PF4", "PF5";
                                allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
                        };
                };
+
+               i2c0: i2c@1c2ac00 {
+                       compatible = "allwinner,sun6i-a31-i2c";
+                       reg = <0x01c2ac00 0x400>;
+                       interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&ccu CLK_BUS_I2C0>;
+                       resets = <&ccu RST_BUS_I2C0>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c0_pins>;
+                       status = "disabled";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+               };
        };
 };