Skip to contentSkip to conversation

Add Raspberry Pi Zero W Board

PATCH Applied Chris Fiege 2 participants 2 messages Nov 19, 2018 – Nov 21, 2018

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add Raspberry Pi Zero W Board

The Raspberry Pi Zero W is basically a Raspberry Pi 1 B+ but on a smaller PCB and with Bluetooth and WiFi. See:
https://elinux.org/RPi_Hardware

This patch adds support for Raspberry Pi Zero W to barebox.

---
 arch/arm/boards/raspberry-pi/rpi-common.c | 1 +
 arch/arm/mach-bcm283x/include/mach/mbox.h | 2 ++
 2 files changed, 3 insertions(+)
arch/arm/boards/raspberry-pi/rpi-common.c +1 -0
index 3baed65..5a51b91 100644
@@ -176,6 +176,7 @@ const struct rpi_model rpi_models_new_scheme[] = {
 	RPI_MODEL(BCM2836_BOARD_REV_2_B, "2 Model B", rpi_b_plus_init),
 	RPI_MODEL(BCM2837_BOARD_REV_3_B, "3 Model B", rpi_b_plus_init),
 	RPI_MODEL(BCM2835_BOARD_REV_ZERO, "Zero", rpi_b_plus_init),
+	RPI_MODEL(BCM2835_BOARD_REV_ZERO_W, "Zero W", rpi_b_plus_init),
 };
 
 static int rpi_board_rev = 0;
arch/arm/mach-bcm283x/include/mach/mbox.h +2 -0
index 0d1ac07..76b573f 100644
@@ -133,6 +133,8 @@ struct bcm2835_mbox_tag_hdr {
 #define BCM2837_BOARD_REV_3_B		0x8
 /* Zero */
 #define BCM2835_BOARD_REV_ZERO		0x9
+/* Zero W */
+#define BCM2835_BOARD_REV_ZERO_W	0xc
 
 /*
  * 0x2..0xf from:
Signature · 7 lines
2.7.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 5 lines · Chris Fiege

The Raspberry Pi Zero W is basically a Raspberry Pi 1 B+ but on a smaller PCB and with Bluetooth and WiFi. See:
https://elinux.org/RPi_Hardware

Quoted 7 lines

This patch adds support for Raspberry Pi Zero W to barebox.

---
 arch/arm/boards/raspberry-pi/rpi-common.c | 1 +
 arch/arm/mach-bcm283x/include/mach/mbox.h | 2 ++
 2 files changed, 3 insertions(+)

Applied, thanks

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox