Commit 883fae31 authored by Vladimir Barinov's avatar Vladimir Barinov Committed by Simon Horman

arm64: dts: m3ulcb: enable EthernetAVB

This supports Ethernet AVB on M3ULCB board
Signed-off-by: default avatarVladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Tested-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 2a3ee629
...@@ -20,6 +20,7 @@ / { ...@@ -20,6 +20,7 @@ / {
aliases { aliases {
serial0 = &scif2; serial0 = &scif2;
ethernet0 = &avb;
}; };
chosen { chosen {
...@@ -115,6 +116,11 @@ &pfc { ...@@ -115,6 +116,11 @@ &pfc {
pinctrl-0 = <&scif_clk_pins>; pinctrl-0 = <&scif_clk_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
avb_pins: avb {
groups = "avb_mdc";
function = "avb";
};
scif2_pins: scif2 { scif2_pins: scif2 {
groups = "scif2_data_a"; groups = "scif2_data_a";
function = "scif2"; function = "scif2";
...@@ -155,6 +161,32 @@ sdhi2_pins_uhs: sd2_uhs { ...@@ -155,6 +161,32 @@ sdhi2_pins_uhs: sd2_uhs {
}; };
}; };
&avb {
pinctrl-0 = <&avb_pins>;
pinctrl-names = "default";
renesas,no-ether-link;
phy-handle = <&phy0>;
status = "okay";
phy0: ethernet-phy@0 {
rxc-skew-ps = <900>;
rxdv-skew-ps = <0>;
rxd0-skew-ps = <0>;
rxd1-skew-ps = <0>;
rxd2-skew-ps = <0>;
rxd3-skew-ps = <0>;
txc-skew-ps = <900>;
txen-skew-ps = <0>;
txd0-skew-ps = <0>;
txd1-skew-ps = <0>;
txd2-skew-ps = <0>;
txd3-skew-ps = <0>;
reg = <0>;
interrupt-parent = <&gpio2>;
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
};
};
&sdhi0 { &sdhi0 {
pinctrl-0 = <&sdhi0_pins>; pinctrl-0 = <&sdhi0_pins>;
pinctrl-1 = <&sdhi0_pins_uhs>; pinctrl-1 = <&sdhi0_pins_uhs>;
......
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