12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 22eb4d8dcSEmmanuel Vadot%YAML 1.2 32eb4d8dcSEmmanuel Vadot--- 42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6328-pinctrl.yaml# 52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 62eb4d8dcSEmmanuel Vadot 72eb4d8dcSEmmanuel Vadottitle: Broadcom BCM6328 pin controller 82eb4d8dcSEmmanuel Vadot 92eb4d8dcSEmmanuel Vadotmaintainers: 102eb4d8dcSEmmanuel Vadot - Álvaro Fernández Rojas <noltari@gmail.com> 112eb4d8dcSEmmanuel Vadot - Jonas Gorski <jonas.gorski@gmail.com> 122eb4d8dcSEmmanuel Vadot 132eb4d8dcSEmmanuel Vadotdescription: 142eb4d8dcSEmmanuel Vadot Bindings for Broadcom's BCM6328 memory-mapped pin controller. 152eb4d8dcSEmmanuel Vadot 162eb4d8dcSEmmanuel Vadotproperties: 172eb4d8dcSEmmanuel Vadot compatible: 182eb4d8dcSEmmanuel Vadot const: brcm,bcm6328-pinctrl 192eb4d8dcSEmmanuel Vadot 202eb4d8dcSEmmanuel Vadot reg: 212eb4d8dcSEmmanuel Vadot maxItems: 1 222eb4d8dcSEmmanuel Vadot 232eb4d8dcSEmmanuel VadotpatternProperties: 242eb4d8dcSEmmanuel Vadot '-pins$': 252eb4d8dcSEmmanuel Vadot type: object 262eb4d8dcSEmmanuel Vadot $ref: pinmux-node.yaml# 272eb4d8dcSEmmanuel Vadot 282eb4d8dcSEmmanuel Vadot properties: 292eb4d8dcSEmmanuel Vadot function: 302eb4d8dcSEmmanuel Vadot enum: [ serial_led_data, serial_led_clk, inet_act_led, pcie_clkreq, 312eb4d8dcSEmmanuel Vadot led, ephy0_act_led, ephy1_act_led, ephy2_act_led, 322eb4d8dcSEmmanuel Vadot ephy3_act_led, hsspi_cs1, usb_device_port, usb_host_port ] 332eb4d8dcSEmmanuel Vadot 342eb4d8dcSEmmanuel Vadot pins: 352eb4d8dcSEmmanuel Vadot enum: [ gpio6, gpio7, gpio11, gpio16, gpio17, gpio18, gpio19, 362eb4d8dcSEmmanuel Vadot gpio20, gpio25, gpio26, gpio27, gpio28, hsspi_cs1, 372eb4d8dcSEmmanuel Vadot usb_port1 ] 382eb4d8dcSEmmanuel Vadot 39e67e8565SEmmanuel VadotallOf: 40*fac71e4eSEmmanuel Vadot - $ref: pinctrl.yaml# 41e67e8565SEmmanuel Vadot 422eb4d8dcSEmmanuel Vadotrequired: 432eb4d8dcSEmmanuel Vadot - compatible 442eb4d8dcSEmmanuel Vadot - reg 452eb4d8dcSEmmanuel Vadot 462eb4d8dcSEmmanuel VadotadditionalProperties: false 472eb4d8dcSEmmanuel Vadot 482eb4d8dcSEmmanuel Vadotexamples: 492eb4d8dcSEmmanuel Vadot - | 502eb4d8dcSEmmanuel Vadot pinctrl@18 { 512eb4d8dcSEmmanuel Vadot compatible = "brcm,bcm6328-pinctrl"; 522eb4d8dcSEmmanuel Vadot reg = <0x18 0x10>; 532eb4d8dcSEmmanuel Vadot 542eb4d8dcSEmmanuel Vadot pinctrl_serial_led: serial_led-pins { 552eb4d8dcSEmmanuel Vadot pinctrl_serial_led_data: serial_led_data-pins { 562eb4d8dcSEmmanuel Vadot function = "serial_led_data"; 572eb4d8dcSEmmanuel Vadot pins = "gpio6"; 582eb4d8dcSEmmanuel Vadot }; 592eb4d8dcSEmmanuel Vadot 602eb4d8dcSEmmanuel Vadot pinctrl_serial_led_clk: serial_led_clk-pins { 612eb4d8dcSEmmanuel Vadot function = "serial_led_clk"; 622eb4d8dcSEmmanuel Vadot pins = "gpio7"; 632eb4d8dcSEmmanuel Vadot }; 642eb4d8dcSEmmanuel Vadot }; 652eb4d8dcSEmmanuel Vadot 662eb4d8dcSEmmanuel Vadot pinctrl_inet_act_led: inet_act_led-pins { 672eb4d8dcSEmmanuel Vadot function = "inet_act_led"; 682eb4d8dcSEmmanuel Vadot pins = "gpio11"; 692eb4d8dcSEmmanuel Vadot }; 702eb4d8dcSEmmanuel Vadot 712eb4d8dcSEmmanuel Vadot pinctrl_pcie_clkreq: pcie_clkreq-pins { 722eb4d8dcSEmmanuel Vadot function = "pcie_clkreq"; 732eb4d8dcSEmmanuel Vadot pins = "gpio16"; 742eb4d8dcSEmmanuel Vadot }; 752eb4d8dcSEmmanuel Vadot 762eb4d8dcSEmmanuel Vadot pinctrl_ephy0_spd_led: ephy0_spd_led-pins { 772eb4d8dcSEmmanuel Vadot function = "led"; 782eb4d8dcSEmmanuel Vadot pins = "gpio17"; 792eb4d8dcSEmmanuel Vadot }; 802eb4d8dcSEmmanuel Vadot 812eb4d8dcSEmmanuel Vadot pinctrl_ephy1_spd_led: ephy1_spd_led-pins { 822eb4d8dcSEmmanuel Vadot function = "led"; 832eb4d8dcSEmmanuel Vadot pins = "gpio18"; 842eb4d8dcSEmmanuel Vadot }; 852eb4d8dcSEmmanuel Vadot 862eb4d8dcSEmmanuel Vadot pinctrl_ephy2_spd_led: ephy2_spd_led-pins { 872eb4d8dcSEmmanuel Vadot function = "led"; 882eb4d8dcSEmmanuel Vadot pins = "gpio19"; 892eb4d8dcSEmmanuel Vadot }; 902eb4d8dcSEmmanuel Vadot 912eb4d8dcSEmmanuel Vadot pinctrl_ephy3_spd_led: ephy3_spd_led-pins { 922eb4d8dcSEmmanuel Vadot function = "led"; 932eb4d8dcSEmmanuel Vadot pins = "gpio20"; 942eb4d8dcSEmmanuel Vadot }; 952eb4d8dcSEmmanuel Vadot 962eb4d8dcSEmmanuel Vadot pinctrl_ephy0_act_led: ephy0_act_led-pins { 972eb4d8dcSEmmanuel Vadot function = "ephy0_act_led"; 982eb4d8dcSEmmanuel Vadot pins = "gpio25"; 992eb4d8dcSEmmanuel Vadot }; 1002eb4d8dcSEmmanuel Vadot 1012eb4d8dcSEmmanuel Vadot pinctrl_ephy1_act_led: ephy1_act_led-pins { 1022eb4d8dcSEmmanuel Vadot function = "ephy1_act_led"; 1032eb4d8dcSEmmanuel Vadot pins = "gpio26"; 1042eb4d8dcSEmmanuel Vadot }; 1052eb4d8dcSEmmanuel Vadot 1062eb4d8dcSEmmanuel Vadot pinctrl_ephy2_act_led: ephy2_act_led-pins { 1072eb4d8dcSEmmanuel Vadot function = "ephy2_act_led"; 1082eb4d8dcSEmmanuel Vadot pins = "gpio27"; 1092eb4d8dcSEmmanuel Vadot }; 1102eb4d8dcSEmmanuel Vadot 1112eb4d8dcSEmmanuel Vadot pinctrl_ephy3_act_led: ephy3_act_led-pins { 1122eb4d8dcSEmmanuel Vadot function = "ephy3_act_led"; 1132eb4d8dcSEmmanuel Vadot pins = "gpio28"; 1142eb4d8dcSEmmanuel Vadot }; 1152eb4d8dcSEmmanuel Vadot 1162eb4d8dcSEmmanuel Vadot pinctrl_hsspi_cs1: hsspi_cs1-pins { 1172eb4d8dcSEmmanuel Vadot function = "hsspi_cs1"; 1182eb4d8dcSEmmanuel Vadot pins = "hsspi_cs1"; 1192eb4d8dcSEmmanuel Vadot }; 1202eb4d8dcSEmmanuel Vadot 1212eb4d8dcSEmmanuel Vadot pinctrl_usb_port1_device: usb_port1_device-pins { 1222eb4d8dcSEmmanuel Vadot function = "usb_device_port"; 1232eb4d8dcSEmmanuel Vadot pins = "usb_port1"; 1242eb4d8dcSEmmanuel Vadot }; 1252eb4d8dcSEmmanuel Vadot 1262eb4d8dcSEmmanuel Vadot pinctrl_usb_port1_host: usb_port1_host-pins { 1272eb4d8dcSEmmanuel Vadot function = "usb_host_port"; 1282eb4d8dcSEmmanuel Vadot pins = "usb_port1"; 1292eb4d8dcSEmmanuel Vadot }; 1302eb4d8dcSEmmanuel Vadot }; 131