ARM: dts: aspeed: Add aliases for UARTs
Existing userspace expects the console (UART5) to be at /dev/ttyS4. To ensure the UARTs show up where users expect them, we give them fixed aliases starting at 0. Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
Родитель
e6aa3ef8da
Коммит
0bae390414
|
@ -6,10 +6,6 @@
|
||||||
model = "Palmetto BMC";
|
model = "Palmetto BMC";
|
||||||
compatible = "tyan,palmetto-bmc", "aspeed,ast2400";
|
compatible = "tyan,palmetto-bmc", "aspeed,ast2400";
|
||||||
|
|
||||||
aliases {
|
|
||||||
serial4 = &uart5;
|
|
||||||
};
|
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
stdout-path = &uart5;
|
stdout-path = &uart5;
|
||||||
bootargs = "console=ttyS4,115200 earlyprintk";
|
bootargs = "console=ttyS4,115200 earlyprintk";
|
||||||
|
|
|
@ -22,6 +22,11 @@
|
||||||
i2c11 = &i2c11;
|
i2c11 = &i2c11;
|
||||||
i2c12 = &i2c12;
|
i2c12 = &i2c12;
|
||||||
i2c13 = &i2c13;
|
i2c13 = &i2c13;
|
||||||
|
serial0 = &uart1;
|
||||||
|
serial1 = &uart2;
|
||||||
|
serial2 = &uart3;
|
||||||
|
serial3 = &uart4;
|
||||||
|
serial4 = &uart5;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpus {
|
cpus {
|
||||||
|
|
|
@ -22,6 +22,11 @@
|
||||||
i2c11 = &i2c11;
|
i2c11 = &i2c11;
|
||||||
i2c12 = &i2c12;
|
i2c12 = &i2c12;
|
||||||
i2c13 = &i2c13;
|
i2c13 = &i2c13;
|
||||||
|
serial0 = &uart1;
|
||||||
|
serial1 = &uart2;
|
||||||
|
serial2 = &uart3;
|
||||||
|
serial3 = &uart4;
|
||||||
|
serial4 = &uart5;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpus {
|
cpus {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче