Thread (15 messages) 15 messages, 3 authors, 2021-11-11

RE: [PATCH v4 4/4] ARM: dts: aspeed: Add eSPI node

From: ChiaWei Wang <hidden>
Date: 2021-11-11 01:55:07
Also in: linux-aspeed, linux-devicetree, lkml, openbmc

Hi Andrei,

The patch misses the g5 part.
I will fix this in the next revision.

Regards,
Chiawei
From: Andrei Kartashev <redacted>
Sent: Wednesday, November 10, 2021 7:21 PM

Hi Chia-Wei,

How is it about g5? Why did you add definition only for g6 here?


On Wed, 2021-09-01 at 11:30 +0800, Chia-Wei Wang wrote:
quoted
Add eSPI to the device tree for Aspeed 5/6th generation SoCs.

Signed-off-by: Chia-Wei Wang <redacted>
---
 arch/arm/boot/dts/aspeed-g6.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi
b/arch/arm/boot/dts/aspeed-g6.dtsi
index f96607b7b4e2..47dc0b3993d1 100644
--- a/arch/arm/boot/dts/aspeed-g6.dtsi
+++ b/arch/arm/boot/dts/aspeed-g6.dtsi
@@ -364,6 +364,23 @@
                                status = "disabled";
                        };

+                       espi: espi@1e6ee000 {
+                               compatible =
"aspeed,ast2600-espi",
quoted
"simple-mfd", "syscon";
+                               reg = <0x1e6ee000
0x1000>;
quoted
+
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges = <0x0 0x1e6ee000
0x1000>;
quoted
+
+                               espi_ctrl: espi-ctrl@0 {
+                                       compatible =
"aspeed,ast2600-
quoted
espi-ctrl";
+                                       reg = <0x0
0x800>;
quoted
+                                       interrupts =
<GIC_SPI 42
quoted
IRQ_TYPE_LEVEL_HIGH>;
+                                       clocks =
<&syscon
quoted
ASPEED_CLK_GATE_ESPICLK>;
+                                       status =
"disabled";
quoted
+                               };
+                       };
+
                        gpio0: gpio@1e780000 {
                                #gpio-cells = <2>;
                                gpio-controller;
--
Best regards,
Andrei Kartashev
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help