Skip to content

Commit 34d2730

Browse files
committed
arm64: dts: rockchip: move rk3528 i2c+uart aliases to board files
Even though they will be the same for all boards, i2c and uart aliases are supposed to live in the individual board files, to not create aliases for disabled nodes. So move the newly added aliases for rk3528 over to the Radxa E20C board, which is the only rk3528 board right now. Fixes: d3a05f4 ("arm64: dts: rockchip: Add I2C controllers for RK3528") Suggested-by: Arnd Bergmann <[email protected]> Reviewed-by: Yao Zi <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 34b2f7b commit 34d2730

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818

1919
aliases {
2020
ethernet0 = &gmac1;
21+
i2c1 = &i2c1;
2122
mmc0 = &sdhci;
2223
mmc1 = &sdmmc;
24+
serial0 = &uart0;
2325
};
2426

2527
chosen {

arch/arm64/boot/dts/rockchip/rk3528.dtsi

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,6 @@
2424
gpio2 = &gpio2;
2525
gpio3 = &gpio3;
2626
gpio4 = &gpio4;
27-
i2c0 = &i2c0;
28-
i2c1 = &i2c1;
29-
i2c2 = &i2c2;
30-
i2c3 = &i2c3;
31-
i2c4 = &i2c4;
32-
i2c5 = &i2c5;
33-
i2c6 = &i2c6;
34-
i2c7 = &i2c7;
35-
serial0 = &uart0;
36-
serial1 = &uart1;
37-
serial2 = &uart2;
38-
serial3 = &uart3;
39-
serial4 = &uart4;
40-
serial5 = &uart5;
41-
serial6 = &uart6;
42-
serial7 = &uart7;
4327
};
4428

4529
cpus {

0 commit comments

Comments
 (0)