Commit 8441ef64 authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Simon Horman

arm64: dts: renesas: r8a77990: ebisu: Enable EthernetAVB

This patch enables EthernetAVB for r8a77990 Ebisu board.

Based on a patch from Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 913a78b5
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
/dts-v1/; /dts-v1/;
#include "r8a77990.dtsi" #include "r8a77990.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ { / {
model = "Renesas Ebisu board based on r8a77990"; model = "Renesas Ebisu board based on r8a77990";
...@@ -14,6 +15,7 @@ / { ...@@ -14,6 +15,7 @@ / {
aliases { aliases {
serial0 = &scif2; serial0 = &scif2;
ethernet0 = &avb;
}; };
chosen { chosen {
...@@ -28,10 +30,36 @@ memory@48000000 { ...@@ -28,10 +30,36 @@ memory@48000000 {
}; };
}; };
&avb {
pinctrl-0 = <&avb_pins>;
pinctrl-names = "default";
renesas,no-ether-link;
phy-handle = <&phy0>;
phy-mode = "rgmii-txid";
status = "okay";
phy0: ethernet-phy@0 {
rxc-skew-ps = <1500>;
reg = <0>;
interrupt-parent = <&gpio2>;
interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
};
};
&extal_clk { &extal_clk {
clock-frequency = <48000000>; clock-frequency = <48000000>;
}; };
&pfc {
avb_pins: avb {
mux {
groups = "avb_link", "avb_mii";
function = "avb";
};
};
};
&scif2 { &scif2 {
status = "okay"; status = "okay";
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment