mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 04:29:11 -04:00
ARM: shmobile: armadillo-reference dts: enable RTC
This enables the Seiko real-time clock that is attached to a couple of GPIO pins. Signed-off-by: Ulrich Hecht <ulrich.hecht@gmail.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
committed by
Simon Horman
parent
6225b99aa6
commit
584b23db5b
@@ -118,6 +118,16 @@ led4 {
|
||||
};
|
||||
};
|
||||
|
||||
i2c2: i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "i2c-gpio";
|
||||
gpios = <&pfc 208 GPIO_ACTIVE_HIGH /* sda */
|
||||
&pfc 91 GPIO_ACTIVE_HIGH /* scl */
|
||||
>;
|
||||
i2c-gpio,delay-us = <5>;
|
||||
};
|
||||
|
||||
backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
|
||||
@@ -167,6 +177,14 @@ wm8978: wm8978@1a {
|
||||
};
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
rtc@30 {
|
||||
compatible = "seiko,s35390a";
|
||||
reg = <0x30>;
|
||||
};
|
||||
};
|
||||
|
||||
&pfc {
|
||||
pinctrl-0 = <&scifa1_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
Reference in New Issue
Block a user