arm64: dts: allwinner: a64: orangepi-win: Add wifi and bluetooth nodes
authorJernej Skrabec <jernej.skrabec@siol.net>
Tue, 14 May 2019 20:54:45 +0000 (22:54 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 20 May 2019 07:28:02 +0000 (09:28 +0200)
commit85c6fadd185e495a3ef9cd8a60bb70b82b72d941
tree94450e6108ef450cc39907cc1dc0c294c48caa18
parent22538576beb671038bd21be4094432fa8070ad81
arm64: dts: allwinner: a64: orangepi-win: Add wifi and bluetooth nodes

The AP6212 is based on the Broadcom BCM43430 or BCM43438. The WiFi side
identifies as BCM43430, while the Bluetooth side identifies as BCM43438.

WiFi is connected to mmc1 and the Bluetooth side is connected to UART1
in a 4 wire configuration. Same as the WiFi side, due to being the same
chip and package, DLDO2 provides overall power via VBAT, and DLDO4
provides I/O power via VDDIO. The RTC clock output provides the LPO low
power clock at 32.768 kHz.

This patch enables WiFi and Bluetooth on OrangePi Win boards and adds
missing LPO clock on the WiFi side. PCM connection also exists for
Bluetooth audio, but it's not used here.

Bluetooth UART speed is set to 1.5 MBaud in order to be able transmit
audio. While module supports even higher speeds, currently sunxi clock
driver doesn't support higher speed.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts