rockchip: add dts spec for fiq debugger
authorHuibin Hong <huibin.hong@rock-chips.com>
Tue, 1 Sep 2015 10:00:04 +0000 (18:00 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Wed, 2 Sep 2015 09:28:03 +0000 (17:28 +0800)
Documentation/devicetree/bindings/serial/rockchip_fiq_debugger.txt

Change-Id: Iab6cd308aed816ad614006a155816cd3e32df6f6
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Documentation/devicetree/bindings/serial/rockchip_fiq_debugger.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/serial/rockchip_fiq_debugger.txt b/Documentation/devicetree/bindings/serial/rockchip_fiq_debugger.txt
new file mode 100644 (file)
index 0000000..867991d
--- /dev/null
@@ -0,0 +1,32 @@
+* Fiq debugger based on UART
+
+- compatible: "rockchip,fiq-debugger"
+
+  Compatibility with all rk30xx rk31xx rk32xx rk33xx SOCs.
+
+- rockchip,serial-id: The uart which is used as debug port,
+  start from 0,1,2,3...
+
+- rockchip,signal-irq: A hardware interrupt without source,
+  which is triggered by FIQ handler to call functions that
+  must be called in IRQ context. Often it is configured by
+  soc developer.
+
+- rockchip,wake-irq: It is used to wake up fiq debugger,
+  but usually not used.
+
+- rockchip,irq-mode-enable: If it is set 1, uart uses irq
+  instead of fiq.
+
+- rockchip,baudrate: Only 115200 and 1500000.
+
+Example:
+       fiq-debugger {
+               compatible = "rockchip,fiq-debugger";
+               rockchip,serial-id = <2>;
+               rockchip,signal-irq = <186>;
+               rockchip,wake-irq = <0>;
+               rockchip,irq-mode-enable = <0>;
+               rockchip,baudrate = <115200>;
+               status = "disabled";
+       };