Skip to contentSkip to conversation

ARM: dts: imx: Add GW59xx Gateworks specials

PATCH Superseded Robert Jones 2 participants 9 messages Dec 23, 2019 – Dec 24, 2019

Subsystems (3)

v3 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

v3 cover ARM: dts: imx: Add GW59xx Gateworks specials

This series adds board support for the GW59xx Gateworks Ventana family specials.

Changes in v2:
- Generalized node names
- Removed unnecessary labels
- Expanded patch subject
- Removed undocumented compatible string in dts**

** I realize that the "gw,ventana" still exists here, but that cant be removed without breaking a conditional check in arch/arm/mach-imx/mach-imx6q.c

Changes in v3:
- Fixed a conflict in arch/arm/boot/dts/Makefile

Robert Jones (3):
ARM: dts: imx: Add GW5907 board support
ARM: dts: imx: Add GW5913 board support
ARM: dts: imx: Add GW5912 board support

Tim Harvey (1):
ARM: dts: imx: Add GW5910 board support

 arch/arm/boot/dts/Makefile            |   8 +
 arch/arm/boot/dts/imx6dl-gw5907.dts   |  14 +
 arch/arm/boot/dts/imx6dl-gw5910.dts   |  14 +
 arch/arm/boot/dts/imx6dl-gw5912.dts   |  13 +
 arch/arm/boot/dts/imx6dl-gw5913.dts   |  14 +
 arch/arm/boot/dts/imx6q-gw5907.dts    |  14 +
 arch/arm/boot/dts/imx6q-gw5910.dts    |  14 +
 arch/arm/boot/dts/imx6q-gw5912.dts    |  13 +
 arch/arm/boot/dts/imx6q-gw5913.dts    |  14 +
 arch/arm/boot/dts/imx6qdl-gw5907.dtsi | 399 +++++++++++++++++++++++++++
 arch/arm/boot/dts/imx6qdl-gw5910.dtsi | 491 ++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/imx6qdl-gw5912.dtsi | 461 +++++++++++++++++++++++++++++++
 arch/arm/boot/dts/imx6qdl-gw5913.dtsi | 348 ++++++++++++++++++++++++
 13 files changed, 1817 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6dl-gw5907.dts
 create mode 100644 arch/arm/boot/dts/imx6dl-gw5910.dts
 create mode 100644 arch/arm/boot/dts/imx6dl-gw5912.dts
 create mode 100644 arch/arm/boot/dts/imx6dl-gw5913.dts
 create mode 100644 arch/arm/boot/dts/imx6q-gw5907.dts
 create mode 100644 arch/arm/boot/dts/imx6q-gw5910.dts
 create mode 100644 arch/arm/boot/dts/imx6q-gw5912.dts
 create mode 100644 arch/arm/boot/dts/imx6q-gw5913.dts
 create mode 100644 arch/arm/boot/dts/imx6qdl-gw5907.dtsi
 create mode 100644 arch/arm/boot/dts/imx6qdl-gw5910.dtsi
 create mode 100644 arch/arm/boot/dts/imx6qdl-gw5912.dtsi
 create mode 100644 arch/arm/boot/dts/imx6qdl-gw5913.dtsi
Signature · 1 line
2.9.2
#1 lore raw

PATCH v3 1/4 ARM: dts: imx: Add GW5907 board support

The Gateworks GW5907 is an IMX6 SoC based single board computer with:
- IMX6Q or IMX6DL
- 32bit DDR3 DRAM
- FEC GbE Phy
- bi-color front-panel LED
- 256MB NAND boot device
- Gateworks System Controller (hwmon, pushbutton controller, EEPROM)
- Digital IO expander (pca9555)
- Joystick 12bit adc (ads1015)

---
 arch/arm/boot/dts/Makefile            |   2 +
 arch/arm/boot/dts/imx6dl-gw5907.dts   |  14 ++
 arch/arm/boot/dts/imx6q-gw5907.dts    |  14 ++
 arch/arm/boot/dts/imx6qdl-gw5907.dtsi | 399 ++++++++++++++++++++++++++++++++++
 4 files changed, 429 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6dl-gw5907.dts
 create mode 100644 arch/arm/boot/dts/imx6q-gw5907.dts
 create mode 100644 arch/arm/boot/dts/imx6qdl-gw5907.dtsi
arch/arm/boot/dts/Makefile +2 -0
index 1e9e1af..9ee80e2 100644
@@ -422,6 +422,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6dl-gw560x.dtb \
 	imx6dl-gw5903.dtb \
 	imx6dl-gw5904.dtb \
+	imx6dl-gw5907.dtb \
 	imx6dl-hummingboard.dtb \
 	imx6dl-hummingboard-emmc-som-v15.dtb \
 	imx6dl-hummingboard-som-v15.dtb \
@@ -493,6 +494,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6q-gw560x.dtb \
 	imx6q-gw5903.dtb \
 	imx6q-gw5904.dtb \
+	imx6q-gw5907.dtb \
 	imx6q-h100.dtb \
 	imx6q-hummingboard.dtb \
 	imx6q-hummingboard-emmc-som-v15.dtb \
arch/arm/boot/dts/imx6dl-gw5907.dts new file +14 -0
new file mode 100644
index 0000000..7d9fe47
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright 2019 Gateworks Corporation
+ */
+
+/dts-v1/;
+
+#include "imx6dl.dtsi"
+#include "imx6qdl-gw5907.dtsi"
+
+/ {
+	model = "Gateworks Ventana i.MX6 DualLite/Solo GW5907";
+	compatible = "gw,ventana", "fsl,imx6dl";
+};
arch/arm/boot/dts/imx6q-gw5907.dts new file +14 -0
new file mode 100644
index 0000000..63e0bef
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright 2019 Gateworks Corporation
+ */
+
+/dts-v1/;
+
+#include "imx6q.dtsi"
+#include "imx6qdl-gw5907.dtsi"
+
+/ {
+	model = "Gateworks Ventana i.MX6 Dual/Quad GW5907";
+	compatible = "gw,ventana", "fsl,imx6q";
+};
arch/arm/boot/dts/imx6qdl-gw5907.dtsi new file +399 -0

399 lines not on this page · raw message

Signature · 1 line
2.9.2
reviewer
#2 lore raw

Re: [PATCH v3 1/4] ARM: dts: imx: Add GW5907 board support

Hi Robert,

Quoted 11 lines · Robert Jones

The Gateworks GW5907 is an IMX6 SoC based single board computer with:
- IMX6Q or IMX6DL
- 32bit DDR3 DRAM
- FEC GbE Phy
- bi-color front-panel LED
- 256MB NAND boot device
- Gateworks System Controller (hwmon, pushbutton controller, EEPROM)
- Digital IO expander (pca9555)
- Joystick 12bit adc (ads1015)

Quoted 2 lines

Not clear on the authorship on this patch.

If the original author is Tim, then his name should appear in the From field.

Quoted 15 lines
---
 arch/arm/boot/dts/Makefile            |   2 +
 arch/arm/boot/dts/imx6dl-gw5907.dts   |  14 ++
 arch/arm/boot/dts/imx6q-gw5907.dts    |  14 ++
 arch/arm/boot/dts/imx6qdl-gw5907.dtsi | 399 ++++++++++++++++++++++++++++++++++
 4 files changed, 429 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6dl-gw5907.dts
 create mode 100644 arch/arm/boot/dts/imx6q-gw5907.dts
 create mode 100644 arch/arm/boot/dts/imx6qdl-gw5907.dtsi
arch/arm/boot/dts/Makefile +0 -0
index 1e9e1af..9ee80e2 100644

arch/arm/boot/dts/Makefile dtb-$(CONFIG_SOC_IMX6Q) += \ · line 425

Quoted 4 lines
arch/arm/boot/dts/Makefile +1 -0
@@ -422,6 +422,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6dl-gw560x.dtb \
        imx6dl-gw5903.dtb \
        imx6dl-gw5904.dtb \
+       imx6dl-gw5907.dtb \

You should add an additional patch that add these new boards in Documentation/devicetree/bindings/arm/fsl.yaml

#3 lore raw

Re: [PATCH v3 1/4] ARM: dts: imx: Add GW5907 board support

Quoted 15 lines · Fabio Estevam

Hi Robert,

Quoted 11 lines · Robert Jones

The Gateworks GW5907 is an IMX6 SoC based single board computer with:
- IMX6Q or IMX6DL
- 32bit DDR3 DRAM
- FEC GbE Phy
- bi-color front-panel LED
- 256MB NAND boot device
- Gateworks System Controller (hwmon, pushbutton controller, EEPROM)
- Digital IO expander (pca9555)
- Joystick 12bit adc (ads1015)

Quoted 7 lines
Quoted 2 lines

Not clear on the authorship on this patch.

If the original author is Tim, then his name should appear in the From field.

Original author for all but the GW5910 patch was myself. It's probably not clear here but Tim reviewed the patches prior to submission and had me add him as a Signed-off-by.

Would it be better to just remove those lines from the patches in this case?

