1*2eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*2eb4d8dcSEmmanuel Vadot%YAML 1.2 3*2eb4d8dcSEmmanuel Vadot--- 4*2eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6362-pinctrl.yaml# 5*2eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*2eb4d8dcSEmmanuel Vadot 7*2eb4d8dcSEmmanuel Vadottitle: Broadcom BCM6362 pin controller 8*2eb4d8dcSEmmanuel Vadot 9*2eb4d8dcSEmmanuel Vadotmaintainers: 10*2eb4d8dcSEmmanuel Vadot - Álvaro Fernández Rojas <noltari@gmail.com> 11*2eb4d8dcSEmmanuel Vadot - Jonas Gorski <jonas.gorski@gmail.com> 12*2eb4d8dcSEmmanuel Vadot 13*2eb4d8dcSEmmanuel Vadotdescription: 14*2eb4d8dcSEmmanuel Vadot Bindings for Broadcom's BCM6362 memory-mapped pin controller. 15*2eb4d8dcSEmmanuel Vadot 16*2eb4d8dcSEmmanuel Vadotproperties: 17*2eb4d8dcSEmmanuel Vadot compatible: 18*2eb4d8dcSEmmanuel Vadot const: brcm,bcm6362-pinctrl 19*2eb4d8dcSEmmanuel Vadot 20*2eb4d8dcSEmmanuel Vadot reg: 21*2eb4d8dcSEmmanuel Vadot maxItems: 2 22*2eb4d8dcSEmmanuel Vadot 23*2eb4d8dcSEmmanuel VadotpatternProperties: 24*2eb4d8dcSEmmanuel Vadot '-pins$': 25*2eb4d8dcSEmmanuel Vadot type: object 26*2eb4d8dcSEmmanuel Vadot $ref: pinmux-node.yaml# 27*2eb4d8dcSEmmanuel Vadot 28*2eb4d8dcSEmmanuel Vadot properties: 29*2eb4d8dcSEmmanuel Vadot function: 30*2eb4d8dcSEmmanuel Vadot enum: [ usb_device_led, sys_irq, serial_led_clk, serial_led_data, 31*2eb4d8dcSEmmanuel Vadot robosw_led_data, robosw_led_clk, robosw_led0, robosw_led1, 32*2eb4d8dcSEmmanuel Vadot inet_led, spi_cs2, spi_cs3, ntr_pulse, uart1_scts, 33*2eb4d8dcSEmmanuel Vadot uart1_srts, uart1_sdin, uart1_sdout, adsl_spi_miso, 34*2eb4d8dcSEmmanuel Vadot adsl_spi_mosi, adsl_spi_clk, adsl_spi_cs, ephy0_led, 35*2eb4d8dcSEmmanuel Vadot ephy1_led, ephy2_led, ephy3_led, ext_irq0, ext_irq1, 36*2eb4d8dcSEmmanuel Vadot ext_irq2, ext_irq3, nand ] 37*2eb4d8dcSEmmanuel Vadot 38*2eb4d8dcSEmmanuel Vadot pins: 39*2eb4d8dcSEmmanuel Vadot enum: [ gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7, 40*2eb4d8dcSEmmanuel Vadot gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio14, 41*2eb4d8dcSEmmanuel Vadot gpio15, gpio16, gpio17, gpio18, gpio19, gpio20, gpio21, 42*2eb4d8dcSEmmanuel Vadot gpio22, gpio23, gpio24, gpio25, gpio26, gpio27, nand_grp ] 43*2eb4d8dcSEmmanuel Vadot 44*2eb4d8dcSEmmanuel Vadotrequired: 45*2eb4d8dcSEmmanuel Vadot - compatible 46*2eb4d8dcSEmmanuel Vadot - reg 47*2eb4d8dcSEmmanuel Vadot 48*2eb4d8dcSEmmanuel VadotadditionalProperties: false 49*2eb4d8dcSEmmanuel Vadot 50*2eb4d8dcSEmmanuel Vadotexamples: 51*2eb4d8dcSEmmanuel Vadot - | 52*2eb4d8dcSEmmanuel Vadot pinctrl@18 { 53*2eb4d8dcSEmmanuel Vadot compatible = "brcm,bcm6362-pinctrl"; 54*2eb4d8dcSEmmanuel Vadot reg = <0x18 0x10>, <0x38 0x4>; 55*2eb4d8dcSEmmanuel Vadot 56*2eb4d8dcSEmmanuel Vadot pinctrl_usb_device_led: usb_device_led-pins { 57*2eb4d8dcSEmmanuel Vadot function = "usb_device_led"; 58*2eb4d8dcSEmmanuel Vadot pins = "gpio0"; 59*2eb4d8dcSEmmanuel Vadot }; 60*2eb4d8dcSEmmanuel Vadot 61*2eb4d8dcSEmmanuel Vadot pinctrl_sys_irq: sys_irq-pins { 62*2eb4d8dcSEmmanuel Vadot function = "sys_irq"; 63*2eb4d8dcSEmmanuel Vadot pins = "gpio1"; 64*2eb4d8dcSEmmanuel Vadot }; 65*2eb4d8dcSEmmanuel Vadot 66*2eb4d8dcSEmmanuel Vadot pinctrl_serial_led: serial_led-pins { 67*2eb4d8dcSEmmanuel Vadot pinctrl_serial_led_clk: serial_led_clk-pins { 68*2eb4d8dcSEmmanuel Vadot function = "serial_led_clk"; 69*2eb4d8dcSEmmanuel Vadot pins = "gpio2"; 70*2eb4d8dcSEmmanuel Vadot }; 71*2eb4d8dcSEmmanuel Vadot 72*2eb4d8dcSEmmanuel Vadot pinctrl_serial_led_data: serial_led_data-pins { 73*2eb4d8dcSEmmanuel Vadot function = "serial_led_data"; 74*2eb4d8dcSEmmanuel Vadot pins = "gpio3"; 75*2eb4d8dcSEmmanuel Vadot }; 76*2eb4d8dcSEmmanuel Vadot }; 77*2eb4d8dcSEmmanuel Vadot 78*2eb4d8dcSEmmanuel Vadot pinctrl_robosw_led_data: robosw_led_data-pins { 79*2eb4d8dcSEmmanuel Vadot function = "robosw_led_data"; 80*2eb4d8dcSEmmanuel Vadot pins = "gpio4"; 81*2eb4d8dcSEmmanuel Vadot }; 82*2eb4d8dcSEmmanuel Vadot 83*2eb4d8dcSEmmanuel Vadot pinctrl_robosw_led_clk: robosw_led_clk-pins { 84*2eb4d8dcSEmmanuel Vadot function = "robosw_led_clk"; 85*2eb4d8dcSEmmanuel Vadot pins = "gpio5"; 86*2eb4d8dcSEmmanuel Vadot }; 87*2eb4d8dcSEmmanuel Vadot 88*2eb4d8dcSEmmanuel Vadot pinctrl_robosw_led0: robosw_led0-pins { 89*2eb4d8dcSEmmanuel Vadot function = "robosw_led0"; 90*2eb4d8dcSEmmanuel Vadot pins = "gpio6"; 91*2eb4d8dcSEmmanuel Vadot }; 92*2eb4d8dcSEmmanuel Vadot 93*2eb4d8dcSEmmanuel Vadot pinctrl_robosw_led1: robosw_led1-pins { 94*2eb4d8dcSEmmanuel Vadot function = "robosw_led1"; 95*2eb4d8dcSEmmanuel Vadot pins = "gpio7"; 96*2eb4d8dcSEmmanuel Vadot }; 97*2eb4d8dcSEmmanuel Vadot 98*2eb4d8dcSEmmanuel Vadot pinctrl_inet_led: inet_led-pins { 99*2eb4d8dcSEmmanuel Vadot function = "inet_led"; 100*2eb4d8dcSEmmanuel Vadot pins = "gpio8"; 101*2eb4d8dcSEmmanuel Vadot }; 102*2eb4d8dcSEmmanuel Vadot 103*2eb4d8dcSEmmanuel Vadot pinctrl_spi_cs2: spi_cs2-pins { 104*2eb4d8dcSEmmanuel Vadot function = "spi_cs2"; 105*2eb4d8dcSEmmanuel Vadot pins = "gpio9"; 106*2eb4d8dcSEmmanuel Vadot }; 107*2eb4d8dcSEmmanuel Vadot 108*2eb4d8dcSEmmanuel Vadot pinctrl_spi_cs3: spi_cs3-pins { 109*2eb4d8dcSEmmanuel Vadot function = "spi_cs3"; 110*2eb4d8dcSEmmanuel Vadot pins = "gpio10"; 111*2eb4d8dcSEmmanuel Vadot }; 112*2eb4d8dcSEmmanuel Vadot 113*2eb4d8dcSEmmanuel Vadot pinctrl_ntr_pulse: ntr_pulse-pins { 114*2eb4d8dcSEmmanuel Vadot function = "ntr_pulse"; 115*2eb4d8dcSEmmanuel Vadot pins = "gpio11"; 116*2eb4d8dcSEmmanuel Vadot }; 117*2eb4d8dcSEmmanuel Vadot 118*2eb4d8dcSEmmanuel Vadot pinctrl_uart1_scts: uart1_scts-pins { 119*2eb4d8dcSEmmanuel Vadot function = "uart1_scts"; 120*2eb4d8dcSEmmanuel Vadot pins = "gpio12"; 121*2eb4d8dcSEmmanuel Vadot }; 122*2eb4d8dcSEmmanuel Vadot 123*2eb4d8dcSEmmanuel Vadot pinctrl_uart1_srts: uart1_srts-pins { 124*2eb4d8dcSEmmanuel Vadot function = "uart1_srts"; 125*2eb4d8dcSEmmanuel Vadot pins = "gpio13"; 126*2eb4d8dcSEmmanuel Vadot }; 127*2eb4d8dcSEmmanuel Vadot 128*2eb4d8dcSEmmanuel Vadot pinctrl_uart1: uart1-pins { 129*2eb4d8dcSEmmanuel Vadot pinctrl_uart1_sdin: uart1_sdin-pins { 130*2eb4d8dcSEmmanuel Vadot function = "uart1_sdin"; 131*2eb4d8dcSEmmanuel Vadot pins = "gpio14"; 132*2eb4d8dcSEmmanuel Vadot }; 133*2eb4d8dcSEmmanuel Vadot 134*2eb4d8dcSEmmanuel Vadot pinctrl_uart1_sdout: uart1_sdout-pins { 135*2eb4d8dcSEmmanuel Vadot function = "uart1_sdout"; 136*2eb4d8dcSEmmanuel Vadot pins = "gpio15"; 137*2eb4d8dcSEmmanuel Vadot }; 138*2eb4d8dcSEmmanuel Vadot }; 139*2eb4d8dcSEmmanuel Vadot 140*2eb4d8dcSEmmanuel Vadot pinctrl_adsl_spi: adsl_spi-pins { 141*2eb4d8dcSEmmanuel Vadot pinctrl_adsl_spi_miso: adsl_spi_miso-pins { 142*2eb4d8dcSEmmanuel Vadot function = "adsl_spi_miso"; 143*2eb4d8dcSEmmanuel Vadot pins = "gpio16"; 144*2eb4d8dcSEmmanuel Vadot }; 145*2eb4d8dcSEmmanuel Vadot 146*2eb4d8dcSEmmanuel Vadot pinctrl_adsl_spi_mosi: adsl_spi_mosi-pins { 147*2eb4d8dcSEmmanuel Vadot function = "adsl_spi_mosi"; 148*2eb4d8dcSEmmanuel Vadot pins = "gpio17"; 149*2eb4d8dcSEmmanuel Vadot }; 150*2eb4d8dcSEmmanuel Vadot 151*2eb4d8dcSEmmanuel Vadot pinctrl_adsl_spi_clk: adsl_spi_clk-pins { 152*2eb4d8dcSEmmanuel Vadot function = "adsl_spi_clk"; 153*2eb4d8dcSEmmanuel Vadot pins = "gpio18"; 154*2eb4d8dcSEmmanuel Vadot }; 155*2eb4d8dcSEmmanuel Vadot 156*2eb4d8dcSEmmanuel Vadot pinctrl_adsl_spi_cs: adsl_spi_cs-pins { 157*2eb4d8dcSEmmanuel Vadot function = "adsl_spi_cs"; 158*2eb4d8dcSEmmanuel Vadot pins = "gpio19"; 159*2eb4d8dcSEmmanuel Vadot }; 160*2eb4d8dcSEmmanuel Vadot }; 161*2eb4d8dcSEmmanuel Vadot 162*2eb4d8dcSEmmanuel Vadot pinctrl_ephy0_led: ephy0_led-pins { 163*2eb4d8dcSEmmanuel Vadot function = "ephy0_led"; 164*2eb4d8dcSEmmanuel Vadot pins = "gpio20"; 165*2eb4d8dcSEmmanuel Vadot }; 166*2eb4d8dcSEmmanuel Vadot 167*2eb4d8dcSEmmanuel Vadot pinctrl_ephy1_led: ephy1_led-pins { 168*2eb4d8dcSEmmanuel Vadot function = "ephy1_led"; 169*2eb4d8dcSEmmanuel Vadot pins = "gpio21"; 170*2eb4d8dcSEmmanuel Vadot }; 171*2eb4d8dcSEmmanuel Vadot 172*2eb4d8dcSEmmanuel Vadot pinctrl_ephy2_led: ephy2_led-pins { 173*2eb4d8dcSEmmanuel Vadot function = "ephy2_led"; 174*2eb4d8dcSEmmanuel Vadot pins = "gpio22"; 175*2eb4d8dcSEmmanuel Vadot }; 176*2eb4d8dcSEmmanuel Vadot 177*2eb4d8dcSEmmanuel Vadot pinctrl_ephy3_led: ephy3_led-pins { 178*2eb4d8dcSEmmanuel Vadot function = "ephy3_led"; 179*2eb4d8dcSEmmanuel Vadot pins = "gpio23"; 180*2eb4d8dcSEmmanuel Vadot }; 181*2eb4d8dcSEmmanuel Vadot 182*2eb4d8dcSEmmanuel Vadot pinctrl_ext_irq0: ext_irq0-pins { 183*2eb4d8dcSEmmanuel Vadot function = "ext_irq0"; 184*2eb4d8dcSEmmanuel Vadot pins = "gpio24"; 185*2eb4d8dcSEmmanuel Vadot }; 186*2eb4d8dcSEmmanuel Vadot 187*2eb4d8dcSEmmanuel Vadot pinctrl_ext_irq1: ext_irq1-pins { 188*2eb4d8dcSEmmanuel Vadot function = "ext_irq1"; 189*2eb4d8dcSEmmanuel Vadot pins = "gpio25"; 190*2eb4d8dcSEmmanuel Vadot }; 191*2eb4d8dcSEmmanuel Vadot 192*2eb4d8dcSEmmanuel Vadot pinctrl_ext_irq2: ext_irq2-pins { 193*2eb4d8dcSEmmanuel Vadot function = "ext_irq2"; 194*2eb4d8dcSEmmanuel Vadot pins = "gpio26"; 195*2eb4d8dcSEmmanuel Vadot }; 196*2eb4d8dcSEmmanuel Vadot 197*2eb4d8dcSEmmanuel Vadot pinctrl_ext_irq3: ext_irq3-pins { 198*2eb4d8dcSEmmanuel Vadot function = "ext_irq3"; 199*2eb4d8dcSEmmanuel Vadot pins = "gpio27"; 200*2eb4d8dcSEmmanuel Vadot }; 201*2eb4d8dcSEmmanuel Vadot 202*2eb4d8dcSEmmanuel Vadot pinctrl_nand: nand-pins { 203*2eb4d8dcSEmmanuel Vadot function = "nand"; 204*2eb4d8dcSEmmanuel Vadot group = "nand_grp"; 205*2eb4d8dcSEmmanuel Vadot }; 206*2eb4d8dcSEmmanuel Vadot }; 207