Skip to content

Commit

Permalink
TSD: rockchip: px30: use uart5 for debug console on px30-evb
Browse files Browse the repository at this point in the history
The pins of uart2 are shared with the sdmmc controller and we want to
keep the ability to also boot from sd-cards.

The board exposes uart5 on its pin header, so switch to that one.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
  • Loading branch information
mmind committed Nov 20, 2019
1 parent f98468d commit 2e663be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions arch/arm/dts/px30-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
compatible = "rockchip,px30-evb", "rockchip,px30";

chosen {
stdout-path = "serial2:115200n8";
stdout-path = "serial5:115200n8";
};

adc-keys {
Expand Down Expand Up @@ -475,6 +475,7 @@
sd-uhs-sdr104;
vmmc-supply = <&vcc_sd>;
vqmmc-supply = <&vccio_sd>;
status = "okay";
};

&sdio {
Expand All @@ -494,7 +495,7 @@
};

&uart2 {
status = "okay";
status = "disabled";
};

&uart5 {
Expand Down
2 changes: 1 addition & 1 deletion configs/evb-px30_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CONFIG_TPL_LIBGENERIC_SUPPORT=y
CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
CONFIG_SPL_STACK_R_ADDR=0x600000
CONFIG_NR_DRAM_BANKS=1
CONFIG_DEBUG_UART_BASE=0xFF160000
CONFIG_DEBUG_UART_BASE=0xFF178000
CONFIG_DEBUG_UART_CLOCK=24000000
CONFIG_DEBUG_UART=y
CONFIG_SPL_TEXT_BASE=0x00000000
Expand Down

0 comments on commit 2e663be

Please sign in to comment.