Quoted 10 lines
Quoted 10 lines
---
 arch/arm/boot/dts/Makefile            |   2 +
 arch/arm/boot/dts/imx6dl-gw5907.dts   |  14 ++
 arch/arm/boot/dts/imx6q-gw5907.dts    |  14 ++
 arch/arm/boot/dts/imx6qdl-gw5907.dtsi | 399 ++++++++++++++++++++++++++++++++++
 4 files changed, 429 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6dl-gw5907.dts
 create mode 100644 arch/arm/boot/dts/imx6q-gw5907.dts
 create mode 100644 arch/arm/boot/dts/imx6qdl-gw5907.dtsi
Quoted 12 lines

arch/arm/boot/dts/Makefile dtb-$(CONFIG_SOC_IMX6Q) += \ · line 425

Quoted 9 lines
arch/arm/boot/dts/Makefile +1 -0
index 1e9e1af..9ee80e2 100644
@@ -422,6 +422,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6dl-gw560x.dtb \
        imx6dl-gw5903.dtb \
        imx6dl-gw5904.dtb \
+       imx6dl-gw5907.dtb \

You should add an additional patch that add these new boards in Documentation/devicetree/bindings/arm/fsl.yaml

So I was planning on just adding an enum line for "gw,ventana" under the i.MX6DL and i.MX6Q based Boards sections. Would that be sufficient?

We have a lot of individual custom boards and it doesn't seem correct to add individual strings for every one in both sections.

reviewer
#4 lore raw

Re: [PATCH v3 1/4] ARM: dts: imx: Add GW5907 board support

Quoted 3 lines · Bobby Jones

Original author for all but the GW5910 patch was myself. It's probably not clear here but Tim reviewed the patches prior to submission and had me add him as a Signed-off-by.

You can add Tim's Reviewed-by tag below your Signed-off-by tag in this case.

Quoted 6 lines

So I was planning on just adding an enum line for "gw,ventana" under the i.MX6DL and i.MX6Q based Boards sections. Would that be sufficient?

We have a lot of individual custom boards and it doesn't seem correct to add individual strings for every one in both sections.

You should add all Ventana dtbs into fsl.yaml.

#5 lore raw

PATCH v3 2/4 ARM: dts: imx: Add GW5910 board support

In reply to Robert Jones

From: Tim Harvey <[email protected]>

