mirror of https://github.com/torvalds/linux.git
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: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
This commit is contained in:
parent
8d200dff1e
commit
8e0118a79b
|
|
@ -19,10 +19,11 @@ properties:
|
||||||
- mediatek,mt7629-pinctrl
|
- mediatek,mt7629-pinctrl
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 2
|
||||||
|
|
||||||
reg-names:
|
reg-names:
|
||||||
items:
|
items:
|
||||||
|
- const: base
|
||||||
- const: eint
|
- const: eint
|
||||||
|
|
||||||
gpio-controller: true
|
gpio-controller: true
|
||||||
|
|
@ -367,7 +368,8 @@ examples:
|
||||||
|
|
||||||
pio: pinctrl@10211000 {
|
pio: pinctrl@10211000 {
|
||||||
compatible = "mediatek,mt7622-pinctrl";
|
compatible = "mediatek,mt7622-pinctrl";
|
||||||
reg = <0 0x10211000 0 0x1000>;
|
reg = <0 0x10211000 0 0x1000>,
|
||||||
|
<0 0x10005000 0 0x1000>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue