Message ID | 1400966481-14131-23-git-send-email-sjg@chromium.org |
---|---|
State | RFC |
Headers | show |
diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 62d8037..98008de 100644 --- a/arch/sandbox/dts/sandbox.dts +++ b/arch/sandbox/dts/sandbox.dts @@ -1,6 +1,17 @@ /dts-v1/; / { + alias { + console = <&uart0>; + }; + + uart0: serial { + compatible = "sandbox,serial"; + dm,pre-reloc; + dm,prefer; + text-colour = "cyan"; + }; + triangle { compatible = "demo-shape"; colour = "cyan";
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> --- arch/sandbox/dts/sandbox.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)