Commit 2528be75 authored by Joel Stanley's avatar Joel Stanley

ARM: dts: aspeed: Add clock phandle to GPIO

This enables a feature where the driver can debounce inputs.
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent e1e0ec41
...@@ -144,6 +144,7 @@ gpio: gpio@1e780000 { ...@@ -144,6 +144,7 @@ gpio: gpio@1e780000 {
reg = <0x1e780000 0x1000>; reg = <0x1e780000 0x1000>;
interrupts = <20>; interrupts = <20>;
gpio-ranges = <&pinctrl 0 0 220>; gpio-ranges = <&pinctrl 0 0 220>;
clocks = <&syscon ASPEED_CLK_APB>;
interrupt-controller; interrupt-controller;
}; };
......
...@@ -187,6 +187,7 @@ gpio: gpio@1e780000 { ...@@ -187,6 +187,7 @@ gpio: gpio@1e780000 {
reg = <0x1e780000 0x1000>; reg = <0x1e780000 0x1000>;
interrupts = <20>; interrupts = <20>;
gpio-ranges = <&pinctrl 0 0 220>; gpio-ranges = <&pinctrl 0 0 220>;
clocks = <&syscon ASPEED_CLK_APB>;
interrupt-controller; interrupt-controller;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment