summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-06-23 12:18:43 +0800
committerSimon Glass <sjg@chromium.org>2015-07-14 18:03:16 -0600
commitb0014b6423574780cdcb9a76478be0c1f83f7990 (patch)
tree28c700150e3c40bd5606a44702e1dd171fc28a2b /arch/x86
parentffe387988d598f14b5cfc17b07c6dc61d8b7fa16 (diff)
x86: crownbay: Enable DM RTC support
Add a RTC node in the device tree to enable DM RTC support. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/dts/crownbay.dts1
-rw-r--r--arch/x86/dts/rtc.dtsi6
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/dts/crownbay.dts b/arch/x86/dts/crownbay.dts
index 1ec90cda18..87ed0f4f19 100644
--- a/arch/x86/dts/crownbay.dts
+++ b/arch/x86/dts/crownbay.dts
@@ -10,6 +10,7 @@
/include/ "skeleton.dtsi"
/include/ "serial.dtsi"
+/include/ "rtc.dtsi"
/ {
model = "Intel Crown Bay";
diff --git a/arch/x86/dts/rtc.dtsi b/arch/x86/dts/rtc.dtsi
new file mode 100644
index 0000000000..93dacd7307
--- /dev/null
+++ b/arch/x86/dts/rtc.dtsi
@@ -0,0 +1,6 @@
+/ {
+ rtc {
+ compatible = "motorola,mc146818";
+ reg = <0x70 2>;
+ };
+};