]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bmips: enable f@st1704 enet support
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 1 Dec 2018 18:00:26 +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/sagem,f@st1704.dts
configs/sagem_f@st1704_ram_defconfig

index 5300f8b6df9fd09db163aee9f42bded824d1c741..ec6846dd9f2577a842b09e070f366690a7cbdff2 100644 (file)
        };
 };
 
+&enet {
+       status = "okay";
+       phy = <&enetphy>;
+       phy-mode = "mii";
+
+       enetphy: fixed-link {
+               reg = <1>;
+               speed = <100>;
+               full-duplex;
+       };
+};
+
 &gpio {
        status = "okay";
 };
index 91a966327acb2bd8008944f0d39872da0c0dae0c..8c36f5dbf83788d41228ba19e04bcdfd50b7e796 100644 (file)
@@ -27,11 +27,14 @@ CONFIG_CMD_MEMINFO=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
 # CONFIG_CMD_MISC is not set
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="sagem,f@st1704"
-# 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_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_FIXED=y
+CONFIG_DM_ETH=y
+CONFIG_BCM6348_ETH=y
 CONFIG_DM_RESET=y
 CONFIG_RESET_BCM6345=y
 # CONFIG_SPL_SERIAL_PRESENT is not set