summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/aspeed-g5.dtsi
diff options
context:
space:
mode:
authorHongwei Zhang <hongweiz@ami.com>2019-09-25 22:22:16 +0300
committerJoel Stanley <joel@jms.id.au>2019-11-01 14:37:38 +0300
commit7671be39c4d9c09bf73d7b16fc8d50e8f57f295c (patch)
tree815daf98f6949e9bd378f4723240c6d00db94290 /arch/arm/boot/dts/aspeed-g5.dtsi
parent8c014e90bd6f4de070a8b0646d64c2decc201baa (diff)
downloadlinux-7671be39c4d9c09bf73d7b16fc8d50e8f57f295c.tar.xz
ARM: dts: aspeed-g5: Add SGPIO description
Add SGPIO node to the ASPEED AST2500 device tree. Signed-off-by: Hongwei Zhang <hongweiz@ami.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-g5.dtsi')
-rw-r--r--arch/arm/boot/dts/aspeed-g5.dtsi17
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 3449bcc93d7b..a8ce59a3c88d 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -306,7 +306,7 @@
#gpio-cells = <2>;
gpio-controller;
compatible = "aspeed,ast2500-gpio";
- reg = <0x1e780000 0x1000>;
+ reg = <0x1e780000 0x200>;
interrupts = <20>;
gpio-ranges = <&pinctrl 0 0 232>;
clocks = <&syscon ASPEED_CLK_APB>;
@@ -314,6 +314,21 @@
#interrupt-cells = <2>;
};
+ sgpio: sgpio@1e780200 {
+ #gpio-cells = <2>;
+ compatible = "aspeed,ast2500-sgpio";
+ gpio-controller;
+ interrupts = <40>;
+ reg = <0x1e780200 0x0100>;
+ clocks = <&syscon ASPEED_CLK_APB>;
+ interrupt-controller;
+ ngpios = <8>;
+ bus-frequency = <12000000>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_sgpm_default>;
+ status = "disabled";
+ };
+
rtc: rtc@1e781000 {
compatible = "aspeed,ast2500-rtc";
reg = <0x1e781000 0x18>;