19323f8a0SPrathamesh Shete# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 29323f8a0SPrathamesh Shete%YAML 1.2 39323f8a0SPrathamesh Shete--- 49323f8a0SPrathamesh Shete$id: http://devicetree.org/schemas/pinctrl/nvidia,tegra238-pinmux-aon.yaml# 59323f8a0SPrathamesh Shete$schema: http://devicetree.org/meta-schemas/core.yaml# 69323f8a0SPrathamesh Shete 79323f8a0SPrathamesh Shetetitle: NVIDIA Tegra238 AON Pinmux Controller 89323f8a0SPrathamesh Shete 99323f8a0SPrathamesh Shetemaintainers: 109323f8a0SPrathamesh Shete - Thierry Reding <thierry.reding@gmail.com> 119323f8a0SPrathamesh Shete - Jon Hunter <jonathanh@nvidia.com> 129323f8a0SPrathamesh Shete 139323f8a0SPrathamesh Sheteproperties: 149323f8a0SPrathamesh Shete compatible: 159323f8a0SPrathamesh Shete const: nvidia,tegra238-pinmux-aon 169323f8a0SPrathamesh Shete 179323f8a0SPrathamesh Shete reg: 189323f8a0SPrathamesh Shete maxItems: 1 199323f8a0SPrathamesh Shete 209323f8a0SPrathamesh ShetepatternProperties: 219323f8a0SPrathamesh Shete "^pinmux(-[a-z0-9-]+)?$": 229323f8a0SPrathamesh Shete type: object 239323f8a0SPrathamesh Shete 249323f8a0SPrathamesh Shete # pin groups 259323f8a0SPrathamesh Shete additionalProperties: 269323f8a0SPrathamesh Shete $ref: nvidia,tegra238-pinmux-common.yaml 279323f8a0SPrathamesh Shete 289323f8a0SPrathamesh Shete properties: 299323f8a0SPrathamesh Shete nvidia,pins: 309323f8a0SPrathamesh Shete items: 319323f8a0SPrathamesh Shete enum: [ bootv_ctl_n_paa0, soc_gpio00_paa1, vcomp_alert_paa2, 329323f8a0SPrathamesh Shete pwm1_paa3, batt_oc_paa4, soc_gpio04_paa5, 339323f8a0SPrathamesh Shete soc_gpio25_paa6, soc_gpio26_paa7, 349323f8a0SPrathamesh Shete hdmi_cec_pbb0, 359323f8a0SPrathamesh Shete spi2_sck_pcc0, spi2_miso_pcc1, spi2_mosi_pcc2, 369323f8a0SPrathamesh Shete spi2_cs0_pcc3, spi2_cs1_pcc4, uart3_tx_pcc5, 379323f8a0SPrathamesh Shete uart3_rx_pcc6, gen2_i2c_scl_pcc7, 389323f8a0SPrathamesh Shete gen2_i2c_sda_pdd0, gen8_i2c_scl_pdd1, 399323f8a0SPrathamesh Shete gen8_i2c_sda_pdd2, touch_clk_pdd3, dmic1_clk_pdd4, 409323f8a0SPrathamesh Shete dmic1_dat_pdd5, soc_gpio19_pdd6, pwm2_pdd7, 41*7156d900SPrathamesh Shete pwm3_pee0, pwm7_pee1, soc_gpio49_pee2, 42*7156d900SPrathamesh Shete soc_gpio82_pee3, soc_gpio50_pee4, soc_gpio83_pee5, 43*7156d900SPrathamesh Shete soc_gpio69_pff0, soc_gpio70_pff1, soc_gpio71_pff2, 44*7156d900SPrathamesh Shete soc_gpio72_pff3, soc_gpio73_pff4, soc_gpio74_pff5, 45*7156d900SPrathamesh Shete soc_gpio80_pff6, soc_gpio76_pff7, soc_gpio77_pgg0, 46*7156d900SPrathamesh Shete soc_gpio84_pgg1, uart2_tx_pgg2, uart2_rx_pgg3, 47*7156d900SPrathamesh Shete uart2_rts_pgg4, uart2_cts_pgg5, soc_gpio85_pgg6, 48*7156d900SPrathamesh Shete uart5_tx_pgg7, uart5_rx_phh0, uart5_rts_phh1, 49*7156d900SPrathamesh Shete uart5_cts_phh2, soc_gpio86_phh3, 50*7156d900SPrathamesh Shete # drive groups (ordered PAA, PBB, PCC, PDD, PEE, PFF, PGG, PHH) 519323f8a0SPrathamesh Shete drive_bootv_ctl_n_paa0, drive_soc_gpio00_paa1, 529323f8a0SPrathamesh Shete drive_vcomp_alert_paa2, drive_pwm1_paa3, 539323f8a0SPrathamesh Shete drive_batt_oc_paa4, drive_soc_gpio04_paa5, 549323f8a0SPrathamesh Shete drive_soc_gpio25_paa6, drive_soc_gpio26_paa7, 559323f8a0SPrathamesh Shete drive_hdmi_cec_pbb0, 569323f8a0SPrathamesh Shete drive_spi2_sck_pcc0, drive_spi2_miso_pcc1, 579323f8a0SPrathamesh Shete drive_spi2_mosi_pcc2, drive_spi2_cs0_pcc3, 589323f8a0SPrathamesh Shete drive_spi2_cs1_pcc4, drive_uart3_tx_pcc5, 599323f8a0SPrathamesh Shete drive_uart3_rx_pcc6, drive_gen2_i2c_scl_pcc7, 609323f8a0SPrathamesh Shete drive_gen2_i2c_sda_pdd0, drive_gen8_i2c_scl_pdd1, 619323f8a0SPrathamesh Shete drive_gen8_i2c_sda_pdd2, drive_touch_clk_pdd3, 629323f8a0SPrathamesh Shete drive_dmic1_clk_pdd4, drive_dmic1_dat_pdd5, 639323f8a0SPrathamesh Shete drive_soc_gpio19_pdd6, drive_pwm2_pdd7, 64*7156d900SPrathamesh Shete drive_pwm3_pee0, drive_pwm7_pee1, 65*7156d900SPrathamesh Shete drive_soc_gpio49_pee2, drive_soc_gpio50_pee4, 66*7156d900SPrathamesh Shete drive_soc_gpio82_pee3, drive_soc_gpio71_pff2, 67*7156d900SPrathamesh Shete drive_soc_gpio76_pff7, drive_soc_gpio74_pff5, 68*7156d900SPrathamesh Shete drive_soc_gpio86_phh3, drive_soc_gpio72_pff3, 69*7156d900SPrathamesh Shete drive_soc_gpio77_pgg0, drive_soc_gpio80_pff6, 70*7156d900SPrathamesh Shete drive_soc_gpio84_pgg1, drive_soc_gpio83_pee5, 71*7156d900SPrathamesh Shete drive_soc_gpio73_pff4, drive_soc_gpio70_pff1, 72*7156d900SPrathamesh Shete drive_soc_gpio85_pgg6, drive_soc_gpio69_pff0, 73*7156d900SPrathamesh Shete drive_uart5_tx_pgg7, drive_uart5_rx_phh0, 74*7156d900SPrathamesh Shete drive_uart2_tx_pgg2, drive_uart2_rx_pgg3, 75*7156d900SPrathamesh Shete drive_uart2_cts_pgg5, drive_uart2_rts_pgg4, 76*7156d900SPrathamesh Shete drive_uart5_cts_phh2, drive_uart5_rts_phh1 ] 779323f8a0SPrathamesh Shete 789323f8a0SPrathamesh Sheterequired: 799323f8a0SPrathamesh Shete - compatible 809323f8a0SPrathamesh Shete - reg 819323f8a0SPrathamesh Shete 829323f8a0SPrathamesh SheteadditionalProperties: false 839323f8a0SPrathamesh Shete 849323f8a0SPrathamesh Sheteexamples: 859323f8a0SPrathamesh Shete - | 869323f8a0SPrathamesh Shete #include <dt-bindings/pinctrl/pinctrl-tegra.h> 879323f8a0SPrathamesh Shete 889323f8a0SPrathamesh Shete pinmux@c300000 { 899323f8a0SPrathamesh Shete compatible = "nvidia,tegra238-pinmux-aon"; 909323f8a0SPrathamesh Shete reg = <0x0c300000 0x4000>; 919323f8a0SPrathamesh Shete 929323f8a0SPrathamesh Shete pinctrl-names = "cec"; 939323f8a0SPrathamesh Shete pinctrl-0 = <&cec_state>; 949323f8a0SPrathamesh Shete 959323f8a0SPrathamesh Shete cec_state: pinmux-cec { 969323f8a0SPrathamesh Shete cec { 979323f8a0SPrathamesh Shete nvidia,pins = "hdmi_cec_pbb0"; 989323f8a0SPrathamesh Shete nvidia,function = "hdmi_cec"; 999323f8a0SPrathamesh Shete }; 1009323f8a0SPrathamesh Shete }; 1019323f8a0SPrathamesh Shete }; 1029323f8a0SPrathamesh Shete... 103