summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/meson8b-ec100.dts
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2019-04-13 19:34:22 +0300
committerKevin Hilman <khilman@baylibre.com>2019-04-16 21:57:50 +0300
commit6ffdc4738c5a8856afc46da92453fe7c086f1eaa (patch)
tree61be687da435493b4d5183df2c57cce4ac0a51ae /arch/arm/boot/dts/meson8b-ec100.dts
parentf6eb973db22ab5636cfcdabe171d4b753525de4e (diff)
downloadlinux-6ffdc4738c5a8856afc46da92453fe7c086f1eaa.tar.xz
ARM: dts: meson8b: ec100: enable the RTC
The RTC is always enabled on this board since the battery is already connected in the factory. According to the schematics the VCC_RTC regulator (which is either powered by the internal 3.3V or a battery) is connected to the 0.9V RTC_VDD input of the SoCs. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm/boot/dts/meson8b-ec100.dts')
-rw-r--r--arch/arm/boot/dts/meson8b-ec100.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts
index 3ca9638fad09..9bf4249cb60d 100644
--- a/arch/arm/boot/dts/meson8b-ec100.dts
+++ b/arch/arm/boot/dts/meson8b-ec100.dts
@@ -88,6 +88,14 @@
};
};
+ rtc32k_xtal: rtc32k-xtal-clk {
+ /* X2 in the schematics */
+ compatible = "fixed-clock";
+ clock-frequency = <32768>;
+ clock-output-names = "RTC32K";
+ #clock-cells = <0>;
+ };
+
usb_vbus: regulator-usb-vbus {
/*
* Silergy SY6288CCAC-GP 2A Power Distribution Switch.
@@ -347,6 +355,12 @@
clock-names = "clkin0";
};
+&rtc {
+ status = "okay";
+ clocks = <&rtc32k_xtal>;
+ vdd-supply = <&vcc_rtc>;
+};
+
/* exposed through the pin headers labeled "URDUG1" on the top of the PCB */
&uart_AO {
status = "okay";