[PATCH RFC 0/7] ARM: bcm283x: Raspberry Pi Zero W support

Stefan Wahren stefan.wahren at i2se.com
Fri Jun 23 13:27:19 PDT 2017


Hi,

this is my first working version for Raspberry Pi Zero W support. I borrowed
the ideas behind patch 1 and 2 from Gerd's bcm2837 tree.

Please be aware this is more WIP than a proper version. I also prepared a
patch in order to add the hw revision to U-Boot.

All these patches can be found in my Github repo:

https://github.com/lategoodbye/rpi-zero/tree/rpi-zero-w-v1

TODOs:

I didn't test bluetooth yet.

Known issues:

The Wifi chip is present in DT and detected during boot, but doesn't work
properly. I assume i need to apply some of Gerd's patches:

    brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 ...
    brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012
    brcmfmac: brcmf_sdio_bus_rxctl: reproto_bcdc_msg failed w/status -110
    brcmfmac: brcmf_cfg80211_attach: Failed to get D11 version (-110)
    brcmfmac: brcmf_bus_started: failed: -12
    brcmfmac: brcmf_sdio_firmware_callback: dongle is not responding

Also i had problems with OTG support, so i switched to host mode until i
found the reason for the regression.

Stefan Wahren (7):
  ARM: bcm283x: Define pinmuxing for pl011 on board level
  ARM64: dts: bcm2837: assign uart0 to BT and uart1 to pin headers
  dt-bindings: bcm: Add Raspberry Pi Zero W
  ARM: bcm2835_defconfig: Enable Mini UART console support
  ARM: dts: bcm2835: Add Raspberry Pi Zero W
  ARM: bcm2835_defconfig: Increase CMA for VC4
  ARM: bcm2835_defconfig: Enable wifi driver for RPi Zero W

 .../devicetree/bindings/arm/bcm/brcm,bcm2835.txt   |  4 ++
 arch/arm/boot/dts/Makefile                         |  3 +-
 arch/arm/boot/dts/bcm2835-rpi-a-plus.dts           |  6 ++
 arch/arm/boot/dts/bcm2835-rpi-a.dts                |  6 ++
 arch/arm/boot/dts/bcm2835-rpi-b-plus.dts           |  6 ++
 arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts           |  6 ++
 arch/arm/boot/dts/bcm2835-rpi-b.dts                |  6 ++
 arch/arm/boot/dts/bcm2835-rpi-zero-w.dts           | 73 ++++++++++++++++++++++
 arch/arm/boot/dts/bcm2835-rpi-zero.dts             |  6 ++
 arch/arm/boot/dts/bcm2835-rpi.dtsi                 |  2 +-
 arch/arm/boot/dts/bcm2836-rpi-2-b.dts              |  6 ++
 arch/arm/configs/bcm2835_defconfig                 |  7 +++
 arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts   | 10 +++
 13 files changed, 139 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/boot/dts/bcm2835-rpi-zero-w.dts

-- 
2.7.4




More information about the linux-rpi-kernel mailing list