Commit Graph

1199862 Commits

Author SHA1 Message Date
Guido Günther
60ac8a775a arm64: dts: imx8mq-librem5-devkit: Drop power-supply
It's not a valid binding. Instead move the sdio_rst line to the power
sequence and use w_disable1 as the vmmc-supply bringing it more in line
with other SDIO M2 cards.

Resolves following warning:

arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dtb: mmc@30b50000: Unevaluated properties are not allowed ('power-supply' was unexpected)
        from schema $id: http://devicetree.org/schemas/mmc/fsl-imx-esdhc.yaml#

Reported-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-12 10:00:05 +08:00
Guido Günther
74cec60c0e arm64: dts: imx8mq-librem5-devkit: Mark buck2 as always on
Otherwise the A53 cores are shut down which doesn't end well.

Reported-by: David Heidelberg <david@ixit.cz>
Tested-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-12 09:59:28 +08:00
Fabio Estevam
461b487e65 arm64: dts: imx8mm-beacon-baseboard: Remove usbotg2 pinctrl-names
There is no pinctrl description under usbotg2 node, so remove the unneeded
'pinctrl-names' property.

This fixes the following schema warning:

imx8mm-beacon-kit.dtb: usb@32e50000: 'pinctrl-0' is a dependency of 'pinctrl-names'

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-11 22:39:59 +08:00
Fabio Estevam
252810133d arm64: dts: imx8mm-emcon: Remove iomuxc pinctrl-names
Remove a 'pinctrl-names' that is not associated with a corresponding
'pinctrl-names'.

This fixes the following schema warning:

imx8mm-emcon-avari.dtb: pinctrl@30330000: 'pinctrl-0' is a dependency of 'pinctrl-names'

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-11 22:39:15 +08:00
Fabio Estevam
bdbae4c1b4 arm64: dts: imx8m-beacon-kit: Remove extra sound-sai entry
'sound-dai' should contain only 'sai5'. Remove the extra entry to
fix the following schema warning:

imx8mm-beacon-kit.dtb: sound-hdmi: simple-audio-card,cpu:sound-dai: [[110], [0]] is too long
	from schema $id: http://devicetree.org/schemas/sound/simple-card.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-11 22:25:23 +08:00
Marco Felsch
21baf0b47f arm64: dts: freescale: Add DEBIX SOM A and SOM A I/O Board support
Add support for the Debix SOM A + SOM A I/O board. The commit enables
only the basic features like:
 - 2x UART
 - 2x Network
 - eMMC/µSD
 - CAN
 - QSPI
 - USB Host / Device

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-11 22:21:09 +08:00
Marco Felsch
574e4099d7 arm64: dts: imx8mp-debix: remove unused fec pinctrl node
The SoM A uses the EQOS ethernet interface and not the FEC, so drop the
interface pinctrl node from the device tree.

Fixes: c86d350aae ("arm64: dts: Add device tree for the Debix Model A Board")
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-11 22:20:56 +08:00
Fabio Estevam
9e7bb0af7b arm64: dts: imx8mp-debix-model-a: Remove invalid rtc property
Per haoyu,hym8563.yaml, 'clock-frequency' is not a valid property.

Remove it to fix the following schema warning:

imx8mp-debix-model-a.dtb: rtc@51: Unevaluated properties are not allowed ('clock-frequency' was unexpected)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-11 22:18:48 +08:00
Fabio Estevam
8b200238fb arm64: dts: imx8mp-msc-sm2s-ep1: Remove invalid sgtl5000 property
As per sgtl5000.yaml, 'clock-names' is not a valid property.

Remove it to fix the following schema warning:

imx8mp-msc-sm2s-ep1.dtb: audio-codec@a: Unevaluated properties are not allowed ('clock-names' was unexpected)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-11 22:09:07 +08:00
Fabio Estevam
e4f7fbf7e8 arm64: dts: imx8m-venice: Pass "brcm,bcm4329-fmac"
Pass "brcm,bcm4329-fmac" to fix the following schema warnings:

imx8mp-venice-gw74xx.dtb: wifi@0: compatible: 'oneOf' conditional failed, one must be fixed:
	['cypress,cyw4373-fmac'] is too short
	'cypress,cyw4373-fmac' is not one of ['brcm,bcm4329-fmac', 'pci14e4,43dc', 'pci14e4,4464', 'pci14e4,4488', 'pci14e4,4425', 'pci14e4,4433']
	from schema $id: http://devicetree.org/schemas/net/wireless/brcm,bcm4329-fmac.yaml#

