diff options
author | Simon Glass <sjg@chromium.org> | 2014-09-05 02:27:29 +0400 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-09-10 23:00:00 +0400 |
commit | 2a9ae6e02f190e8c83450aab9099a9fb5ec48cc9 (patch) | |
tree | d71b608e06bd28553ac0e71cd0f312ec50b28d78 /arch/sandbox | |
parent | 72e98228c3f17a5411b4f8fea27cfd6072ace348 (diff) | |
download | u-boot-2a9ae6e02f190e8c83450aab9099a9fb5ec48cc9.tar.xz |
sandbox: dts: Add a serial console node
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 <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/dts/sandbox.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index efffacba1d..797478a2c7 100644 --- a/arch/sandbox/dts/sandbox.dts +++ b/arch/sandbox/dts/sandbox.dts @@ -1,6 +1,16 @@ /dts-v1/; / { + chosen { + stdout-path = "/serial"; + }; + + /* Needs to be available prior to relocation */ + uart0: serial { + compatible = "sandbox,serial"; + sandbox,text-colour = "cyan"; + }; + triangle { compatible = "demo-shape"; colour = "cyan"; |