diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-08-26 15:17:43 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-10-05 01:31:20 +0200 |
commit | 70bfdcec9ad9bcd3217f85fd422012777d86e168 (patch) | |
tree | 0d8fbff624e889d13491b32d60b2af228d1e4206 /arch/mips/boot/dts/mti | |
parent | c764583f40b8d3cde3a3a0b4a40a7d2fa3987bed (diff) | |
download | linux-stable-70bfdcec9ad9bcd3217f85fd422012777d86e168.tar.gz linux-stable-70bfdcec9ad9bcd3217f85fd422012777d86e168.tar.bz2 linux-stable-70bfdcec9ad9bcd3217f85fd422012777d86e168.zip |
MIPS: SEAD3: Reset via generic syscon-reboot driver & DT
Remove the SEAD3 implementation of _machine_restart & instead make use
of the generic syscon-reboot driver probed via device tree.
Signed-off-by: Paul Burton <paul.burton@imgtec.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/14056/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot/dts/mti')
-rw-r--r-- | arch/mips/boot/dts/mti/sead3.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/mti/sead3.dts b/arch/mips/boot/dts/mti/sead3.dts index 0159450418ed..047ff7aa5c21 100644 --- a/arch/mips/boot/dts/mti/sead3.dts +++ b/arch/mips/boot/dts/mti/sead3.dts @@ -93,6 +93,18 @@ }; }; + fpga_regs: system-controller@1f000000 { + compatible = "mti,sead3-fpga", "syscon", "simple-mfd"; + reg = <0x1f000000 0x200>; + + reboot { + compatible = "syscon-reboot"; + regmap = <&fpga_regs>; + offset = <0x50>; + mask = <0x4d>; + }; + }; + system-controller@1f000200 { compatible = "mti,sead3-cpld", "syscon", "simple-mfd"; reg = <0x1f000200 0x300>; |