realtek: use physical addresses in soc dtsi in 5.10
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Wed, 11 Aug 2021 10:06:09 +0000 (19:06 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 25 Sep 2021 22:32:18 +0000 (00:32 +0200)
Use physical addresses instead of virtual address in dts files.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
target/linux/realtek/dts-5.10/rtl838x.dtsi
target/linux/realtek/dts-5.10/rtl930x.dtsi

index f2824cdceb938e24254340b989a6b15c6a26ef49..a72addcf369dcdd61ab2880da75267fe553a122e 100644 (file)
@@ -79,7 +79,7 @@
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
-               ranges = <0x0 0xb8000000 0x10000>;
+               ranges = <0x0 0x18000000 0x10000>;
 
                intc: rtlintc@3000 {
                        compatible = "realtek,rtl-intc";
                status = "disabled";
        };
 
-       pinmux: pinmux@bb001000 {
+       pinmux: pinmux@1b001000 {
                compatible = "pinctrl-single";
-               reg = <0xbb001000 0x4>;
+               reg = <0x1b001000 0x4>;
 
                pinctrl-single,bit-per-mux;
                pinctrl-single,register-width = <32>;
        };
 
        /* LED_GLB_CTRL */
-       pinmux_led: pinmux@bb00a000 {
+       pinmux_led: pinmux@1b00a000 {
                compatible = "pinctrl-single";
-               reg = <0xbb00a000 0x4>;
+               reg = <0x1b00a000 0x4>;
 
                pinctrl-single,bit-per-mux;
                pinctrl-single,register-width = <32>;
                };
        };
 
-       ethernet0: ethernet@bb00a300 {
+       ethernet0: ethernet@1b00a300 {
                compatible = "realtek,rtl838x-eth";
-               reg = <0xbb00a300 0x100>;
+               reg = <0x1b00a300 0x100>;
                interrupt-parent = <&intc>;
                interrupts = <24>;
                #interrupt-cells = <1>;
                };
        };
 
-       switch0: switch@bb000000 {
+       switch0: switch@1b000000 {
                compatible = "realtek,rtl83xx-switch";
 
                interrupt-parent = <&intc>;
index d01307a35d6104e17652d7a65cb8da1c615c1b48..e78e9ebeb8fdcae5f411e48bf1ecc67a43c1b456 100644 (file)
@@ -91,7 +91,7 @@
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
-               ranges = <0x0 0xb8000000 0x10000>;
+               ranges = <0x0 0x18000000 0x10000>;
 
                intc: rtlintc@3000 {
                        compatible = "realtek,rtl-intc";
                };
        };
 
-       ethernet0: ethernet@bb00a300 {
+       ethernet0: ethernet@1b00a300 {
                compatible = "realtek,rtl838x-eth";
-               reg = <0xbb00a300 0x100>;
+               reg = <0x1b00a300 0x100>;
                interrupt-parent = <&intc>;
                interrupts = <24>;
                #interrupt-cells = <1>;
                };
        };
 
-       switch0: switch@bb000000 {
+       switch0: switch@1b000000 {
                compatible = "realtek,rtl83xx-switch";
 
                interrupt-parent = <&intc>;