diff options
author | Weijie Gao <weijie.gao@mediatek.com> | 2020-04-21 09:28:30 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2020-04-27 20:29:33 +0200 |
commit | c366a45649a33fc75857afb72f2e7358a906d3d7 (patch) | |
tree | bf93699890d67fb784635d4716bb4fd469444173 /arch/mips | |
parent | caf709229419b3ae6f6748d5c575a44a1bf30c14 (diff) | |
download | u-boot-c366a45649a33fc75857afb72f2e7358a906d3d7.tar.gz u-boot-c366a45649a33fc75857afb72f2e7358a906d3d7.tar.xz u-boot-c366a45649a33fc75857afb72f2e7358a906d3d7.zip |
mips: mtmips: make use of sysreset-resetctrl for mt7628 soc
This patch replaces sysreset-syscon with sysreset-resetctrl for mt7628 soc.
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/dts/mt7628a.dtsi | 10 | ||||
-rw-r--r-- | arch/mips/mach-mtmips/Kconfig | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi index 76a80c8952..409695b5c7 100644 --- a/arch/mips/dts/mt7628a.dtsi +++ b/arch/mips/dts/mt7628a.dtsi @@ -46,11 +46,11 @@ reg = <0x0 0x100>; }; - syscon-reboot { - compatible = "syscon-reboot"; - regmap = <&sysc>; - offset = <0x34>; - mask = <0x1>; + reboot: resetctl-reboot { + compatible = "resetctl-reboot"; + + resets = <&rstctrl MT7628_SYS_RST>; + reset-names = "sysreset"; }; clkctrl: clkctrl@0x2c { diff --git a/arch/mips/mach-mtmips/Kconfig b/arch/mips/mach-mtmips/Kconfig index 8e10719b27..8cb76c4560 100644 --- a/arch/mips/mach-mtmips/Kconfig +++ b/arch/mips/mach-mtmips/Kconfig @@ -27,6 +27,7 @@ config SOC_MT7628 select MIPS_L1_CACHE_SHIFT_5 select PINCTRL_MT7628 select MTK_SERIAL + select SYSRESET_RESETCTL help This supports MediaTek MT7628/MT7688. |