• Loic Poulain's avatar
    ARM: dts: bcm283x: Fix console path on RPi3 · f08f58a2
    Loic Poulain authored
    Contrary to other RPi devices, RPi3 uses uart0 to communicate with
    the BCM43438 bluetooth controller. uart1 is then used for the console.
    Today, the console configuration is inherited from the bcm283x dtsi
    (bootargs) which is not the correct one for the RPi3. This leads to
    routing issue and confuses the Bluetooth controller with unexpected
    data.
    
    This patch introduces chosen/stdout path to configure console to uart0
    on bcm283x family and overwrite it to uart1 in the RPi3 dts.
    
    Create serial0/1 aliases referring to uart0 and uart1 paths.
    Remove unneeded earlyprintk.
    
    Fixes: 4188ea2a ("ARM: bcm283x: Define UART pinmuxing on board level")
    Signed-off-by: default avatarLoic Poulain <loic.poulain@gmail.com>
    Tested-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
    Signed-off-by: default avatarEric Anholt <eric@anholt.net>
    Reviewed-by: default avatarEric Anholt <eric@anholt.net>
    f08f58a2
bcm2837-rpi-3-b.dts 1023 Bytes