imx8mn-venice-gw7902.dtb: wifi@0: compatible: 'oneOf' conditional failed, one must be fixed:
	['brcm,bcm43455-fmac'] is too short
	'brcm,bcm43455-fmac' is not one of ['brcm,bcm4329-fmac', 'pci14e4,43dc', 'pci14e4,4464', 'pci14e4,4488', 'pci14e4,4425', 'pci14e4,4433']
	from schema $id: http://devicetree.org/schemas/net/wireless/brcm,bcm4329-fmac.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-11 22:07:53 +08:00
Fabio Estevam
65344b9bed arm64: dts: imx8mp-evk: Add HDMI support
imx8mp-evk has a MIPI DSI port that can be used with a ADV7535 MIPI
DSI to HDMI bridge.

Add support for it.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-11 22:05:06 +08:00
Francesco Dolcini
b8e4498ffe arm64: dts: freescale: verdin-imx8mp: dev: add sound card
Add NAU8822 based analog sound card to Development carrier board.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-07 09:01:20 +08:00
Francesco Dolcini
8749589168 arm64: dts: freescale: verdin-imx8mp: dahlia: add sound card
Add WM8904 based analog sound card to Dahlia carrier board.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Tested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-07 09:01:06 +08:00
Fabio Estevam
43df69fc07 arm64: dts: imx8mm-emcon: Fix the regulator names
Fix the regulator names as per rohm,bd71847-pmic.yaml to fix the
following schema warnings:

imx8mm-emcon-avari.dtb: pmic@4b: regulators:LDO1:regulator-name:0: 'LDO1' does not match '^ldo[1-6]$'

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-06 20:35:05 +08:00
Fabio Estevam
ebb8dbec10 arm64: dts: imx: Pass a single BD71847 clock entry
Pass a single BD71847 clock entry to fix the following schema
warning:

imx8mm-var-som-symphony.dtb: pmic@4b: clocks: [[22], [0]] is too long
	from schema $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-06 20:34:58 +08:00
Hui Wang
fcf7ff67a2 arm64: dts: ls1028a: add l1 and l2 cache info
When we ran the stress-ng cache related stressors, we got the log as
below:
ubuntu@ubuntu:~$ stress-ng --l1cache 4
stress-ng: info:  [656] defaulting to a 86400 second (1 day, 0.00 secs) run per stressor
stress-ng: info:  [656] dispatching hogs: 4 l1cache
stress-ng: info:  [657] stress-ng-l1cache: skipping stressor, cannot determine cache level 1 information from kernel

This is because the l1 and l2 cache info is missing in the devicetree,
ls1028a has dual cortex-a72 cores and has 48KB icache, 32KB dcache and
1MB l2 ucache:
  - icache is 3-way set associative
  - dcache is 2-way set associative
  - l2cache is 16-way set associative
  - line size are 64bytes

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-06 20:17:53 +08:00
Fabio Estevam
aca2687021 arm64: dts: imx8mm-phyboard-polis-rdk: Remove 'fsl,spi-num-chipselects'
The 'fsl,spi-num-chipselects' property is not a valid one, so remove it.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-06 11:45:07 +08:00
Fabio Estevam
a70d179e6a arm64: dts: imx8dxl-evk: Remove 'fsl,spi-num-chipselects'
The 'fsl,spi-num-chipselects' property is not a valid one, so remove it.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-08-06 11:44:46 +08:00
Alexander Stein
f43027ea80 arm64: dts: freescale: Replace deprecated extcon-usb-gpio id-gpio/vbus-gpio properties
Use id-gpios and vbus-gpios instead.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:21:31 +08:00
Alexander Stein
fc7ab8d972 arm64: dts: tqma8mqnl: Add vcc supply to i2c eeproms
Fixes the warnings:
at24 0-0053: supply vcc not found, using dummy regulator
at24 0-0057: supply vcc not found, using dummy regulator

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:20:25 +08:00
Haibo Chen
e434472606 arm64: dts: imx8ulp-evk: enable lpi2c7 bus
Enable lpi2c7 bus, and enable i2c IO expander.

Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:19:17 +08:00
Haibo Chen
7adf8410cb arm64: dts: imx8ulp-evk: add 100MHz/200MHz pinctrl setting for eMMC
Add 100MHz and 200MHz pinctrl setting for eMMC, and enable 8 bit bus mode
to config the eMMC work at HS400ES mode.

Also update to use Standard Drive Strength for USDHC pad to get a better
signal quality per Hardware team suggests.

Reviewed-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:19:14 +08:00
Han Xu
3d25633036 arm64: dts: imx8ulp-evk: add spi-nor device support
Add spi-nor support.
- 8 bit mode for RX/TX.
- Set the clock rate to 200MHz.
- add default/sleep pinctrl.

Co-developed-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:19:11 +08:00
Peng Fan
014fbffa25 arm64: dts: imx8ulp-evk: enable CM33 node
Enable CM33 node to support rpmsg feature. To use rpmsg, also need
to enable mu node for mailbox doorbell and reserved memory node
for vring, and data buffer. And reserved a piece DRAM memory for case
that m33 images loaded in DRAM.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:19:09 +08:00
Peng Fan
d0da51bb9d arm64: dts: imx8ulp-evk: add reserved memory for cma
Add reserved memory node for CMA usage.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:19:06 +08:00
Haibo Chen
ef89fd56bd arm64: dts: imx8ulp: add flexspi node
Add flexspi node, flexspi has a special memory region mapped to
0x60000000~0x6fffffff. This region is for AHB usage. So add this region
to SoC ranges.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:19:04 +08:00
Peng Fan
db2c35aa68 arm64: dts: imx8ulp: add cpuidle node
Add cpuidle node and enable cpuidle for dual cores. The HW mode in
Arm Trusted Firmware is SoC Application Power Domain Sleep mode.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:19:02 +08:00
Peng Fan
a9624b4e7e arm64: dts: imx8ulp: add thermal node
Add thermal node. Cooling map is not added, because frequency runtime
changing not supported for now.

Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:18:59 +08:00
Peng Fan
9780340751 arm64: dts: imx8ulp: set default clock for SDHC
Set default clock rate and parents for SDHC[0,1,2].

The PLL3 PFD2 maximum frequency is 332Mhz, we can't set it to 389Mhz
as USDHC clock parent. Because PLL3 PFD0 is used for NIC, PFD1 is used
for audio, the only choice is PFD3 which can reach to 400Mhz.

USDHC1 and USDHC2 maximum PCC clock rate is 200Mhz in Over Drive mode,
and 100Mhz in Nominal/Low Drive mode, when PTE or PTF is used.

