Commit 8e0118a7 authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno Committed by Rob Herring (Arm)
Browse files

dt-bindings: pinctrl: mediatek,mt7622-pinctrl: Add missing base reg



The pin controller for both MT7622 and MT7629 need both a "base"
and an "eint" MMIO like the ones found on other MediaTek SoCs:
while devicetrees have always been correct, the binding is not,
as it only allows an "eint" reg.

Add "base" to reg-names and increment maxItems for reg to two.

Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
parent 8d200dff
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -19,10 +19,11 @@ properties:
      - mediatek,mt7629-pinctrl

  reg:
    maxItems: 1
    maxItems: 2

  reg-names:
    items:
      - const: base
      - const: eint

  gpio-controller: true
@@ -367,7 +368,8 @@ examples:

        pio: pinctrl@10211000 {
            compatible = "mediatek,mt7622-pinctrl";
            reg = <0 0x10211000 0 0x1000>;
            reg = <0 0x10211000 0 0x1000>,
                  <0 0x10005000 0 0x1000>;
            gpio-controller;
            #gpio-cells = <2>;