# RAK6421 WisBlock Pi HAT + RAK13300/RAK13302 (SX1262), IO Slot 1. # # Named after the HAT, not a Pi model — the wiring is identical on every Pi # that exposes the 40-pin header on gpiochip0 (Raspberry Pi 2 / 3 / 4 / Zero 2). # Raspberry Pi 5 moved the header to gpiochip4 — use rak6421_pi5.conf for it # (or pass --lora-gpio-chip=/dev/gpiochip4 at runtime). # # IO Slot 1 wiring (BCM GPIO numbers on gpiochip0): # SPI: /dev/spidev0.0 (CE0 = GPIO 8, hardware CS) # DIO1/IRQ: GPIO 22 (IO6) # RESET: GPIO 16 (IO4) # BUSY: GPIO 24 (IO5) # DIO2 = RF switch, DIO3 = 1.8V TCXO, Enable_Pins 12+13 held high (GPIO hogs). CONFIG_ZEPHCORE_BOARD_NAME="RAK6421" # Drive the RAK6421 Enable_Pins (GPIO 12/13) high at boot via the GPIO hogs # declared in rak6421.overlay. CONFIG_GPIO_HOGS=y