Skip to content

Commit

Permalink
Merge tag 'qcom-dt-for-4.3-rc2' of git://codeaurora.org/quic/kernel/a…
Browse files Browse the repository at this point in the history
…gross-msm into next/late

Qualcomm ARM Based Device Tree Updates for v4.3-rc2

* Add labels for serial nodes to be used for aliasing and stdout-path
* Add stdout-path for APQ8064 Compulab QS600
* Add stdout-path for APQ8064 Inforce 6410
* Add stdout-path for APQ8074 Dragonboard
* Add stdout-path for APQ8084 Inforce 6540
* Add stdout-path for APQ8084 MTP
* Add stdout-path for IPQ8064 AP148
* Add stdout-path for MSM8660 Surf
* Add stdout-path for MSM8960 CDP
* Add stdout-path for MSM8974 Xperia Honami

* tag 'qcom-dt-for-4.3-rc2' of git://codeaurora.org/quic/kernel/agross-msm: (24 commits)
  ARM: dts: qcom: msm8974-sony-xperia-honami: Use stdout-path
  ARM: dts: qcom: msm8960-cdp: Use stdout-path
  ARM: dts: qcom: msm8660-surf: Use stdout-path
  ARM: dts: qcom: ipq8064-ap148: Use stdout-path
  ARM: dts: qcom: apq8084-mtp: Use stdout-path
  ARM: dts: qcom: apq8084-ifc6540: Use stdout-path
  ARM: dts: qcom: apq8074-dragonboard: Use stdout-path
  ARM: dts: qcom: apq8064-ifc6410: Use stdout-path
  ARM: dts: qcom: apq8064-cm-qs600: Use stdout-path
  ARM: dts: qcom: Label serial nodes for aliasing and stdout-path
  ARM: dts: qs600: Add real regulators to sdcc
  ARM: dts: ifc6410: add real regulators for sdcc nodes.
  ARM: dts: apq8064: remove temporary fixed regulator for mmc
  ARM: dts: apq8064: fix missing gsbi cell-index
  ARM: dts: apq8064: Add DT support for GSBI6 and for UART pin mux
  ARM: dts: apq8064: add pm8921 mpp support
  ARM: dts: apq8064: Add pm8921 mfd and its gpio node
  ARM: dts: msm8974: Add smem reservation and node
  ARM: dts: msm8974: Add tcsr mutex node
  ARM: dts: qcom: Add ks8851 node for wired ethernet
  ...
  • Loading branch information
Kevin Hilman committed Sep 9, 2015
2 parents 7f98121 + 8f1dc3c commit 312146b
Show file tree
Hide file tree
Showing 15 changed files with 596 additions and 27 deletions.
28 changes: 28 additions & 0 deletions arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
model = "CompuLab CM-QS600";
compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064";

aliases {
serial0 = &gsbi7_serial;
};

chosen {
stdout-path = "serial0:115200n8";
};

soc {
pinctrl@800000 {
i2c1_pins: i2c1 {
Expand Down Expand Up @@ -67,6 +75,12 @@
bias-pull-down;
};

pm8921_l5: l5 {
regulator-min-microvolt = <2750000>;
regulator-max-microvolt = <3000000>;
bias-pull-down;
};

pm8921_l23: l23 {
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <1900000>;
Expand Down Expand Up @@ -140,19 +154,33 @@
status = "okay";
};

/* on board fixed 3.3v supply */
v3p3_fixed: v3p3 {
compatible = "regulator-fixed";
regulator-name = "PCIE V3P3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};

amba {
/* eMMC */
sdcc1: sdcc@12400000 {
status = "okay";
vmmc-supply = <&pm8921_l5>;
vqmmc-supply = <&pm8921_s4>;
};

/* External micro SD card */
sdcc3: sdcc@12180000 {
status = "okay";
vmmc-supply = <&v3p3_fixed>;
};
/* WLAN */
sdcc4: sdcc@121c0000 {
status = "okay";
vmmc-supply = <&v3p3_fixed>;
vqmmc-supply = <&v3p3_fixed>;
};
};
};
Expand Down
44 changes: 44 additions & 0 deletions arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@

aliases {
serial0 = &gsbi7_serial;
serial1 = &gsbi6_serial;
};

chosen {
stdout-path = "serial0:115200n8";
};

soc {
Expand Down Expand Up @@ -73,6 +78,12 @@
bias-pull-down;
};

pm8921_l5: l5 {
regulator-min-microvolt = <2750000>;
regulator-max-microvolt = <3000000>;
bias-pull-down;
};

pm8921_l6: l6 {
regulator-min-microvolt = <2950000>;
regulator-max-microvolt = <2950000>;
Expand All @@ -84,9 +95,25 @@
regulator-max-microvolt = <1900000>;
bias-pull-down;
};

pm8921_lvs1: lvs1 {
bias-pull-down;
};
};
};

ext_3p3v: regulator-fixed@1 {
compatible = "regulator-fixed";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "ext_3p3v";
regulator-type = "voltage";
startup-delay-us = <0>;
gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
};

gsbi3: gsbi@16200000 {
status = "okay";
qcom,mode = <GSBI_PROT_I2C>;
Expand Down Expand Up @@ -115,6 +142,18 @@
};
};

gsbi@16500000 {
status = "ok";
qcom,mode = <GSBI_PROT_I2C_UART>;

serial@16540000 {
status = "ok";

pinctrl-names = "default";
pinctrl-0 = <&uart_pins>;
};
};

gsbi@16600000 {
status = "ok";
qcom,mode = <GSBI_PROT_I2C_UART>;
Expand Down Expand Up @@ -175,18 +214,23 @@
/* eMMC */
sdcc1: sdcc@12400000 {
status = "okay";
vmmc-supply = <&pm8921_l5>;
vqmmc-supply = <&pm8921_s4>;
};

/* External micro SD card */
sdcc3: sdcc@12180000 {
status = "okay";
vmmc-supply = <&pm8921_l6>;
pinctrl-names = "default";
pinctrl-0 = <&card_detect>;
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
};
/* WLAN */
sdcc4: sdcc@121c0000 {
status = "okay";
vmmc-supply = <&ext_3p3v>;
vqmmc-supply = <&pm8921_lvs1>;
};
};
};
Expand Down
91 changes: 77 additions & 14 deletions arch/arm/boot/dts/qcom-apq8064.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <dt-bindings/clock/qcom,mmcc-msm8960.h>
#include <dt-bindings/soc/qcom,gsbi.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

/ {
model = "Qualcomm APQ8064";
compatible = "qcom,apq8064";
Expand Down Expand Up @@ -127,6 +126,13 @@
function = "gsbi3";
};
};

uart_pins: uart_pins {
mux {
pins = "gpio14", "gpio15", "gpio16", "gpio17";
function = "gsbi6";
};
};
};

