1 From f909bf5d5cf3db6b35c082f27f7982dfcb1447c2 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:38:05 +0200
4 Subject: [PATCH 11/12] Documentation: add BCM6318 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 BCM6318 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,bcm6318-pinctrl.yaml | 173 ++++++++++++++++++
16 1 file changed, 173 insertions(+)
17 create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6318-pinctrl.yaml
20 +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm6318-pinctrl.yaml
22 +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25 +$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6318-pinctrl.yaml#
26 +$schema: http://devicetree.org/meta-schemas/core.yaml#
28 +title: Broadcom BCM6318 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,bcm6318-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 2 GPIO ports supported by the controller,
55 + sorted by port number ascending order.
66 + $ref: "/schemas/types.yaml#/definitions/string"
67 + enum: [ ephy0_spd_led, ephy1_spd_led, ephy2_spd_led, ephy3_spd_led,
68 + ephy0_act_led, ephy1_act_led, ephy2_act_led, ephy3_act_led,
69 + serial_led_data, serial_led_clk, inet_act_led, inet_fail_led,
70 + dsl_led, post_fail_led, wlan_wps_led, usb_pwron,
71 + usb_device_led, usb_active ]
74 + $ref: "/schemas/types.yaml#/definitions/string"
75 + enum: [ gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6, gpio7,
76 + gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio40 ]
83 +additionalProperties: false
88 + compatible = "syscon", "simple-mfd";
89 + reg = <0x10000080 0x80>;
92 + compatible = "brcm,bcm6318-pinctrl";
97 + interrupts-extended = <&ext_intc 0 0>,
99 + interrupt-names = "gpio33",
102 + pinctrl_ephy0_spd_led: ephy0_spd_led {
103 + function = "ephy0_spd_led";
107 + pinctrl_ephy1_spd_led: ephy1_spd_led {
108 + function = "ephy1_spd_led";
112 + pinctrl_ephy2_spd_led: ephy2_spd_led {
113 + function = "ephy2_spd_led";
117 + pinctrl_ephy3_spd_led: ephy3_spd_led {
118 + function = "ephy3_spd_led";
122 + pinctrl_ephy0_act_led: ephy0_act_led {
123 + function = "ephy0_act_led";
127 + pinctrl_ephy1_act_led: ephy1_act_led {
128 + function = "ephy1_act_led";
132 + pinctrl_ephy2_act_led: ephy2_act_led {
133 + function = "ephy2_act_led";
137 + pinctrl_ephy3_act_led: ephy3_act_led {
138 + function = "ephy3_act_led";
142 + pinctrl_serial_led: serial_led {
143 + pinctrl_serial_led_data: serial_led_data {
144 + function = "serial_led_data";
148 + pinctrl_serial_led_clk: serial_led_clk {
149 + function = "serial_led_clk";
154 + pinctrl_inet_act_led: inet_act_led {
155 + function = "inet_act_led";
159 + pinctrl_inet_fail_led: inet_fail_led {
160 + function = "inet_fail_led";
164 + pinctrl_dsl_led: dsl_led {
165 + function = "dsl_led";
169 + pinctrl_post_fail_led: post_fail_led {
170 + function = "post_fail_led";
174 + pinctrl_wlan_wps_led: wlan_wps_led {
175 + function = "wlan_wps_led";
179 + pinctrl_usb_pwron: usb_pwron {
180 + function = "usb_pwron";
184 + pinctrl_usb_device_led: usb_device_led {
185 + function = "usb_device_led";
189 + pinctrl_usb_active: usb_active {
190 + function = "usb_active";