2021-06-10 21:11:51

by Cristian Ciocaltea

[permalink] [raw]
Subject: [PATCH 1/2] ARM: dts: owl-s500: Add ethernet support

Add Ethernet MAC device tree node for Actions Semi S500 SoC.

Signed-off-by: Cristian Ciocaltea <[email protected]>
---
arch/arm/boot/dts/owl-s500.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi
index cd635f222d26..739b4b9cec8c 100644
--- a/arch/arm/boot/dts/owl-s500.dtsi
+++ b/arch/arm/boot/dts/owl-s500.dtsi
@@ -324,5 +324,15 @@ mmc2: mmc@b0238000 {
dma-names = "mmc";
status = "disabled";
};
+
+ ethernet: ethernet@b0310000 {
+ compatible = "actions,s500-emac", "actions,owl-emac";
+ reg = <0xb0310000 0x10000>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cmu CLK_ETHERNET>, <&cmu CLK_RMII_REF>;
+ clock-names = "eth", "rmii";
+ resets = <&cmu RESET_ETHERNET>;
+ status = "disabled";
+ };
};
};
--
2.32.0


2021-06-11 06:05:17

by Manivannan Sadhasivam

[permalink] [raw]
Subject: Re: [PATCH 1/2] ARM: dts: owl-s500: Add ethernet support

On Fri, Jun 11, 2021 at 12:09:21AM +0300, Cristian Ciocaltea wrote:
> Add Ethernet MAC device tree node for Actions Semi S500 SoC.
>
> Signed-off-by: Cristian Ciocaltea <[email protected]>

Reviewed-by: Manivannan Sadhasivam <[email protected]>

Thanks,
Mani

> ---
> arch/arm/boot/dts/owl-s500.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi
> index cd635f222d26..739b4b9cec8c 100644
> --- a/arch/arm/boot/dts/owl-s500.dtsi
> +++ b/arch/arm/boot/dts/owl-s500.dtsi
> @@ -324,5 +324,15 @@ mmc2: mmc@b0238000 {
> dma-names = "mmc";
> status = "disabled";
> };
> +
> + ethernet: ethernet@b0310000 {
> + compatible = "actions,s500-emac", "actions,owl-emac";
> + reg = <0xb0310000 0x10000>;
> + interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&cmu CLK_ETHERNET>, <&cmu CLK_RMII_REF>;
> + clock-names = "eth", "rmii";
> + resets = <&cmu RESET_ETHERNET>;
> + status = "disabled";
> + };
> };
> };
> --
> 2.32.0
>