arm: dts: k3-am65: Add I2C nodes
authorAndreas Dannenberg <dannenberg@ti.com>
Tue, 4 Jun 2019 23:08:14 +0000 (18:08 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 17 Jul 2019 15:12:54 +0000 (11:12 -0400)
Add I2C DT nodes

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/dts/k3-am65-main.dtsi
arch/arm/dts/k3-am65-mcu.dtsi
arch/arm/dts/k3-am65-wakeup.dtsi
arch/arm/dts/k3-am65.dtsi

index a97872f62ec67aaf5c07a4c1adde52491a1e956f..39fec03b4a9269b5c62a7bf2ede575bce87dabb4 100644 (file)
                ti,trm-icp = <0x8>;
                dma-coherent;
        };
+
+       main_i2c0: i2c@2000000 {
+               compatible = "ti,am654-i2c", "ti,omap4-i2c";
+               reg = <0x0 0x2000000 0x0 0x100>;
+               interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               clock-names = "fck";
+               clocks = <&k3_clks 110 1>;
+               power-domains = <&k3_pds 110>;
+       };
+
+       main_i2c1: i2c@2010000 {
+               compatible = "ti,am654-i2c", "ti,omap4-i2c";
+               reg = <0x0 0x2010000 0x0 0x100>;
+               interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               clock-names = "fck";
+               clocks = <&k3_clks 111 1>;
+               power-domains = <&k3_pds 111>;
+       };
+
+       main_i2c2: i2c@2020000 {
+               compatible = "ti,am654-i2c", "ti,omap4-i2c";
+               reg = <0x0 0x2020000 0x0 0x100>;
+               interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               clock-names = "fck";
+               clocks = <&k3_clks 112 1>;
+               power-domains = <&k3_pds 112>;
+       };
+
+       main_i2c3: i2c@2030000 {
+               compatible = "ti,am654-i2c", "ti,omap4-i2c";
+               reg = <0x0 0x2030000 0x0 0x100>;
+               interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               clock-names = "fck";
+               clocks = <&k3_clks 113 1>;
+               power-domains = <&k3_pds 113>;
+       };
 };
index 8c611d16df44bd80ef9ddd0032df241085f8b88f..1fd027748e1fa525922f412fa866f1ed7c2f9dfb 100644 (file)
                        clock-frequency = <96000000>;
                        current-speed = <115200>;
        };
+
+       mcu_i2c0: i2c@40b00000 {
+               compatible = "ti,am654-i2c", "ti,omap4-i2c";
+               reg = <0x0 0x40b00000 0x0 0x100>;
+               interrupts = <GIC_SPI 564 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               clock-names = "fck";
+               clocks = <&k3_clks 114 1>;
+               power-domains = <&k3_pds 114>;
+       };
 };
index 1b67747dfef8edcc12582b8373e3c0354181404c..1f85006f557167570544c9bae3ae0eb0aa54401d 100644 (file)
                clock-frequency = <48000000>;
                current-speed = <115200>;
        };
+
+       wkup_i2c0: i2c@42120000 {
+               compatible = "ti,am654-i2c", "ti,omap4-i2c";
+               reg = <0x42120000 0x100>;
+               interrupts = <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               clock-names = "fck";
+               clocks = <&k3_clks 115 1>;
+               power-domains = <&k3_pds 115>;
+       };
 };
index 9d1ed497532978382a0ec2449b1cad80de5faf94..1de84fffab47dba31dbfa4d5dbb23d51e4db5653 100644 (file)
                serial2 = &main_uart0;
                serial3 = &main_uart1;
                serial4 = &main_uart2;
+               i2c0 = &wkup_i2c0;
+               i2c1 = &mcu_i2c0;
+               i2c2 = &main_i2c0;
+               i2c3 = &main_i2c1;
+               i2c4 = &main_i2c2;
+               i2c5 = &main_i2c3;
        };
 
        chosen { };