From: INAGAKI Hiroshi Date: Wed, 11 Aug 2021 10:06:09 +0000 (+0900) Subject: realtek: use physical addresses in soc dtsi in 5.10 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=45b2a5d840590fb9b8a4c64fba4deca51a2b0b65;p=openwrt%2Fstaging%2Frmilecki.git realtek: use physical addresses in soc dtsi in 5.10 Use physical addresses instead of virtual address in dts files. Signed-off-by: INAGAKI Hiroshi --- diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi b/target/linux/realtek/dts-5.10/rtl838x.dtsi index f2824cdceb9..a72addcf369 100644 --- a/target/linux/realtek/dts-5.10/rtl838x.dtsi +++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi @@ -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"; @@ -167,9 +167,9 @@ 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>; @@ -182,9 +182,9 @@ }; /* 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>; @@ -197,9 +197,9 @@ }; }; - ethernet0: ethernet@bb00a300 { + ethernet0: ethernet@1b00a300 { compatible = "realtek,rtl838x-eth"; - reg = <0xbb00a300 0x100>; + reg = <0x1b00a300 0x100>; interrupt-parent = <&intc>; interrupts = <24>; #interrupt-cells = <1>; @@ -211,7 +211,7 @@ }; }; - switch0: switch@bb000000 { + switch0: switch@1b000000 { compatible = "realtek,rtl83xx-switch"; interrupt-parent = <&intc>; diff --git a/target/linux/realtek/dts-5.10/rtl930x.dtsi b/target/linux/realtek/dts-5.10/rtl930x.dtsi index d01307a35d6..e78e9ebeb8f 100644 --- a/target/linux/realtek/dts-5.10/rtl930x.dtsi +++ b/target/linux/realtek/dts-5.10/rtl930x.dtsi @@ -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"; @@ -179,9 +179,9 @@ }; }; - ethernet0: ethernet@bb00a300 { + ethernet0: ethernet@1b00a300 { compatible = "realtek,rtl838x-eth"; - reg = <0xbb00a300 0x100>; + reg = <0x1b00a300 0x100>; interrupt-parent = <&intc>; interrupts = <24>; #interrupt-cells = <1>; @@ -193,7 +193,7 @@ }; }; - switch0: switch@bb000000 { + switch0: switch@1b000000 { compatible = "realtek,rtl83xx-switch"; interrupt-parent = <&intc>;