# Broadcom BCM6328 GPIO System Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings_

> Device-tree binding reference for Broadcom BCM6328 GPIO System Controller.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;mfd&#47;brcm&#44;bcm6328&#45;gpio&#45;sysctl&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Álvaro Fernández Rojas &#60;noltari&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jonas Gorski &#60;jonas&#46;gorski&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Broadcom BCM6328 SoC GPIO system controller which provides a register map for controlling the GPIO and pins of the SoC.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;brcm&#44;bcm6328&#45;gpio&#45;sysctl&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;syscon&#34;</code></span>

<a id="dt-9a5f0b2d9373c09998ec"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-985600cab9ae8398068d"><code>&#34;simple&#45;mfd&#34;</code></span>

<a id="dt-1e6b10cf5f67a6a268f5"></a>

### <code>ranges</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7928d91ff1b85834b6df"><code>1</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-83ffd0aecad0478199bc"></a>

### <code>&#94;gpio&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-68ff9516a09072fc798f"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-aef617a38f1937adaccd">[<code>&#47;schemas&#47;gpio&#47;brcm&#44;bcm63xx&#45;gpio&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-gpio/brcm-bcm63xx-gpio.md#dt-root>)</span>

<div id="dt-1d0f8d8ab0f1665089b1">
<p style="white-space: pre-wrap">GPIO controller for the SoC GPIOs. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml.</p>
</div>

<a id="dt-08e397732687c48e6e2b"></a>

### <code>&#94;pinctrl&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-9e6aa19f9dc0b91f0a99"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e8c8c219b2d0071543ef">[<code>&#47;schemas&#47;pinctrl&#47;brcm&#44;bcm6328&#45;pinctrl&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/brcm-bcm6328-pinctrl.md#dt-root>)</span>

<div id="dt-76c2d0cdbb7599372e82">
<p style="white-space: pre-wrap">Pin controller for the SoC pins. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/pinctrl/brcm,bcm6328-pinctrl.yaml.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;ranges&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reg&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">syscon@10000080 {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;1&gt;;
  compatible = "brcm,bcm6328-gpio-sysctl", "syscon", "simple-mfd";
  reg = &lt;0x10000080 0x80&gt;;
  ranges = &lt;0 0x10000080 0x80&gt;;

  gpio@0 {
    compatible = "brcm,bcm6328-gpio";
    reg-names = "dirout", "dat";
    reg = &lt;0x0 0x8&gt;, &lt;0x8 0x8&gt;;

    gpio-controller;
    gpio-ranges = &lt;&amp;pinctrl 0 0 32&gt;;
    #gpio-cells = &lt;2&gt;;
  };

  pinctrl: pinctrl@18 {
    compatible = "brcm,bcm6328-pinctrl";
    reg = &lt;0x18 0x10&gt;;

    pinctrl_serial_led: serial_led-pins {
      pinctrl_serial_led_data: serial_led_data-pins {
        function = "serial_led_data";
        pins = "gpio6";
      };

      pinctrl_serial_led_clk: serial_led_clk-pins {
        function = "serial_led_clk";
        pins = "gpio7";
      };
    };

    pinctrl_inet_act_led: inet_act_led-pins {
      function = "inet_act_led";
      pins = "gpio11";
    };

    pinctrl_pcie_clkreq: pcie_clkreq-pins {
      function = "pcie_clkreq";
      pins = "gpio16";
    };

    pinctrl_ephy0_spd_led: ephy0_spd_led-pins {
      function = "led";
      pins = "gpio17";
    };

    pinctrl_ephy1_spd_led: ephy1_spd_led-pins {
      function = "led";
      pins = "gpio18";
    };

    pinctrl_ephy2_spd_led: ephy2_spd_led-pins {
      function = "led";
      pins = "gpio19";
    };

    pinctrl_ephy3_spd_led: ephy3_spd_led-pins {
      function = "led";
      pins = "gpio20";
    };

    pinctrl_ephy0_act_led: ephy0_act_led-pins {
      function = "ephy0_act_led";
      pins = "gpio25";
    };

    pinctrl_ephy1_act_led: ephy1_act_led-pins {
      function = "ephy1_act_led";
      pins = "gpio26";
    };

    pinctrl_ephy2_act_led: ephy2_act_led-pins {
      function = "ephy2_act_led";
      pins = "gpio27";
    };

    pinctrl_ephy3_act_led: ephy3_act_led-pins {
      function = "ephy3_act_led";
      pins = "gpio28";
    };

    pinctrl_hsspi_cs1: hsspi_cs1-pins {
      function = "hsspi_cs1";
      pins = "hsspi_cs1";
    };

    pinctrl_usb_port1_device: usb_port1_device-pins {
      function = "usb_device_port";
      pins = "usb_port1";
    };

    pinctrl_usb_port1_host: usb_port1_host-pins {
      function = "usb_host_port";
      pins = "usb_port1";
    };
  };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 36:</strong> <span> Child node</span></p>

<p id="dt-comment-2"><strong>Line 45:</strong> <span> Child node</span></p>

</details>
