]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: k2g: Add I2C nodes to 66AK2Gx
authorCooper Jr., Franklin <fcooper@ti.com>
Thu, 20 Apr 2017 15:25:46 +0000 (10:25 -0500)
committerHeiko Schocher <hs@denx.de>
Tue, 9 May 2017 07:04:49 +0000 (09:04 +0200)
Add I2C nodes to the 66AK2Gx dtsi.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
arch/arm/dts/keystone-k2g.dtsi

index 2193f9fa21bf4cb50e3d5eb87334e74d0617ea1b..191e3f167a609c61e23a02d35430c8fcd0d5b42c 100644 (file)
@@ -24,6 +24,9 @@
                spi2 = &spi2;
                spi3 = &spi3;
                spi4 = &qspi;
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               i2c2 = &i2c2;
        };
 
        memory {
                        #size-cells = <0>;
                        status = "disabled";
                };
+               i2c0: i2c@2530000 {
+                       compatible = "ti,keystone-i2c";
+                       reg = <0x02530000 0x400>;
+                       clock-frequency = <100000>;
+                       interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2c1: i2c@2530400 {
+                       compatible = "ti,keystone-i2c";
+                       reg = <0x02530400 0x400>;
+                       clock-frequency = <100000>;
+                       interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2c2: i2c@2530800 {
+                       compatible = "ti,keystone-i2c";
+                       reg = <0x02530800 0x400>;
+                       clock-frequency = <100000>;
+                       interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
 
                mmc0: mmc@23000000 {
                        compatible = "ti,omap4-hsmmc";