Skip to contentSkip to conversation

rpi3: Enable lan78xx driver

PATCH New Alexander Graf 1 participant 4 messages Mar 15, 2018 – Apr 5, 2018 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 rpi3: Enable lan78xx driver

The new Raspberry Pi B 3+ has a lan78xx device attached to it. Let's add driver support in U-Boot for it.

---
 configs/rpi_3_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/rpi_3_defconfig +2 -0
index 0f3a54ec9a..810b60344f 100644
@@ -36,3 +36,5 @@ CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_PHYLIB=y
+CONFIG_USB_ETHER_LAN78XX=y
Signature · 1 line
2.12.3
author Applied
#1 lore raw

PATCH 1/2 rpi3: Enable lan78xx driver

Quoted 4 lines

The new Raspberry Pi B 3+ has a lan78xx device attached to it. Let's add driver support in U-Boot for it.

Thanks, applied to efi-next

Alex

#2 lore raw

PATCH 2/2 rpi: Add identifier for the new RPi3 B+

In reply to Alexander Graf

The Raspberr Pi Foundation released a new RPi3 version which we want to detect as well, so we can enable ethernet on it and know the correct device tree file name.

Add an identifier for it.

---
 board/raspberrypi/rpi/rpi.c | 5 +++++
 1 file changed, 5 insertions(+)
board/raspberrypi/rpi/rpi.c +5 -0
index 177f4af265..279a9c3cda 100644
@@ -111,6 +111,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
 		DTB_DIR "bcm2835-rpi-zero-w.dtb",
 		false,
 	},
+	[0xD] = {
+		"3 Model B+",
+		DTB_DIR "bcm2837-rpi-3-b-plus.dtb",
+		true,
+	},
 };
 
 static const struct rpi_model rpi_models_old_scheme[] = {
Signature · 1 line
2.12.3
author Applied
#3 lore raw

PATCH 2/2 rpi: Add identifier for the new RPi3 B+

Quoted 7 lines

The Raspberr Pi Foundation released a new RPi3 version which we want to detect as well, so we can enable ethernet on it and know the correct device tree file name.

Add an identifier for it.

Thanks, applied to efi-next

Alex