Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 144bf6cc authored by Vladimir Barinov's avatar Vladimir Barinov Committed by Simon Horman
Browse files

arm64: dts: h3ulcb: enable EthernetAVB



This supports Ethernet AVB on H3ULCB board

Signed-off-by: default avatarVladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent af111bce
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@

	aliases {
		serial0 = &scif2;
		ethernet0 = &avb;
	};

	chosen {
@@ -49,6 +50,11 @@
		groups = "scif_clk_a";
		function = "scif_clk";
	};

	avb_pins: avb {
		groups = "avb_mdc";
		function = "avb";
	};
};

&scif2 {
@@ -62,3 +68,29 @@
	clock-frequency = <14745600>;
	status = "okay";
};

&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>;
	};
};