summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-02-07 11:51:51 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 10:35:32 -0700
commit275029074d0adeece0c9e38be0cc61bdfa390b18 (patch)
tree696397046f71fd150666bd8554aacfac42d87c86 /arch/powerpc
parentf693e7f5140382ba6cb76e532852efb5ccfb7c9a (diff)
downloadtalos-obmc-uboot-275029074d0adeece0c9e38be0cc61bdfa390b18.tar.gz
talos-obmc-uboot-275029074d0adeece0c9e38be0cc61bdfa390b18.zip
powerpc: ppc4xx: Add defaults for DT based booting to really work
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/dts/canyonlands.dts6
-rw-r--r--arch/powerpc/dts/glacier.dts3
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/dts/canyonlands.dts b/arch/powerpc/dts/canyonlands.dts
index 2ec9762e48..0a2f5d7649 100644
--- a/arch/powerpc/dts/canyonlands.dts
+++ b/arch/powerpc/dts/canyonlands.dts
@@ -22,6 +22,10 @@
serial1 = &UART1;
};
+ chosen {
+ stdout-path = &UART0;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
@@ -280,6 +284,7 @@
UART0: serial@ef600300 {
device_type = "serial";
+ reg-shift = <0>;
compatible = "ns16550";
reg = <0xef600300 0x00000008>;
virtual-reg = <0xef600300>;
@@ -291,6 +296,7 @@
UART1: serial@ef600400 {
device_type = "serial";
+ reg-shift = <0>;
compatible = "ns16550";
reg = <0xef600400 0x00000008>;
virtual-reg = <0xef600400>;
diff --git a/arch/powerpc/dts/glacier.dts b/arch/powerpc/dts/glacier.dts
index 3e7ce2c9e6..bb4e819e91 100644
--- a/arch/powerpc/dts/glacier.dts
+++ b/arch/powerpc/dts/glacier.dts
@@ -251,6 +251,7 @@
UART1: serial@ef600400 {
device_type = "serial";
+ reg-shift = <0>;
compatible = "ns16550";
reg = <0xef600400 0x00000008>;
virtual-reg = <0xef600400>;
@@ -262,6 +263,7 @@
UART2: serial@ef600500 {
device_type = "serial";
+ reg-shift = <0>;
compatible = "ns16550";
reg = <0xef600500 0x00000008>;
virtual-reg = <0xef600500>;
@@ -273,6 +275,7 @@
UART3: serial@ef600600 {
device_type = "serial";
+ reg-shift = <0>;
compatible = "ns16550";
reg = <0xef600600 0x00000008>;
virtual-reg = <0xef600600>;
OpenPOWER on IntegriCloud