Skip to content

Commit a153790

Browse files
linuswolofj
authored andcommitted
ARM: nomadik: disable UART0 on Nomadik boards
The UART0 is not used on these boards, yet active and blocking other use. Fix this by disabling UART0 and setting port aliases to maintain port enumeration to userspace. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent ee5d35e commit a153790

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

arch/arm/boot/dts/ste-nomadik-nhk15.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
};
1818

1919
aliases {
20+
serial1 = &uart1;
2021
stmpe-i2c0 = &stmpe0;
2122
stmpe-i2c1 = &stmpe1;
2223
};

arch/arm/boot/dts/ste-nomadik-s8815.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
1616
};
1717

18+
aliases {
19+
serial1 = &uart1;
20+
};
21+
1822
src@101e0000 {
1923
/* These chrystal drivers are not used on this board */
2024
disable-sxtalo;

arch/arm/boot/dts/ste-nomadik-stn8815.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@
757757
clock-names = "uartclk", "apb_pclk";
758758
pinctrl-names = "default";
759759
pinctrl-0 = <&uart0_default_mux>;
760+
status = "disabled";
760761
};
761762

762763
uart1: uart@101fb000 {

0 commit comments

Comments
 (0)