From 920915a0d5495b1185391cceb92f9d5b26a875e4 Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Mon, 13 Sep 2021 01:18:01 +0200 Subject: [PATCH 1001/1021] riscv: dts: starfive: Enable Bluetooth on JH7100 boards Add pinctrl and UART nodes for the Broadcom Wifi/Bluetooth module on the BeagleV Starlight and StarFive VisionFive V1 boards. Signed-off-by: Emil Renner Berthing --- .../boot/dts/starfive/jh7100-common.dtsi | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) --- a/arch/riscv/boot/dts/starfive/jh7100-common.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7100-common.dtsi @@ -289,6 +289,41 @@ }; }; + uart0_pins: uart0-0 { + rx-pins { + pinmux = ; + bias-pull-up; + drive-strength = <14>; + input-enable; + input-schmitt-enable; + }; + tx-pins { + pinmux = ; + bias-disable; + drive-strength = <35>; + input-disable; + input-schmitt-disable; + }; + cts-pins { + pinmux = ; + bias-pull-down; + drive-strength = <14>; + input-enable; + input-schmitt-enable; + }; + rts-pins { + pinmux = ; + bias-disable; + drive-strength = <35>; + input-disable; + input-schmitt-disable; + }; + }; + uart3_pins: uart3-0 { rx-pins { pinmux = ; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "brcm,bcm4330-bt"; + max-speed = <4000000>; + device-wakeup-gpios = <&gpio 38 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio 35 GPIO_ACTIVE_LOW>; + }; +}; + &uart3 { pinctrl-names = "default"; pinctrl-0 = <&uart3_pins>;