ARM: DTS: da850: add node for i2c1
authorPetr Kulhavy <petr@barix.com>
Fri, 1 Apr 2016 15:42:04 +0000 (17:42 +0200)
committerSekhar Nori <nsekhar@ti.com>
Thu, 14 Apr 2016 06:10:52 +0000 (11:40 +0530)
da850 has two I2C controllers, but the node for i2c1 was missing.
Add node for i2c1 controller and i2c1 pinmux pins.

Signed-off-by: Petr Kulhavy <petr@barix.com>
[nsekhar@ti.com: fix indentation]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850.dtsi

index f05cbe0..c9bf27d 100644 (file)
                                        0x10 0x00002200 0x0000ff00
                                >;
                        };
+                       i2c1_pins: pinmux_i2c1_pins {
+                               pinctrl-single,bits = <
+                                       /* I2C1_SDA, I2C1_SCL */
+                                       0x10 0x00440000 0x00ff0000
+                               >;
+                       };
                        mmc0_pins: pinmux_mmc_pins {
                                pinctrl-single,bits = <
                                        /* MMCSD0_DAT[3] MMCSD0_DAT[2]
                        #size-cells = <0>;
                        status = "disabled";
                };
+               i2c1: i2c@228000 {
+                       compatible = "ti,davinci-i2c";
+                       reg = <0x228000 0x1000>;
+                       interrupts = <51>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
                wdt: wdt@21000 {
                        compatible = "ti,davinci-wdt";
                        reg = <0x21000 0x1000>;