1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qco 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: Qualcomm Technologies, Inc. APQ8084 TLM 8 9 maintainers: 10 - Bjorn Andersson <bjorn.andersson@linaro.org 11 12 description: | 13 Top Level Mode Multiplexer pin controller in 14 15 allOf: 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.ya 17 18 properties: 19 compatible: 20 const: qcom,apq8084-pinctrl 21 22 reg: 23 maxItems: 1 24 25 interrupts: 26 maxItems: 1 27 28 gpio-reserved-ranges: true 29 30 patternProperties: 31 "-state$": 32 oneOf: 33 - $ref: "#/$defs/qcom-apq8084-tlmm-state 34 - patternProperties: 35 "-pins$": 36 $ref: "#/$defs/qcom-apq8084-tlmm-s 37 additionalProperties: false 38 39 $defs: 40 qcom-apq8084-tlmm-state: 41 type: object 42 description: 43 Pinctrl node's client devices use subnod 44 Client device subnodes use below standar 45 $ref: qcom,tlmm-common.yaml#/$defs/qcom-tl 46 unevaluatedProperties: false 47 48 properties: 49 pins: 50 description: 51 List of gpio pins affected by the pr 52 subnode. 53 items: 54 oneOf: 55 - pattern: "^gpio([0-9]|[1-9][0-9] 56 - enum: [ sdc1_clk, sdc1_cmd, sdc1 57 sdc2_data ] 58 minItems: 1 59 maxItems: 36 60 61 function: 62 description: 63 Specify the alternative function to 64 pins. 65 enum: [ adsp_ext, audio_ref, blsp_i2c1 66 blsp_i2c4, blsp_i2c5, blsp_i2c 67 blsp_i2c9, blsp_i2c10, blsp_i2 68 blsp_spi1, blsp_spi1_cs1, blsp 69 blsp_spi2, blsp_spi3, blsp_spi 70 blsp_spi3_cs3, blsp_spi4, blsp 71 blsp_spi7, blsp_spi8, blsp_spi 72 blsp_spi10_cs1, blsp_spi10_cs2 73 blsp_spi11, blsp_spi12, blsp_u 74 blsp_uart3, blsp_uart4, blsp_u 75 blsp_uart7, blsp_uart8, blsp_u 76 blsp_uart11, blsp_uart12, blsp 77 blsp_uim3, blsp_uim4, blsp_uim 78 blsp_uim8, blsp_uim9, blsp_uim 79 blsp_uim12, cam_mclk0, cam_mcl 80 cci_async, cci_async_in0, cci_ 81 cci_timer0, cci_timer1, cci_ti 82 cci_timer4, edp_hpd, gcc_gp1, 83 gcc_obt, gcc_vtt, gp_mn, gp_pd 84 gp0_clk, gp1_clk, gpio, hdmi_c 85 hdmi_hpd, hdmi_rcv, hsic, ldo_ 86 mdp_vsync, pci_e0, pci_e0_n, p 87 pci_e1_rst, pci_e1_rst_n, pci_ 88 qua_mi2s, sata_act, sata_devsl 89 sd_write, sdc_emmc_mode, sdc3, 90 spdif_tx, spkr_i2s, spkr_i2s_w 91 tsif1, tsif2, uim, uim_batt_al 92 93 required: 94 - pins 95 96 required: 97 - compatible 98 - reg 99 100 unevaluatedProperties: false 101 102 examples: 103 - | 104 #include <dt-bindings/interrupt-controller 105 tlmm: pinctrl@fd510000 { 106 compatible = "qcom,apq8084-pinctrl"; 107 reg = <0xfd510000 0x4000>; 108 109 gpio-controller; 110 #gpio-cells = <2>; 111 gpio-ranges = <&tlmm 0 0 147>; 112 interrupt-controller; 113 #interrupt-cells = <2>; 114 interrupts = <GIC_SPI 208 IRQ_TYPE_LEV 115 116 uart-state { 117 rx-pins { 118 pins = "gpio5"; 119 function = "blsp_uart2"; 120 bias-pull-up; 121 }; 122 123 tx-pins { 124 pins = "gpio4"; 125 function = "blsp_uart2"; 126 bias-disable; 127 }; 128 }; 129 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.