mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -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:
parent
6225b99aa6
commit
584b23db5b
1 changed files with 18 additions and 0 deletions
|
|
@ -118,6 +118,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
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 @@
|
|||
};
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
rtc@30 {
|
||||
compatible = "seiko,s35390a";
|
||||
reg = <0x30>;
|
||||
};
|
||||
};
|
||||
|
||||
&pfc {
|
||||
pinctrl-0 = <&scifa1_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
|||
Loading…
Reference in a new issue