rockchip: add dts spec for fiq debugger
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / serial / rockchip_fiq_debugger.txt
1 * Fiq debugger based on UART
2
3 - compatible: "rockchip,fiq-debugger"
4
5   Compatibility with all rk30xx rk31xx rk32xx rk33xx SOCs.
6
7 - rockchip,serial-id: The uart which is used as debug port,
8   start from 0,1,2,3...
9
10 - rockchip,signal-irq: A hardware interrupt without source,
11   which is triggered by FIQ handler to call functions that
12   must be called in IRQ context. Often it is configured by
13   soc developer.
14
15 - rockchip,wake-irq: It is used to wake up fiq debugger,
16   but usually not used.
17
18 - rockchip,irq-mode-enable: If it is set 1, uart uses irq
19   instead of fiq.
20
21 - rockchip,baudrate: Only 115200 and 1500000.
22
23 Example:
24         fiq-debugger {
25                 compatible = "rockchip,fiq-debugger";
26                 rockchip,serial-id = <2>;
27                 rockchip,signal-irq = <186>;
28                 rockchip,wake-irq = <0>;
29                 rockchip,irq-mode-enable = <0>;
30                 rockchip,baudrate = <115200>;
31                 status = "disabled";
32         };