The Gateworks GW5910 is an IMX6 SoC based single board computer with:
- IMX6Q or IMX6DL
- 32bit DDR3 DRAM
- FEC GbE RJ45 front-panel
- 1x miniPCIe socket with PCI Gen2, USB2
- 1x miniPCIe socket with PCI Gen2, USB2, nanoSIM
- 5V to 60V DC input barrel jack
- 3axis accelerometer (lis2de12)
- GPS (ublox ZOE-M8Q)
- bi-color front-panel LED
- 256MB NAND boot device
- microSD socket (with UHS-I support)
- user pushbutton
- Gateworks System Controller (hwmon, pushbutton controller, EEPROM)
- Dual-Band Wireless MCU (CC1352, UART/I2S interrconnect to IMX6)
- WiFi/Bluetooth/BLE module (Sterling-LSW, SDIO/UART interconnect to IMX6)
- RS232 transceiver (1x UART with flow-control or 2x UART (build option)
- off-board SPI connector (1x chip-select)

---
 arch/arm/boot/dts/Makefile            |   2 +
 arch/arm/boot/dts/imx6dl-gw5910.dts   |  14 +
 arch/arm/boot/dts/imx6q-gw5910.dts    |  14 +
 arch/arm/boot/dts/imx6qdl-gw5910.dtsi | 491 ++++++++++++++++++++++++++++++++++
 4 files changed, 521 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6dl-gw5910.dts
 create mode 100644 arch/arm/boot/dts/imx6q-gw5910.dts
 create mode 100644 arch/arm/boot/dts/imx6qdl-gw5910.dtsi
arch/arm/boot/dts/Makefile +2 -0
index 9ee80e2..85e53cc 100644
@@ -423,6 +423,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6dl-gw5903.dtb \
 	imx6dl-gw5904.dtb \
 	imx6dl-gw5907.dtb \
+	imx6dl-gw5910.dtb \
 	imx6dl-hummingboard.dtb \
 	imx6dl-hummingboard-emmc-som-v15.dtb \
 	imx6dl-hummingboard-som-v15.dtb \
@@ -495,6 +496,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6q-gw5903.dtb \
 	imx6q-gw5904.dtb \
 	imx6q-gw5907.dtb \
+	imx6q-gw5910.dtb \
 	imx6q-h100.dtb \
 	imx6q-hummingboard.dtb \
 	imx6q-hummingboard-emmc-som-v15.dtb \
arch/arm/boot/dts/imx6dl-gw5910.dts new file +14 -0
new file mode 100644
index 0000000..fbff923
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright 2019 Gateworks Corporation
+ */
+
+/dts-v1/;
+
+#include "imx6dl.dtsi"
+#include "imx6qdl-gw5910.dtsi"
+
+/ {
+	model = "Gateworks Ventana i.MX6 DualLite/Solo GW5910";
+	compatible = "gw,ventana", "fsl,imx6dl";
+};
arch/arm/boot/dts/imx6q-gw5910.dts new file +14 -0
new file mode 100644
index 0000000..0fed6f9
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright 2019 Gateworks Corporation
+ */
+
+/dts-v1/;
+
+#include "imx6q.dtsi"
+#include "imx6qdl-gw5910.dtsi"
+
+/ {
+	model = "Gateworks Ventana i.MX6 Dual/Quad GW5910";
+	compatible = "gw,ventana", "fsl,imx6q";
+};
arch/arm/boot/dts/imx6qdl-gw5910.dtsi new file +491 -0

491 lines not on this page · raw message

Signature · 1 line
2.9.2
reviewer
#6 lore raw

Re: [PATCH v3 2/4] ARM: dts: imx: Add GW5910 board support

Quoted 22 lines · Robert Jones

From: Tim Harvey <[email protected]>

The Gateworks GW5910 is an IMX6 SoC based single board computer with:
- IMX6Q or IMX6DL
- 32bit DDR3 DRAM
- FEC GbE RJ45 front-panel
- 1x miniPCIe socket with PCI Gen2, USB2
- 1x miniPCIe socket with PCI Gen2, USB2, nanoSIM
- 5V to 60V DC input barrel jack
- 3axis accelerometer (lis2de12)
- GPS (ublox ZOE-M8Q)
- bi-color front-panel LED
- 256MB NAND boot device
- microSD socket (with UHS-I support)
- user pushbutton
- Gateworks System Controller (hwmon, pushbutton controller, EEPROM)
- Dual-Band Wireless MCU (CC1352, UART/I2S interrconnect to IMX6)
- WiFi/Bluetooth/BLE module (Sterling-LSW, SDIO/UART interconnect to IMX6)
- RS232 transceiver (1x UART with flow-control or 2x UART (build option)
- off-board SPI connector (1x chip-select)

Quoted 1 line

Ok, this one has Tim as the author, but since you are submitting it, you should also add your Signed-off-by below Tim's.

#7 lore raw

PATCH v3 3/4 ARM: dts: imx: Add GW5913 board support

In reply to Robert Jones

The Gateworks GW5913 is an IMX6 SoC based single board computer with:
- IMX6Q or IMX6DL
- 32bit DDR3 DRAM
- FEC GbE RJ45 front-panel
- 1x miniPCIe socket with PCI Gen2, USB2
- 1x miniPCIe socket with PCI Gen2, USB2, nanoSIM
- 6V to 60V DC input connector
- GPS (ublox ZOE-M8Q)
- bi-color front-panel LED
- 256MB NAND boot device
- nanoSIM socket
- user pushbutton
- Gateworks System Controller (hwmon, pushbutton controller, EEPROM)

---
 arch/arm/boot/dts/Makefile            |   2 +
 arch/arm/boot/dts/imx6dl-gw5913.dts   |  14 ++
 arch/arm/boot/dts/imx6q-gw5913.dts    |  14 ++
 arch/arm/boot/dts/imx6qdl-gw5913.dtsi | 348 ++++++++++++++++++++++++++++++++++
 4 files changed, 378 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6dl-gw5913.dts
 create mode 100644 arch/arm/boot/dts/imx6q-gw5913.dts
 create mode 100644 arch/arm/boot/dts/imx6qdl-gw5913.dtsi
arch/arm/boot/dts/Makefile +2 -0
index 85e53cc..5b059fc 100644
@@ -424,6 +424,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6dl-gw5904.dtb \
 	imx6dl-gw5907.dtb \
 	imx6dl-gw5910.dtb \
+	imx6dl-gw5913.dtb \
 	imx6dl-hummingboard.dtb \
 	imx6dl-hummingboard-emmc-som-v15.dtb \
 	imx6dl-hummingboard-som-v15.dtb \
@@ -497,6 +498,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6q-gw5904.dtb \
 	imx6q-gw5907.dtb \
 	imx6q-gw5910.dtb \
+	imx6q-gw5913.dtb \
 	imx6q-h100.dtb \
 	imx6q-hummingboard.dtb \
 	imx6q-hummingboard-emmc-som-v15.dtb \
arch/arm/boot/dts/imx6dl-gw5913.dts new file +14 -0
new file mode 100644
index 0000000..81475c1
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright 2019 Gateworks Corporation
+ */
+
+/dts-v1/;
+
+#include "imx6dl.dtsi"
+#include "imx6qdl-gw5913.dtsi"
+
+/ {
+	model = "Gateworks Ventana i.MX6 DualLite/Solo GW5913";
+	compatible = "gw,ventana", "fsl,imx6dl";
+};
arch/arm/boot/dts/imx6q-gw5913.dts new file +14 -0
new file mode 100644
index 0000000..09cf350
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright 2019 Gateworks Corporation
+ */
+
+/dts-v1/;
+
+#include "imx6q.dtsi"
+#include "imx6qdl-gw5913.dtsi"
+
+/ {
+	model = "Gateworks Ventana i.MX6 Dual/Quad GW5913";
+	compatible = "gw,ventana", "fsl,imx6q";
+};
arch/arm/boot/dts/imx6qdl-gw5913.dtsi new file +348 -0

348 lines not on this page · raw message

Signature · 1 line
2.9.2
#8 lore raw

PATCH v3 4/4 ARM: dts: imx: Add GW5912 board support

In reply to Robert Jones

The Gateworks GW5912 is an IMX6 SoC based single board computer with:
- IMX6Q or IMX6DL
- 32bit DDR3 DRAM
- GbE RJ45 front-panel
- 4x miniPCIe socket with PCI Gen2, USB2
- 1x miniPCIe socket with PCI Gen2, USB2, mSATA
- 1x miniPCIe socket with PCI Gen2, USB2, mezzanine
- 10V to 60V DC input barrel jack
- 3axis accelerometer (lis2de12)
- GPS (ublox ZOE-M8Q)
- bi-color front-panel LED
- 256MB NAND boot device
- nanoSIM/microSD socket (with UHS-I support)
- user pushbutton
- Gateworks System Controller (hwmon, pushbutton controller, EEPROM)
- CAN Bus transceiver (mcp2562)
- RS232 transceiver (1x UART with flow-control or 2x UART (build option)
- off-board SPI connector (1x chip-select)

---
 arch/arm/boot/dts/Makefile            |   2 +
 arch/arm/boot/dts/imx6dl-gw5912.dts   |  13 +
 arch/arm/boot/dts/imx6q-gw5912.dts    |  13 +
 arch/arm/boot/dts/imx6qdl-gw5912.dtsi | 461 ++++++++++++++++++++++++++++++++++
 4 files changed, 489 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6dl-gw5912.dts
 create mode 100644 arch/arm/boot/dts/imx6q-gw5912.dts
 create mode 100644 arch/arm/boot/dts/imx6qdl-gw5912.dtsi
arch/arm/boot/dts/Makefile +2 -0
index 5b059fc..1a32a7d 100644
@@ -424,6 +424,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6dl-gw5904.dtb \
 	imx6dl-gw5907.dtb \
 	imx6dl-gw5910.dtb \
+	imx6dl-gw5912.dtb \
 	imx6dl-gw5913.dtb \
 	imx6dl-hummingboard.dtb \
 	imx6dl-hummingboard-emmc-som-v15.dtb \
@@ -498,6 +499,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6q-gw5904.dtb \
 	imx6q-gw5907.dtb \
 	imx6q-gw5910.dtb \
+	imx6q-gw5912.dtb \
 	imx6q-gw5913.dtb \
 	imx6q-h100.dtb \
 	imx6q-hummingboard.dtb \
arch/arm/boot/dts/imx6dl-gw5912.dts new file +13 -0
new file mode 100644
index 0000000..7dcc5a8
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright 2019 Gateworks Corporation
+ */
+
+/dts-v1/;
+#include "imx6dl.dtsi"
+#include "imx6qdl-gw5912.dtsi"
+
+/ {
+	model = "Gateworks Ventana i.MX6 DualLite/Solo GW5912";
+	compatible = "gw,ventana", "fsl,imx6dl";
+};
arch/arm/boot/dts/imx6q-gw5912.dts new file +13 -0
new file mode 100644
index 0000000..5cee26c
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright 2019 Gateworks Corporation
+ */
+
+/dts-v1/;
+#include "imx6q.dtsi"
+#include "imx6qdl-gw5912.dtsi"
+
+/ {
+	model = "Gateworks Ventana i.MX6 Dual/Quad GW5912";
+	compatible = "gw,ventana", "fsl,imx6q";
+};
arch/arm/boot/dts/imx6qdl-gw5912.dtsi new file +461 -0

461 lines not on this page · raw message

Signature · 1 line
2.9.2