mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09:00
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>
This commit is contained in:
parent
ffe387988d
commit
b0014b6423
@ -10,6 +10,7 @@
|
||||
|
||||
/include/ "skeleton.dtsi"
|
||||
/include/ "serial.dtsi"
|
||||
/include/ "rtc.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Intel Crown Bay";
|
||||
|
6
arch/x86/dts/rtc.dtsi
Normal file
6
arch/x86/dts/rtc.dtsi
Normal file
@ -0,0 +1,6 @@
|
||||
/ {
|
||||
rtc {
|
||||
compatible = "motorola,mc146818";
|
||||
reg = <0x70 2>;
|
||||
};
|
||||
};
|
@ -18,3 +18,4 @@ CONFIG_CPU=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_SYS_VSNPRINTF=y
|
||||
CONFIG_DM_RTC=y
|
||||
|
Loading…
Reference in New Issue
Block a user