mirror of https://gitee.com/openkylin/linux.git
ARM: dts: aspeed: Add clock phandle to GPIO
This enables a feature where the driver can debounce inputs. Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
parent
e1e0ec419c
commit
2528be7548
|
@ -144,6 +144,7 @@ gpio: gpio@1e780000 {
|
|||
reg = <0x1e780000 0x1000>;
|
||||
interrupts = <20>;
|
||||
gpio-ranges = <&pinctrl 0 0 220>;
|
||||
clocks = <&syscon ASPEED_CLK_APB>;
|
||||
interrupt-controller;
|
||||
};
|
||||
|
||||
|
|
|
@ -187,6 +187,7 @@ gpio: gpio@1e780000 {
|
|||
reg = <0x1e780000 0x1000>;
|
||||
interrupts = <20>;
|
||||
gpio-ranges = <&pinctrl 0 0 220>;
|
||||
clocks = <&syscon ASPEED_CLK_APB>;
|
||||
interrupt-controller;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue