]> git.sur5r.net Git - u-boot/commitdiff
powerpc: ppc4xx: Add defaults for DT based booting to really work
authorStefan Roese <sr@denx.de>
Sat, 7 Feb 2015 18:51:51 +0000 (11:51 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Feb 2015 17:35:32 +0000 (10:35 -0700)
These additional nodes need to be provided to get U-Boot to boot correctly
on the Canyonlands / Glacier board:

- chosen path to the console-uart
- reg-shift set to 0 in the uart device nodes

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/powerpc/dts/canyonlands.dts
arch/powerpc/dts/glacier.dts

index 2ec9762e48106aa767b35d01ca7c4342596ce34f..0a2f5d7649237ba4e9ccda86ae72a392d6afa563 100644 (file)
                serial1 = &UART1;
        };
 
+       chosen {
+               stdout-path = &UART0;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
 
                        UART0: serial@ef600300 {
                                device_type = "serial";
+                               reg-shift = <0>;
                                compatible = "ns16550";
                                reg = <0xef600300 0x00000008>;
                                virtual-reg = <0xef600300>;
 
                        UART1: serial@ef600400 {
                                device_type = "serial";
+                               reg-shift = <0>;
                                compatible = "ns16550";
                                reg = <0xef600400 0x00000008>;
                                virtual-reg = <0xef600400>;
index 3e7ce2c9e644ef930245d887ea3ac98505f86e89..bb4e819e91571fc0448b4dc27d99c683be7c5090 100644 (file)
 
                        UART1: serial@ef600400 {
                                device_type = "serial";
+                               reg-shift = <0>;
                                compatible = "ns16550";
                                reg = <0xef600400 0x00000008>;
                                virtual-reg = <0xef600400>;
 
                        UART2: serial@ef600500 {
                                device_type = "serial";
+                               reg-shift = <0>;
                                compatible = "ns16550";
                                reg = <0xef600500 0x00000008>;
                                virtual-reg = <0xef600500>;
 
                        UART3: serial@ef600600 {
                                device_type = "serial";
+                               reg-shift = <0>;
                                compatible = "ns16550";
                                reg = <0xef600600 0x00000008>;
                                virtual-reg = <0xef600600>;