* [PATCH v2 1/2] dt-bindings: arm: fsl: Add Gateworks GW7906 board @ 2026-02-04 22:50 Tim Harvey 2026-02-04 22:50 ` [PATCH v2 2/2] arm64: dts: imx: Add i.mx8mm Gateworks GW7906 dts support Tim Harvey 2026-02-05 18:41 ` [PATCH v2 1/2] dt-bindings: arm: fsl: Add Gateworks GW7906 board Conor Dooley 0 siblings, 2 replies; 4+ messages in thread From: Tim Harvey @ 2026-02-04 22:50 UTC (permalink / raw) To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam Cc: devicetree, linux-kernel, imx, linux-arm-kernel, Tim Harvey Add support for the Gateworks GW7906 board based on the i.MX8M Mini SoC. Signed-off-by: Tim Harvey <tharvey@gateworks.com> --- v2: - no changes --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 68a2d5fecc43..46a85f8f9e5c 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -963,6 +963,7 @@ properties: - fsl,imx8mm-evkb # i.MX8MM EVKB Board - gateworks,imx8mm-gw75xx-0x # i.MX8MM Gateworks Board - gateworks,imx8mm-gw7904 + - gateworks,imx8mm-gw7906 # i.MX8MM Gateworks Board - gw,imx8mm-gw71xx-0x # i.MX8MM Gateworks Development Kit - gw,imx8mm-gw72xx-0x # i.MX8MM Gateworks Development Kit - gw,imx8mm-gw73xx-0x # i.MX8MM Gateworks Development Kit -- 2.25.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] arm64: dts: imx: Add i.mx8mm Gateworks GW7906 dts support 2026-02-04 22:50 [PATCH v2 1/2] dt-bindings: arm: fsl: Add Gateworks GW7906 board Tim Harvey @ 2026-02-04 22:50 ` Tim Harvey 2026-02-05 3:32 ` Frank Li 2026-02-05 18:41 ` [PATCH v2 1/2] dt-bindings: arm: fsl: Add Gateworks GW7906 board Conor Dooley 1 sibling, 1 reply; 4+ messages in thread From: Tim Harvey @ 2026-02-04 22:50 UTC (permalink / raw) To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam Cc: devicetree, linux-kernel, imx, linux-arm-kernel, Tim Harvey The GW7906 is based on the i.MX8M Mini SoC featuring: - LPDDR4 DRAM - eMMC FLASH - microSD connector with UHS support - LIS2DE12 3-axis accelerometer - Gateworks System Controller - IMX8M FEC - software selectable RS232/RS485/RS422 serial transceiver - PMIC - 1x isolated RS232 UART - 1x off-board bi-directional opto-isolated digital I/O - 1x M.2 A-E Key Socket and 1x MiniPCIe socket with USB2.0 and PCIe (resistor loading to route PCIe/USB2 between M.2 and MiniPCIe socket) The GW7906 has much in common with the GW7903 so it is used as a base. Differences include: - different GbE PHY - a couple of new GPIO's added - removal of uart1 - removal of io-expander Signed-off-by: Tim Harvey <tharvey@gateworks.com> --- v2: - ran through dt-format - use gw7903 as a base due to little difference in boards --- arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8mm-venice-gw7906.dts | 92 +++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7906.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 700bab4d3e60..83fc7faf81d8 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -167,6 +167,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7901.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7902.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7903.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7904.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7906.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-verdin-nonwifi-dahlia.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-verdin-nonwifi-dev.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-verdin-nonwifi-ivy.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7906.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7906.dts new file mode 100644 index 000000000000..c4d0610e34ab --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7906.dts @@ -0,0 +1,92 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2026 Gateworks Corporation + */ + +/dts-v1/; + +#include <dt-bindings/net/ti-dp83867.h> + +#include "imx8mm-venice-gw7903.dts" + +/ { + compatible = "gateworks,imx8mm-gw7906", "fsl,imx8mm"; + model = "Gateworks Venice GW7906 i.MX8MM board"; +}; + +&fec1 { + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; + tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; + ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; + ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; + ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; + + leds { + #address-cells = <1>; + #size-cells = <0>; + + led@1 { + reg = <1>; + color = <LED_COLOR_ID_AMBER>; + default-state = "keep"; + function = LED_FUNCTION_LAN; + }; + + led@2 { + reg = <2>; + color = <LED_COLOR_ID_GREEN>; + default-state = "keep"; + function = LED_FUNCTION_LAN; + }; + }; + }; + }; +}; + +&gpio2 { + gpio-line-names = "", "", "", "", "", "", "dig1_ctl", "", + "dig1_out#", "dig1_in", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", ""; +}; + +&gpio5 { + gpio-line-names = "iob", "ioa", "", "", "", "", "", "", + "", "", "", "", "pci_wdis#", "", "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", ""; +}; + +&i2c1 { + /delete-node/ gpio@27; +}; + +&iomuxc { + pinctrl-0 = <&pinctrl_hog>; + pinctrl-names = "default"; + + pinctrl_hog: hoggrp { + fsl,pins = < + MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x40000041 /* RS422# */ + MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x40000041 /* RS485# */ + MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x40000041 /* RS232# */ + MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9 0x40000041 /* DIG1_IN */ + MX8MM_IOMUXC_SD1_DATA6_GPIO2_IO8 0x40000041 /* DIG1_OUT */ + MX8MM_IOMUXC_SD1_DATA4_GPIO2_IO6 0x40000041 /* DIG1_CTL */ + MX8MM_IOMUXC_ECSPI2_MISO_GPIO5_IO12 0x40000041 /* PCI_WDIS# */ + MX8MM_IOMUXC_SAI3_TXD_GPIO5_IO1 0x40000041 /* IOA */ + MX8MM_IOMUXC_SAI3_TXC_GPIO5_IO0 0x40000041 /* IOB */ + >; + }; +}; + +&uart1 { + status = "disabled"; +}; -- 2.25.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: imx: Add i.mx8mm Gateworks GW7906 dts support 2026-02-04 22:50 ` [PATCH v2 2/2] arm64: dts: imx: Add i.mx8mm Gateworks GW7906 dts support Tim Harvey @ 2026-02-05 3:32 ` Frank Li 0 siblings, 0 replies; 4+ messages in thread From: Frank Li @ 2026-02-05 3:32 UTC (permalink / raw) To: Tim Harvey Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, devicetree, linux-kernel, imx, linux-arm-kernel On Wed, Feb 04, 2026 at 02:50:20PM -0800, Tim Harvey wrote: > The GW7906 is based on the i.MX8M Mini SoC featuring: > - LPDDR4 DRAM > - eMMC FLASH > - microSD connector with UHS support > - LIS2DE12 3-axis accelerometer > - Gateworks System Controller > - IMX8M FEC > - software selectable RS232/RS485/RS422 serial transceiver > - PMIC > - 1x isolated RS232 UART > - 1x off-board bi-directional opto-isolated digital I/O > - 1x M.2 A-E Key Socket and 1x MiniPCIe socket with USB2.0 and PCIe > (resistor loading to route PCIe/USB2 between M.2 and MiniPCIe socket) > > The GW7906 has much in common with the GW7903 so it is used as a base. > Differences include: > - different GbE PHY > - a couple of new GPIO's added > - removal of uart1 > - removal of io-expander > > Signed-off-by: Tim Harvey <tharvey@gateworks.com> > --- > v2: > - ran through dt-format Thanks > - use gw7903 as a base due to little difference in boards > --- > arch/arm64/boot/dts/freescale/Makefile | 1 + > .../dts/freescale/imx8mm-venice-gw7906.dts | 92 +++++++++++++++++++ > 2 files changed, 93 insertions(+) > create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7906.dts > > diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile > index 700bab4d3e60..83fc7faf81d8 100644 > --- a/arch/arm64/boot/dts/freescale/Makefile > +++ b/arch/arm64/boot/dts/freescale/Makefile > @@ -167,6 +167,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7901.dtb > dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7902.dtb > dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7903.dtb > dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7904.dtb > +dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7906.dtb > dtb-$(CONFIG_ARCH_MXC) += imx8mm-verdin-nonwifi-dahlia.dtb > dtb-$(CONFIG_ARCH_MXC) += imx8mm-verdin-nonwifi-dev.dtb > dtb-$(CONFIG_ARCH_MXC) += imx8mm-verdin-nonwifi-ivy.dtb > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7906.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7906.dts > new file mode 100644 > index 000000000000..c4d0610e34ab > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7906.dts > @@ -0,0 +1,92 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright 2026 Gateworks Corporation > + */ > + > +/dts-v1/; > + > +#include <dt-bindings/net/ti-dp83867.h> > + > +#include "imx8mm-venice-gw7903.dts" In https://lore.kernel.org/imx/20260123-gifted-wolverine-from-mars-47b9d4@quoll/ don't prefer dts include dts. Can you create common dtsi? then both mx8mm-venice-gw7906.dts and mx8mm-venice-gw7903.dts include this common dtsi. Ref the method at https://lore.kernel.org/imx/20260204083551.2867263-6-sherry.sun@nxp.com/ Frank > + > +/ { > + compatible = "gateworks,imx8mm-gw7906", "fsl,imx8mm"; > + model = "Gateworks Venice GW7906 i.MX8MM board"; > +}; > + > +&fec1 { > + mdio { > + #address-cells = <1>; > + #size-cells = <0>; > + > + ethphy0: ethernet-phy@0 { > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0>; > + rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; > + tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; > + ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; > + ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; > + ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; > + > + leds { > + #address-cells = <1>; > + #size-cells = <0>; > + > + led@1 { > + reg = <1>; > + color = <LED_COLOR_ID_AMBER>; > + default-state = "keep"; > + function = LED_FUNCTION_LAN; > + }; > + > + led@2 { > + reg = <2>; > + color = <LED_COLOR_ID_GREEN>; > + default-state = "keep"; > + function = LED_FUNCTION_LAN; > + }; > + }; > + }; > + }; > +}; > + > +&gpio2 { > + gpio-line-names = "", "", "", "", "", "", "dig1_ctl", "", > + "dig1_out#", "dig1_in", "", "", "", "", "", "", > + "", "", "", "", "", "", "", "", > + "", "", "", "", "", "", "", ""; > +}; > + > +&gpio5 { > + gpio-line-names = "iob", "ioa", "", "", "", "", "", "", > + "", "", "", "", "pci_wdis#", "", "", "", > + "", "", "", "", "", "", "", "", > + "", "", "", "", "", "", "", ""; > +}; > + > +&i2c1 { > + /delete-node/ gpio@27; > +}; > + > +&iomuxc { > + pinctrl-0 = <&pinctrl_hog>; > + pinctrl-names = "default"; > + > + pinctrl_hog: hoggrp { > + fsl,pins = < > + MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x40000041 /* RS422# */ > + MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x40000041 /* RS485# */ > + MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x40000041 /* RS232# */ > + MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9 0x40000041 /* DIG1_IN */ > + MX8MM_IOMUXC_SD1_DATA6_GPIO2_IO8 0x40000041 /* DIG1_OUT */ > + MX8MM_IOMUXC_SD1_DATA4_GPIO2_IO6 0x40000041 /* DIG1_CTL */ > + MX8MM_IOMUXC_ECSPI2_MISO_GPIO5_IO12 0x40000041 /* PCI_WDIS# */ > + MX8MM_IOMUXC_SAI3_TXD_GPIO5_IO1 0x40000041 /* IOA */ > + MX8MM_IOMUXC_SAI3_TXC_GPIO5_IO0 0x40000041 /* IOB */ > + >; > + }; > +}; > + > +&uart1 { > + status = "disabled"; > +}; > -- > 2.25.1 > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: arm: fsl: Add Gateworks GW7906 board 2026-02-04 22:50 [PATCH v2 1/2] dt-bindings: arm: fsl: Add Gateworks GW7906 board Tim Harvey 2026-02-04 22:50 ` [PATCH v2 2/2] arm64: dts: imx: Add i.mx8mm Gateworks GW7906 dts support Tim Harvey @ 2026-02-05 18:41 ` Conor Dooley 1 sibling, 0 replies; 4+ messages in thread From: Conor Dooley @ 2026-02-05 18:41 UTC (permalink / raw) To: Tim Harvey Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, devicetree, linux-kernel, imx, linux-arm-kernel [-- Attachment #1: Type: text/plain, Size: 75 bytes --] Acked-by: Conor Dooley <conor.dooley@microchip.com> pw-bot: not-applicable [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-02-05 18:41 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-02-04 22:50 [PATCH v2 1/2] dt-bindings: arm: fsl: Add Gateworks GW7906 board Tim Harvey 2026-02-04 22:50 ` [PATCH v2 2/2] arm64: dts: imx: Add i.mx8mm Gateworks GW7906 dts support Tim Harvey 2026-02-05 3:32 ` Frank Li 2026-02-05 18:41 ` [PATCH v2 1/2] dt-bindings: arm: fsl: Add Gateworks GW7906 board Conor Dooley
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox