diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-09-12 11:51:15 -0600 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-11-07 11:28:16 -0600 |
commit | 21622452f2eb735a5cfe8697edc3c166a71b8485 (patch) | |
tree | dc4a9ea52694290f9dfd25d1b4c08bcbb2d4a15b | |
parent | 31c1ff90e2070759dd8c35a182f96c342543dad6 (diff) | |
download | u-boot-21622452f2eb735a5cfe8697edc3c166a71b8485.tar.gz |
ARM: tegra: enable Ethernet on p2771-0000
Enable the Ethernet device in DT, provide board-specific configuration,
and enable the driver in Kconfig.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r-- | arch/arm/dts/tegra186-p2771-0000.dtsi | 5 | ||||
-rw-r--r-- | configs/p2771-0000-000_defconfig | 1 | ||||
-rw-r--r-- | configs/p2771-0000-500_defconfig | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/dts/tegra186-p2771-0000.dtsi b/arch/arm/dts/tegra186-p2771-0000.dtsi index 6e071082f9..54b2539ff4 100644 --- a/arch/arm/dts/tegra186-p2771-0000.dtsi +++ b/arch/arm/dts/tegra186-p2771-0000.dtsi @@ -25,6 +25,11 @@ reg = <0x0 0x80000000 0x0 0x60000000>; }; + ethernet@2490000 { + status = "okay"; + phy-reset-gpios = <&gpio_main TEGRA_MAIN_GPIO(M, 4) GPIO_ACTIVE_LOW>; + }; + i2c@3160000 { status = "okay"; }; diff --git a/configs/p2771-0000-000_defconfig b/configs/p2771-0000-000_defconfig index f638117c89..61bb3a1196 100644 --- a/configs/p2771-0000-000_defconfig +++ b/configs/p2771-0000-000_defconfig @@ -30,6 +30,7 @@ CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_TEGRA186_BPMP_I2C=y # CONFIG_DM_MMC_OPS is not set +CONFIG_DWC_ETH_QOS=y CONFIG_E1000=y CONFIG_RTL8169=y CONFIG_PCI=y diff --git a/configs/p2771-0000-500_defconfig b/configs/p2771-0000-500_defconfig index baeb8f33cd..79f4808274 100644 --- a/configs/p2771-0000-500_defconfig +++ b/configs/p2771-0000-500_defconfig @@ -30,6 +30,7 @@ CONFIG_CMD_FS_GENERIC=y # CONFIG_BLK is not set CONFIG_TEGRA186_BPMP_I2C=y # CONFIG_DM_MMC_OPS is not set +CONFIG_DWC_ETH_QOS=y CONFIG_E1000=y CONFIG_RTL8169=y CONFIG_PCI=y |