ARM: dts: aspeed-g6: Fix the GPIO memory size
authorBilly Tsai <billy_tsai@aspeedtech.com>
Mon, 12 Oct 2020 03:31:48 +0000 (11:31 +0800)
committerJoel Stanley <joel@jms.id.au>
Wed, 28 Oct 2020 05:30:53 +0000 (16:00 +1030)
The GPIO controller is a GPIO controller followed by some SGPIO
controllers, which are a different type of device with their own binding
and drivers.

Make the gpio node cover the only conventional GPIO controller.

Fixes: 8dbcb5b709b9 ("ARM: dts: aspeed-g6: Add gpio devices")
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20201012033150.21056-2-billy_tsai@aspeedtech.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g6.dtsi

index b58220a49cbd85cac6b149c035641ac2a1429c88..bf97aaad7be9b75875c1c19d65ff42bfc01f1650 100644 (file)
                                #gpio-cells = <2>;
                                gpio-controller;
                                compatible = "aspeed,ast2600-gpio";
-                               reg = <0x1e780000 0x800>;
+                               reg = <0x1e780000 0x400>;
                                interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
                                gpio-ranges = <&pinctrl 0 0 208>;
                                ngpios = <208>;