MIPS: DTS: CI20: Enable support for WiFi / Bluetooth
authorPaul Cercueil <paul@crapouillou.net>
Sun, 4 Jun 2023 14:56:40 +0000 (16:56 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 9 Jun 2023 07:55:38 +0000 (09:55 +0200)
commitc9f4b25272843bcf6a86809915ccfb4fd7436c91
tree9abc95e42c838b2bf4b1f6493021c21d767539d7
parent868b70b9e6bd8d211cb846ad332c777591b68c8f
MIPS: DTS: CI20: Enable support for WiFi / Bluetooth

Wire the WiFi/Bluetooth chip properly in the Device Tree.

- Provide it with the correct regulators and clocks;
- Change the MMC I/O bus to 1.8V which seems to be enough;
- Change the MMC I/O bus frequency to 25 MHz as 50 MHz causes errors;
- Fix the Bluetooth powerdown GPIO being inverted and add reset GPIO;
- Convert host-wakeup-gpios to IRQ.

With these changes, the WiFi works properly with the latest firmware
provided by linux-firmware. The Bluetooth does not work very well here,
as I cannot get my wireless keyboard to pair; but it does detect it, and
it does see the key presses when I type the pairing code.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/ingenic/ci20.dts