Skip to content

Commit

Permalink
ARM: nomadik: disable UART0 on Nomadik boards
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Walleij authored and Olof Johansson committed Jul 26, 2015
1 parent ee5d35e commit a153790
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/ste-nomadik-nhk15.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
};

aliases {
serial1 = &uart1;
stmpe-i2c0 = &stmpe0;
stmpe-i2c1 = &stmpe1;
};
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/ste-nomadik-s8815.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
};

aliases {
serial1 = &uart1;
};

src@101e0000 {
/* These chrystal drivers are not used on this board */
disable-sxtalo;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@
clock-names = "uartclk", "apb_pclk";
pinctrl-names = "default";
pinctrl-0 = <&uart0_default_mux>;
status = "disabled";
};

uart1: uart@101fb000 {
Expand Down

0 comments on commit a153790

Please sign in to comment.