dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix example
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Fri, 4 Feb 2022 15:35:34 +0000 (16:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Feb 2022 00:40:06 +0000 (01:40 +0100)
The blamed commit adds support for irq, but the reqisters for irq are
outside of the memory size. They are at address 0x108. Therefore update
the memory size to cover all the registers used by the device.

Fixes: 01a9350bdd49fb ("dt-bindings: pinctrl: pinctrl-microchip-sgpio: Add irq support")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/20220204153535.465827-2-horatiu.vultur@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml

index cb554084bdf11754b2abe5d0a94ad552aaa7c9ae..0df4e114fdd69dc9b004877b68417684bf28c056 100644 (file)
@@ -145,7 +145,7 @@ examples:
       clocks = <&sys_clk>;
       pinctrl-0 = <&sgpio2_pins>;
       pinctrl-names = "default";
-      reg = <0x1101059c 0x100>;
+      reg = <0x1101059c 0x118>;
       microchip,sgpio-port-ranges = <0 0>, <16 18>, <28 31>;
       bus-frequency = <25000000>;
       sgpio_in2: gpio@0 {