Skip to contentSkip to conversation

ARM: qcom: Add initial APQ8064 SoC and IFC6410 board device trees

PATCH New Kumar Gala 1 participant 1 message May 28, 2014

Subsystems (6)
lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH v3 1/1 ARM: qcom: Add initial APQ8064 SoC and IFC6410 board device trees

Add basic APQ8064 SoC include device tree and support for basic booting on the IFC6410 board. Also, keep dtb build list and qcom_dt_match in sorted order.

---
v3:
* Cleanup cpu node to have compatible & enable-method per node and not in the container
* Dropped l2-cache interrupt prop as its not part of any binding
* Cleanup reg whitespace

v2:
* created a v2.0 apq8064.dtsi to handle differences in Si rev in future
* changed /include/ to #include
* added PMU node
* dropped interrupts from cpus node, not currently part of binding

 arch/arm/boot/dts/Makefile                 |   8 +-
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts |  16 +++
 arch/arm/boot/dts/qcom-apq8064-v2.0.dtsi   |   1 +
 arch/arm/boot/dts/qcom-apq8064.dtsi        | 170 +++++++++++++++++++++++++++++
 arch/arm/mach-qcom/board.c                 |   3 +-
 5 files changed, 194 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
 create mode 100644 arch/arm/boot/dts/qcom-apq8064-v2.0.dtsi
 create mode 100644 arch/arm/boot/dts/qcom-apq8064.dtsi
arch/arm/boot/dts/Makefile +5 -3
index 35c146f..c58624f 100644
@@ -291,9 +291,11 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	dra7-evm.dtb
 dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb
 dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb
-dtb-$(CONFIG_ARCH_QCOM) += qcom-msm8660-surf.dtb \
-	qcom-msm8960-cdp.dtb \
-	qcom-apq8074-dragonboard.dtb
+dtb-$(CONFIG_ARCH_QCOM) += \
+	qcom-apq8064-ifc6410.dtb \
+	qcom-apq8074-dragonboard.dtb \
+	qcom-msm8660-surf.dtb \
+	qcom-msm8960-cdp.dtb
 dtb-$(CONFIG_ARCH_U8500) += ste-snowball.dtb \
 	ste-hrefprev60-stuib.dtb \
 	ste-hrefprev60-tvk.dtb \
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts new file +16 -0
new file mode 100644
index 0000000..7c2441d
@@ -0,0 +1,16 @@
+#include "qcom-apq8064-v2.0.dtsi"
+
+/ {
+	model = "Qualcomm APQ8064/IFC6410";
+	compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
+
+	soc {
+		gsbi at 16600000 {
+			status = "ok";
+			qcom,mode = <GSBI_PROT_I2C_UART>;
+			serial at 16640000 {
+				status = "ok";
+			};
+		};
+	};
+};
arch/arm/boot/dts/qcom-apq8064-v2.0.dtsi new file +1 -0
new file mode 100644
index 0000000..935c394
@@ -0,0 +1 @@
+#include "qcom-apq8064.dtsi"
arch/arm/boot/dts/qcom-apq8064.dtsi new file +170 -0

170 lines not on this page · raw message

arch/arm/mach-qcom/board.c +2 -1
index bae617e..350fa8d 100644
@@ -15,9 +15,10 @@
 #include <asm/mach/arch.h>
 
 static const char * const qcom_dt_match[] __initconst = {
+	"qcom,apq8064",
+	"qcom,apq8074-dragonboard",
 	"qcom,msm8660-surf",
 	"qcom,msm8960-cdp",
-	"qcom,apq8074-dragonboard",
 	NULL
 };
 
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation