[PATCH] realtek: fix node addresses for RTL839x

Sander Vanheule sander at svanheule.net
Sun Feb 20 07:25:41 PST 2022


The address in some node names doesn't match the actual offset specified
in the DT node. Update the names to fix this.

While fixing the node names, also drop the unused node labels.

Fixes: 0a7565e53653 ("realtek: Update rtl839x.dtsi for realtek,rtl-intc, new gpio controller remove RTL8231 node")
Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
 target/linux/realtek/dts-5.10/rtl839x.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/realtek/dts-5.10/rtl839x.dtsi b/target/linux/realtek/dts-5.10/rtl839x.dtsi
index 3325dd9969cd..cfed68eb9534 100644
--- a/target/linux/realtek/dts-5.10/rtl839x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl839x.dtsi
@@ -140,7 +140,7 @@
 			status = "disabled";
 		};
 
-		gpio0: gpio-controller at b3500 {
+		gpio0: gpio-controller at 3500 {
 			compatible = "realtek,rtl8390-gpio", "realtek,otto-gpio";
 			reg = <0x3500 0x20>;
 
@@ -170,7 +170,7 @@
 
 	};
 
-	pinmux: pinmux at 1b001000 {
+	pinmux at 1b000004 {
 		compatible = "pinctrl-single";
 		reg = <0x1b000004 0x4>;
 
@@ -185,7 +185,7 @@
 	};
 
 	/* LED_GLB_CTRL */
-	pinmux_led: pinmux at 1b00a000 {
+	pinmux at 1b0000e4 {
 		compatible = "pinctrl-single";
 		reg = <0x1b0000e4 0x4>;
 
-- 
2.35.1




More information about the openwrt-devel mailing list