# !! WARNING: Hats on the OK3506 board are installed "backwards" (facing outwards)

# MeshAdv Mini E22-900M22S
# https://github.com/chrismyers2000/MeshAdv-Mini
Meta:
  name: MeshAdv Mini E22-900M22S
  support: community
  compatible:
    - forlinx-ok3506-s12 # Armbian

Lora:
  Module: sx1262 # Ebyte E22-900M22S
  CS: # GPIO0_C3 (physical 24, SPI0_CSN0)
    pin: 19
    gpiochip: 0
    line: 19
  IRQ: # GPIO3_B0 (physical 36)
    pin: 104
    gpiochip: 3
    line: 8
  Busy: # GPIO0_B1 (physical 38)
    pin: 9
    gpiochip: 0
    line: 9
  Reset: # GPIO3_A6 (physical 18)
    pin: 102
    gpiochip: 3
    line: 6
  RXen: # GPIO0_A2 (physical 32)
    pin: 2
    gpiochip: 0
    line: 2
  DIO2_AS_RF_SWITCH: true
  DIO3_TCXO_VOLTAGE: true
  spidev: spidev0.0
