Skip to contentSkip to conversation

dt-bindings: arm: Add Gateworks i.MX8M GW7905-2x board

PATCH Applied Tim Harvey 2 participants 3 messages May 16, 2023 – May 27, 2023

Subsystems (2)
lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH v2 1/2 dt-bindings: arm: Add Gateworks i.MX8M GW7905-2x board

Add DT compatible string for a Gateworks GW7905-2x board based on the i.MX8MPlus from NXP.

---
v2:
- add Krzysztof's tag

 Documentation/devicetree/bindings/arm/fsl.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/fsl.yaml +1 -0
index 15d411084065..d041d54d62c7 100644
@@ -1019,6 +1019,7 @@ properties:
               - dmo,imx8mp-data-modul-edm-sbc # i.MX8MP eDM SBC
               - fsl,imx8mp-evk            # i.MX8MP EVK Board
               - gateworks,imx8mp-gw74xx   # i.MX8MP Gateworks Board
+              - gateworks,imx8mp-gw7905-2x # i.MX8MP Gateworks Board
               - polyhex,imx8mp-debix      # Polyhex Debix boards
               - polyhex,imx8mp-debix-model-a # Polyhex Debix Model A Board
               - toradex,verdin-imx8mp     # Verdin iMX8M Plus Modules
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH v2 2/2 arm64: dts: freescale: Add imx8mp-venice-gw7905-2x

The Gateworks imx8mp-venice-gw7905-2x consists of a SOM + baseboard.

The GW702x SOM contains the following:
- i.MX8M Plus SoC
- LPDDR4 memory
- eMMC Boot device
- Gateworks System Controller (GSC) with integrated EEPROM, button controller, and ADC's
- PMIC
- RGMII PHY (eQoS)
- SOM connector providing:
- eQoS GbE MII
- 1x SPI
- 2x I2C
- 4x UART
- 2x USB 3.0
- 1x PCI
- 1x SDIO (4-bit 3.3V)
- 1x SDIO (4-bit 3.3V/1.8V)
- GPIO

The GW7905 Baseboard contains the following:
- GPS
- microSD
- off-board I/O connector with I2C, SPI, GPIO
- EERPOM
- PCIe clock generator
- 1x full-length miniPCIe socket with PCI/USB3 (via mux) and USB2.0
- 1x half-length miniPCIe socket with USB2.0 and USB3.0
- USB 3.0 HUB
- USB Type-C with USB PD Sink capability and peripheral support
- USB Type-C with USB 3.0 host support

---
v2:
- add missing Makefile entry
- remove pcie clock props that are now in imx8mp.dtsi
- removed unnecessary blank line
- remove address-cells/size-cells from fan-controller node as they are not needed

---
 arch/arm64/boot/dts/freescale/Makefile        |   1 +
 .../dts/freescale/imx8mp-venice-gw702x.dtsi   | 587 ++++++++++++++++++
 .../dts/freescale/imx8mp-venice-gw7905-2x.dts |  28 +
 .../dts/freescale/imx8mp-venice-gw7905.dtsi   | 309 +++++++++
 4 files changed, 925 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-venice-gw7905-2x.dts
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-venice-gw7905.dtsi
arch/arm64/boot/dts/freescale/Makefile +1 -0
index ef7d17aef58f..d94d464db03e 100644
@@ -99,6 +99,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-msc-sm2s-ep1.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-tqma8mpql-mba8mpxl.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-venice-gw74xx.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mp-venice-gw7905-2x.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-verdin-nonwifi-dahlia.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-verdin-nonwifi-dev.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-verdin-nonwifi-yavia.dtb
arch/arm64/boot/dts/freescale/imx8mp-venice-gw702x.dtsi new file +587 -0

587 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mp-venice-gw7905-2x.dts new file +28 -0
new file mode 100644
index 000000000000..4a1bbbbe19e6
@@ -0,0 +1,28 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2023 Gateworks Corporation
+ */
+
+/dts-v1/;
+
+#include "imx8mp.dtsi"
+#include "imx8mp-venice-gw702x.dtsi"
+#include "imx8mp-venice-gw7905.dtsi"
+
+/ {
+	model = "Gateworks Venice GW7905-2x i.MX8MP Development Kit";
+	compatible = "gateworks,imx8mp-gw7905-2x", "fsl,imx8mp";
+
+	chosen {
+		stdout-path = &uart2;
+	};
+};
+
+/* Disable SOM interfaces not used on baseboard */
+&eqos {
+	status = "disabled";
+};
+
+&usdhc1 {
+	status = "disabled";
+};
arch/arm64/boot/dts/freescale/imx8mp-venice-gw7905.dtsi new file +309 -0

309 lines not on this page · raw message

Signature · 1 line
2.25.1