The patch adjusts clock parent to PLL3 PFD3 DIV1 for USDHC0, PLL3
PFD3 DIV2 for USDHC1 and USDHC2. And set the max rate to meet
restrictions.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:18:56 +08:00
Peng Fan
5b9435d646 arm64: dts: imx8ulp: add cm33 node
Add i.MX8ULP CM33 node.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:18:46 +08:00
Krzysztof Kozlowski
074248a4e9 arm64: dts: imx8mm-phycore: drop uncorrect vselect-en
There is no "vselect-en" property, neither in the bindings nor in the
Linux driver:

  imx8mm-phyboard-polis-rdk.dtb: pmic@8: regulators:ldo2: Unevaluated properties are not allowed ('vselect-en' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:14:45 +08:00
Alexander Stein
6b15a78f71 arm64: dts: imx8: conn: Fix reg order for USB3 controller
Cadence USB3 bindings specify a specific reg order. Adjust DT entries
to match the bindings.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:08:26 +08:00
Alexander Stein
fb8f715e5c arm64: dts: imx8qm: Fix VPU core alias name
Alias names use dashes instead of underscores, fix this.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:08:23 +08:00
Alexander Stein
f6038de293 arm64: dts: imx8qm: Fix VPU core alias name
Alias names use dashes instead of underscores, fix this. Silences also
dtbs_check warning:
imx8qxp-tqma8xqp-mba8xx.dtb: aliases: 'vpu_core0', 'vpu_core1', 'vpu_core2'
 do not match any of the regexes: '^[a-z][a-z0-9\\-]*$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/aliases.yaml#

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 21:08:10 +08:00
Tim Harvey
716ced3082 arm64: dts: freescale: Add imx8mp-venice-gw73xx-2x
The Gateworks imx8mp-venice-gw73xx-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 GW73xx Baseboard contains the following:
  - GPS
  - microSD
  - off-board I/O connector with SPI
  - off-board I/O connector with I2C, and GPIO
  - off-board I/O connector with MIPI DSI, MIPI CSI, I2C, and GPIO
  - off-board I/O connector with RS232 and RS485
  - EERPOM
  - USB 3.0 HUB
  - USB 3.0 TypeA socket
  - USB 2.0 Micro-B OTG socket
  - Accelerometer
  - 1x GbE (eQoS)
  - 1x GbE (PCI)
  - PCIe clock generator
  - PCIe switch
  - 2x full-length miniPCIe socket with PCI and USB2.0
  - 1x full-length miniPCIe socket with PCI/USB3 (via mux) SIM, and USB2.0
  - 1x half-length miniPCIe socket with USB2.0 and USB3.0
  - USB Type-C with USB PD Sink capability and peripheral support
  - USB Type-C with USB 3.0 host support
  - on-board 802.11abgnac with Bluetooth 5.2
  - Wide range DC input supply

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 20:31:45 +08:00
Tim Harvey
86c43ae03a arm64: dts: freescale: Add imx8mp-venice-gw72xx-2x
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:
 - GPS
 - microSD
 - off-board I/O connector with SPI
 - off-board I/O connector with I2C, and GPIO
 - off-board I/O connector with MIPI DSI, MIPI CSI, I2C, and GPIO
 - off-board I/O connector with RS232 and RS485
 - EERPOM
 - USB 3.0 HUB
 - USB 3.0 TypeA socket
 - USB 2.0 Micro-B OTG socket
 - Accelerometer
 - 1x GbE (eQoS)
 - 1x GbE (PCI)
 - PCIe clock generator
 - PCIe switch
 - 1x full-length miniPCIe socket with PCI and USB2.0
 - 1x full-length miniPCIe socket with PCI/USB3 (via mux) SIM, and USB2.0
 - 1x half-length miniPCIe socket with USB2.0 and USB3.0
 - USB Type-C with USB PD Sink capability and peripheral support
 - USB Type-C with USB 3.0 host support
 - Wide range DC input supply

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 20:31:34 +08:00
Tim Harvey
2c00c0650e arm64: dts: freescale: Add imx8mp-venice-gw71xx-2x
The Gateworks imx8mp-venice-gw71xx-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 GW71xx Baseboard contains the following:
 - GPS
 - RJ45 GbE (eQoS)
 - off-board I/O connector with UART, I2C, SPI, GPIO
 - EERPOM
 - PCIe clock generator
 - full-length miniPCIe socket with PCI/USB3 (via mux) and USB2.0
 - USB Type-C with USB 2.0 host and peripheral support
 - Wide range DC input supply

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 20:31:25 +08:00
Tim Harvey
7e1894ebf9 arm64: dts: freescale: Add imx8mm-venice-gw7905-0x
The Gateworks imx8mm-venice-gw7905-0x consists of a SOM + baseboard.

The GW700x SOM contains the following:
 - i.MX8M Mini SoC
 - LPDDR4 memory
 - eMMC Boot device
 - Gateworks System Controller (GSC) with integrated EEPROM, button
   controller, and ADC's
 - PMIC
 - SOM connector providing:
  - FEC GbE MII
  - 1x SPI
  - 2x I2C
  - 4x UART
  - 2x USB 2.0
  - 1x PCI
  - 1x SDIO (4-bit 3.3V)
  - 1x SDIO (4-bit 3.3V/1.8V)
  - GPIO

The GW7905 Baseboard contains the following:
 - GPS
 - microSD
 - off-board I/O connector with I2C, SPI, GPIO
 - EERPOM
 - PCIe clock generator
 - 1x full-length miniPCIe socket with PCI/USB3 (via mux) and USB2.0
 - 1x half-length miniPCIe socket with USB2.0 and USB3.0
 - USB 3.0 HUB
 - USB Type-C with USB PD Sink capability and peripheral support
 - USB Type-C with USB 3.0 host support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 20:31:13 +08:00
Tim Harvey
a9ba843233 arm64: dts: imx8mp: add imx8mp-venice-gw74xx-rpidsi overlay for display
Add support for the following Raspberry Pi displays:
 - DFROBOT DRF0678 7in 800x480 TFT DSI capacitive touch
 - DFROBOT DRF0550 5in 800x480 TFT DSI capacitive touch

Both have the following hardware:
 - FocalTech FT5406 10pt touch controller (with no interrupt)
 - Powertip PH800480T013-IDF02 compatible panel
 - Toshiba TC358762 compatible DSI to DBI bridge
 - ATTINY based regulator used for backlight controller and panel enable

Support is added via a device-tree overlay. The touch controller is not
yet supported as polling mode is needed.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 20:24:13 +08:00
Hugo Villeneuve
d4fac9c100 arm64: dts: imx8mn-var-som-symphony: update USB OTG for new board versions
USB OTG is currently not working for new versions of the Variscite
Symphony EVK and imx8mn nano SOM (versions >= 1.4a).

The PTN5150 circuitry on newer versions of the Symphony EVK board has
a non-standard configuration in which the PTN5150 IRQ pin is left
unconnected, and the PTN5150 ID pin is connected to GPIO1_IO11. This
requires changes to the ptn5150 driver to support this new mode.
Variscite have indicated their intention to submit those changes
upstream.

In the meantime, import device tree changes from linux-5.15 branch of
varigit repos to at least make the USB OTG port operate correctly in
host mode.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 20:20:13 +08:00
Alexander Stein
8d58f4d27e arm64: dts: imx8mq: Add coresight trace components
Add coresight trace components (ETM, ETF, ETB and Funnel).

┌───────┐  ┌───────┐  ┌───────┐
│ CPU0  ├─►│ ETM0  ├─►│       │
└───────┘  └───────┘  │       │
                      │       │
┌───────┐  ┌───────┐  │  ATP  │
│ CPU1  ├─►│ ETM1  ├─►│       │
└───────┘  └───────┘  │       │
                      │ FUNNEL│
┌───────┐  ┌───────┐  │       │
│ CPU2  ├─►│ ETM2  ├─►│       │
└───────┘  └───────┘  │       │   ┌─────┐
                      │       │   │     │
┌───────┐  ┌───────┐  │       │   │ M4  │
│ CPU3  ├─►│ ETM3  ├─►│       │   │     │
└───────┘  └───────┘  └───┬───┘   └──┬──┘                        AXI
                          │          │                            ▲
                          ▼          ▼                            │
                      ┌───────────────────────────┐   ┌─────┐   ┌─┴──┐
                      │          ATP FUNNEL       ├──►│ ETF ├─► │ETR │
                      └───────────────────────────┘   └─────┘   └────┘

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 14:27:42 +08:00
Sebastian Krzyszkowiak
5296d8f467 arm64: dts: imx8mq-librem5: Reduce usdhc2's post-power-on-delay-ms to 20ms
This appears to be enough for both Redpine and SparkLAN cards.
Waiting for too long makes us waste time in resume from system
suspend, so let's keep it as short as possible.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 13:57:49 +08:00
Sebastian Krzyszkowiak
74e04a9f51 arm64: dts: imx8mq-librem5: Mark tps65982 as wakeup source
This allows to wake up from system suspend on USB-C plug/unplug.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 13:57:46 +08:00
Sebastian Krzyszkowiak
4cbd506531 arm64: dts: imx8mq-librem5-r4: Bump up proximity sensor's near level
There is at least one Evergreen phone out there that reports levels
of 5-6 at rest: https://gitlab.gnome.org/GNOME/calls/-/issues/560

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 13:57:44 +08:00
Martin Kepplinger
238f918800 arm64: dts: imx8mq-librem5: set audio-1v8 always-on
Unfortunately the codec can't be switched off on it's own. It would ground
the whole bus it's connected to (because of it's built-in diodes to VDD on
i2c pins), making all the other devices on the same bus inaccessible:

