MIPS: Add RTC support for Loongson1C board
authorYang Ling <gnaygnil@gmail.com>
Tue, 6 Sep 2016 02:11:38 +0000 (10:11 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 4 Oct 2016 14:13:57 +0000 (16:13 +0200)
commit60219c563c9b62aac237631a7c9aa092e8396138
tree128403687dec398acf1e4656c2030f9c180f6735
parent9f3b8081a4763022ccfabaffc485094be0064fa4
MIPS: Add RTC support for Loongson1C board

The patch adds RTC support for Loongson1C board, and enable the external
crystal when the RTC is first powered up.

Signed-off-by: Yang Ling <gnaygnil@gmail.com>
Cc: keguang.zhang@gmail.com
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14214/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-loongson32/platform.h
arch/mips/loongson32/common/platform.c
arch/mips/loongson32/ls1c/Makefile
arch/mips/loongson32/ls1c/board.c