-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
board: gateworks: venice: add imx8mp-gw72xx-2x support
The Gateworks imx8mp-venice-gw72xx-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 - 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 GW72xx Baseboard contains the following: - 1x RJ45 GbE (eQoS from SOM) - 1x RJ45 GbE (PCI) - off-board I/O connector with MIPI-CSI (3-lane), MIPI-DSI (4-lane), - off-board I/O connector with RS232/RS485 - off-board I/O connector with SPI - off-board I/O connector with I2C, UART, and GPIO I2C, I2S and GPIO - microSD (1.8V/3.3V) - GPS - Accelerometer - EERPOM - USB 3.0 Hub - Front Panel bi-color LED - re-chargeable battery (for RTC) - PCIe clock generator - PCIe switch - 1x USB Type-A host socket with USB 3.0 support - 1x USB OTG with USB 2.0 support - 1x MiniPCIe socket with PCI and USB 2.0 - 1x MiniPCIe socket with SIM, PCI/USB 3.0 (mux), and USB 2.0 - Wide range DC input supply Signed-off-by: Tim Harvey <[email protected]>
- Loading branch information
Showing
5 changed files
with
481 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* Copyright 2023 Gateworks Corporation | ||
*/ | ||
#include "imx8mp-venice-gw702x-u-boot.dtsi" | ||
|
||
&gpio4 { | ||
dio_1 { | ||
gpio-hog; | ||
input; | ||
gpios = <8 GPIO_ACTIVE_HIGH>; | ||
line-name = "dio1"; | ||
}; | ||
|
||
dio_0 { | ||
gpio-hog; | ||
input; | ||
gpios = <11 GPIO_ACTIVE_HIGH>; | ||
line-name = "dio0"; | ||
}; | ||
|
||
pci_usb_sel { | ||
gpio-hog; | ||
output-low; | ||
gpios = <14 GPIO_ACTIVE_HIGH>; | ||
line-name = "pci_usb_sel"; | ||
}; | ||
|
||
mipi_gpio4 { | ||
gpio-hog; | ||
input; | ||
gpios = <17 GPIO_ACTIVE_HIGH>; | ||
line-name = "mipi_gpio4"; | ||
}; | ||
|
||
rs485_en { | ||
gpio-hog; | ||
output-low; | ||
gpios = <22 GPIO_ACTIVE_HIGH>; | ||
line-name = "rs485_en"; | ||
}; | ||
|
||
rs485_term { | ||
gpio-hog; | ||
output-low; | ||
gpios = <23 GPIO_ACTIVE_HIGH>; | ||
line-name = "rs485_term"; | ||
}; | ||
|
||
mipi_gpio1 { | ||
gpio-hog; | ||
input; | ||
gpios = <24 GPIO_ACTIVE_HIGH>; | ||
line-name = "mipi_gpio1"; | ||
}; | ||
|
||
mipi_gpio3 { | ||
gpio-hog; | ||
input; | ||
gpios = <25 GPIO_ACTIVE_HIGH>; | ||
line-name = "mipi_gpio3"; | ||
}; | ||
|
||
mipi_gpio2 { | ||
gpio-hog; | ||
input; | ||
gpios = <26 GPIO_ACTIVE_HIGH>; | ||
line-name = "mipi_gpio2"; | ||
}; | ||
|
||
rs485_hd { | ||
gpio-hog; | ||
output-low; | ||
gpios = <27 GPIO_ACTIVE_HIGH>; | ||
line-name = "rs485_hd"; | ||
}; | ||
|
||
pci_wdis { | ||
gpio-hog; | ||
output-high; | ||
gpios = <28 GPIO_ACTIVE_HIGH>; | ||
line-name = "pci_wdis#"; | ||
}; | ||
}; | ||
|
||
/* gpio-usb-con not supported yet in U-Boot so make this a host for now */ | ||
&usb_dwc3_0 { | ||
dr_mode = "host"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// 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-gw72xx.dtsi" | ||
|
||
/ { | ||
model = "Gateworks Venice GW72xx-2x i.MX8MP Development Kit"; | ||
compatible = "gateworks,imx8mp-gw72xx-2x", "fsl,imx8mp"; | ||
|
||
chosen { | ||
stdout-path = &uart2; | ||
}; | ||
}; |
Oops, something went wrong.