1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6328-pinctrl.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Broadcom BCM6328 pin controller 8 9maintainers: 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 12 13description: 14 Bindings for Broadcom's BCM6328 memory-mapped pin controller. 15 16properties: 17 compatible: 18 const: brcm,bcm6328-pinctrl 19 20 reg: 21 maxItems: 1 22 23patternProperties: 24 '-pins$': 25 type: object 26 $ref: pinmux-node.yaml# 27 28 properties: 29 function: 30 enum: [ serial_led_data, serial_led_clk, inet_act_led, pcie_clkreq, 31 led, ephy0_act_led, ephy1_act_led, ephy2_act_led, 32 ephy3_act_led, hsspi_cs1, usb_device_port, usb_host_port ] 33 34 pins: 35 enum: [ gpio6, gpio7, gpio11, gpio16, gpio17, gpio18, gpio19, 36 gpio20, gpio25, gpio26, gpio27, gpio28, hsspi_cs1, 37 usb_port1 ] 38 39required: 40 - compatible 41 - reg 42 43additionalProperties: false 44 45examples: 46 - | 47 pinctrl@18 { 48 compatible = "brcm,bcm6328-pinctrl"; 49 reg = <0x18 0x10>; 50 51 pinctrl_serial_led: serial_led-pins { 52 pinctrl_serial_led_data: serial_led_data-pins { 53 function = "serial_led_data"; 54 pins = "gpio6"; 55 }; 56 57 pinctrl_serial_led_clk: serial_led_clk-pins { 58 function = "serial_led_clk"; 59 pins = "gpio7"; 60 }; 61 }; 62 63 pinctrl_inet_act_led: inet_act_led-pins { 64 function = "inet_act_led"; 65 pins = "gpio11"; 66 }; 67 68 pinctrl_pcie_clkreq: pcie_clkreq-pins { 69 function = "pcie_clkreq"; 70 pins = "gpio16"; 71 }; 72 73 pinctrl_ephy0_spd_led: ephy0_spd_led-pins { 74 function = "led"; 75 pins = "gpio17"; 76 }; 77 78 pinctrl_ephy1_spd_led: ephy1_spd_led-pins { 79 function = "led"; 80 pins = "gpio18"; 81 }; 82 83 pinctrl_ephy2_spd_led: ephy2_spd_led-pins { 84 function = "led"; 85 pins = "gpio19"; 86 }; 87 88 pinctrl_ephy3_spd_led: ephy3_spd_led-pins { 89 function = "led"; 90 pins = "gpio20"; 91 }; 92 93 pinctrl_ephy0_act_led: ephy0_act_led-pins { 94 function = "ephy0_act_led"; 95 pins = "gpio25"; 96 }; 97 98 pinctrl_ephy1_act_led: ephy1_act_led-pins { 99 function = "ephy1_act_led"; 100 pins = "gpio26"; 101 }; 102 103 pinctrl_ephy2_act_led: ephy2_act_led-pins { 104 function = "ephy2_act_led"; 105 pins = "gpio27"; 106 }; 107 108 pinctrl_ephy3_act_led: ephy3_act_led-pins { 109 function = "ephy3_act_led"; 110 pins = "gpio28"; 111 }; 112 113 pinctrl_hsspi_cs1: hsspi_cs1-pins { 114 function = "hsspi_cs1"; 115 pins = "hsspi_cs1"; 116 }; 117 118 pinctrl_usb_port1_device: usb_port1_device-pins { 119 function = "usb_device_port"; 120 pins = "usb_port1"; 121 }; 122 123 pinctrl_usb_port1_host: usb_port1_host-pins { 124 function = "usb_host_port"; 125 pins = "usb_port1"; 126 }; 127 }; 128