]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: rockchip: fix rk3562 pcie unit addresses
authorHeiko Stuebner <heiko@sntech.de>
Sun, 18 May 2025 22:04:47 +0000 (00:04 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 20 May 2025 18:57:30 +0000 (20:57 +0200)
commit25d3e1d2558caf823902e3b1b83901f5ac65af8d
tree16ad14fd0702b01acb1b442edb23201480c5c404
parent7d086f78fe09fb94eb3b2e12436f2feed21d9c1e
arm64: dts: rockchip: fix rk3562 pcie unit addresses

The rk3562 pcie node currently uses the apb register as its 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/rk3562.dtsi:624.26-675.5: Warning (simple_bus_reg): /soc/pcie@ff500000: simple-bus unit address format error, expected "fe000000"

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.

With the move also move the reg + reg-names below the compatible, as is the
preferred position.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250518220449.2722673-6-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3562.dtsi