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

Commit 6fa501c5 authored by Kazuya Mizuguchi's avatar Kazuya Mizuguchi Committed by Simon Horman
Browse files

arm64: dts: r8a7795: enable EthernetAVB on Salvator-X

parent a92843c8
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
@@ -45,6 +45,11 @@
		renesas,groups = "scif2_data_a";
		renesas,function = "scif2";
	};

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

&scif1 {
@@ -60,3 +65,29 @@

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