summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-09-04 16:27:29 -0600
committerSimon Glass <sjg@chromium.org>2014-09-10 13:00:00 -0600
commit2a9ae6e02f190e8c83450aab9099a9fb5ec48cc9 (patch)
treed71b608e06bd28553ac0e71cd0f312ec50b28d78 /doc/device-tree-bindings
parent72e98228c3f17a5411b4f8fea27cfd6072ace348 (diff)
downloadu-boot-imx-2a9ae6e02f190e8c83450aab9099a9fb5ec48cc9.zip
u-boot-imx-2a9ae6e02f190e8c83450aab9099a9fb5ec48cc9.tar.gz
u-boot-imx-2a9ae6e02f190e8c83450aab9099a9fb5ec48cc9.tar.bz2
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 'doc/device-tree-bindings')
-rw-r--r--doc/device-tree-bindings/serial/sandbox-serial.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/serial/sandbox-serial.txt b/doc/device-tree-bindings/serial/sandbox-serial.txt
new file mode 100644
index 0000000..f429c90
--- /dev/null
+++ b/doc/device-tree-bindings/serial/sandbox-serial.txt
@@ -0,0 +1,13 @@
+Sandbox serial
+
+The sandbox serial device is an emulated device which displays its output
+on the host machine's console, and accepts input from its keyboard.
+
+Required properties:
+ compatible: "sandbox,serial"
+
+Optional properties:
+ sandbox,text-colour: If present, this is the colour of the console text.
+ Supported values are:
+ "black", "red", "green", "yellow", "blue", "megenta", "cyan",
+ "white"