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

Manivannan Sadhasivam
2021-06-11T06:01:00Z

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 <cristian.ciocaltea@gmail.com>

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

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
>