[PATCH linux] ARM: dts: aspeed-g4: add serial gpio driver entry

Patrick Venture venture at google.com
Tue Nov 28 07:07:38 AEDT 2017


Adds the serial gpio driver entry for the aspeed
ast2400.

Signed-off-by: Patrick Venture <venture at google.com>
---
 arch/arm/boot/dts/aspeed-g4.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
index 424d843ec1da..b82ebefcb025 100644
--- a/arch/arm/boot/dts/aspeed-g4.dtsi
+++ b/arch/arm/boot/dts/aspeed-g4.dtsi
@@ -238,6 +238,15 @@
 				clocks = <&clk_hpll>;
 			};
 
+			sgpio: gpio at 0x1e780200 {
+				#gpio-cells = <2>;
+				gpio-controller;
+				compatible = "aspeed,ast2400-sgpio";
+				reg = <0x1e780200 0x100>;
+				interrupts = <40>;
+				interrupt-controller;
+			};
+
 			timer: timer at 1e782000 {
 				compatible = "aspeed,ast2400-timer";
 				reg = <0x1e782000 0x90>;
-- 
2.15.0.417.g466bffb3ac-goog



More information about the openbmc mailing list