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.
 -----BEGIN PGP SIGNATURE-----
 
 iQJPBAABCAA5FiEEBd4DzF816k8JZtUlCx85Pw2ZrcUFAl5xpGUbHGJqb3JuLmFu
 ZGVyc3NvbkBsaW5hcm8ub3JnAAoJEAsfOT8Nma3FPNUQALMV/qh54J3eHFrqfNDv
 rGWO2jpYXKftCHeg46DQ/Mi8nswZHNqa7zGbFvIlooVHZFELfKs4bAU8ndgDa+gj
 DCSXZO7SoUmn5Vd+WfkKzqsPOP2tPK8eTyQPNTdyKHPqi9q+8zA93fJOZuqg2lRE
 CdQiEpg+y1WuKCJriXK0Qwtxe066DpyGM4I72vQhTf/f9Sv1ltCuqNhRMxw8gpjM
 wR5LhZC9fAmUGPUt4QTHgzygkHvou+mRKCfQi1cRbWBnN9+aKgnBMi+JwuKrarT7
 gsP9Ja1g9YlKCXSVIEpjVYWM+bovyMRvy79InZd1BQW5+pAZlE+rH5zOXd6rU1Ks
 9JBiWGESy6McEo1TFi8APMUddGnYktwWAtMeHWrVFAczbU6hdnrhcediKR7Mer/y
 UTu7U1kwvqOcZ0F85kXNnpqYteno3cG/J2J5BVc03k0lb2DxnkMuO1lQtROLjkuI
 fqo84xtG2hpuJkKFVcJbG8GewniC3Xy52esPf5bnzkw1kU4HGS/hvpEg+mIWlBbT
 5+l9wE1pBm0hEbT4GyIIXmBaEKGe4PfVGhZiaxY8P6d7RyjF3iHiaITQ6UzBbBBH
 NKNJVk7AtFRFqpfLQVhPCf/yi7qh6pzOeTtBKTq+wEzUHsk7GVRXrglAIsk1YTuf
 qclhE/zuP7xngMAcscUoEBdg
 =1cGm
 -----END PGP SIGNATURE-----

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@yoga
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2020-03-25 22:38:00 +01:00
commit b7e31b639e
10 changed files with 113 additions and 0 deletions

View File

@ -350,6 +350,7 @@ tlmm_pinmux: pinctrl@800000 {
reg = <0x800000 0x4000>;
gpio-controller;
gpio-ranges = <&tlmm_pinmux 0 0 90>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;

View File

@ -403,6 +403,7 @@ tlmm: pinctrl@fd510000 {
compatible = "qcom,apq8084-pinctrl";
reg = <0xfd510000 0x4000>;
gpio-controller;
gpio-ranges = <&tlmm 0 0 147>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;

View File

@ -201,6 +201,7 @@ tlmm: pinctrl@1000000 {
compatible = "qcom,ipq4019-pinctrl";
reg = <0x01000000 0x300000>;
gpio-controller;
gpio-ranges = <&tlmm 0 0 100>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;

View File

@ -119,6 +119,7 @@ qcom_pinmux: pinmux@800000 {
reg = <0x800000 0x4000>;
gpio-controller;
gpio-ranges = <&qcom_pinmux 0 0 69>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;

View File

@ -128,6 +128,7 @@ timer@200a000 {
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;

View File

@ -115,6 +115,7 @@ tlmm: pinctrl@800000 {
reg = <0x800000 0x4000>;
gpio-controller;
gpio-ranges = <&tlmm 0 0 173>;
#gpio-cells = <2>;
interrupts = <0 16 0x4>;
interrupt-controller;

View File

@ -107,6 +107,7 @@ timer@200a000 {
msmgpio: pinctrl@800000 {
compatible = "qcom,msm8960-pinctrl";
gpio-controller;
gpio-ranges = <&msmgpio 0 0 152>;
#gpio-cells = <2>;
interrupts = <0 16 0x4>;
interrupt-controller;

View File

@ -12,6 +12,7 @@ / {
aliases {
serial0 = &blsp1_uart1;
serial1 = &blsp2_uart10;
};
chosen {
@ -355,6 +356,57 @@ te {
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 @@ 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 {
status = "ok";
pinctrl-names = "default";

View File

@ -260,6 +260,31 @@ l24 {
};
&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";

View File

@ -715,6 +715,15 @@ blsp1_uart2: serial@f991e000 {
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 @@ msmgpio: pinctrl@fd510000 {
compatible = "qcom,msm8974-pinctrl";
reg = <0xfd510000 0x4000>;
gpio-controller;
gpio-ranges = <&msmgpio 0 0 146>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;