1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*f126890aSEmmanuel Vadot%YAML 1.2 3*f126890aSEmmanuel Vadot--- 4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/nvidia,tegra234-pinmux-aon.yaml# 5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadottitle: NVIDIA Tegra234 AON Pinmux Controller 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadotmaintainers: 10*f126890aSEmmanuel Vadot - Thierry Reding <thierry.reding@gmail.com> 11*f126890aSEmmanuel Vadot - Jon Hunter <jonathanh@nvidia.com> 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot$ref: nvidia,tegra234-pinmux-common.yaml 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadotproperties: 16*f126890aSEmmanuel Vadot compatible: 17*f126890aSEmmanuel Vadot const: nvidia,tegra234-pinmux-aon 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel VadotpatternProperties: 20*f126890aSEmmanuel Vadot "^pinmux(-[a-z0-9-]+)?$": 21*f126890aSEmmanuel Vadot type: object 22*f126890aSEmmanuel Vadot 23*f126890aSEmmanuel Vadot # pin groups 24*f126890aSEmmanuel Vadot additionalProperties: 25*f126890aSEmmanuel Vadot properties: 26*f126890aSEmmanuel Vadot nvidia,pins: 27*f126890aSEmmanuel Vadot items: 28*f126890aSEmmanuel Vadot enum: [ can0_dout_paa0, can0_din_paa1, can1_dout_paa2, 29*f126890aSEmmanuel Vadot can1_din_paa3, can0_stb_paa4, can0_en_paa5, 30*f126890aSEmmanuel Vadot soc_gpio49_paa6, can0_err_paa7, can1_stb_pbb0, 31*f126890aSEmmanuel Vadot can1_en_pbb1, soc_gpio50_pbb2, can1_err_pbb3, 32*f126890aSEmmanuel Vadot spi2_sck_pcc0, spi2_miso_pcc1, spi2_mosi_pcc2, 33*f126890aSEmmanuel Vadot spi2_cs0_pcc3, touch_clk_pcc4, uart3_tx_pcc5, 34*f126890aSEmmanuel Vadot uart3_rx_pcc6, gen2_i2c_scl_pcc7, gen2_i2c_sda_pdd0, 35*f126890aSEmmanuel Vadot gen8_i2c_scl_pdd1, gen8_i2c_sda_pdd2, 36*f126890aSEmmanuel Vadot sce_error_pee0, vcomp_alert_pee1, 37*f126890aSEmmanuel Vadot ao_retention_n_pee2, batt_oc_pee3, power_on_pee4, 38*f126890aSEmmanuel Vadot soc_gpio26_pee5, soc_gpio27_pee6, bootv_ctl_n_pee7, 39*f126890aSEmmanuel Vadot hdmi_cec_pgg0, 40*f126890aSEmmanuel Vadot # drive groups 41*f126890aSEmmanuel Vadot drive_touch_clk_pcc4, drive_uart3_rx_pcc6, 42*f126890aSEmmanuel Vadot drive_uart3_tx_pcc5, drive_gen8_i2c_sda_pdd2, 43*f126890aSEmmanuel Vadot drive_gen8_i2c_scl_pdd1, drive_spi2_mosi_pcc2, 44*f126890aSEmmanuel Vadot drive_gen2_i2c_scl_pcc7, drive_spi2_cs0_pcc3, 45*f126890aSEmmanuel Vadot drive_gen2_i2c_sda_pdd0, drive_spi2_sck_pcc0, 46*f126890aSEmmanuel Vadot drive_spi2_miso_pcc1, drive_can1_dout_paa2, 47*f126890aSEmmanuel Vadot drive_can1_din_paa3, drive_can0_dout_paa0, 48*f126890aSEmmanuel Vadot drive_can0_din_paa1, drive_can0_stb_paa4, 49*f126890aSEmmanuel Vadot drive_can0_en_paa5, drive_soc_gpio49_paa6, 50*f126890aSEmmanuel Vadot drive_can0_err_paa7, drive_can1_stb_pbb0, 51*f126890aSEmmanuel Vadot drive_can1_en_pbb1, drive_soc_gpio50_pbb2, 52*f126890aSEmmanuel Vadot drive_can1_err_pbb3, drive_sce_error_pee0, 53*f126890aSEmmanuel Vadot drive_batt_oc_pee3, drive_bootv_ctl_n_pee7, 54*f126890aSEmmanuel Vadot drive_power_on_pee4, drive_soc_gpio26_pee5, 55*f126890aSEmmanuel Vadot drive_soc_gpio27_pee6, drive_ao_retention_n_pee2, 56*f126890aSEmmanuel Vadot drive_vcomp_alert_pee1, drive_hdmi_cec_pgg0 ] 57*f126890aSEmmanuel Vadot 58*f126890aSEmmanuel VadotunevaluatedProperties: false 59*f126890aSEmmanuel Vadot 60*f126890aSEmmanuel Vadotexamples: 61*f126890aSEmmanuel Vadot - | 62*f126890aSEmmanuel Vadot #include <dt-bindings/pinctrl/pinctrl-tegra.h> 63*f126890aSEmmanuel Vadot 64*f126890aSEmmanuel Vadot pinmux@c300000 { 65*f126890aSEmmanuel Vadot compatible = "nvidia,tegra234-pinmux-aon"; 66*f126890aSEmmanuel Vadot reg = <0xc300000 0x4000>; 67*f126890aSEmmanuel Vadot 68*f126890aSEmmanuel Vadot pinctrl-names = "cec"; 69*f126890aSEmmanuel Vadot pinctrl-0 = <&cec_state>; 70*f126890aSEmmanuel Vadot 71*f126890aSEmmanuel Vadot cec_state: pinmux-cec { 72*f126890aSEmmanuel Vadot cec { 73*f126890aSEmmanuel Vadot nvidia,pins = "hdmi_cec_pgg0"; 74*f126890aSEmmanuel Vadot nvidia,function = "gp"; 75*f126890aSEmmanuel Vadot }; 76*f126890aSEmmanuel Vadot }; 77*f126890aSEmmanuel Vadot }; 78*f126890aSEmmanuel Vadot... 79