]> git.sur5r.net Git - u-boot/commitdiff
ARM: tegra: enable Ethernet on p2771-0000
authorStephen Warren <swarren@nvidia.com>
Mon, 12 Sep 2016 17:51:15 +0000 (11:51 -0600)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 7 Nov 2016 17:28:16 +0000 (11:28 -0600)
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>
arch/arm/dts/tegra186-p2771-0000.dtsi
configs/p2771-0000-000_defconfig
configs/p2771-0000-500_defconfig

index 6e071082f9ee9754665f08c1da90e77b4fceaf9a..54b2539ff45644814dbbe4145d1b7fd15d086c3d 100644 (file)
                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";
        };
index f638117c8951500de2757c7822b6683f66d18738..61bb3a119627c9690510c1020b0dd2ee709ccdec 100644 (file)
@@ -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
index baeb8f33cd1e5a08a5d0cafde4e9542be03a5de8..79f4808274bbe1c12c56c01c9f20c34181203133 100644 (file)
@@ -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