Skip to content

Commit 3d72d60

Browse files
committed
riscv: dts: spacemit: move aliases to board dts
aliases info should belong to board dts, instead of putting it at SoC dtsi file. Fixes: d8fe646 ("riscv: dts: add initial SpacemiT K1 SoC device tree") Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Yixun Lan <[email protected]>
1 parent 3579b35 commit 3d72d60

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
model = "Banana Pi BPI-F3";
1111
compatible = "bananapi,bpi-f3", "spacemit,k1";
1212

13+
aliases {
14+
serial0 = &uart0;
15+
};
16+
1317
chosen {
1418
stdout-path = "serial0";
1519
};

arch/riscv/boot/dts/spacemit/k1.dtsi

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,6 @@
1010
model = "SpacemiT K1";
1111
compatible = "spacemit,k1";
1212

13-
aliases {
14-
serial0 = &uart0;
15-
serial1 = &uart2;
16-
serial2 = &uart3;
17-
serial3 = &uart4;
18-
serial4 = &uart5;
19-
serial5 = &uart6;
20-
serial6 = &uart7;
21-
serial7 = &uart8;
22-
serial8 = &uart9;
23-
};
24-
2513
cpus {
2614
#address-cells = <1>;
2715
#size-cells = <0>;

0 commit comments

Comments
 (0)