bmips: enable dgnd3700v2 enet support
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 1 Dec 2018 18:00:38 +0000 (19:00 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 19 Dec 2018 14:23:01 +0000 (15:23 +0100)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
arch/mips/dts/netgear,dgnd3700v2.dts
configs/netgear_dgnd3700v2_ram_defconfig

index 322d1567ffd77e3ba96d12bde533a4a166004847..2b72491f0b2fdc0c00c7b83a1ffcdfdb1cd3ab84 100644 (file)
        status = "okay";
 };
 
+&enet {
+       status = "okay";
+
+       port@4 {
+               compatible = "brcm,enetsw-port";
+               reg = <4>;
+               label = "rgmii";
+               brcm,phy-id = <0xff>;
+               speed = <1000>;
+               full-duplex;
+               bypass-link;
+       };
+};
+
 &gpio0 {
        status = "okay";
 };
index 1abc8698560b1a34f265fbafde7cfb5a86e8f9cd..0f3914fe7e21eb437c4a12d0694dfc3c28dda60e 100644 (file)
@@ -27,17 +27,23 @@ CONFIG_CMD_MEMINFO=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_USB=y
-# CONFIG_CMD_NET is not set
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
 # CONFIG_CMD_MISC is not set
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="netgear,dgnd3700v2"
+CONFIG_NET_RANDOM_ETHADDR=y
 # CONFIG_DM_DEVICE_REMOVE is not set
+CONFIG_BCM6348_IUDMA=y
 CONFIG_DM_GPIO=y
 CONFIG_BCM6345_GPIO=y
 CONFIG_LED=y
 CONFIG_LED_BCM6328=y
 CONFIG_LED_BLINK=y
 CONFIG_LED_GPIO=y
+CONFIG_DM_ETH=y
+CONFIG_PHY_GIGE=y
+CONFIG_BCM6368_ETH=y
 CONFIG_PHY=y
 CONFIG_BCM6368_USBH_PHY=y
 CONFIG_POWER_DOMAIN=y