ARM: dts: aspeed: Add clock phandle to GPIO
authorJoel Stanley <joel@jms.id.au>
Mon, 18 Sep 2017 08:13:09 +0000 (17:43 +0930)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Dec 2017 03:33:16 +0000 (14:03 +1030)
This enables a feature where the driver can debounce inputs.

Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi

index 36cb66d8cc10824535a766c3e3b4e2f65d5f6ba0..d2a82850b05bc0feaaf4324c7c84f082a92711c1 100644 (file)
                                reg = <0x1e780000 0x1000>;
                                interrupts = <20>;
                                gpio-ranges = <&pinctrl 0 0 220>;
+                               clocks = <&syscon ASPEED_CLK_APB>;
                                interrupt-controller;
                        };
 
index 156b345ff20dac5a6128da3238ff4f81d49938d9..3a25fa48d4f66a7cfeb463fb67ff27cf4f9db95f 100644 (file)
                                reg = <0x1e780000 0x1000>;
                                interrupts = <20>;
                                gpio-ranges = <&pinctrl 0 0 220>;
+                               clocks = <&syscon ASPEED_CLK_APB>;
                                interrupt-controller;
                        };