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

Commit 24975b8c authored by Thierry Reding's avatar Thierry Reding
Browse files

arm64: tegra: Enable ethernet on P3310



The P3310 processor module provides networking via the ethernet
controller found on NVIDIA Tegra186 SoCs.

Acked-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent a4c7aab2
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -26,6 +26,26 @@
		reg = <0x0 0x80000000 0x2 0x00000000>;
	};

	ethernet@2490000 {
		status = "okay";

		phy-reset-gpios = <&gpio TEGRA_MAIN_GPIO(M, 4) GPIO_ACTIVE_LOW>;
		phy-handle = <&phy>;
		phy-mode = "rgmii";

		mdio {
			#address-cells = <1>;
			#size-cells = <0>;

			phy: phy@0 {
				compatible = "ethernet-phy-ieee802.3-c22";
				reg = <0x0>;
				interrupt-parent = <&gpio>;
				interrupts = <TEGRA_MAIN_GPIO(M, 5) IRQ_TYPE_LEVEL_HIGH>;
			};
		};
	};

	serial@3100000 {
		status = "okay";
	};