From: Bin Meng Date: Tue, 23 Jun 2015 04:18:43 +0000 (+0800) Subject: x86: crownbay: Enable DM RTC support X-Git-Tag: KARO-TX6-2015-09-18~1431 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4fab968f1fce6b7a392f547568dd6df4bfb5835b;p=karo-tx-uboot.git x86: crownbay: Enable DM RTC support Add a RTC node in the device tree to enable DM RTC support. Signed-off-by: Bin Meng Acked-by: Simon Glass --- 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>; + }; +}; diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig index 93f921638d..6c385042b2 100644 --- a/configs/crownbay_defconfig +++ b/configs/crownbay_defconfig @@ -18,3 +18,4 @@ CONFIG_CPU=y CONFIG_SPI_FLASH=y CONFIG_USE_PRIVATE_LIBGCC=y CONFIG_SYS_VSNPRINTF=y +CONFIG_DM_RTC=y