Age | Commit message (Collapse) | Author |
|
Looks like from the very beginning we were missing a proper pinmuxing
for the active state of the HSIC data pin!
Settings taken from discussion on NXP's public community forum:
https://community.nxp.com/t5/i-MX-Processors/i-MX-8QuadMax-USB-HSIC-Functionality/m-p/1228662/highlight/true#M169217
Fixes: 321682bbb785 ("apalis-imx8qm: add USB HSIC support")
Related-to: ELB-3228
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit a43e07cd3980304b3665fff7b816dee6dad2bf5e)
Put settings into different file, as the filename changed in 5.4.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Sai2 and Sai3 definitions for DMA were missing in the device tree of
kernel 4.14.
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
|
|
Our GPIO list starts with gpio5-01 while it really should start with
gpio5-00. So the whole list is shifted by one.
Related-to: ELB-3032
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit a4fae6e282a3b68f6d6c7dd5b7deca3b33099abb)
|
|
Correct ldo1/ldo2 voltage as below:
ldo1 --NVCC_SNVS_1V8
ldo2 --VDD_SNVS_0V8
Analogous to commit 96c179b63e7b ("MLK-23275-1: ARM64: dts: freescale: fsl-imx8mm-evk: correct ldo1/ldo2 voltage")
from NXP's downstream BSP.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The pins which can be used for an external ethernet PHY are powered by
a sepearte LDO. Currently in the device tree this rail is set to 1.8V,
the default apalis functionality of these pins requires 3.3V so change
to that.
If used with an external PHY in addition to add the PHY to the device also
the rail's voltage needs to be adapted.
Related-to: ELB-2899
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This commit adds the Cortex-M4- and RPMsg-related nodes to the base Verdin iMX8M Mini device tree.
|
|
Related-to: ELB-2606, ELB-2730
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2606, ELB-2730
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Apalis carrier boards do not have the Write-Protect signal connected
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Temporarily add device trees for the e-con Systems e-CAM50_CUIMX8. Once
we have working device tree overlays for this we may drop those again.
These are the albeit heavily modified device tree parts from the following patch we got from Yogaesh
<yogaesh@e-consystems.com> on May 8, 2020:
Related-to: ELB-2793
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This is needed for the new KSZ9131 phy
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
NXP fixes a lot of issues in PCIe subsystem, in particular, add new
clocks. Synchronize the set of clocks for Apalis-iMX8QM SoM.
Related-to: ELB-1306
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Fix conflicts after merging changes from the latest NXP branch.
Conflicts:
arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
drivers/pci/dwc/pci-imx6.c
Related-to: ELB-1306
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Change model string of iMX8QM/QP V1.1 to differentiate from the model
string used in the device tree for the earlier iMX8QM/QP module (this
has been causing problems with the dtconf tool).
Related-to: ELB-2829
Signed-off-by: Sergio Prado <sergio.prado@toradex.com>
|
|
It’s a limitation that one cannot use native SPI CS & DMA and have a
continuous CS for the whole transfer. The CS is deasserted after each
word sent.
One can either use DMA and GPIO CS or one can use PIO mode.
With this commit we change from using PIO mode to DMA mode and
change the CS used from the IP provided one to GPIO CS on the same pin.
This sync's the SPI configuration with the i.MX 8X based modules which
already uses DMA with GPIO CS.
Related-to: ELB-1278
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add GPIO line names on module level. Those are all GPIOs which a user
might use on his custom carrier board. If more meaningful names are
available on the carrier board, the user can overwrite the line names
in the carrier board level device tree.
Related-to: ELB-2528
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add GPIO line names on module level. Those are all GPIOs which a user
might use on his custom carrier board. If more meaningful names are
available on the carrier board, the user can overwrite the line names
in the carrier board level device tree.
Related-to: ELB-2527
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add GPIO line names on module level. Those are all GPIOs which a user
might use on his custom carrier board. If more meaningful names are
available on the carrier board, the user can overwrite the line names
in the carrier board level device tree.
Related-to: ELB-2526
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Integrate RESET_MOCI#_DRV handling with work-around for PCIe switch as
found on the Apalis Evaluation Board similar to what we upstreamed.
Related-to: ELB-1929
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This pulls the reset_moci signal by default low and insures reset is
applied when pin is being muxed. It needs then actively set high
for getting out of reset.
Related-to: ELB-1929
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
RESET and CONNECT come out of reset with pull downs enabled. Keep
that in the pin muxing.
These pins are switched to output during the hub configuration and then
controlled as needed. The datasheet specifically states that CONNECT
must not be driven when RESET is low, so keeping the pull downs is
less likely to violate the spec.
The INT pin has an external pull up, so keeping the pull down makes
the system draw more power.
Related-to: ELB-2702
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-2529
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2324
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This unifies node names and adds a reference to the sound node.
Related-to: ELB-2324
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The write protect switch is not connected. Specify that to get rid of:
mmc1: host does not support reading read-only switch, assuming write-enable
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
- Refine the PCIe clocks for iMX8DX and iMX8QXP.
- Correct the HSIO power domain name on iMX8QXP, otherwise, the
peripheral clocks wouldn't be enabled.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit a2c09691aeafc818c287f25d69e53b6411d4ef26)
|
|
The 2nd CAN controller is not assembled in the standard SKUs.
Thus disable it and prevent unneeded probing and kernel output.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The DSI to other display technologies bridges are modules. Currently two
bridges are enabled in the device tree, HDMI and LVDS. However using the
module with the LVDS bridge requires further changes to the device tree.
Thus disable it and prevent unneeded probing and kernel output.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With out this, the suspend sequence will stop and the system resumes
immediately.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The iomuxc pinctrl-0 property is set with pinctrl nodes muxed for
potential user space use in the module specific device tree.
In order to keep them copy the full list here and amend the additional
pinctrl_uart24_forceoff.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
voltage
Correct ldo1/ldo2 voltage as below:
ldo1 --NVCC_SNVS_1V8
ldo2 --VDD_SNVS_0V8
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
(cherry picked from commit d11796134f55d88b49d79bf25d6c42b677ff47bc)
(cherry picked from commit 1c923bdd27021b011358f9422a6a18cbf30de491)
|
|
Correct ldo1/ldo2 voltage as below:
ldo1 --NVCC_SNVS_1V8
ldo2 --VDD_SNVS_0V8
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
(cherry picked from commit 6e1db954c1261c9a8a40f7c4e33f03173c4d05b6)
(cherry picked from commit 8574922dd583141a332be58fe1656ee05c9e5dd4)
|
|
I understood this property as I could reset something that is on this
USB controller. This was a wrong understanding and the property
reset-gpio is meant to reset the IP inside the SoC.
Remove this for fixing the USB issue.
Related-to: ELB-2592
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2684
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
The driver mwifiex_sdio stucks after the wifi firmware crash.
Enabling asynchronous interrupts processing in sdio driver
fixes this issue and allows the mwifiex_sdio driver to be reloaded
and continue operates successfully.
Related-to: ELB-2596
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Some comments made it through. SPI is tested that it works and those
comments are no longer necessary-
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
There is a hardware issue with the clock lines. It barely works
with 200MHz with SD-Cards but not with SDIO cards. Therefore put
a safe value in there until the hardware issue is resolved
Related-to: ELB-1974
Related-to: HAR-3252
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
use of rgmii-id instead of rgmii to denote use of rxc and txc delay on the phy.
Related-to: ELB-2581
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This reverts commit 118d904a302114b323e3464bceab64bfc26868e2.
There is now a mainline solution for that. Drop this solution in favor
of the upstream one. We will use "rgmii-id" tag now to declare that
delays.
Related-to: ELB-2581
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Add support of non-wifi Toradex Verdin iMX8MM module
on the Development board.
Related-to: ELB-2322
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add the mark of wi-fi version of Toradex Verdin iMX8MM module
to a devicetree file name.
Related-to: ELB-2322
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Split the common devicetree file to two layers:
- Toradex Verdin iMX8MM WB;
- Toradex Verdin Development board.
Related-to: ELB-2322
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Move the on-module Wi-Fi part of a Toradex Verdin iMX8MM module
to a separate file.
Related-to: ELB-2322
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Fix the minor code formatting issue.
Related-to: ELB-2322
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|