mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-03 19:53:32 +00:00
mips: dts: realtek: Add syscon-reboot node
The board level reset on systems using the RTL9302 can be driven via the switch. Use a syscon-reboot node to represent this. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
f67a922230
commit
5ec37be43f
@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/dts-v1/;
|
||||
|
||||
#include "rtl930x.dtsi"
|
||||
#include "rtl9302c.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
7
arch/mips/boot/dts/realtek/rtl9302c.dtsi
Normal file
7
arch/mips/boot/dts/realtek/rtl9302c.dtsi
Normal file
@ -0,0 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
|
||||
|
||||
#include "rtl930x.dtsi"
|
||||
|
||||
&switch0 {
|
||||
compatible = "realtek,rtl9302c-switch", "syscon", "simple-mfd";
|
||||
};
|
@ -29,6 +29,19 @@ lx_clk: clock-175mhz {
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <175000000>;
|
||||
};
|
||||
|
||||
switch0: switch@1b000000 {
|
||||
compatible = "realtek,rtl9301-switch", "syscon", "simple-mfd";
|
||||
reg = <0x1b000000 0x10000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
reboot@c {
|
||||
compatible = "syscon-reboot";
|
||||
reg = <0x0c 0x4>;
|
||||
value = <0x01>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&soc {
|
||||
|
Loading…
Reference in New Issue
Block a user