board: gateworks: venice: add imx8mm-gw7903 support
Subsystems (2)
PATCH 1/1 board: gateworks: venice: add imx8mm-gw7903 support
The GW7903 is based on the i.MX 8M Mini SoC featuring:
- LPDDR4 DRAM
- eMMC FLASH
- microSD socket with voltage select support
- Gateworks System Controller
- M.2 A-E Socket with USB2.0 and PCIe
- MiniPCIe Socket with PCIe, USB2.0, and SIM
- IMX8M FEC
- RS232/RS485/RS422 serial transceiver
- LIS2DE12 3-axis accelerometer
- front panel LED's
- off-board isolated digital I/O
- Wide range DC power input
- 802.3at PoE
- PMIC
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8mm-venice-gw7903-u-boot.dtsi | 28 + arch/arm/dts/imx8mm-venice-gw7903.dts | 832 +++++ board/gateworks/venice/gsc.c | 2 +- board/gateworks/venice/lpddr4_timing.h | 1 + board/gateworks/venice/lpddr4_timing_imx8mm.c | 3184 ++++++++++------- .../venice/lpddr4_timing_imx8mm_512mb.c | 1849 ++++++++++ board/gateworks/venice/spl.c | 27 +- configs/imx8mm_venice_defconfig | 2 +- 9 files changed, 4580 insertions(+), 1346 deletions(-) create mode 100644 arch/arm/dts/imx8mm-venice-gw7903-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mm-venice-gw7903.dts create mode 100644 board/gateworks/venice/lpddr4_timing_imx8mm_512mb.c
arch/arm/dts/Makefile +1 -0
@@ -909,6 +909,7 @@ dtb-$(CONFIG_ARCH_IMX8M) += \ imx8mm-venice-gw73xx-0x.dtb \ imx8mm-venice-gw7901.dtb \ imx8mm-venice-gw7902.dtb \ + imx8mm-venice-gw7903.dtb \ imx8mm-verdin.dtb \ phycore-imx8mm.dtb \ imx8mn-ddr4-evk.dtb \
arch/arm/dts/imx8mm-venice-gw7903-u-boot.dtsi new file +28 -0
@@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2022 Gateworks Corporation + */ + +#include "imx8mm-venice-u-boot.dtsi" + +&fec1 { + phy-reset-gpios = <&gpio4 25 GPIO_ACTIVE_LOW>; + phy-reset-duration = <1>; + phy-reset-post-delay = <300>; +}; + +&pinctrl_fec1 { + u-boot,dm-spl; +}; + +&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b} { + u-boot,dm-spl; +}; + +&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b/regulators} { + u-boot,dm-spl; +}; + +&pinctrl_pmic { + u-boot,dm-spl; +};
arch/arm/dts/imx8mm-venice-gw7903.dts new file +832 -0
832 lines not on this page · raw message
board/gateworks/venice/gsc.c +1 -1
@@ -584,7 +584,7 @@ int gsc_init(int quiet)if (ret)hang (); -return ((16 << som_info.sdram_size) /1024 ); +return (16 << som_info.sdram_size); }const char *gsc_get_model (void )
board/gateworks/venice/lpddr4_timing.h +1 -0
@@ -7,6 +7,7 @@#define __LPDDR4_TIMING_H__#ifdef CONFIG_IMX8MM +extern struct dram_timing_info dram_timing_512mb;extern struct dram_timing_info dram_timing_1gb;extern struct dram_timing_info dram_timing_2gb;extern struct dram_timing_info dram_timing_4gb;
board/gateworks/venice/lpddr4_timing_imx8mm.c +1850 -1334
2,118 lines not on this page · raw message
board/gateworks/venice/lpddr4_timing_imx8mm_512mb.c new file +1849 -0
1,849 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.17.1
Part of the diff is not shown here. View the raw message.
Quoted 17 lines · Tim Harvey
The GW7903 is based on the i.MX 8M Mini SoC featuring:
- LPDDR4 DRAM
- eMMC FLASH
- microSD socket with voltage select support
- Gateworks System Controller
- M.2 A-E Socket with USB2.0 and PCIe
- MiniPCIe Socket with PCIe, USB2.0, and SIM
- IMX8M FEC
- RS232/RS485/RS422 serial transceiver
- LIS2DE12 3-axis accelerometer
- front panel LED's
- off-board isolated digital I/O
- Wide range DC power input
- 802.3at PoE
- PMIC
Quoted 1 line
Signed-off-by Tim Harvey <[email protected]>
PATCH 1/1 board: gateworks: venice: add imx8mm-gw7903 support
In reply to Tim HarveyQuoted 15 lines
The GW7903 is based on the i.MX 8M Mini SoC featuring:
- LPDDR4 DRAM
- eMMC FLASH
- microSD socket with voltage select support
- Gateworks System Controller
- M.2 A-E Socket with USB2.0 and PCIe
- MiniPCIe Socket with PCIe, USB2.0, and SIM
- IMX8M FEC
- RS232/RS485/RS422 serial transceiver
- LIS2DE12 3-axis accelerometer
- front panel LED's
- off-board isolated digital I/O
- Wide range DC power input
- 802.3at PoE
- PMIC
Quoted 2 lines
Signed-off-by Tim Harvey <[email protected]>Reviewed-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================