aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Leroy2018-11-21 08:51:51 +0000
committerTom Rini2018-12-03 10:44:10 -0500
commita8b8645fa9606c8e4a57389e500a235816646397 (patch)
treee5498a260f81e9fa8a9b6cda467d0057fd8ef8f9
parentbdfa11ebcf2c4bbf60acceb15835a069bf8cf051 (diff)
board: MCR3000: migrate to DM_SERIAL
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
-rw-r--r--arch/powerpc/dts/mcr3000.dts7
-rw-r--r--configs/MCR3000_defconfig1
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/dts/mcr3000.dts b/arch/powerpc/dts/mcr3000.dts
index ef423d73c20..5abf111dc5f 100644
--- a/arch/powerpc/dts/mcr3000.dts
+++ b/arch/powerpc/dts/mcr3000.dts
@@ -12,4 +12,11 @@
WDT: watchdog@0 {
compatible = "fsl,pq1-wdt";
};
+ SERIAL: smc@0 {
+ compatible = "fsl,pq1-smc";
+ };
+
+ chosen {
+ stdout-path = &SERIAL;
+ };
};
diff --git a/configs/MCR3000_defconfig b/configs/MCR3000_defconfig
index 2e79425bdbc..33c6073648d 100644
--- a/configs/MCR3000_defconfig
+++ b/configs/MCR3000_defconfig
@@ -79,3 +79,4 @@ CONFIG_OF_CONTROL=y
CONFIG_DEFAULT_DEVICE_TREE="mcr3000"
CONFIG_WDT=y
CONFIG_WDT_MPC8xx=y
+CONFIG_DM_SERIAL=y