]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: rockchip: fix rk3576 pcie unit addresses
authorHeiko Stuebner <heiko@sntech.de>
Sun, 18 May 2025 22:04:43 +0000 (00:04 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 20 May 2025 18:57:29 +0000 (20:57 +0200)
commit4d2587e0e1ce7145a38802fa281f4f1f411ec56f
treed73e3f697f23515c240622b58aa3a5770c9941c0
parent6e0f32da68fac556327666f8f81dfae7405d1c25
arm64: dts: rockchip: fix rk3576 pcie unit addresses

The rk3576 pcie nodes currently use the apb register as their unit address
which is the second reg area defined in the binding.

As can be seen by the dtc warnings like

../arch/arm64/boot/dts/rockchip/rk3576.dtsi:1346.24-1398.5: Warning (simple_bus_reg): /soc/pcie@2a200000: simple-bus unit address format error, expected "22000000"
../arch/arm64/boot/dts/rockchip/rk3576.dtsi:1400.24-1452.5: Warning (simple_bus_reg): /soc/pcie@2a210000: simple-bus unit address format error, expected "22400000"

using the first reg area as the unit address seems to be preferred.
This is the dbi area per the binding, so adapt the unit address accordingly
and move the nodes to their new position.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505150745.PQT9TLYX-lkp@intel.com/
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250518220449.2722673-2-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3576.dtsi