Commit 231cb93c authored by Jonathan Marek's avatar Jonathan Marek Committed by Bjorn Andersson

ARM: dts: qcom: msm8974-hammerhead: add support for bluetooth

Add support for the bluetooth found on the Nexus 5 phone.
Signed-off-by: default avatarJonathan Marek <jonathan@marek.ca>
[masneyb@onstation.org: formatting cleanups; remove sleep clock; patch
 extracted from much larger out of tree patch.]
Signed-off-by: default avatarBrian Masney <masneyb@onstation.org>
Link: https://lore.kernel.org/r/20200129232031.34538-4-masneyb@onstation.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 726a1176
...@@ -12,6 +12,7 @@ / { ...@@ -12,6 +12,7 @@ / {
aliases { aliases {
serial0 = &blsp1_uart1; serial0 = &blsp1_uart1;
serial1 = &blsp2_uart10;
}; };
chosen { chosen {
...@@ -355,6 +356,57 @@ te { ...@@ -355,6 +356,57 @@ te {
bias-disable; bias-disable;
}; };
}; };
bt_pin: bt {
hostwake {
pins = "gpio42";
function = "gpio";
};
devwake {
pins = "gpio62";
function = "gpio";
};
shutdown {
pins = "gpio41";
function = "gpio";
};
};
blsp2_uart10_pin_a: blsp2-uart10-pin-active {
tx {
pins = "gpio53";
function = "blsp_uart10";
drive-strength = <2>;
bias-disable;
};
rx {
pins = "gpio54";
function = "blsp_uart10";
drive-strength = <2>;
bias-pull-up;
};
cts {
pins = "gpio55";
function = "blsp_uart10";
drive-strength = <2>;
bias-pull-up;
};
rts {
pins = "gpio56";
function = "blsp_uart10";
drive-strength = <2>;
bias-disable;
};
};
}; };
sdhci@f9824900 { sdhci@f9824900 {
...@@ -418,6 +470,25 @@ volume-down { ...@@ -418,6 +470,25 @@ volume-down {
}; };
}; };
serial@f9960000 {
status = "ok";
pinctrl-names = "default";
pinctrl-0 = <&blsp2_uart10_pin_a>;
bluetooth {
compatible = "brcm,bcm43438-bt";
max-speed = <3000000>;
pinctrl-names = "default";
pinctrl-0 = <&bt_pin>;
host-wakeup-gpios = <&msmgpio 42 GPIO_ACTIVE_HIGH>;
device-wakeup-gpios = <&msmgpio 62 GPIO_ACTIVE_HIGH>;
shutdown-gpios = <&msmgpio 41 GPIO_ACTIVE_HIGH>;
};
};
i2c@f9967000 { i2c@f9967000 {
status = "ok"; status = "ok";
pinctrl-names = "default"; pinctrl-names = "default";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment