# Samsung S3C/S5P/Exynos SoC pin controller

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

> Device-tree binding reference for Samsung S3C/S5P/Exynos SoC pin controller.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;pinctrl&#47;samsung&#44;pinctrl&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sylwester Nawrocki &#60;s&#46;nawrocki&#64;samsung&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Tomasz Figa &#60;tomasz&#46;figa&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin
controller.</p>
<p style="white-space: pre-wrap">All the pin controller nodes should be represented in the aliases node using
the following format 'pinctrl{n}' where n is a unique number for the alias.</p>
<p style="white-space: pre-wrap">The controller supports three types of interrupts::
 - External GPIO interrupts (see interrupts property in pin controller node);</p>
<pre><code> - External wake-up interrupts - multiplexed (capable of waking up the system
   see interrupts property in external wake-up interrupt controller node -
   samsung,pinctrl-wakeup-interrupt.yaml);</code></pre>
<pre><code> - External wake-up interrupts - direct (capable of waking up the system, see
   interrupts property in every bank of pin controller with external wake-up
   interrupt controller - samsung,pinctrl-gpio-bank.yaml).</code></pre>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;pinctrl&#40;&#64;&#46;&#42;&#41;&#63;&#34;</code></span>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;axis&#44;artpec8&#45;pinctrl&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;axis&#44;artpec9&#45;pinctrl&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;google&#44;gs101&#45;pinctrl&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;samsung&#44;s3c64xx&#45;pinctrl&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;samsung&#44;s5pv210&#45;pinctrl&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;samsung&#44;exynos2200&#45;pinctrl&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;samsung&#44;exynos3250&#45;pinctrl&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;samsung&#44;exynos4210&#45;pinctrl&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;samsung&#44;exynos4x12&#45;pinctrl&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;samsung&#44;exynos5250&#45;pinctrl&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;samsung&#44;exynos5260&#45;pinctrl&#34;</code></span>, <span id="dt-81f973819a6dd2302321"><code>&#34;samsung&#44;exynos5410&#45;pinctrl&#34;</code></span>, <span id="dt-e5cbf931a6c5d40231a9"><code>&#34;samsung&#44;exynos5420&#45;pinctrl&#34;</code></span>, <span id="dt-5235cdfd9421f63db578"><code>&#34;samsung&#44;exynos5433&#45;pinctrl&#34;</code></span>, <span id="dt-d43d2d7f137c2a014614"><code>&#34;samsung&#44;exynos7&#45;pinctrl&#34;</code></span>, <span id="dt-550b25c2a121e87d781f"><code>&#34;samsung&#44;exynos7870&#45;pinctrl&#34;</code></span>, <span id="dt-da56dd3331033aff7561"><code>&#34;samsung&#44;exynos7885&#45;pinctrl&#34;</code></span>, <span id="dt-d9315c8e8ee3234b7e87"><code>&#34;samsung&#44;exynos850&#45;pinctrl&#34;</code></span>, <span id="dt-e73fb8e64585dbf152bb"><code>&#34;samsung&#44;exynos8890&#45;pinctrl&#34;</code></span>, <span id="dt-c04eda18e53cea683785"><code>&#34;samsung&#44;exynos8895&#45;pinctrl&#34;</code></span>, <span id="dt-3ffabe0580c6de50e5cc"><code>&#34;samsung&#44;exynos9610&#45;pinctrl&#34;</code></span>, <span id="dt-5190efa75ea4a5510e0f"><code>&#34;samsung&#44;exynos9810&#45;pinctrl&#34;</code></span>, <span id="dt-392fad2ff1685daba7ef"><code>&#34;samsung&#44;exynos990&#45;pinctrl&#34;</code></span>, <span id="dt-a923b3ee256c159f13c3"><code>&#34;samsung&#44;exynosautov9&#45;pinctrl&#34;</code></span>, <span id="dt-6a0c36f1cf1eefe094b3"><code>&#34;samsung&#44;exynosautov920&#45;pinctrl&#34;</code></span>, <span id="dt-c9755ed3021e0922ba6b"><code>&#34;tesla&#44;fsd&#45;pinctrl&#34;</code></span>

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

### <code>interrupts</code> — not listed as required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Required for GPIO banks supporting external GPIO interrupts.</p>
</div>

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

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">Second base address of the pin controller if the specific registers of the pin controller are separated into the different base address. Only certain banks of certain pin controller might need it.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

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

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

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

<a id="dt-8d6c8be19295a1d5dfc6"></a>

### <code>wakeup&#45;interrupt&#45;controller</code> — not listed as required here

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

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

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

<a id="dt-425c3aa33e6323ea88fb"></a>

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

<div id="dt-54e8cce0cb70a843f474">
<p style="white-space: pre-wrap">Pin banks of the controller are represented by child nodes of the controller node. Bank name is taken from name of the node.</p>
</div>

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

