[PATCH v2 4/4] ARM: meson: enable RTC for ODroid-C1
Ben Dooks
ben.dooks at codethink.co.uk
Mon Jun 27 09:44:09 PDT 2016
Now the RTC node has been added, enable it on the ODroid-C1
board. Note, the C1 does not have a battery by default, so
the RTC will error out on those boards. The C1+ does have
power to the RTC block whilst the external power is applied.
Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
---
arch/arm/boot/dts/meson8b-odroidc1.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts
index e50f1a1..5c7826f 100644
--- a/arch/arm/boot/dts/meson8b-odroidc1.dts
+++ b/arch/arm/boot/dts/meson8b-odroidc1.dts
@@ -76,3 +76,8 @@
pinctrl-0 = <&uart_ao_a_pins>;
pinctrl-names = "default";
};
+
+&rtc {
+ status = "okay";
+};
+
--
2.8.1
More information about the linux-amlogic
mailing list