mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 07:01:57 +00:00
mips: mt76xx: Add sysreset support
This patch adds the necessary sysreset DT node and enables the required drivers via Kconfig. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
This commit is contained in:
parent
88dc409914
commit
41f6e6eb64
2 changed files with 8 additions and 0 deletions
|
@ -83,6 +83,7 @@ config ARCH_MT7620
|
||||||
select SUPPORTS_CPU_MIPS32_R1
|
select SUPPORTS_CPU_MIPS32_R1
|
||||||
select SUPPORTS_CPU_MIPS32_R2
|
select SUPPORTS_CPU_MIPS32_R2
|
||||||
select SUPPORTS_LITTLE_ENDIAN
|
select SUPPORTS_LITTLE_ENDIAN
|
||||||
|
select SYSRESET
|
||||||
|
|
||||||
config MACH_PIC32
|
config MACH_PIC32
|
||||||
bool "Support Microchip PIC32"
|
bool "Support Microchip PIC32"
|
||||||
|
|
|
@ -41,6 +41,13 @@
|
||||||
reg = <0x0 0x100>;
|
reg = <0x0 0x100>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
syscon-reboot {
|
||||||
|
compatible = "syscon-reboot";
|
||||||
|
regmap = <&sysc>;
|
||||||
|
offset = <0x34>;
|
||||||
|
mask = <0x1>;
|
||||||
|
};
|
||||||
|
|
||||||
intc: interrupt-controller@200 {
|
intc: interrupt-controller@200 {
|
||||||
compatible = "ralink,rt2880-intc";
|
compatible = "ralink,rt2880-intc";
|
||||||
reg = <0x200 0x100>;
|
reg = <0x200 0x100>;
|
||||||
|
|
Loading…
Reference in a new issue