Skip to contentSkip to conversation

arm64: dts: add basic DTS for imx8qm-rom7720 board

PATCH New Oliver Graute 1 participant 3 messages Jul 1, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover arm64: dts: add basic DTS for imx8qm-rom7720 board

This patchset is ontop of Aisheng Dongs clock driver changes for the imx8qm

https://patchwork.kernel.org/cover/10824537/

This patchset is based on next-20190222

I need information about the status of the integration of the imx8qm clock driver into mainline. Is this ongoing?

I need some hints why the imx8qm-rom7720 do NOT boot with the following changes. It stops at "Starting kernel ..."

Oliver Graute (2):
arm64: add gpio4 and gpio5 to basic DTS for i.MX8MQ
arm64: dts: add basic DTS for imx8qm-rom7720-a1 board

 arch/arm64/boot/dts/freescale/Makefile        |   1 +
 .../boot/dts/freescale/imx8qm-rom7720-a1.dts  | 221 ++++++++++++++++++
 arch/arm64/boot/dts/freescale/imx8qm.dtsi     |  19 ++
 3 files changed, 241 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-rom7720-a1.dts
Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 1/2 arm64: add gpio4 and gpio5 to basic DTS for i.MX8MQ

add gpio4 to imx8qm.dtsi
add gpio5 to imx8qm.dtsi

---
 arch/arm64/boot/dts/freescale/imx8qm.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
arch/arm64/boot/dts/freescale/imx8qm.dtsi +19 -0
index 526cbbddc202..fe4c584625cf 100644
@@ -121,6 +121,25 @@
 		interrupt-parent = <&gic>;
 	};
 
+	gpio4: gpio@5d0c0000 {
+		compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio";
+		reg = <0x0 0x5d0c0000 0x0 0x10000>;
+		interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+};
+	gpio5: gpio@5d0d0000 {
+		compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio";
+		reg = <0x0 0x5d0d0000 0x0 0x10000>;
+		interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
+		 gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+};
+
 	pmu {
 		compatible = "arm,armv8-pmuv3";
 		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.17.1
#2 lore raw

PATCH v2 2/2 arm64: dts: add basic DTS for imx8qm-rom7720-a1 board

In reply to Oliver Graute

Add basic dts support for a Advantech iMX8QM Qseven Board

---
 arch/arm64/boot/dts/freescale/Makefile        |   1 +
 .../boot/dts/freescale/imx8qm-rom7720-a1.dts  | 221 ++++++++++++++++++
 2 files changed, 222 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-rom7720-a1.dts
arch/arm64/boot/dts/freescale/Makefile +1 -0
index b8e5e3bd72c5..b013715c5be1 100644
@@ -23,3 +23,4 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mq-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8qm-mek.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8qm-rom7720-a1.dtb
arch/arm64/boot/dts/freescale/imx8qm-rom7720-a1.dts new file +221 -0

221 lines not on this page · raw message

Signature · 1 line
2.17.1