]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: sun7i: Add wifi dt node on Banana Pro
authorJörg Krause <joerg.krause@embedded.rocks>
Mon, 9 Jan 2017 20:36:38 +0000 (21:36 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 10 Jan 2017 17:54:02 +0000 (18:54 +0100)
commit48cfe87e2167f069edf8407e478b823a2af7c2fa
treec234e59e99076b820afbde6d2556cd587fcd1eb1
parentfe22e4348c0e9ec1592a9c001577a42f2b8fed0f
ARM: dts: sun7i: Add wifi dt node on Banana Pro

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: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-bananapro.dts