From 5ec37be43fe73c21b4b52c4d7f9c400221bdbacf Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Wed, 6 Nov 2024 13:18:33 +1300 Subject: 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 Signed-off-by: Thomas Bogendoerfer --- arch/mips/boot/dts/realtek/rtl9302c.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 arch/mips/boot/dts/realtek/rtl9302c.dtsi (limited to 'arch/mips/boot/dts/realtek/rtl9302c.dtsi') diff --git a/arch/mips/boot/dts/realtek/rtl9302c.dtsi b/arch/mips/boot/dts/realtek/rtl9302c.dtsi new file mode 100644 index 000000000000..ca4d347af8d3 --- /dev/null +++ b/arch/mips/boot/dts/realtek/rtl9302c.dtsi @@ -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"; +}; -- cgit v1.2.3 From 56131e6d1fcce8e7359a2445711cc1a4ddb8325c Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Wed, 6 Nov 2024 13:18:34 +1300 Subject: mips: dts: realtek: Add I2C controllers Add the I2C controllers that are part of the RTL9300 SoC. Signed-off-by: Chris Packham Signed-off-by: Thomas Bogendoerfer --- arch/mips/boot/dts/realtek/rtl9302c.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/mips/boot/dts/realtek/rtl9302c.dtsi') diff --git a/arch/mips/boot/dts/realtek/rtl9302c.dtsi b/arch/mips/boot/dts/realtek/rtl9302c.dtsi index ca4d347af8d3..8690433af498 100644 --- a/arch/mips/boot/dts/realtek/rtl9302c.dtsi +++ b/arch/mips/boot/dts/realtek/rtl9302c.dtsi @@ -5,3 +5,11 @@ &switch0 { compatible = "realtek,rtl9302c-switch", "syscon", "simple-mfd"; }; + +&i2c0 { + compatible = "realtek,rtl9302c-i2c", "realtek,rtl9301-i2c"; +}; + +&i2c1 { + compatible = "realtek,rtl9302c-i2c", "realtek,rtl9301-i2c"; +}; -- cgit v1.2.3