diff options
author | Thierry Reding <treding@nvidia.com> | 2017-02-23 20:30:47 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-03-08 15:31:43 +0300 |
commit | 24975b8c218ad7206f98062c97c9380c2163f6e2 (patch) | |
tree | beb5c79671f04b2e825d1c39a6b17cda779cae5c | |
parent | a4c7aab2eaaeb479ae18a8299c69e8d28b50591b (diff) | |
download | linux-24975b8c218ad7206f98062c97c9380c2163f6e2.tar.xz |
arm64: tegra: Enable ethernet on P3310
The P3310 processor module provides networking via the ethernet
controller found on NVIDIA Tegra186 SoCs.
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi index 762f4756346c..ffbb4be5122e 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi @@ -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"; }; |