Skip to contentSkip to conversation

imx: ventana: add GW5520 support

PATCH New Tim Harvey 2 participants 2 messages Aug 21, 2014 – Sep 9, 2014

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 imx: ventana: add GW5520 support

The GW5520 has an IMX6Q SoC with 512MB of DDR3, 256MB of NAND flash as well as:
* 2x MiniPCIe sockets
* 2x USB host sockets
* 2x i210 GigE
* HDMI out
* digital I/O expansion

---
 board/gateworks/gw_ventana/eeprom.c         |  3 ++
 board/gateworks/gw_ventana/gsc.c            |  4 ++
 board/gateworks/gw_ventana/gw_ventana.c     | 80 ++++++++++++++++++++++++++---
 board/gateworks/gw_ventana/ventana_eeprom.h |  1 +
 4 files changed, 81 insertions(+), 7 deletions(-)
board/gateworks/gw_ventana/eeprom.c +3 -0
index 3edc915..ab3bab8 100644
@@ -80,6 +80,9 @@ read_eeprom(int bus, struct ventana_board_info *info)
 	case '4':
 		type = GW54xx;
 		break;
+	case '5':
+		type = GW552x;
+		break;
 	default:
 		printf("EEPROM: Unknown model in EEPROM: %s\n", info->model);
 		type = GW_UNKNOWN;
board/gateworks/gw_ventana/gsc.c +4 -0
index 1cf38d4..a34a9a8 100644
@@ -117,6 +117,10 @@ int do_gsc(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		read_hwmon("VDD_SOC",  GSC_HWMON_VDD_SOC, 3, MINMAX(1375, 10));
 		read_hwmon("VDD_1P0",  GSC_HWMON_VDD_1P0, 3, MINMAX(1000, 10));
 		break;
+	case '5': /* GW55xx */
+		read_hwmon("VDD_CORE", GSC_HWMON_VDD_CORE, 3, MINMAX(1175, 10));
+		read_hwmon("VDD_SOC",  GSC_HWMON_VDD_SOC, 3, MINMAX(1175, 10));
+		break;
 	}
 	return 0;
 }
board/gateworks/gw_ventana/gw_ventana.c +73 -7

128 lines not on this page · raw message

board/gateworks/gw_ventana/ventana_eeprom.h +1 -0
index d64b910..af12711 100644
@@ -109,6 +109,7 @@ enum {
 	GW52xx,
 	GW53xx,
 	GW54xx,
+	GW552x,
 	GW_UNKNOWN,
 	GW_BADCRC,
 };
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 imx: ventana: add GW5520 support

Quoted 9 lines · Tim Harvey

The GW5520 has an IMX6Q SoC with 512MB of DDR3, 256MB of NAND flash as well as:
* 2x MiniPCIe sockets
* 2x USB host sockets
* 2x i210 GigE
* HDMI out
* digital I/O expansion

---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================