Merge tag 'for-5.15/io_uring-2021-09-04' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / arch / arm / boot / dts / qcom-msm8974-sony-xperia-castor.dts
index f4ec08f..b4dd85b 100644 (file)
@@ -11,6 +11,7 @@
 
        aliases {
                serial0 = &blsp1_uart2;
+               serial1 = &blsp2_uart7;
        };
 
        chosen {
                pinctrl-0 = <&blsp1_uart2_pin_a>;
        };
 
+       serial@f995d000 {
+               status = "ok";
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&blsp2_uart7_pin_a>;
+
+               bluetooth {
+                       compatible = "brcm,bcm43438-bt";
+                       max-speed = <3000000>;
+
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&bt_host_wake_pin>,
+                                   <&bt_dev_wake_pin>,
+                                   <&bt_reg_on_pin>;
+
+                       host-wakeup-gpios = <&msmgpio 95 GPIO_ACTIVE_HIGH>;
+                       device-wakeup-gpios = <&msmgpio 96 GPIO_ACTIVE_HIGH>;
+                       shutdown-gpios = <&pm8941_gpios 16 GPIO_ACTIVE_HIGH>;
+               };
+       };
+
        usb@f9a55000 {
                status = "okay";
 
                        };
                };
 
+               blsp2_uart7_pin_a: blsp2-uart7-pin-active {
+                       tx {
+                               pins = "gpio41";
+                               function = "blsp_uart7";
+
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+
+                       rx {
+                               pins = "gpio42";
+                               function = "blsp_uart7";
+
+                               drive-strength = <2>;
+                               bias-pull-up;
+                       };
+
+                       cts {
+                               pins = "gpio43";
+                               function = "blsp_uart7";
+
+                               drive-strength = <2>;
+                               bias-pull-up;
+                       };
+
+                       rts {
+                               pins = "gpio44";
+                               function = "blsp_uart7";
+
+                               drive-strength = <2>;
+                               bias-disable;
+                       };
+               };
+
                i2c8_pins: i2c8 {
                        mux {
                                pins = "gpio47", "gpio48";
                                input-enable;
                        };
                };
+
+               bt_host_wake_pin: bt-host-wake {
+                       pins = "gpio95";
+                       function = "gpio";
+
+                       drive-strength = <2>;
+                       bias-disable;
+                       output-low;
+               };
+
+               bt_dev_wake_pin: bt-dev-wake {
+                       pins = "gpio96";
+                       function = "gpio";
+
+                       drive-strength = <2>;
+                       bias-disable;
+               };
        };
 
        i2c@f9964000 {
                                power-source = <PM8941_GPIO_S3>;
                        };
 
+                       bt_reg_on_pin: bt-reg-on {
+                               pins = "gpio16";
+                               function = "normal";
+
+                               output-low;
+                               power-source = <PM8941_GPIO_S3>;
+                       };
+
                        wlan_sleep_clk_pin: wl-sleep-clk {
                                pins = "gpio17";
                                function = "func2";