diff options
author | Adam Ford <aford173@gmail.com> | 2018-05-06 15:00:47 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-05-15 20:32:53 +0200 |
commit | 7b0038e41927f771c43f43c42c0f1f4d4ae4abd4 (patch) | |
tree | bddee594dc20b94afbef8b5a2e8e6b625264978f | |
parent | ARM: dts: am437x-sk-evm: add wilink8 support (diff) | |
download | linux-7b0038e41927f771c43f43c42c0f1f4d4ae4abd4.tar.xz linux-7b0038e41927f771c43f43c42c0f1f4d4ae4abd4.zip |
ARM: dts: am3517-som: Add Seiko Instruments RTC s35390a
The SOM used in the am3517-evm has a s35390a onboard. This
patch allows the s35390a to be used as the RTC.
Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/am3517-som.dtsi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am3517-som.dtsi b/arch/arm/boot/dts/am3517-som.dtsi index d65b21a2d61f..a6d5ff73c163 100644 --- a/arch/arm/boot/dts/am3517-som.dtsi +++ b/arch/arm/boot/dts/am3517-som.dtsi @@ -48,6 +48,15 @@ &i2c1 { clock-frequency = <400000>; + s35390a: s35390a@30 { + compatible = "sii,s35390a"; + reg = <0x30>; + + pinctrl-names = "default"; + pinctrl-0 = <&rtc_pins>; + interrupts-extended = <&gpio2 23 IRQ_TYPE_EDGE_FALLING>; /* gpio_55 */ + }; + tps: tps65023@48 { compatible = "ti,tps65023"; reg = <0x48>; @@ -118,6 +127,13 @@ }; &omap3_pmx_core { + + rtc_pins: pinmux_rtc_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x20b6, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_ncs4.gpio_55 */ + >; + }; + tsc2004_pins: pinmux_tsc2004_pins { pinctrl-single,pins = < OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT | MUX_MODE4) /* gpmc_wait3.gpio_65 */ |