[openwrt/openwrt] realtek: fix node addresses for RTL839x

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 20 09:00:17 PST 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/004d4d66c84c650c4d0f283e43569a2a1efb0e1f

commit 004d4d66c84c650c4d0f283e43569a2a1efb0e1f
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Sun Feb 20 16:25:41 2022 +0100

    realtek: fix node addresses for RTL839x
    
    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 3325dd9969..cfed68eb95 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>;
 



More information about the lede-commits mailing list