OSDN Git Service

ARM: dts: am43x-epos-evm: Add I2C2 data.
authorSourav Poddar <sourav.poddar@ti.com>
Thu, 19 Dec 2013 12:33:36 +0000 (18:03 +0530)
committerBenoit Cousson <bcousson@baylibre.com>
Sun, 2 Mar 2014 17:37:20 +0000 (18:37 +0100)
Add I2C2 dts data.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/am43x-epos-evm.dts

index 0899c5f..d781a69 100644 (file)
                                0x164 MUX_MODE0         /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
                        >;
                };
+
+               i2c2_pins: pinmux_i2c2_pins {
+                       pinctrl-single,pins = <
+                               0x1c0 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE8)    /* i2c2_sda.i2c2_sda */
+                               0x1c4 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE8)    /* i2c2_scl.i2c2_scl */
+                       >;
+               };
        };
 
        matrix_keypad: matrix_keypad@0 {
        };
 };
 
+&i2c2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&i2c2_pins>;
+       status = "okay";
+};
+
 &gpio0 {
        status = "okay";
 };