[openwrt/openwrt] airoha: dts: fix pcie ranges properties

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 26 04:19:31 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/695ecca5db6a8a71f092e58bd243076ebebeeae7

commit 695ecca5db6a8a71f092e58bd243076ebebeeae7
Author: Lorenzo Bianconi <lorenzo at kernel.org>
AuthorDate: Fri Jan 5 17:17:53 2024 +0100

    airoha: dts: fix pcie ranges properties
    
    Reduce and split pcie controller memory ranges for en7523 SoC
    in order to properly load a pcie card on the second port.
    
    Signed-off-by: Lorenzo Bianconi <lorenzo at kernel.org>
---
 target/linux/airoha/dts/en7523.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/airoha/dts/en7523.dtsi b/target/linux/airoha/dts/en7523.dtsi
index 72478b225c..024a89752a 100644
--- a/target/linux/airoha/dts/en7523.dtsi
+++ b/target/linux/airoha/dts/en7523.dtsi
@@ -157,7 +157,7 @@
 		clocks = <&scu EN7523_CLK_PCIE>;
 		clock-names = "sys_ck0";
 		bus-range = <0x00 0xff>;
-		ranges = <0x82000000 0 0x20000000  0x20000000  0 0x8000000>;
+		ranges = <0x82000000 0 0x20000000 0x20000000 0 0x2000000>;
 		status = "disabled";
 
 		#interrupt-cells = <1>;
@@ -186,7 +186,7 @@
 		clocks = <&scu EN7523_CLK_PCIE>;
 		clock-names = "sys_ck1";
 		bus-range = <0x00 0xff>;
-		ranges = <0x82000000 0 0x28000000  0x28000000  0 0x8000000>;
+		ranges = <0x82000000 0 0x22000000 0x22000000 0 0x2000000>;
 		status = "disabled";
 
 		#interrupt-cells = <1>;




More information about the lede-commits mailing list