From: Simon Glass Date: Sun, 13 Jul 2014 12:27:39 -0600 Subject: [U-Boot] [PATCH v2 6/9] sandbox: dts: Add a serial console node In-Reply-To: <1405276062-4560-1-git-send-email-sjg@chromium.org> References: <1405276062-4560-1-git-send-email-sjg@chromium.org> Message-ID: <1405276062-4560-7-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de If the sandbox device tree is provided to U-Boot (with the -d flag) then it will use the device tree version in preference to the built-in device. The only difference is the colour. Signed-off-by: Simon Glass --- Changes in v2: None arch/sandbox/dts/sandbox.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index f3f951b..daf5e73 100644 --- a/arch/sandbox/dts/sandbox.dts +++ b/arch/sandbox/dts/sandbox.dts @@ -1,6 +1,16 @@ /dts-v1/; / { + aliases { + console = "/serial"; + }; + + uart0: serial { + compatible = "sandbox,serial"; + dm,pre-reloc; + text-colour = "cyan"; + }; + triangle { compatible = "demo-shape"; colour = "cyan"; -- 2.0.0.526.g5318336