sun60iw2: enable early uart0 console for bananapi m8

This commit is contained in:
Qubot 2026-05-26 17:35:50 +08:00
parent 6e08efd388
commit d6a6b81ebd
2 changed files with 12 additions and 0 deletions

View File

@ -17,6 +17,13 @@
compatible = "allwinner,a733", "arm,sun60iw2p1";
#address-cells = <2>;
#size-cells = <2>;
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
leds {
compatible = "gpio-leds";

View File

@ -10,6 +10,11 @@ CONFIG_R_I2C0_ENABLE=y
CONFIG_USB0_VBUS_PIN="PL2"
CONFIG_USB1_VBUS_PIN="PH12"
CONFIG_DEFAULT_DEVICE_TREE="sun60i-a733-bananapi-m8"
CONFIG_DEBUG_UART=y
CONFIG_DEBUG_UART_NS16550=y
CONFIG_DEBUG_UART_BASE=0x02500000
CONFIG_DEBUG_UART_CLOCK=24000000
CONFIG_DEBUG_UART_SHIFT=2
# CONFIG_SYS_MALLOC_F is not set
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_PHYS_64BIT=y