<a id="dt-65ba99f29747dbfe2170"></a>

### <code>&#94;&#91;a&#45;z0&#45;9&#45;&#93;&#43;&#45;pins&#36;</code> — name matches this regular expression

<a id="dt-35221b8d1c0a53242a5e"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-991e9af0f7f1c7fc9f63"></a>

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-83ff3ff17e8671f33f99">[<code>samsung&#44;pinctrl&#45;pins&#45;cfg&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/samsung-pinctrl-pins-cfg.md#dt-root>)</span>
>
> **Required in this object (<code>required</code>):** <a id="dt-ba31a771dad8711e9e79"></a> <span id="dt-766bf38f715a18541dff"><code>&#34;samsung&#44;pins&#34;</code></span>

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

**Rule 2**

> **Value type (<code>type</code>):** <span id="dt-bd589a34e02ef6687988"><code>&#34;object&#34;</code></span>
>
> <a id="dt-4bf5165c438b4f2e0586"></a>
>
> **Properties matching a name pattern (<code>patternProperties</code>)**
>
> <a id="dt-d0066217fcc1b2cf48b3"></a>
>
> **<code>&#94;&#91;a&#45;z0&#45;9&#45;&#93;&#43;&#45;pins&#36;</code> — name matches this regular expression**
>
> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b2410c8d6a0911fbc933">[<code>samsung&#44;pinctrl&#45;pins&#45;cfg&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/samsung-pinctrl-pins-cfg.md#dt-root>)</span>
>
> <a id="dt-5506798199dec9d08195"></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-0ab4d9c5b9343f14e1e1"></a>

### <code>&#94;&#40;initial&#124;sleep&#41;&#45;state&#36;</code> — name matches this regular expression

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

<a id="dt-b3ef28c47c49efcbf1d1"></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-298cb811263daba3f50d"></a>

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

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

**<code>&#94;&#40;pin&#45;&#91;a&#45;z0&#45;9&#45;&#93;&#43;&#124;&#91;a&#45;z0&#45;9&#45;&#93;&#43;&#45;pin&#41;&#36;</code> — name matches this regular expression**

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

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

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

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

**<code>samsung&#44;pins</code> — required here**

<div id="dt-af3f021f1b43f6a0f616">
<p style="white-space: pre-wrap">See samsung,pinctrl-pins-cfg.yaml</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8b1836c75593b5aaf5a0">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-7360acce49da10397d42>)</span>

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

**Required in this object (<code>required</code>):** <a id="dt-99614d02ee598407c303"></a> <span id="dt-7dc0affad840d0ff8a25"><code>&#34;samsung&#44;pins&#34;</code></span>

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

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>pinctrl&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pinctrl.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;google&#44;gs101&#45;pinctrl&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;samsung&#44;exynos8890&#45;pinctrl&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;clocks&#34;</code></span>, <span id="dt-5daae4bef35eb1615659"><code>&#34;clock&#45;names&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-06019e51c0ffd9e2b759"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-0a2884e363ec5134ca96"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;samsung&#44;exynos5433&#45;pinctrl&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b5c94fac3a56b4f9f0e9"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-951abd00fab37bf86404"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-69135558470d5e3ce462"><code>2</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-85787b5333cb079dc965"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0dd4bb4cd35d3f467052"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f4fe3a79cf1e15569491"><code>1</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">pinctrl@7f008000 {
    compatible = "samsung,s3c64xx-pinctrl";
    reg = &lt;0x7f008000 0x1000&gt;;
    interrupt-parent = &lt;&amp;vic1&gt;;
    interrupts = &lt;21&gt;;

    wakeup-interrupt-controller {
        compatible = "samsung,s3c64xx-wakeup-eint";
        interrupts-extended = &lt;&amp;vic0 0&gt;,
                              &lt;&amp;vic0 1&gt;,
                              &lt;&amp;vic1 0&gt;,
                              &lt;&amp;vic1 1&gt;;
    };

    /* Pin bank with external GPIO or muxed external wake-up interrupts */
    gpa-gpio-bank {
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
    };

    // ...

    uart0-data-pins {
        samsung,pins = "gpa-0", "gpa-1";
        samsung,pin-function = &lt;2&gt;;
        samsung,pin-pud = &lt;0&gt;;
    };

    // ...
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

