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>
This commit is contained in:
Stephen Warren 2016-09-12 11:51:15 -06:00 committed by Joe Hershberger
parent 31c1ff90e2
commit 21622452f2
3 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,11 @@
reg = <0x0 0x80000000 0x0 0x60000000>; reg = <0x0 0x80000000 0x0 0x60000000>;
}; };
ethernet@2490000 {
status = "okay";
phy-reset-gpios = <&gpio_main TEGRA_MAIN_GPIO(M, 4) GPIO_ACTIVE_LOW>;
};
i2c@3160000 { i2c@3160000 {
status = "okay"; status = "okay";
}; };

View File

@ -30,6 +30,7 @@ CONFIG_CMD_FS_GENERIC=y
# CONFIG_BLK is not set # CONFIG_BLK is not set
CONFIG_TEGRA186_BPMP_I2C=y CONFIG_TEGRA186_BPMP_I2C=y
# CONFIG_DM_MMC_OPS is not set # CONFIG_DM_MMC_OPS is not set
CONFIG_DWC_ETH_QOS=y
CONFIG_E1000=y CONFIG_E1000=y
CONFIG_RTL8169=y CONFIG_RTL8169=y
CONFIG_PCI=y CONFIG_PCI=y

View File

@ -30,6 +30,7 @@ CONFIG_CMD_FS_GENERIC=y
# CONFIG_BLK is not set # CONFIG_BLK is not set
CONFIG_TEGRA186_BPMP_I2C=y CONFIG_TEGRA186_BPMP_I2C=y
# CONFIG_DM_MMC_OPS is not set # CONFIG_DM_MMC_OPS is not set
CONFIG_DWC_ETH_QOS=y
CONFIG_E1000=y CONFIG_E1000=y
CONFIG_RTL8169=y CONFIG_RTL8169=y
CONFIG_PCI=y CONFIG_PCI=y