Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 584b23db authored by Ulrich Hecht's avatar Ulrich Hecht Committed by Simon Horman
Browse files

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: default avatarUlrich Hecht <ulrich.hecht@gmail.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 6225b99a
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -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";