pinctrl@11400000 {
    compatible = "samsung,exynos4210-pinctrl";
    reg = &lt;0x11400000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH&gt;;

    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;sleep0&gt;;

    /* Pin bank with external GPIO or muxed external wake-up interrupts */
    gpa0-gpio-bank {
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
    };

    // ...

    uart0-data-pins {
        samsung,pins = "gpa0-0", "gpa0-1";
        samsung,pin-function = &lt;2&gt;;
        samsung,pin-pud = &lt;0&gt;;
        samsung,pin-drv = &lt;0&gt;;
    };

    // ...

    sleep0: sleep-state {
        gpa0-0-pin {
            samsung,pins = "gpa0-0";
            samsung,pin-con-pdn = &lt;2&gt;;
            samsung,pin-pud-pdn = &lt;0&gt;;
        };

        gpa0-1-pin {
            samsung,pins = "gpa0-1";
            samsung,pin-con-pdn = &lt;0&gt;;
            samsung,pin-pud-pdn = &lt;0&gt;;
        };

        // ...
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

pinctrl@11000000 {
    compatible = "samsung,exynos4210-pinctrl";
    reg = &lt;0x11000000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH&gt;;

    wakeup-interrupt-controller {
        compatible = "samsung,exynos4210-wakeup-eint";
        interrupt-parent = &lt;&amp;gic&gt;;
        interrupts = &lt;GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH&gt;;
    };

    /* Pin bank with external GPIO or muxed external wake-up interrupts */
    gpj0-gpio-bank {
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
    };

    /* Pin bank without external interrupts */
    gpy0-gpio-bank {
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
    };

    /* Pin bank with external direct wake-up interrupts */
    gpx0-gpio-bank {
        gpio-controller;
        #gpio-cells = &lt;2&gt;;

        interrupt-controller;
        interrupt-parent = &lt;&amp;gic&gt;;
        interrupts = &lt;GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH&gt;;
        #interrupt-cells = &lt;2&gt;;
    };

    // ...

    sd0-clk-pins {
        samsung,pins = "gpk0-0";
        samsung,pin-function = &lt;2&gt;;
        samsung,pin-pud = &lt;0&gt;;
        samsung,pin-drv = &lt;3&gt;;
    };

    sd4-bus-width8-pins {
        part-1-pins {
            samsung,pins = "gpk0-3", "gpk0-4",
                           "gpk0-5", "gpk0-6";
            samsung,pin-function = &lt;3&gt;;
            samsung,pin-pud = &lt;3&gt;;
            samsung,pin-drv = &lt;3&gt;;
        };

        part-2-pins {
            samsung,pins = "gpk1-3", "gpk1-4",
                           "gpk1-5", "gpk1-6";
            samsung,pin-function = &lt;4&gt;;
            samsung,pin-pud = &lt;3&gt;;
            samsung,pin-drv = &lt;3&gt;;
        };
    };

    // ...

    otg-gp-pins {
        samsung,pins = "gpx3-3";
        samsung,pin-function = &lt;1&gt;;
        samsung,pin-pud = &lt;0&gt;;
        samsung,pin-drv = &lt;0&gt;;
        samsung,pin-val = &lt;0&gt;;
    };
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

pinctrl@10580000 {
    compatible = "samsung,exynos5433-pinctrl";
    reg = &lt;0x10580000 0x1a20&gt;, &lt;0x11090000 0x100&gt;;

    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;initial_alive&gt;;

    wakeup-interrupt-controller {
        compatible = "samsung,exynos5433-wakeup-eint",
                     "samsung,exynos7-wakeup-eint";
        interrupts = &lt;GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH&gt;;
    };

    /* Pin bank with external direct wake-up interrupts */
    gpa0-gpio-bank {
        gpio-controller;
        #gpio-cells = &lt;2&gt;;

        interrupt-controller;
        interrupt-parent = &lt;&amp;gic&gt;;
        interrupts = &lt;GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH&gt;;
        #interrupt-cells = &lt;2&gt;;
    };

    // ...

    te-irq-pins {
        samsung,pins = "gpf1-3";
        samsung,pin-function = &lt;0xf&gt;;
    };

    // ..

    initial_alive: initial-state {
        gpa0-0-pin {
            samsung,pins = "gpa0-0";
            samsung,pin-function = &lt;0&gt;;
            samsung,pin-pud = &lt;1&gt;;
            samsung,pin-drv = &lt;0&gt;;
        };

        // ...
    };
};
</code></pre>

<pre id="dt-89dd782fdab7d446b5b9"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

pinctrl@114b0000 {
    compatible = "samsung,exynos5433-pinctrl";
    reg = &lt;0x114b0000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH&gt;;
    power-domains = &lt;&amp;pd_aud&gt;;

    /* Pin bank with external GPIO or muxed external wake-up interrupts */
    gpz0-gpio-bank {
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
    };

    // ...

    i2s0-bus-pins {
        samsung,pins = "gpz0-0", "gpz0-1", "gpz0-2", "gpz0-3",
                       "gpz0-4", "gpz0-5", "gpz0-6";
        samsung,pin-function = &lt;2&gt;;
        samsung,pin-pud = &lt;0&gt;;
        samsung,pin-drv = &lt;0&gt;;
    };

    // ...
};
</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</span></p>

</details>
