Skip to contentSkip to conversation

ARM: dts: aspeed-g4: add serial gpio driver entry

PATCH Applied Patrick Venture 2 participants 3 messages Nov 27, 2017 – Dec 8, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: aspeed-g4: add serial gpio driver entry

Adds the serial gpio driver entry for the aspeed
ast2400.

---
 arch/arm/boot/dts/aspeed-g4.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/aspeed-g4.dtsi +9 -0
index 424d843ec1da..b82ebefcb025 100644
@@ -238,6 +238,15 @@
 				clocks = <&clk_hpll>;
 			};
 
+			sgpio: gpio@0x1e780200 {
+				#gpio-cells = <2>;
+				gpio-controller;
+				compatible = "aspeed,ast2400-sgpio";
+				reg = <0x1e780200 0x100>;
+				interrupts = <40>;
+				interrupt-controller;
+			};
+
 			timer: timer@1e782000 {
 				compatible = "aspeed,ast2400-timer";
 				reg = <0x1e782000 0x90>;
Signature · 1 line
2.15.0.417.g466bffb3ac-goog
#1 lore raw

There isn't yet a binding for this, but if it's acceptable. I'm going to submit a gpio driver strictly for the serial gpio once I can test on an ast2500. I'm presently finalizing the ast2400 version of the driver.

- Patrick

Quoted 31 lines · Patrick Venture

Adds the serial gpio driver entry for the aspeed
ast2400.

---
 arch/arm/boot/dts/aspeed-g4.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/aspeed-g4.dtsi +9 -1
index 424d843ec1da..b82ebefcb025 100644
@@ -238,6 +238,15 @@
                                clocks = <&clk_hpll>;
                        };
 
+                       sgpio: gpio@0x1e780200 {
+                               #gpio-cells = <2>;
+                               gpio-controller;
+                               compatible = "aspeed,ast2400-sgpio";
+                               reg = <0x1e780200 0x100>;
+                               interrupts = <40>;
+                               interrupt-controller;
+                       };
+
                        timer: timer@1e782000 {
                                compatible = "aspeed,ast2400-timer";
                                reg = <0x1e782000 0x90>;
--

2.15.0.417.g466bffb3ac-goog

maintainer Applied
#2 lore raw
Quoted 4 lines · Patrick Venture

There isn't yet a binding for this, but if it's acceptable. I'm going to submit a gpio driver strictly for the serial gpio once I can test on an ast2500. I'm presently finalizing the ast2400 version of the driver.

We can stage the device tree change in the openbmc tree if it helps your development.

Applied to dev-4.10.

Cheers,

Joel

Quoted 35 lines

- Patrick

Quoted 31 lines · Patrick Venture

Adds the serial gpio driver entry for the aspeed
ast2400.

---
 arch/arm/boot/dts/aspeed-g4.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/aspeed-g4.dtsi +9 -1
index 424d843ec1da..b82ebefcb025 100644
@@ -238,6 +238,15 @@
                                clocks = <&clk_hpll>;
                        };
 
+                       sgpio: gpio@0x1e780200 {
+                               #gpio-cells = <2>;
+                               gpio-controller;
+                               compatible = "aspeed,ast2400-sgpio";
+                               reg = <0x1e780200 0x100>;
+                               interrupts = <40>;
+                               interrupt-controller;
+                       };
+
                        timer: timer@1e782000 {
                                compatible = "aspeed,ast2400-timer";
                                reg = <0x1e782000 0x90>;
--

2.15.0.417.g466bffb3ac-goog