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,bcm6328-pinctrl.yaml# 5*2eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*2eb4d8dcSEmmanuel Vadot 7*2eb4d8dcSEmmanuel Vadottitle: Broadcom BCM6328 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 BCM6328 memory-mapped pin controller. 15*2eb4d8dcSEmmanuel Vadot 16*2eb4d8dcSEmmanuel Vadotproperties: 17*2eb4d8dcSEmmanuel Vadot compatible: 18*2eb4d8dcSEmmanuel Vadot const: brcm,bcm6328-pinctrl 19*2eb4d8dcSEmmanuel Vadot 20*2eb4d8dcSEmmanuel Vadot reg: 21*2eb4d8dcSEmmanuel Vadot maxItems: 1 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: [ serial_led_data, serial_led_clk, inet_act_led, pcie_clkreq, 31*2eb4d8dcSEmmanuel Vadot led, ephy0_act_led, ephy1_act_led, ephy2_act_led, 32*2eb4d8dcSEmmanuel Vadot ephy3_act_led, hsspi_cs1, usb_device_port, usb_host_port ] 33*2eb4d8dcSEmmanuel Vadot 34*2eb4d8dcSEmmanuel Vadot pins: 35*2eb4d8dcSEmmanuel Vadot enum: [ gpio6, gpio7, gpio11, gpio16, gpio17, gpio18, gpio19, 36*2eb4d8dcSEmmanuel Vadot gpio20, gpio25, gpio26, gpio27, gpio28, hsspi_cs1, 37*2eb4d8dcSEmmanuel Vadot usb_port1 ] 38*2eb4d8dcSEmmanuel Vadot 39*2eb4d8dcSEmmanuel Vadotrequired: 40*2eb4d8dcSEmmanuel Vadot - compatible 41*2eb4d8dcSEmmanuel Vadot - reg 42*2eb4d8dcSEmmanuel Vadot 43*2eb4d8dcSEmmanuel VadotadditionalProperties: false 44*2eb4d8dcSEmmanuel Vadot 45*2eb4d8dcSEmmanuel Vadotexamples: 46*2eb4d8dcSEmmanuel Vadot - | 47*2eb4d8dcSEmmanuel Vadot pinctrl@18 { 48*2eb4d8dcSEmmanuel Vadot compatible = "brcm,bcm6328-pinctrl"; 49*2eb4d8dcSEmmanuel Vadot reg = <0x18 0x10>; 50*2eb4d8dcSEmmanuel Vadot 51*2eb4d8dcSEmmanuel Vadot pinctrl_serial_led: serial_led-pins { 52*2eb4d8dcSEmmanuel Vadot pinctrl_serial_led_data: serial_led_data-pins { 53*2eb4d8dcSEmmanuel Vadot function = "serial_led_data"; 54*2eb4d8dcSEmmanuel Vadot pins = "gpio6"; 55*2eb4d8dcSEmmanuel Vadot }; 56*2eb4d8dcSEmmanuel Vadot 57*2eb4d8dcSEmmanuel Vadot pinctrl_serial_led_clk: serial_led_clk-pins { 58*2eb4d8dcSEmmanuel Vadot function = "serial_led_clk"; 59*2eb4d8dcSEmmanuel Vadot pins = "gpio7"; 60*2eb4d8dcSEmmanuel Vadot }; 61*2eb4d8dcSEmmanuel Vadot }; 62*2eb4d8dcSEmmanuel Vadot 63*2eb4d8dcSEmmanuel Vadot pinctrl_inet_act_led: inet_act_led-pins { 64*2eb4d8dcSEmmanuel Vadot function = "inet_act_led"; 65*2eb4d8dcSEmmanuel Vadot pins = "gpio11"; 66*2eb4d8dcSEmmanuel Vadot }; 67*2eb4d8dcSEmmanuel Vadot 68*2eb4d8dcSEmmanuel Vadot pinctrl_pcie_clkreq: pcie_clkreq-pins { 69*2eb4d8dcSEmmanuel Vadot function = "pcie_clkreq"; 70*2eb4d8dcSEmmanuel Vadot pins = "gpio16"; 71*2eb4d8dcSEmmanuel Vadot }; 72*2eb4d8dcSEmmanuel Vadot 73*2eb4d8dcSEmmanuel Vadot pinctrl_ephy0_spd_led: ephy0_spd_led-pins { 74*2eb4d8dcSEmmanuel Vadot function = "led"; 75*2eb4d8dcSEmmanuel Vadot pins = "gpio17"; 76*2eb4d8dcSEmmanuel Vadot }; 77*2eb4d8dcSEmmanuel Vadot 78*2eb4d8dcSEmmanuel Vadot pinctrl_ephy1_spd_led: ephy1_spd_led-pins { 79*2eb4d8dcSEmmanuel Vadot function = "led"; 80*2eb4d8dcSEmmanuel Vadot pins = "gpio18"; 81*2eb4d8dcSEmmanuel Vadot }; 82*2eb4d8dcSEmmanuel Vadot 83*2eb4d8dcSEmmanuel Vadot pinctrl_ephy2_spd_led: ephy2_spd_led-pins { 84*2eb4d8dcSEmmanuel Vadot function = "led"; 85*2eb4d8dcSEmmanuel Vadot pins = "gpio19"; 86*2eb4d8dcSEmmanuel Vadot }; 87*2eb4d8dcSEmmanuel Vadot 88*2eb4d8dcSEmmanuel Vadot pinctrl_ephy3_spd_led: ephy3_spd_led-pins { 89*2eb4d8dcSEmmanuel Vadot function = "led"; 90*2eb4d8dcSEmmanuel Vadot pins = "gpio20"; 91*2eb4d8dcSEmmanuel Vadot }; 92*2eb4d8dcSEmmanuel Vadot 93*2eb4d8dcSEmmanuel Vadot pinctrl_ephy0_act_led: ephy0_act_led-pins { 94*2eb4d8dcSEmmanuel Vadot function = "ephy0_act_led"; 95*2eb4d8dcSEmmanuel Vadot pins = "gpio25"; 96*2eb4d8dcSEmmanuel Vadot }; 97*2eb4d8dcSEmmanuel Vadot 98*2eb4d8dcSEmmanuel Vadot pinctrl_ephy1_act_led: ephy1_act_led-pins { 99*2eb4d8dcSEmmanuel Vadot function = "ephy1_act_led"; 100*2eb4d8dcSEmmanuel Vadot pins = "gpio26"; 101*2eb4d8dcSEmmanuel Vadot }; 102*2eb4d8dcSEmmanuel Vadot 103*2eb4d8dcSEmmanuel Vadot pinctrl_ephy2_act_led: ephy2_act_led-pins { 104*2eb4d8dcSEmmanuel Vadot function = "ephy2_act_led"; 105*2eb4d8dcSEmmanuel Vadot pins = "gpio27"; 106*2eb4d8dcSEmmanuel Vadot }; 107*2eb4d8dcSEmmanuel Vadot 108*2eb4d8dcSEmmanuel Vadot pinctrl_ephy3_act_led: ephy3_act_led-pins { 109*2eb4d8dcSEmmanuel Vadot function = "ephy3_act_led"; 110*2eb4d8dcSEmmanuel Vadot pins = "gpio28"; 111*2eb4d8dcSEmmanuel Vadot }; 112*2eb4d8dcSEmmanuel Vadot 113*2eb4d8dcSEmmanuel Vadot pinctrl_hsspi_cs1: hsspi_cs1-pins { 114*2eb4d8dcSEmmanuel Vadot function = "hsspi_cs1"; 115*2eb4d8dcSEmmanuel Vadot pins = "hsspi_cs1"; 116*2eb4d8dcSEmmanuel Vadot }; 117*2eb4d8dcSEmmanuel Vadot 118*2eb4d8dcSEmmanuel Vadot pinctrl_usb_port1_device: usb_port1_device-pins { 119*2eb4d8dcSEmmanuel Vadot function = "usb_device_port"; 120*2eb4d8dcSEmmanuel Vadot pins = "usb_port1"; 121*2eb4d8dcSEmmanuel Vadot }; 122*2eb4d8dcSEmmanuel Vadot 123*2eb4d8dcSEmmanuel Vadot pinctrl_usb_port1_host: usb_port1_host-pins { 124*2eb4d8dcSEmmanuel Vadot function = "usb_host_port"; 125*2eb4d8dcSEmmanuel Vadot pins = "usb_port1"; 126*2eb4d8dcSEmmanuel Vadot }; 127*2eb4d8dcSEmmanuel Vadot }; 128