• Jernej Skrabec's avatar
    arm64: dts: allwinner: a64: orangepi-win: Add wifi and bluetooth nodes · 85c6fadd
    Jernej Skrabec authored
    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: default avatarJernej Skrabec <jernej.skrabec@siol.net>
    Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
    85c6fadd
sun50i-a64-orangepi-win.dts 8.62 KB