提交 b7e31b63 编写于 作者: A Arnd Bergmann

Merge tag 'qcom-dts-for-5.7' of...

Merge tag 'qcom-dts-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/dt

Qualcomm ARM dts updates for v5.7

This adds Bluetooth support on Nexus 5, USB on Xperia Z1 and defines
gpio-ranges throughout the various gpio-controllers.

* tag 'qcom-dts-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
  ARM: dts: qcom: add gpio-ranges property
  ARM: dts: qcom: msm8974-hammerhead: add support for bluetooth
  ARM: dts: qcom: msm8974: add blsp2_uart10
  ARM: dts: qcom: msm8974-honami: Add USB node.

Link: https://lore.kernel.org/r/20200318044305.GE470201@yogaSigned-off-by: NArnd Bergmann <arnd@arndb.de>
......@@ -350,6 +350,7 @@
reg = <0x800000 0x4000>;
gpio-controller;
gpio-ranges = <&tlmm_pinmux 0 0 90>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
......
......@@ -403,6 +403,7 @@
compatible = "qcom,apq8084-pinctrl";
reg = <0xfd510000 0x4000>;
gpio-controller;
gpio-ranges = <&tlmm 0 0 147>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
......
......@@ -201,6 +201,7 @@
compatible = "qcom,ipq4019-pinctrl";
reg = <0x01000000 0x300000>;
gpio-controller;
gpio-ranges = <&tlmm 0 0 100>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
......
......@@ -119,6 +119,7 @@
reg = <0x800000 0x4000>;
gpio-controller;
gpio-ranges = <&qcom_pinmux 0 0 69>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
......
......@@ -128,6 +128,7 @@
msmgpio: pinctrl@800000 {
compatible = "qcom,mdm9615-pinctrl";
gpio-controller;
gpio-ranges = <&msmgpio 0 0 88>;
#gpio-cells = <2>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
......
......@@ -115,6 +115,7 @@
reg = <0x800000 0x4000>;
gpio-controller;
gpio-ranges = <&tlmm 0 0 173>;
#gpio-cells = <2>;
interrupts = <0 16 0x4>;
interrupt-controller;
......
......@@ -107,6 +107,7 @@
msmgpio: pinctrl@800000 {
compatible = "qcom,msm8960-pinctrl";
gpio-controller;
gpio-ranges = <&msmgpio 0 0 152>;
#gpio-cells = <2>;
interrupts = <0 16 0x4>;
interrupt-controller;
......
......@@ -12,6 +12,7 @@
aliases {
serial0 = &blsp1_uart1;
serial1 = &blsp2_uart10;
};
chosen {
......@@ -355,6 +356,57 @@
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 {
......@@ -418,6 +470,25 @@
};
};
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 {
status = "ok";
pinctrl-names = "default";
......
......@@ -260,6 +260,31 @@
};
&soc {
usb@f9a55000 {
status = "ok";
phys = <&usb_hs1_phy>;
phy-select = <&tcsr 0xb000 0>;
extcon = <&smbb>, <&usb_id>;
vbus-supply = <&chg_otg>;
hnp-disable;
srp-disable;
adp-disable;
ulpi {
phy@a {
status = "ok";
v1p8-supply = <&pm8941_l6>;
v3p3-supply = <&pm8941_l24>;
extcon = <&smbb>;
qcom,init-seq = /bits/ 8 <0x1 0x64>;
};
};
};
sdhci@f9824900 {
status = "ok";
......
......@@ -715,6 +715,15 @@
status = "disabled";
};
blsp2_uart10: serial@f9960000 {
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
reg = <0xf9960000 0x1000>;
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&gcc GCC_BLSP2_UART4_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
clock-names = "core", "iface";
status = "disabled";
};
sdhci@f9824900 {
compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
......@@ -925,6 +934,7 @@
compatible = "qcom,msm8974-pinctrl";
reg = <0xfd510000 0x4000>;
gpio-controller;
gpio-ranges = <&msmgpio 0 0 146>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册