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