From 36be84ba44fbd0f5a552719835bdf8ac46e83e7a Mon Sep 17 00:00:00 2001 From: Huibin Hong Date: Tue, 1 Sep 2015 18:00:04 +0800 Subject: [PATCH] rockchip: add dts spec for fiq debugger Documentation/devicetree/bindings/serial/rockchip_fiq_debugger.txt Change-Id: Iab6cd308aed816ad614006a155816cd3e32df6f6 Signed-off-by: Huibin Hong --- .../bindings/serial/rockchip_fiq_debugger.txt | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/rockchip_fiq_debugger.txt diff --git a/Documentation/devicetree/bindings/serial/rockchip_fiq_debugger.txt b/Documentation/devicetree/bindings/serial/rockchip_fiq_debugger.txt new file mode 100644 index 000000000000..867991d5ecb3 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/rockchip_fiq_debugger.txt @@ -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"; + }; -- 2.34.1