[    0.237154] lm3692x 2-0036: Cannot read/clear faults: -11
[    0.242628] lm3692x 2-0036: Fail writing initialization values
[    0.286462] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /soc@0/bus@30800000/mipi-dsi@30a00000 to encoder None-34: -517

Work around this hardware limitation by keeping audio-1v8 enabled.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-30 13:57:28 +08:00
Jonas Kuenstler
fa2a1ec504 arm64: dts: imx8mp-phyboard-pollux: Add missing usdhc clocks assignment
Add the missing usdhc2 root clock to 200MHz to be able to support
SDR104 mode for SD-Card on phyBOARD-Pollux-i.MX8MP.

Signed-off-by: Jonas Kuenstler <j.kuenstler@phytec.de>
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-19 15:52:54 +08:00
Teresa Remmet
6fe88df72e arm64: dts: imx8mp-phycore-som: Update regulator output voltages
Set the regulator voltages to the min and max values the i.MX8MP
requires and not what the PMIC provides.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-19 15:52:52 +08:00
Teresa Remmet
c2d28a0c49 arm64: dts: imx8mp-phycore-som: Add regulator names
Add regulator-names for more meaningful description.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-19 15:52:50 +08:00
Teresa Remmet
1a5a034332 arm64: dts: imx8mp-phycore-som: Remove LDO2 and LDO4 pmic nodes
We do not touch LDO2 and LDO4 in linux as they are bypassed.
So remove them completely from device tree.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-19 15:52:48 +08:00
Teresa Remmet
b34f668154 arm64: dts: imx8mp-phycore-som: Correct pad settings
Do not set reserved bits 0 and 3 in pad configuration.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-07-19 15:52:46 +08:00