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

Commit dc36965a authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman
Browse files

arm64: dts: r8a7796: salvator-x: Enable EthernetAVB

parent 8e8b9eae
Loading
Loading
Loading
Loading
+32 −0
Original line number Original line Diff line number Diff line
@@ -18,6 +18,7 @@


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


	chosen {
	chosen {
@@ -107,6 +108,11 @@
	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";
@@ -158,6 +164,32 @@
	};
	};
};
};


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

&extal_clk {
&extal_clk {
	clock-frequency = <16666666>;
	clock-frequency = <16666666>;
};
};