Message ID | 1448433590-1399-3-git-send-email-lifshitz@compulab.co.il (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
* Dmitry Lifshitz <lifshitz@compulab.co.il> [151124 22:41]: > +&i2c4 { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c4_pins_default>; > + clock-frequency = <100000>; > + > + rtc0: rtc@56 { > + compatible = "emmicro,em3027"; > + reg = <0x56>; > + }; > +}; > + > + Please check this series too to remove the extra lines at the end of the files for each patch for the whitespace errors and unify the Subject to start with "ARM: dts: ..." thanks. Tony
diff --git a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts index b11d7da..773e5389 100644 --- a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts +++ b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts @@ -52,6 +52,13 @@ >; }; + i2c4_pins_default: i2c4_pins_default { + pinctrl-single,pins = < + DRA7XX_CORE_IOPAD(0x36ac, PIN_INPUT| MUX_MODE10) /* mcasp1_acl.i2c4_sda */ + DRA7XX_CORE_IOPAD(0x36b0, PIN_INPUT| MUX_MODE10) /* mcasp1_fsr.i2c4_scl */ + >; + }; + tps659038_pins_default: tps659038_pins_default { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x3818, PIN_INPUT_PULLUP | MUX_MODE14) /* wakeup0.gpio1_0 */ @@ -257,3 +264,17 @@ status = "okay"; }; }; + +&i2c4 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c4_pins_default>; + clock-frequency = <100000>; + + rtc0: rtc@56 { + compatible = "emmicro,em3027"; + reg = <0x56>; + }; +}; + +