diff options
| author | Mathieu Malaterre <malat@debian.org> | 2017-09-05 12:38:59 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2017-09-06 04:13:38 -0400 |
| commit | ed3266169972daaad9989144d96eb46a4bf42eac (patch) | |
| tree | a9d8e611141a18124a5896fa4e657697772d998c | |
| parent | c76a5ba29cb83eb26146c0f3f98a90e3c7752cd4 (diff) | |
MIPS: jz4780: DTS: Probe the jz4740-rtc driver from devicetree
The jz4740-rtc driver supports both jz4740 & jz4780, setup the compatible
string to jz4780.
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17237/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| -rw-r--r-- | arch/mips/boot/dts/ingenic/jz4780.dtsi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi index 4853ef67b3ab..e906134ecaef 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi | |||
| @@ -44,6 +44,17 @@ | |||
| 44 | #clock-cells = <1>; | 44 | #clock-cells = <1>; |
| 45 | }; | 45 | }; |
| 46 | 46 | ||
| 47 | rtc_dev: rtc@10003000 { | ||
| 48 | compatible = "ingenic,jz4780-rtc"; | ||
| 49 | reg = <0x10003000 0x4c>; | ||
| 50 | |||
| 51 | interrupt-parent = <&intc>; | ||
| 52 | interrupts = <32>; | ||
| 53 | |||
| 54 | clocks = <&cgu JZ4780_CLK_RTCLK>; | ||
| 55 | clock-names = "rtc"; | ||
| 56 | }; | ||
| 57 | |||
| 47 | pinctrl: pin-controller@10010000 { | 58 | pinctrl: pin-controller@10010000 { |
| 48 | compatible = "ingenic,jz4780-pinctrl"; | 59 | compatible = "ingenic,jz4780-pinctrl"; |
| 49 | reg = <0x10010000 0x600>; | 60 | reg = <0x10010000 0x600>; |
