Commit 5ec37be4 authored by Chris Packham's avatar Chris Packham Committed by Thomas Bogendoerfer
Browse files

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: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent f67a9222
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
// 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 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause

#include "rtl930x.dtsi"

&switch0 {
	compatible = "realtek,rtl9302c-switch", "syscon", "simple-mfd";
};
+13 −0
Original line number Diff line number Diff line
@@ -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 {