173966aa6SKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 273966aa6SKrzysztof Kozlowski%YAML 1.2 373966aa6SKrzysztof Kozlowski--- 473966aa6SKrzysztof Kozlowski$id: http://devicetree.org/schemas/pinctrl/qcom,mdm9607-tlmm.yaml# 573966aa6SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 673966aa6SKrzysztof Kozlowski 773966aa6SKrzysztof Kozlowskititle: Qualcomm Technologies, Inc. MDM9607 TLMM block 873966aa6SKrzysztof Kozlowski 973966aa6SKrzysztof Kozlowskimaintainers: 10*0710c3d3SKonrad Dybcio - Konrad Dybcio <konradybcio@kernel.org> 1173966aa6SKrzysztof Kozlowski 1273966aa6SKrzysztof Kozlowskidescription: 1373966aa6SKrzysztof Kozlowski Top Level Mode Multiplexer pin controller in Qualcomm MDM9607 SoC. 1473966aa6SKrzysztof Kozlowski 1573966aa6SKrzysztof KozlowskiallOf: 1673966aa6SKrzysztof Kozlowski - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 1773966aa6SKrzysztof Kozlowski 1873966aa6SKrzysztof Kozlowskiproperties: 1973966aa6SKrzysztof Kozlowski compatible: 2073966aa6SKrzysztof Kozlowski const: qcom,mdm9607-tlmm 2173966aa6SKrzysztof Kozlowski 2273966aa6SKrzysztof Kozlowski reg: 2373966aa6SKrzysztof Kozlowski maxItems: 1 2473966aa6SKrzysztof Kozlowski 2512a18bb7SKrzysztof Kozlowski interrupts: 2612a18bb7SKrzysztof Kozlowski maxItems: 1 2712a18bb7SKrzysztof Kozlowski 2873966aa6SKrzysztof Kozlowski gpio-reserved-ranges: true 2973966aa6SKrzysztof Kozlowski 3073966aa6SKrzysztof KozlowskipatternProperties: 3173966aa6SKrzysztof Kozlowski "-state$": 3273966aa6SKrzysztof Kozlowski oneOf: 3373966aa6SKrzysztof Kozlowski - $ref: "#/$defs/qcom-mdm9607-tlmm-state" 34caaeb8c5SRob Herring - additionalProperties: false 35caaeb8c5SRob Herring patternProperties: 3673966aa6SKrzysztof Kozlowski ".*": 3773966aa6SKrzysztof Kozlowski $ref: "#/$defs/qcom-mdm9607-tlmm-state" 3873966aa6SKrzysztof Kozlowski 3973966aa6SKrzysztof Kozlowski$defs: 4073966aa6SKrzysztof Kozlowski qcom-mdm9607-tlmm-state: 4173966aa6SKrzysztof Kozlowski type: object 4273966aa6SKrzysztof Kozlowski description: 4373966aa6SKrzysztof Kozlowski Pinctrl node's client devices use subnodes for desired pin configuration. 4473966aa6SKrzysztof Kozlowski Client device subnodes use below standard properties. 4573966aa6SKrzysztof Kozlowski $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state 46867bf150SKrzysztof Kozlowski unevaluatedProperties: false 4773966aa6SKrzysztof Kozlowski 4873966aa6SKrzysztof Kozlowski properties: 4973966aa6SKrzysztof Kozlowski pins: 5073966aa6SKrzysztof Kozlowski description: 5173966aa6SKrzysztof Kozlowski List of gpio pins affected by the properties specified in this 5273966aa6SKrzysztof Kozlowski subnode. 5373966aa6SKrzysztof Kozlowski items: 5473966aa6SKrzysztof Kozlowski oneOf: 5573966aa6SKrzysztof Kozlowski - pattern: "^gpio([1-9]|[1-7][0-9]|80)$" 5673966aa6SKrzysztof Kozlowski - enum: [ sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk, sdc2_cmd, 5773966aa6SKrzysztof Kozlowski sdc2_data, qdsd_cmd, qdsd_data0, qdsd_data1, qdsd_data2, 5873966aa6SKrzysztof Kozlowski qdsd_data3 ] 5973966aa6SKrzysztof Kozlowski minItems: 1 6073966aa6SKrzysztof Kozlowski maxItems: 16 6173966aa6SKrzysztof Kozlowski 6273966aa6SKrzysztof Kozlowski function: 6373966aa6SKrzysztof Kozlowski description: 6473966aa6SKrzysztof Kozlowski Specify the alternative function to be configured for the specified 6573966aa6SKrzysztof Kozlowski pins. 6673966aa6SKrzysztof Kozlowski 6773966aa6SKrzysztof Kozlowski enum: [ adsp_ext, atest_bbrx0, atest_bbrx1, atest_char, atest_char0, 6873966aa6SKrzysztof Kozlowski atest_char1, atest_char2, atest_char3, 6973966aa6SKrzysztof Kozlowski atest_combodac_to_gpio_native, atest_gpsadc_dtest0_native, 7073966aa6SKrzysztof Kozlowski atest_gpsadc_dtest1_native, atest_tsens, backlight_en_b, 7173966aa6SKrzysztof Kozlowski bimc_dte0, bimc_dte1, blsp1_spi, blsp2_spi, blsp3_spi, 7273966aa6SKrzysztof Kozlowski blsp_i2c1, blsp_i2c2, blsp_i2c3, blsp_i2c4, blsp_i2c5, 7373966aa6SKrzysztof Kozlowski blsp_i2c6, blsp_spi1, blsp_spi2, blsp_spi3, blsp_spi4, 7473966aa6SKrzysztof Kozlowski blsp_spi5, blsp_spi6, blsp_uart1, blsp_uart2, blsp_uart3, 7573966aa6SKrzysztof Kozlowski blsp_uart4, blsp_uart5, blsp_uart6, blsp_uim1, blsp_uim2, 7673966aa6SKrzysztof Kozlowski codec_int, codec_rst, coex_uart, cri_trng, cri_trng0, 7773966aa6SKrzysztof Kozlowski cri_trng1, dbg_out, ebi0_wrcdc, ebi2_a, ebi2_a_d_8_b, 7873966aa6SKrzysztof Kozlowski ebi2_lcd, ebi2_lcd_cs_n_b, ebi2_lcd_te_b, eth_irq, eth_rst, 7973966aa6SKrzysztof Kozlowski gcc_gp1_clk_a, gcc_gp1_clk_b, gcc_gp2_clk_a, gcc_gp2_clk_b, 8073966aa6SKrzysztof Kozlowski gcc_gp3_clk_a, gcc_gp3_clk_b, gcc_plltest, gcc_tlmm, gmac_mdio, 8173966aa6SKrzysztof Kozlowski gpio, gsm0_tx, lcd_rst, ldo_en, ldo_update, m_voc, modem_tsync, 8273966aa6SKrzysztof Kozlowski nav_ptp_pps_in_a, nav_ptp_pps_in_b, nav_tsync_out_a, 8373966aa6SKrzysztof Kozlowski nav_tsync_out_b, pa_indicator, pbs0, pbs1, pbs2, 8473966aa6SKrzysztof Kozlowski pri_mi2s_data0_a, pri_mi2s_data1_a, pri_mi2s_mclk_a, 8573966aa6SKrzysztof Kozlowski pri_mi2s_sck_a, pri_mi2s_ws_a, prng_rosc, ptp_pps_out_a, 8673966aa6SKrzysztof Kozlowski ptp_pps_out_b, pwr_crypto_enabled_a, pwr_crypto_enabled_b, 8773966aa6SKrzysztof Kozlowski pwr_modem_enabled_a, pwr_modem_enabled_b, pwr_nav_enabled_a, 8873966aa6SKrzysztof Kozlowski pwr_nav_enabled_b, qdss_cti_trig_in_a0, qdss_cti_trig_in_a1, 8973966aa6SKrzysztof Kozlowski qdss_cti_trig_in_b0, qdss_cti_trig_in_b1, qdss_cti_trig_out_a0, 9073966aa6SKrzysztof Kozlowski qdss_cti_trig_out_a1, qdss_cti_trig_out_b0, qdss_cti_trig_out_b1, 9173966aa6SKrzysztof Kozlowski qdss_traceclk_a, qdss_traceclk_b, qdss_tracectl_a, 9273966aa6SKrzysztof Kozlowski qdss_tracectl_b, qdss_tracedata_a, qdss_tracedata_b, rcm_marker1, 9373966aa6SKrzysztof Kozlowski rcm_marker2, sd_write, sec_mi2s, sensor_en, sensor_int2, 9473966aa6SKrzysztof Kozlowski sensor_int3, sensor_rst, ssbi1, ssbi2, touch_rst, ts_int, 9573966aa6SKrzysztof Kozlowski uim1_clk, uim1_data, uim1_present, uim1_reset, uim2_clk, 9673966aa6SKrzysztof Kozlowski uim2_data, uim2_present, uim2_reset, uim_batt, wlan_en1, ] 9773966aa6SKrzysztof Kozlowski 9873966aa6SKrzysztof Kozlowski required: 9973966aa6SKrzysztof Kozlowski - pins 10073966aa6SKrzysztof Kozlowski 10179d770afSKrzysztof Kozlowskirequired: 10279d770afSKrzysztof Kozlowski - compatible 10379d770afSKrzysztof Kozlowski - reg 10479d770afSKrzysztof Kozlowski 10579d770afSKrzysztof KozlowskiunevaluatedProperties: false 10679d770afSKrzysztof Kozlowski 10773966aa6SKrzysztof Kozlowskiexamples: 10873966aa6SKrzysztof Kozlowski - | 10973966aa6SKrzysztof Kozlowski #include <dt-bindings/interrupt-controller/arm-gic.h> 11073966aa6SKrzysztof Kozlowski tlmm: pinctrl@1000000 { 11173966aa6SKrzysztof Kozlowski compatible = "qcom,mdm9607-tlmm"; 11273966aa6SKrzysztof Kozlowski reg = <0x01000000 0x300000>; 11373966aa6SKrzysztof Kozlowski interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 11473966aa6SKrzysztof Kozlowski gpio-controller; 11573966aa6SKrzysztof Kozlowski gpio-ranges = <&msmgpio 0 0 80>; 11673966aa6SKrzysztof Kozlowski #gpio-cells = <2>; 11773966aa6SKrzysztof Kozlowski interrupt-controller; 11873966aa6SKrzysztof Kozlowski #interrupt-cells = <2>; 11973966aa6SKrzysztof Kozlowski }; 120