Re: [PATCH 05/11] arm64: tegra: Enable ethernet on P3310

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23/02/17 17:30, Thierry Reding wrote:
> From: Thierry Reding <treding@xxxxxxxxxx>
> 
> The P3310 processor module provides networking via the ethernet
> controller found on NVIDIA Tegra186 SoCs.
> 
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
> ---
>  arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> 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";
>  	};

Acked-by: Jon Hunter <jonathanh@xxxxxxxxxx>

Cheers
Jon

-- 
nvpublic
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux