Skip to content

Commit

Permalink
Merge tag 'qcom-dt-for-3.18-3' of git://git.kernel.org/pub/scm/linux/…
Browse files Browse the repository at this point in the history
…kernel/git/galak/linux-qcom into fixes

Merge "qcom DT changes for v3.18-3" from Kumar Gala:

Qualcomm ARM Based Device Tree Updates for v3.18-3

* Added Board support for CM-QS600 and Sony Xperia Z1 phone
* Added SATA support on IPQ8064/AP148

* tag 'qcom-dt-for-3.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom:
  ARM: dts: qcom: add CM-QS600 board
  ARM: dts: qcom: Add initial DTS file for Sony Xperia Z1 phone
  ARM: dts: qcom: Add SATA support on IPQ8064/AP148
  • Loading branch information
olofj committed Oct 19, 2014
2 parents e29c648 + 7dac24b commit 5776451
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 1 deletion.
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/vendor-prefixes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ sitronix Sitronix Technology Corporation
smsc Standard Microsystems Corporation
snps Synopsys, Inc.
solidrun SolidRun
sony Sony Corporation
spansion Spansion Inc.
st STMicroelectronics
ste ST-Ericsson
Expand Down
4 changes: 3 additions & 1 deletion arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -354,13 +354,15 @@ dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-d2-network.dtb \
orion5x-rd88f5182-nas.dtb
dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb
dtb-$(CONFIG_ARCH_QCOM) += \
qcom-apq8064-cm-qs600.dtb \
qcom-apq8064-ifc6410.dtb \
qcom-apq8074-dragonboard.dtb \
qcom-apq8084-ifc6540.dtb \
qcom-apq8084-mtp.dtb \
qcom-ipq8064-ap148.dtb \
qcom-msm8660-surf.dtb \
qcom-msm8960-cdp.dtb
qcom-msm8960-cdp.dtb \
qcom-msm8974-sony-xperia-honami.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += \
rk3066a-bqcurie2.dtb \
rk3188-radxarock.dtb \
Expand Down
59 changes: 59 additions & 0 deletions arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#include "qcom-apq8064-v2.0.dtsi"

/ {
model = "CompuLab CM-QS600";
compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064";

soc {
pinctrl@800000 {
i2c1_pins: i2c1 {
mux {
pins = "gpio20", "gpio21";
function = "gsbi1";
};
};
};

gsbi@12440000 {
status = "okay";
qcom,mode = <GSBI_PROT_I2C>;

i2c@12460000 {
status = "okay";
clock-frequency = <200000>;
pinctrl-0 = <&i2c1_pins>;
pinctrl-names = "default";

eeprom: eeprom@50 {
compatible = "24c02";
reg = <0x50>;
pagesize = <32>;
};
};
};

gsbi@16600000 {
status = "ok";
qcom,mode = <GSBI_PROT_I2C_UART>;
serial@16640000 {
status = "ok";
};
};

amba {
/* eMMC */
sdcc1: sdcc@12400000 {
status = "okay";
};

/* External micro SD card */
sdcc3: sdcc@12180000 {
status = "okay";
};
/* WLAN */
sdcc4: sdcc@121c0000 {
status = "okay";
};
};
};
};
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 @@ -81,5 +81,13 @@
};
};
};

sata-phy@1b400000 {
status = "ok";
};

sata@29000000 {
status = "ok";
};
};
};
33 changes: 33 additions & 0 deletions arch/arm/boot/dts/qcom-ipq8064.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,39 @@
};
};

sata_phy: sata-phy@1b400000 {
compatible = "qcom,ipq806x-sata-phy";
reg = <0x1b400000 0x200>;

clocks = <&gcc SATA_PHY_CFG_CLK>;
clock-names = "cfg";

#phy-cells = <0>;
status = "disabled";
};

sata@29000000 {
compatible = "qcom,ipq806x-ahci", "generic-ahci";
reg = <0x29000000 0x180>;

interrupts = <0 209 0x0>;

clocks = <&gcc SFAB_SATA_S_H_CLK>,
<&gcc SATA_H_CLK>,
<&gcc SATA_A_CLK>,
<&gcc SATA_RXOOB_CLK>,
<&gcc SATA_PMALIVE_CLK>;
clock-names = "slave_face", "iface", "core",
"rxoob", "pmalive";

assigned-clocks = <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>;
assigned-clock-rates = <100000000>, <100000000>;

phys = <&sata_phy>;
phy-names = "sata-phy";
status = "disabled";
};

qcom,ssbi@500000 {
compatible = "qcom,ssbi";
reg = <0x00500000 0x1000>;
Expand Down
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include "qcom-msm8974.dtsi"

/ {
model = "Sony Xperia Z1";
compatible = "sony,xperia-honami", "qcom,msm8974";

memory@0 {
reg = <0 0x40000000>, <0x40000000 0x40000000>;
device_type = "memory";
};
};

&soc {
serial@f991e000 {
status = "ok";
};
};

0 comments on commit 5776451

Please sign in to comment.