1 From 3b6d70e7bae0dbba02435c53f878a042d6d4bd4d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Wed, 27 Jul 2016 11:33:56 +0200
4 Subject: [PATCH 01/12] Documentation: add BCM6328 pincontroller binding
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 Add binding documentation for the pincontrol core found in BCM6328 SoCs.
12 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
13 Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
15 .../pinctrl/brcm,bcm6328-pinctrl.yaml | 161 ++++++++++++++++++
16 1 file changed, 161 insertions(+)
17 create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6328-pinctrl.yaml
20 +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm6328-pinctrl.yaml
22 +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25 +$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6328-pinctrl.yaml#
26 +$schema: http://devicetree.org/meta-schemas/core.yaml#
28 +title: Broadcom BCM6328 pin controller
31 + - Álvaro Fernández Rojas <noltari@gmail.com>
32 + - Jonas Gorski <jonas.gorski@gmail.com>
35 + The pin controller node should be the child of a syscon node.
37 + Refer to the the bindings described in
38 + Documentation/devicetree/bindings/mfd/syscon.yaml
42 + const: brcm,bcm6328-pinctrl
44 + gpio-controller: true
48 + Specifies the pin number and flags, as defined in
49 + include/dt-bindings/gpio/gpio.h
52 + interrupts-extended:
54 + One interrupt per each of the 4 GPIO ports supported by the controller,
55 + sorted by port number ascending order.
66 + $ref: "/schemas/types.yaml#/definitions/string"
67 + enum: [ serial_led_data, serial_led_clk, inet_act_led, pcie_clkreq,
68 + led, ephy0_act_led, ephy1_act_led, ephy2_act_led,
69 + ephy3_act_led, hsspi_cs1, usb_device_port, usb_host_port ]
72 + $ref: "/schemas/types.yaml#/definitions/string"
73 + enum: [ gpio6, gpio7, gpio11, gpio16, gpio17, gpio18, gpio19,
74 + gpio20, gpio25, gpio26, gpio27, gpio28, hsspi_cs1,
82 +additionalProperties: false
87 + compatible = "syscon", "simple-mfd";
88 + reg = <0x10000080 0x80>;
91 + compatible = "brcm,bcm6328-pinctrl";
96 + interrupts-extended = <&ext_intc 3 0>,
100 + interrupt-names = "gpio12",
105 + pinctrl_serial_led: serial_led {
106 + pinctrl_serial_led_data: serial_led_data {
107 + function = "serial_led_data";
111 + pinctrl_serial_led_clk: serial_led_clk {
112 + function = "serial_led_clk";
117 + pinctrl_inet_act_led: inet_act_led {
118 + function = "inet_act_led";
122 + pinctrl_pcie_clkreq: pcie_clkreq {
123 + function = "pcie_clkreq";
127 + pinctrl_ephy0_spd_led: ephy0_spd_led {
132 + pinctrl_ephy1_spd_led: ephy1_spd_led {
137 + pinctrl_ephy2_spd_led: ephy2_spd_led {
142 + pinctrl_ephy3_spd_led: ephy3_spd_led {
147 + pinctrl_ephy0_act_led: ephy0_act_led {
148 + function = "ephy0_act_led";
152 + pinctrl_ephy1_act_led: ephy1_act_led {
153 + function = "ephy1_act_led";
157 + pinctrl_ephy2_act_led: ephy2_act_led {
158 + function = "ephy2_act_led";
162 + pinctrl_ephy3_act_led: ephy3_act_led {
163 + function = "ephy3_act_led";
167 + pinctrl_hsspi_cs1: hsspi_cs1 {
168 + function = "hsspi_cs1";
169 + pins = "hsspi_cs1";
172 + pinctrl_usb_port1_device: usb_port1_device {
173 + function = "usb_device_port";
174 + pins = "usb_port1";
177 + pinctrl_usb_port1_host: usb_port1_host {
178 + function = "usb_host_port";
179 + pins = "usb_port1";