Skip to content

Commit 33898f2

Browse files
knaerzchemmind
authored andcommitted
ARM: dts: rockchip: Move uart aliases to SoC dtsi for RK3128
SoC TRM, SoC datasheet and board schematics always refer to the same uart numbers - even if not all are used for a specific board. In order to not have to re-define them for every board move the aliases to SoC dtsi for RK3128 like it's being done for all other Rockchip ARM SoCs. Signed-off-by: Alex Bee <knaerzche@gmail.com> Link: https://lore.kernel.org/r/20231202130506.66738-5-knaerzche@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 697b397 commit 33898f2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
ethernet0 = &gmac;
1515
mmc0 = &emmc;
1616
mmc1 = &sdmmc;
17-
serial0 = &uart1;
1817
};
1918

2019
memory@60000000 {
@@ -23,7 +22,7 @@
2322
};
2423

2524
chosen {
26-
stdout-path = "serial0:115200n8";
25+
stdout-path = &uart1;
2726
};
2827

2928
adc-keys {

arch/arm/boot/dts/rockchip/rk3128.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
i2c1 = &i2c1;
2626
i2c2 = &i2c2;
2727
i2c3 = &i2c3;
28+
serial0 = &uart0;
29+
serial1 = &uart1;
30+
serial2 = &uart2;
2831
};
2932

3033
arm-pmu {

0 commit comments

Comments
 (0)