intc: interrupt-controller@2000000 {
Expand Down Expand Up @@ -243,13 +249,13 @@
gsbi3: gsbi@16200000 {
status = "disabled";
compatible = "qcom,gsbi-v1.0.0";
cell-index = <3>;
reg = <0x16200000 0x100>;
clocks = <&gcc GSBI3_H_CLK>;
clock-names = "iface";
#address-cells = <1>;
#size-cells = <1>;
ranges;

i2c3: i2c@16280000 {
compatible = "qcom,i2c-qup-v1.1.1";
reg = <0x16280000 0x1000>;
Expand All @@ -260,6 +266,28 @@
};
};

gsbi6: gsbi@16500000 {
status = "disabled";
compatible = "qcom,gsbi-v1.0.0";
cell-index = <6>;
reg = <0x16500000 0x03>;
clocks = <&gcc GSBI6_H_CLK>;
clock-names = "iface";
#address-cells = <1>;
#size-cells = <1>;
ranges;

gsbi6_serial: serial@16540000 {
compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
reg = <0x16540000 0x100>,
<0x16500000 0x03>;
interrupts = <0 156 0x0>;
clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
clock-names = "core", "iface";
status = "disabled";
};
};

gsbi7: gsbi@16600000 {
status = "disabled";
compatible = "qcom,gsbi-v1.0.0";
Expand Down Expand Up @@ -287,6 +315,53 @@
compatible = "qcom,ssbi";
reg = <0x00500000 0x1000>;
qcom,controller-type = "pmic-arbiter";

pmicintc: pmic@0 {
compatible = "qcom,pm8921";
interrupt-parent = <&tlmm_pinmux>;
interrupts = <74 8>;
#interrupt-cells = <2>;
interrupt-controller;
#address-cells = <1>;
#size-cells = <0>;

pm8921_gpio: gpio@150 {

compatible = "qcom,pm8921-gpio";
reg = <0x150>;
interrupts = <192 1>, <193 1>, <194 1>,
<195 1>, <196 1>, <197 1>,
<198 1>, <199 1>, <200 1>,
<201 1>, <202 1>, <203 1>,
<204 1>, <205 1>, <206 1>,
<207 1>, <208 1>, <209 1>,
<210 1>, <211 1>, <212 1>,
<213 1>, <214 1>, <215 1>,
<216 1>, <217 1>, <218 1>,
<219 1>, <220 1>, <221 1>,
<222 1>, <223 1>, <224 1>,
<225 1>, <226 1>, <227 1>,
<228 1>, <229 1>, <230 1>,
<231 1>, <232 1>, <233 1>,
<234 1>, <235 1>;

gpio-controller;
#gpio-cells = <2>;

};

pm8921_mpps: mpps@50 {
compatible = "qcom,pm8921-mpp";
reg = <0x50>;
gpio-controller;
#gpio-cells = <2>;
interrupts =
<128 1>, <129 1>, <130 1>, <131 1>,
<132 1>, <133 1>, <134 1>, <135 1>,
<136 1>, <137 1>, <138 1>, <139 1>;
};

};
};

gcc: clock-controller@900000 {
Expand Down Expand Up @@ -448,14 +523,6 @@
};

/* Temporary fixed regulator */
vsdcc_fixed: vsdcc-regulator {
compatible = "regulator-fixed";
regulator-name = "SDCC Power";
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <2700000>;
regulator-always-on;
};

sdcc1bam:dma@12402000{
compatible = "qcom,bam-v1.3.0";
reg = <0x12402000 0x8000>;
Expand Down Expand Up @@ -505,7 +572,6 @@
non-removable;
cap-sd-highspeed;
cap-mmc-highspeed;
vmmc-supply = <&vsdcc_fixed>;
dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
dma-names = "tx", "rx";
};
Expand All @@ -524,7 +590,6 @@
cap-mmc-highspeed;
max-frequency = <192000000>;
no-1-8-v;
vmmc-supply = <&vsdcc_fixed>;
dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
dma-names = "tx", "rx";
};
Expand All @@ -542,8 +607,6 @@
cap-sd-highspeed;
cap-mmc-highspeed;
max-frequency = <48000000>;
vmmc-supply = <&vsdcc_fixed>;
vqmmc-supply = <&vsdcc_fixed>;
dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
dma-names = "tx", "rx";
pinctrl-names = "default";
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
model = "Qualcomm APQ8074 Dragonboard";
compatible = "qcom,apq8074-dragonboard", "qcom,apq8074";

aliases {
serial0 = &blsp1_uart2;
};

chosen {
stdout-path = "serial0:115200n8";
};

soc {
serial@f991e000 {
status = "ok";
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/qcom-apq8084-ifc6540.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
model = "Qualcomm APQ8084/IFC6540";
compatible = "qcom,apq8084-ifc6540", "qcom,apq8084";

aliases {
serial0 = &blsp2_uart2;
};

chosen {
stdout-path = "serial0:115200n8";
};

soc {
serial@f995e000 {
status = "okay";
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/qcom-apq8084-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
model = "Qualcomm APQ 8084-MTP";
compatible = "qcom,apq8084-mtp", "qcom,apq8084";

aliases {
serial0 = &blsp2_uart2;
};

chosen {
stdout-path = "serial0:115200n8";
};

soc {
serial@f995e000 {
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/qcom-apq8084.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
interrupts = <0 208 0>;
};

serial@f995e000 {
blsp2_uart2: serial@f995e000 {
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
reg = <0xf995e000 0x1000>;
interrupts = <0 114 0x0>;
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/qcom-ipq8064-ap148.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
model = "Qualcomm IPQ8064/AP148";
compatible = "qcom,ipq8064-ap148", "qcom,ipq8064";

aliases {
serial0 = &gsbi4_serial;
};

chosen {
stdout-path = "serial0:115200n8";
};

reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/qcom-ipq8064.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@

syscon-tcsr = <&tcsr>;

serial@16340000 {
gsbi4_serial: serial@16340000 {
compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
reg = <0x16340000 0x1000>,
<0x16300000 0x1000>;
Expand Down
Loading

0 comments on commit 312146b

Please sign in to comment.