diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2016-12-06 04:53:44 +0100 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2017-01-10 11:55:15 +0100 |
commit | 09955007b2f643e07cc5fa21a34da6cec97bb7a1 (patch) | |
tree | 19e5fd624cb7e6bf2b5dcccd33c90fd5bf8e20e5 /arch/arm/boot/dts/aspeed-g4.dtsi | |
parent | ARM: dts: aspeed-g4: Add syscon and pin controller nodes (diff) | |
download | linux-09955007b2f643e07cc5fa21a34da6cec97bb7a1.tar.xz linux-09955007b2f643e07cc5fa21a34da6cec97bb7a1.zip |
ARM: dts: aspeed-g4: Add gpio controller to devicetree
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-g4.dtsi')
-rw-r--r-- | arch/arm/boot/dts/aspeed-g4.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index b00dfc7a3bf7..20b75667286f 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -822,6 +822,16 @@ reg = <0x1e720000 0x8000>; // 32K }; + gpio: gpio@1e780000 { + #gpio-cells = <2>; + gpio-controller; + compatible = "aspeed,ast2400-gpio"; + reg = <0x1e780000 0x1000>; + interrupts = <20>; + gpio-ranges = <&pinctrl 0 0 220>; + interrupt-controller; + }; + timer: timer@1e782000 { compatible = "aspeed,ast2400-timer"; reg = <0x1e782000 0x90>; |