diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-09-19 17:21:28 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-10-06 11:31:01 -0400 |
commit | 10b6ea0959de2c42b9f105c88b51a54c4dd961c2 (patch) | |
tree | 3d601ff11549784c6e1a07d6248ab8ed05e79530 /arch/mips/boot/dts | |
parent | 97af8e1cb31870c6f4ca175d5eada7be5cc65e0f (diff) |
MIPS: Malta: Use syscon-reboot driver to reboot
Make use of the generic syscon-reboot driver to reboot the Malta board,
reducing the amount of platform code it requires.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Stephan Linz <linz@li-pro.net>
Cc: Jacek Anaszewski <j.anaszewski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14279/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot/dts')
-rw-r--r-- | arch/mips/boot/dts/mti/malta.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/mti/malta.dts b/arch/mips/boot/dts/mti/malta.dts index 48783b13f889..f604a272d91d 100644 --- a/arch/mips/boot/dts/mti/malta.dts +++ b/arch/mips/boot/dts/mti/malta.dts | |||
@@ -81,6 +81,18 @@ | |||
81 | }; | 81 | }; |
82 | }; | 82 | }; |
83 | 83 | ||
84 | fpga_regs: system-controller@1f000000 { | ||
85 | compatible = "mti,malta-fpga", "syscon", "simple-mfd"; | ||
86 | reg = <0x1f000000 0x1000>; | ||
87 | |||
88 | reboot { | ||
89 | compatible = "syscon-reboot"; | ||
90 | regmap = <&fpga_regs>; | ||
91 | offset = <0x500>; | ||
92 | mask = <0x4d>; | ||
93 | }; | ||
94 | }; | ||
95 | |||
84 | isa { | 96 | isa { |
85 | compatible = "isa"; | 97 | compatible = "isa"; |
86 | #address-cells = <2>; | 98 | #address-cells = <2>; |