From e1af262100c45ec4e02113453c29eab3bd32ce26 Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Wed, 30 Jul 2014 00:10:21 +0400 Subject: ARM: versatilepb_defconfig: enable RTC support Use this qemu cmdline to test hwclock $ qemu-system-arm -M versatilepb -nographic \ -monitor null -kernel barebox -serial stdio Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- arch/arm/configs/versatilepb_defconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch') diff --git a/arch/arm/configs/versatilepb_defconfig b/arch/arm/configs/versatilepb_defconfig index 58dfb8b555..a447f93292 100644 --- a/arch/arm/configs/versatilepb_defconfig +++ b/arch/arm/configs/versatilepb_defconfig @@ -51,6 +51,8 @@ CONFIG_DRIVER_NET_SMC91111=y CONFIG_I2C=y CONFIG_I2C_VERSATILE=y CONFIG_GPIO_PL061=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_DS1307=y CONFIG_FS_CRAMFS=y CONFIG_FS_TFTP=y CONFIG_SHA1=y -- cgit v1.2.3 From 07f06779f87e7257f1451f9ad4d03a9f03eb2cca Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Wed, 30 Jul 2014 00:10:24 +0400 Subject: MIPS: dts: jz4755.dtsi: add jz4740-rtc Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- arch/mips/dts/jz4755.dtsi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch') diff --git a/arch/mips/dts/jz4755.dtsi b/arch/mips/dts/jz4755.dtsi index 0e655b65a1..ed64f9ab15 100644 --- a/arch/mips/dts/jz4755.dtsi +++ b/arch/mips/dts/jz4755.dtsi @@ -8,6 +8,11 @@ #size-cells = <1>; ranges; + rtc: rtc@10003000 { + compatible = "ingenic,jz4740-rtc"; + reg = <0xb0003000 0x38>; + }; + serial0: serial@b0030000 { compatible = "ingenic,jz4740-uart"; reg = <0xb0030000 0x20>; -- cgit v1.2.3 From 642f8fbed8b4c55d56a0934b803146009539905e Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Wed, 30 Jul 2014 00:10:25 +0400 Subject: MIPS: ritmix-rzx50_defconfig: enable RTC support Also enable CONFIG_LONGHELP. Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- arch/mips/configs/ritmix-rzx50_defconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch') diff --git a/arch/mips/configs/ritmix-rzx50_defconfig b/arch/mips/configs/ritmix-rzx50_defconfig index e6f10fb938..3a2cf5450e 100644 --- a/arch/mips/configs/ritmix-rzx50_defconfig +++ b/arch/mips/configs/ritmix-rzx50_defconfig @@ -10,6 +10,7 @@ CONFIG_CMDLINE_EDITING=y CONFIG_AUTO_COMPLETE=y # CONFIG_DEFAULT_ENVIRONMENT is not set CONFIG_DEBUG_LL=y +CONFIG_LONGHELP=y CONFIG_CMD_IOMEM=y CONFIG_CMD_MEMINFO=y CONFIG_CMD_BOOTM_SHOW_TYPE=y @@ -36,6 +37,8 @@ CONFIG_CMD_OFTREE=y CONFIG_OFDEVICE=y # CONFIG_SPI is not set CONFIG_GPIO_JZ4740=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_JZ4740=y CONFIG_SHA1=y CONFIG_SHA224=y CONFIG_SHA256=y -- cgit v1.2.3