• Jörg Krause's avatar
    ARM: dts: sun7i: Add wifi dt node on Banana Pro · f2cb904f
    Jörg Krause authored
    The Banana Pro has an AMPAK AP6181 WiFi+Bluetooth module. The WiFi part
    is a BCM43362 IC connected to MMC3 of the A20 SoC via SDIO. The IC also
    takes a power enable signal via GPIO.
    
    This commit adds a device-tree node to power it up, so the mmc subsys
    can scan it, and enables the mmc controller which is connected to it.
    
    As the wifi enable pin of the AP6181 module is not really a regulator,
    switch the mmc3 node to the mmc-pwrseq framework for controlling it.
    This more accurately reflectes how the hardware actually works.
    Signed-off-by: default avatarJörg Krause <joerg.krause@embedded.rocks>
    Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
    f2cb904f
sun7i-a20-bananapro.dts 5.8 KB