mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
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>
This commit is contained in:
parent
caf7092294
commit
c366a45649
6 changed files with 6 additions and 9 deletions
|
@ -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 {
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -69,7 +69,6 @@ CONFIG_MT7628_ETH=y
|
|||
CONFIG_PHY=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_MT7621_SPI=y
|
||||
CONFIG_SYSRESET_SYSCON=y
|
||||
CONFIG_WDT=y
|
||||
CONFIG_WDT_MT7621=y
|
||||
CONFIG_LZMA=y
|
||||
|
|
|
@ -72,7 +72,6 @@ CONFIG_MT7628_ETH=y
|
|||
CONFIG_PHY=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_MT7621_SPI=y
|
||||
CONFIG_SYSRESET_SYSCON=y
|
||||
CONFIG_WDT=y
|
||||
CONFIG_WDT_MT7621=y
|
||||
CONFIG_LZMA=y
|
||||
|
|
|
@ -54,7 +54,6 @@ CONFIG_PHY=y
|
|||
CONFIG_MT76X8_USB_PHY=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_MT7621_SPI=y
|
||||
CONFIG_SYSRESET_SYSCON=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
|
|
|
@ -58,7 +58,6 @@ CONFIG_PHY=y
|
|||
CONFIG_MT76X8_USB_PHY=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_MT7621_SPI=y
|
||||
CONFIG_SYSRESET_SYSCON=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
|
|
Loading…
Reference in a new issue