185798213SPrathamesh Shete# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 285798213SPrathamesh Shete%YAML 1.2 385798213SPrathamesh Shete--- 485798213SPrathamesh Shete$id: http://devicetree.org/schemas/pinctrl/nvidia,tegra234-pinmux-aon.yaml# 585798213SPrathamesh Shete$schema: http://devicetree.org/meta-schemas/core.yaml# 685798213SPrathamesh Shete 785798213SPrathamesh Shetetitle: NVIDIA Tegra234 AON Pinmux Controller 885798213SPrathamesh Shete 985798213SPrathamesh Shetemaintainers: 1085798213SPrathamesh Shete - Thierry Reding <thierry.reding@gmail.com> 1185798213SPrathamesh Shete - Jon Hunter <jonathanh@nvidia.com> 1285798213SPrathamesh Shete 1385798213SPrathamesh Sheteproperties: 1485798213SPrathamesh Shete compatible: 1585798213SPrathamesh Shete const: nvidia,tegra234-pinmux-aon 1685798213SPrathamesh Shete 17*7ac57288SRob Herring reg: 18*7ac57288SRob Herring maxItems: 1 19*7ac57288SRob Herring 2085798213SPrathamesh ShetepatternProperties: 2185798213SPrathamesh Shete "^pinmux(-[a-z0-9-]+)?$": 2285798213SPrathamesh Shete type: object 2385798213SPrathamesh Shete 2485798213SPrathamesh Shete # pin groups 2585798213SPrathamesh Shete additionalProperties: 26*7ac57288SRob Herring $ref: nvidia,tegra234-pinmux-common.yaml 27*7ac57288SRob Herring 2885798213SPrathamesh Shete properties: 2985798213SPrathamesh Shete nvidia,pins: 3085798213SPrathamesh Shete items: 3185798213SPrathamesh Shete enum: [ can0_dout_paa0, can0_din_paa1, can1_dout_paa2, 3285798213SPrathamesh Shete can1_din_paa3, can0_stb_paa4, can0_en_paa5, 3385798213SPrathamesh Shete soc_gpio49_paa6, can0_err_paa7, can1_stb_pbb0, 3485798213SPrathamesh Shete can1_en_pbb1, soc_gpio50_pbb2, can1_err_pbb3, 3585798213SPrathamesh Shete spi2_sck_pcc0, spi2_miso_pcc1, spi2_mosi_pcc2, 3685798213SPrathamesh Shete spi2_cs0_pcc3, touch_clk_pcc4, uart3_tx_pcc5, 3785798213SPrathamesh Shete uart3_rx_pcc6, gen2_i2c_scl_pcc7, gen2_i2c_sda_pdd0, 3885798213SPrathamesh Shete gen8_i2c_scl_pdd1, gen8_i2c_sda_pdd2, 3985798213SPrathamesh Shete sce_error_pee0, vcomp_alert_pee1, 4085798213SPrathamesh Shete ao_retention_n_pee2, batt_oc_pee3, power_on_pee4, 4185798213SPrathamesh Shete soc_gpio26_pee5, soc_gpio27_pee6, bootv_ctl_n_pee7, 4285798213SPrathamesh Shete hdmi_cec_pgg0, 4385798213SPrathamesh Shete # drive groups 4485798213SPrathamesh Shete drive_touch_clk_pcc4, drive_uart3_rx_pcc6, 4585798213SPrathamesh Shete drive_uart3_tx_pcc5, drive_gen8_i2c_sda_pdd2, 4685798213SPrathamesh Shete drive_gen8_i2c_scl_pdd1, drive_spi2_mosi_pcc2, 4785798213SPrathamesh Shete drive_gen2_i2c_scl_pcc7, drive_spi2_cs0_pcc3, 4885798213SPrathamesh Shete drive_gen2_i2c_sda_pdd0, drive_spi2_sck_pcc0, 4985798213SPrathamesh Shete drive_spi2_miso_pcc1, drive_can1_dout_paa2, 5085798213SPrathamesh Shete drive_can1_din_paa3, drive_can0_dout_paa0, 5185798213SPrathamesh Shete drive_can0_din_paa1, drive_can0_stb_paa4, 5285798213SPrathamesh Shete drive_can0_en_paa5, drive_soc_gpio49_paa6, 5385798213SPrathamesh Shete drive_can0_err_paa7, drive_can1_stb_pbb0, 5485798213SPrathamesh Shete drive_can1_en_pbb1, drive_soc_gpio50_pbb2, 5585798213SPrathamesh Shete drive_can1_err_pbb3, drive_sce_error_pee0, 5685798213SPrathamesh Shete drive_batt_oc_pee3, drive_bootv_ctl_n_pee7, 5785798213SPrathamesh Shete drive_power_on_pee4, drive_soc_gpio26_pee5, 5885798213SPrathamesh Shete drive_soc_gpio27_pee6, drive_ao_retention_n_pee2, 5985798213SPrathamesh Shete drive_vcomp_alert_pee1, drive_hdmi_cec_pgg0 ] 6085798213SPrathamesh Shete 6185798213SPrathamesh SheteunevaluatedProperties: false 6285798213SPrathamesh Shete 6385798213SPrathamesh Sheteexamples: 6485798213SPrathamesh Shete - | 6585798213SPrathamesh Shete #include <dt-bindings/pinctrl/pinctrl-tegra.h> 6685798213SPrathamesh Shete 6785798213SPrathamesh Shete pinmux@c300000 { 6885798213SPrathamesh Shete compatible = "nvidia,tegra234-pinmux-aon"; 6985798213SPrathamesh Shete reg = <0xc300000 0x4000>; 7085798213SPrathamesh Shete 7185798213SPrathamesh Shete pinctrl-names = "cec"; 7285798213SPrathamesh Shete pinctrl-0 = <&cec_state>; 7385798213SPrathamesh Shete 7485798213SPrathamesh Shete cec_state: pinmux-cec { 7585798213SPrathamesh Shete cec { 7685798213SPrathamesh Shete nvidia,pins = "hdmi_cec_pgg0"; 7785798213SPrathamesh Shete nvidia,function = "gp"; 7885798213SPrathamesh Shete }; 7985798213SPrathamesh Shete }; 8085798213SPrathamesh Shete }; 8185798213SPrathamesh Shete... 82