mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
2395625209
The GW74xx is based on the i.MX 8M Plus SoC featuring: - LPDDR4 DRAM - eMMC FLASH - Gateworks System Controller - PCIe Gen 3.0 switch (build option) - USB 3.0 HUB - USB Type-C front panel connector - GPS - 3-axis accelerometer - CAN bus - 6x GbE RJ45 front-panel jacks - 1x IMX8M FEC RGMII GbE (with Passive PoE) - 5x IMX8M EQOS RGMII 6 port GbE Switch (1x with 802.3af class 5 Active PoE) - RS232/RS485/RS422 serial transceiver - MIPI header (DSI/CSI/GPIO/PWM/I2S) - DigI/O header (UART/GPIO/I2C/ADC) - 802.11ac WiFi - Bluetooth BLE - 3x MiniPCIe sockets with PCI/USB - 1x M.2 Socket with USB2.0, PCIe, and dual-SIM - PMIC - Wide range DC input supply (8V to 60V DC) Do the following to add support for this and future imx8mp-venice boards: - add dts - add DRAM config - add PMIC config - add IMX8MP support in spl.c and venice.c Signed-off-by: Tim Harvey <tharvey@gateworks.com>
185 lines
2.6 KiB
Text
185 lines
2.6 KiB
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright 2022 Gateworks Corporation
|
|
*/
|
|
|
|
#include "imx8mp-u-boot.dtsi"
|
|
|
|
/ {
|
|
firmware {
|
|
optee {
|
|
compatible = "linaro,optee-tz";
|
|
method = "smc";
|
|
};
|
|
};
|
|
|
|
wdt-reboot {
|
|
compatible = "wdt-reboot";
|
|
u-boot,dm-spl;
|
|
wdt = <&wdog1>;
|
|
};
|
|
};
|
|
|
|
&eqos {
|
|
/delete-property/ assigned-clocks;
|
|
/delete-property/ assigned-clock-parents;
|
|
/delete-property/ assigned-clock-rates;
|
|
};
|
|
|
|
ðphy0 {
|
|
reset-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>;
|
|
reset-delay-us = <1000>;
|
|
reset-post-delay-us = <300000>;
|
|
};
|
|
|
|
&fec {
|
|
phy-reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>;
|
|
phy-reset-duration = <15>;
|
|
phy-reset-post-delay = <100>;
|
|
};
|
|
|
|
&gpio1 {
|
|
u-boot,dm-spl;
|
|
|
|
dio0_hog {
|
|
gpio-hog;
|
|
input;
|
|
gpios = <9 GPIO_ACTIVE_LOW>;
|
|
line-name = "dio0";
|
|
};
|
|
|
|
dio1_hog {
|
|
gpio-hog;
|
|
input;
|
|
gpios = <11 GPIO_ACTIVE_LOW>;
|
|
line-name = "dio1";
|
|
};
|
|
};
|
|
|
|
&gpio2 {
|
|
u-boot,dm-spl;
|
|
|
|
pcie1_wdis_hog {
|
|
gpio-hog;
|
|
gpios = <17 GPIO_ACTIVE_HIGH>;
|
|
output-high;
|
|
line-name = "pcie1_wdis#";
|
|
};
|
|
|
|
pcie2_wdis_hog {
|
|
gpio-hog;
|
|
gpios = <18 GPIO_ACTIVE_HIGH>;
|
|
output-high;
|
|
line-name = "pcie2_wdis#";
|
|
};
|
|
|
|
pcie3_wdis_hog {
|
|
gpio-hog;
|
|
gpios = <14 GPIO_ACTIVE_HIGH>;
|
|
output-high;
|
|
line-name = "pcie3_wdis#";
|
|
};
|
|
};
|
|
|
|
&gpio3 {
|
|
u-boot,dm-spl;
|
|
|
|
m2_dis2_hog {
|
|
gpio-hog;
|
|
gpios = <0 GPIO_ACTIVE_LOW>;
|
|
output-high;
|
|
line-name = "m2_gdis#";
|
|
};
|
|
|
|
m2rst_hog {
|
|
gpio-hog;
|
|
gpios = <6 GPIO_ACTIVE_LOW>;
|
|
output-high;
|
|
line-name = "m2_rst#";
|
|
};
|
|
|
|
m2_off_hog {
|
|
gpio-hog;
|
|
gpios = <14 GPIO_ACTIVE_LOW>;
|
|
output-high;
|
|
line-name = "m2_off#";
|
|
};
|
|
};
|
|
|
|
&gpio4 {
|
|
u-boot,dm-spl;
|
|
|
|
m2_dis1_hog {
|
|
gpio-hog;
|
|
gpios = <18 GPIO_ACTIVE_LOW>;
|
|
output-high;
|
|
line-name = "m2_wdis#";
|
|
};
|
|
|
|
uart_rs485_hog {
|
|
gpio-hog;
|
|
gpios = <31 GPIO_ACTIVE_LOW>;
|
|
output-low;
|
|
line-name = "uart_rs485";
|
|
};
|
|
};
|
|
|
|
&gpio5 {
|
|
u-boot,dm-spl;
|
|
|
|
uart_half_hog {
|
|
gpio-hog;
|
|
gpios = <0 GPIO_ACTIVE_LOW>;
|
|
output-high;
|
|
line-name = "uart_half";
|
|
};
|
|
|
|
uart_term_hog {
|
|
gpio-hog;
|
|
gpios = <1 GPIO_ACTIVE_LOW>;
|
|
output-low;
|
|
line-name = "uart_term";
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&i2c2 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&i2c3 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&pinctrl_i2c1 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&pinctrl_wdog {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&usdhc2 {
|
|
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
|
|
assigned-clock-rates = <400000000>;
|
|
assigned-clocks = <&clk IMX8MP_CLK_USDHC2>;
|
|
sd-uhs-ddr50;
|
|
sd-uhs-sdr104;
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&usdhc3 {
|
|
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
|
|
assigned-clock-rates = <400000000>;
|
|
assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
|
|
mmc-hs400-1_8v;
|
|
mmc-hs400-enhanced-strobe;
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&wdog1 {
|
|
u-boot,dm-spl;
|
|
};
|