]> git.baikalelectronics.ru Git - uboot.git/commitdiff
bmips: enable wap-5813n enet support
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 1 Dec 2018 18:00:34 +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/comtrend,wap-5813n.dts
configs/comtrend_wap5813n_ram_defconfig

index bd41dab9f8e7d732c633abf9289a570a80c953a6..7e835b28d2cbd6d4d92fce0116336abdbe8d14e4 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 987e4c3fbce1286eda8a970cbf4c08a1446ddf2b..fd5107bb7d8bbbb0934d25b18bde623778830bec 100644 (file)
@@ -25,11 +25,14 @@ CONFIG_CMD_LICENSE=y
 CONFIG_CMD_MEMINFO=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_USB=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
 # CONFIG_CMD_MISC is not set
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="comtrend,wap-5813n"
-# CONFIG_NET is not set
+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
@@ -40,6 +43,9 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
+CONFIG_DM_ETH=y
+CONFIG_PHY_GIGE=y
+CONFIG_BCM6368_ETH=y
 CONFIG_PHY=y
 CONFIG_BCM6368_USBH_PHY=y
 CONFIG_DM_RESET=y