blob: 0173a3dfa6e28d4068a6b77321d717e70f0ee97a [file] [log] [blame]
Girish Mahadevanebeed352016-11-23 10:59:29 -07001* MSM Serial UART for GENI based cores.
2
3The MSM serial UART driver supports low speed and high speed use-cases.
4This is meant only for QUPv3 GENI based cores and isn't backwards compatible.
5There is support for console usecases and for higher speed usecases that need
6DMA.
7
8Required properties:
9- compatible: should contain "qcom,msm-geni-uart, qcom,msm-geni-console"
10 for UART console usecases, "qcom,msm-geni-uart, qcom,msm-geni-serial-hs"
11 for High Speed (HS) usecases.
12- reg: Should contain UART register location and length.
13- interrupts: Should contain UART core interrupts.
14- clocks: clocks needed for UART, includes the core and AHB clock.
15- pinctrl-names/pinctrl-0/1: The GPIOs assigned to this core. The names
16 Should be "active" and "sleep" for the pin confuguration when core is active
17 or when entering sleep state.
18
Girish Mahadevan3e694cc2017-04-19 16:50:03 -060019Optional properties:
20- qcom,bus-mas: contains the bus master id needed to put in bus bandwidth votes
21 for inter-connect buses.
Girish Mahadevan7115f4e2017-03-15 15:18:34 -060022- qcom,wakeup-byte: Byte to be injected in the tty layer during wakeup isr.
Girish Mahadevan3e694cc2017-04-19 16:50:03 -060023
Girish Mahadevanebeed352016-11-23 10:59:29 -070024Example:
25qupv3_uart11: qcom,qup_uart@0xa88000 {
26 compatible = "qcom,msm-geni-uart";
27 reg = <0xa88000 0x7000>;
28 reg-names = "se_phys";
29 clock-names = "se-clk", "m-ahb", "s-ahb";
30 clocks = <&clock_gcc GCC_QUPV3_WRAP0_S0_CLK>,
31 <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
32 <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
33 pinctrl-names = "default", "sleep";
34 pinctrl-0 = <&qup_1_uart_3_active>;
35 pinctrl-1 = <&qup_1_uart_3_sleep>;
36 interrupts = <0 355 0>;
Girish Mahadevan3e694cc2017-04-19 16:50:03 -060037 qcom,bus-mas = <MASTER_BLSP_2>;
Girish Mahadevan7115f4e2017-03-15 15:18:34 -060038 qcom,wakeup-byte = <0xFF>;
Girish Mahadevanebeed352016-11-23 10:59:29 -070039};