2020-12-02 06:42:35

by Troy Lee

[permalink] [raw]
Subject: [PATCH v2 2/3] ARM: dts: aspeed: Add AST2600 edac into common devicetree

Adding Aspeed AST2600 edac node into common devicetree.

Signed-off-by: Troy Lee <[email protected]>
---
arch/arm/boot/dts/aspeed-g6.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi
index 97ca743363d7..fb144515f397 100644
--- a/arch/arm/boot/dts/aspeed-g6.dtsi
+++ b/arch/arm/boot/dts/aspeed-g6.dtsi
@@ -69,6 +69,12 @@
always-on;
};

+ edac: sdram@1e6e0000 {
+ compatible = "aspeed,ast2600-sdram-edac", "syscon";
+ reg = <0x1e6e0000 0x174>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
ahb {
compatible = "simple-bus";
#address-cells = <1>;
--
2.17.1


2020-12-02 07:05:59

by Joel Stanley

[permalink] [raw]
Subject: Re: [PATCH v2 2/3] ARM: dts: aspeed: Add AST2600 edac into common devicetree

On Wed, 2 Dec 2020 at 06:37, Troy Lee <[email protected]> wrote:
>
> Adding Aspeed AST2600 edac node into common devicetree.
>
> Signed-off-by: Troy Lee <[email protected]>

Reviewed-by: Joel Stanley <[email protected]>

> ---
> arch/arm/boot/dts/aspeed-g6.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi
> index 97ca743363d7..fb144515f397 100644
> --- a/arch/arm/boot/dts/aspeed-g6.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g6.dtsi
> @@ -69,6 +69,12 @@
> always-on;
> };
>
> + edac: sdram@1e6e0000 {
> + compatible = "aspeed,ast2600-sdram-edac", "syscon";
> + reg = <0x1e6e0000 0x174>;
> + interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
> + };
> +
> ahb {
> compatible = "simple-bus";
> #address-cells = <1>;
> --
> 2.17.1
>