From: Huibin Hong Date: Tue, 1 Sep 2015 10:00:04 +0000 (+0800) Subject: rockchip: add dts spec for fiq debugger X-Git-Tag: firefly_0821_release~3811 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=36be84ba44fbd0f5a552719835bdf8ac46e83e7a;p=firefly-linux-kernel-4.4.55.git rockchip: add dts spec for fiq debugger Documentation/devicetree/bindings/serial/rockchip_fiq_debugger.txt Change-Id: Iab6cd308aed816ad614006a155816cd3e32df6f6 Signed-off-by: Huibin Hong --- 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"; + };