airoha: dts: fix pcie ranges properties
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 5 Jan 2024 16:17:53 +0000 (17:17 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 26 Feb 2024 12:19:26 +0000 (13:19 +0100)
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@kernel.org>
target/linux/airoha/dts/en7523.dtsi

index 72478b225cbb07c83b336076c9fc893dc76a79a5..024a89752acbe84a7448741923eedb78514f5200 100644 (file)
                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>;
                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>;