Skip to content

Commit 1652165

Browse files
Aswath-Govindrajunmenon
authored andcommitted
arm64: dts: ti: k3-j721s2: Move aliases to board dts
Aliases are board specific and should be in board dts files. So, move aliases to board dts and trim the list to interfaces that are actually enabled. Signed-off-by: Aswath Govindraju <[email protected]> Signed-off-by: Vignesh Raghavendra <[email protected]> Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Kishon Vijay Abraham I <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e783362 commit 1652165

File tree

2 files changed

+10
-22
lines changed

2 files changed

+10
-22
lines changed

arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@
1919
bootargs = "console=ttyS10,115200n8 earlycon=ns16550a,mmio32,2880000";
2020
};
2121

22+
aliases {
23+
serial1 = &mcu_uart0;
24+
serial10 = &main_uart8;
25+
mmc0 = &main_sdhci0;
26+
mmc1 = &main_sdhci1;
27+
can0 = &main_mcan16;
28+
can1 = &mcu_mcan0;
29+
can2 = &mcu_mcan1;
30+
};
31+
2232
evm_12v0: fixedregulator-evm12v0 {
2333
/* main supply */
2434
compatible = "regulator-fixed";

arch/arm64/boot/dts/ti/k3-j721s2.dtsi

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,6 @@
2121
#address-cells = <2>;
2222
#size-cells = <2>;
2323

24-
aliases {
25-
serial0 = &wkup_uart0;
26-
serial1 = &mcu_uart0;
27-
serial2 = &main_uart0;
28-
serial3 = &main_uart1;
29-
serial4 = &main_uart2;
30-
serial5 = &main_uart3;
31-
serial6 = &main_uart4;
32-
serial7 = &main_uart5;
33-
serial8 = &main_uart6;
34-
serial9 = &main_uart7;
35-
serial10 = &main_uart8;
36-
serial11 = &main_uart9;
37-
mmc0 = &main_sdhci0;
38-
mmc1 = &main_sdhci1;
39-
can0 = &main_mcan16;
40-
can1 = &mcu_mcan0;
41-
can2 = &mcu_mcan1;
42-
can3 = &main_mcan3;
43-
can4 = &main_mcan5;
44-
};
45-
4624
chosen { };
4725

4826
cpus {

0 commit comments

Comments
 (0)