arm64: dts: qcom: qrb5165-rb5: add the Bluetooth node
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 7 Dec 2023 09:07:06 +0000 (10:07 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sat, 16 Dec 2023 05:21:07 +0000 (23:21 -0600)
Add the Bluetooth node for RB5 as well as its dependencies in the form
of the uart6 -> serial1 alias and the pin function for the Bluetooth
enable GPIO.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231207090706.19134-1-brgl@bgdev.pl
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts

index f9464caddaccea55add6d5553f54b6955c61420d..0431845578736aded1a3bb0b0251b86ede1382a3 100644 (file)
@@ -23,6 +23,7 @@
 
        aliases {
                serial0 = &uart12;
+               serial1 = &uart6;
                sdhc2 = &sdhc_2;
        };
 
                "HST_WLAN_UART_TX",
                "HST_WLAN_UART_RX";
 
+       bt_en_state: bt-default-state {
+               pins = "gpio21";
+               function = "gpio";
+               drive-strength = <16>;
+               output-low;
+               bias-pull-up;
+       };
+
        lt9611_irq_pin: lt9611-irq-state {
                pins = "gpio63";
                function = "gpio";
        };
 };
 
+&uart6 {
+       status = "okay";
+
+       bluetooth {
+               compatible = "qcom,qca6390-bt";
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&bt_en_state>;
+
+               enable-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
+
+               vddio-supply = <&vreg_s4a_1p8>;
+               vddpmu-supply = <&vreg_s2f_0p95>;
+               vddaon-supply = <&vreg_s6a_0p95>;
+               vddrfa0p9-supply = <&vreg_s2f_0p95>;
+               vddrfa1p3-supply = <&vreg_s8c_1p3>;
+               vddrfa1p9-supply = <&vreg_s5a_1p9>;
+       };
+};
+
 &uart12 {
        status = "okay";
 };