Commit 80a86dbd authored by Florian Fainelli's avatar Florian Fainelli

Merge tag 'bcm2835-dt-fixes-2017-10-06' into devicetree/fixes

This pull request brings in a fix for default serial console setup on
RPi3, so it now comes up with no config.txt/cmdline.txt settings in
the firmware.
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parents 2bd6bf03 f08f58a2
...@@ -18,12 +18,9 @@ / { ...@@ -18,12 +18,9 @@ / {
compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
model = "Raspberry Pi Zero W"; model = "Raspberry Pi Zero W";
/* Needed by firmware to properly init UARTs */ chosen {
aliases { /* 8250 auxiliary UART instead of pl011 */
uart0 = "/soc/serial@7e201000"; stdout-path = "serial1:115200n8";
uart1 = "/soc/serial@7e215040";
serial0 = "/soc/serial@7e201000";
serial1 = "/soc/serial@7e215040";
}; };
leds { leds {
......
...@@ -8,6 +8,11 @@ / { ...@@ -8,6 +8,11 @@ / {
compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
model = "Raspberry Pi 3 Model B"; model = "Raspberry Pi 3 Model B";
chosen {
/* 8250 auxiliary UART instead of pl011 */
stdout-path = "serial1:115200n8";
};
memory { memory {
reg = <0 0x40000000>; reg = <0 0x40000000>;
}; };
......
...@@ -20,8 +20,13 @@ / { ...@@ -20,8 +20,13 @@ / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
aliases {
serial0 = &uart0;
serial1 = &uart1;
};
chosen { chosen {
bootargs = "earlyprintk console=ttyAMA0"; stdout-path = "serial0:115200n8";
}; };
thermal-zones { thermal-zones {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment