1 From 9918d10d16665527e59fdb87c5acac70cc1cfe8f Mon Sep 17 00:00:00 2001
2 From: Heiko Stuebner <heiko.stuebner@cherry.de>
3 Date: Tue, 5 Dec 2023 17:48:39 +0100
4 Subject: [PATCH] arm64: dts: rockchip: move rk3588 serial aliases to soc dtsi
6 The serial ports on rk3588 are named uart0 - uart9. Board schematics
7 also use these exact numbers and we want those names to also reflect
8 in the OS devices because everything else would just cause confusion.
10 To prevent each board repeating their list of serial aliases, move them
11 to the soc dtsi, as all previous Rockchip soc do already.
13 Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
14 Reviewed-by: Dragan Simic <dsimic@manjaro.org>
15 Link: https://lore.kernel.org/r/20231205164842.556684-2-heiko@sntech.de
17 .../boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts | 4 ----
18 .../boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts | 4 ----
19 arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dts | 1 -
20 arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts | 1 -
21 .../boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 1 -
22 arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts | 1 -
23 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 1 -
24 arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi | 2 --
25 .../boot/dts/rockchip/rk3588s-indiedroid-nova.dts | 1 -
26 .../boot/dts/rockchip/rk3588s-khadas-edge2.dts | 1 -
27 arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts | 1 -
28 arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 1 -
29 arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 13 +++++++++++++
30 13 files changed, 13 insertions(+), 19 deletions(-)
32 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts
33 +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts
35 compatible = "edgeble,neural-compute-module-6a-io",
36 "edgeble,neural-compute-module-6a", "rockchip,rk3588";
43 stdout-path = "serial2:1500000n8";
45 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
46 +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts
48 compatible = "edgeble,neural-compute-module-6b-io",
49 "edgeble,neural-compute-module-6b", "rockchip,rk3588";
56 stdout-path = "serial2:1500000n8";
58 --- a/arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dts
59 +++ b/arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dts
68 --- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
69 +++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
78 --- a/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts
79 +++ b/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts
88 --- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
89 +++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
98 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
99 +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
108 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
109 +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
111 #address-cells = <2>;
128 #address-cells = <1>;