summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
AgeCommit message (Collapse)Author
2022-07-06arm64: dts: apalis-imx8: add sd card sleep stateAndrejs Cainikovs
This adds SD card sleep state and relevant pinmux configuration for Apalis iMX8 boards. Pins for sleep state are configured for pull-disable, except card detect pin which is always pull-up. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2022-01-26arm64: dts: apalis-imx8: clean-up sd card dtsDenys Drozdov
Keep +3.3V pull-ups interface by default in imx8-apalis-v1.1.dtsi SD card interface setting per board device tree: imx8-apalis-eval.dtsi +3.3V pull-ups imx8-apalis-ixora-v1.1.dtsi +3.3V pull-ups imx8-apalis-ixora-v1.2.dtsi +1.8V signaling, UHS capable Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-12-17arm64: dts: apalis-imx8: remove fec regulatorPhilippe Schenker
Despite this being present on the hardware, remove it from the device tree. If this is present then the fec does power-off the regulator when going into suspend. This leads to a non working phy after resume due to the reset line that is not triggered. We try to fix this upstream but this seems to become a bigger task so introduce this intermediate solution of just removing the regulator. According to the KSZ9131 datasheet, the power-consumption in software power-down is about 26mW. Related-to: ELB-4251 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-12-17arm64: dts: apalis-imx8: leave phy-reset in push-pullPhilippe Schenker
In order to prevent backfeeding we have a sleep-state of our pins. Currently the phy-reset is put to open-drain input, High-Z and pull-down. This causes a pull-up on hardware and the configured pull-down to work against each other and causing some strange voltage level. Leave the phy-reset signal configured as push-pull and pull-up as the reset also needs to be high during runtime suspend. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-12-17arm64: dts: apalis-imx8: let phy framework handle resetPhilippe Schenker
It is considered legacy, that the fec resets the phy. Let the phylib handle this reset. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-10-25ARM: dts: apalis-imx8: depend wifi clock on sata clockPhilippe Schenker
&pcie_sata_refclk_gate is used to drive the clock to the PCIe internal IP which is in turn needed to communicate with the Wi-fi module. Hence if &pcie_wifi_refclk_gate is being needed also &pcie_sata_refclk_gate should be enabled to prevent a situation where the SoC input is left without a clock. This was reintroduced with (Revert "ARM64: dts: apalis-imx8: leave pcie/sata clk enabled") Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-09-30arm64: dts: gpio_fan alias for overlaysDenys Drozdov
Apalis Mezzanine LVDS has to disable gpio_fan node, since it sharing GPIO3.28 for LVDS backlight PWM_BKL1 signal. Provide gpio_fan alias to disable this node in Mezzanine LVDS overlay. Related-to: ELB-4192 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-09-27arm64: dts: apalis-imx8: Add 1v8 SD supportFrancesco Dolcini
Fix UHS 1v8 mode support for Apalis iMX8 board enabling complete USDHC functionality on the SoM dtsi file, but disable 1.8V card voltage for Apalis Evaluation board and Ixora 1.1 where pull-up to 3.3V are present. Enable usdhc pinctrl definition for high speed mode on Ixora 1.2 dts. With these changes UHS104 is working fine on Ixora 1.2. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Fixes: 17be987ed70b ("ARM64: dts: apalis-imx8: use non-uhs sd-mode by default")
2021-09-16ARM64: dts: apalis-imx8: update name of optional CANDenys Drozdov
Change name of optional Apalis CAN-FD interface Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-09-15Revert "ARM64: dts: apalis-imx8: leave pcie/sata clk enabled"Oleksii Bidnichenko
This reverts commit 75e357e5be10c9f3e76c5061dc999e54d6ffa893. By this commit, the WiFi instability was fixed, however, the SATA interface was completely disabled. For sure it helped, but we still need SATA. Related-to: ELB-3534 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>
2021-09-14ARM64: dts: apalis-imx8: support flexcan3Denys Drozdov
Apalis Evaluation board supports CAN3 interface on the Mezzanine board. Provide related iomux setting for flexcan3 - GPIO5 (MXM Pin 11) for FLEXCAN2_RX, - GPIO6 (MXM Pin 13) for FLEXCAN2_TX. Related-to: ELB-2578 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-09-07ARM64: dts: apalis-imx8: leave pcie/sata clk enabledPhilippe Schenker
remove clock gate that dynamically enabled disabled the sata clock also used for PCIe clock input on the SoC. It turned out that this approach leads to disable this clock during the boot process which in turn leads to some cases where wifi does not work after boot. Related-to: ELB-3534 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-08-04arm64: dts: apalis-imx8: keep pad-wakeup instead of gpio-keysDenys Drozdov
Resume from freeze state generated non-assigned gpio interrupt from the port in S0/S3 mode. Wakeup-source in gpio-keys doesn’t really work for Apalis imx8qxp and Apalis imx8qm. These targets should perform wakeup by the means of pad-wakeup (see CONFIG_GPIO_MXC_PAD_WAKEUP implemented in gpio-mxc driver). Kernel trace can be easily reproduced with the following scenario: - echo freeze > /sys/power/state - Wake the system up connecting MXM3_37 to GND. [ 141.232366] [<ffff0000084be898>] mx3_gpio_irq_handler+0x38/0xe8 [ 141.238372] [<ffff00000811783c>] generic_handle_irq+0x24/0x38 [ 141.244203] [<ffff000008117ea8>] __handle_domain_irq+0x60/0xb8 [ 141.250122] [<ffff00000808194c>] gic_handle_irq+0x7c/0x178 [ 141.232366] [<ffff0000084be898>] mx3_gpio_irq_handler+0x38/0xe8 [ 141.238372] [<ffff00000811783c>] generic_handle_irq+0x24/0x38 [ 141.244203] [<ffff000008117ea8>] __handle_domain_irq+0x60/0xb8 [ 141.346337] [<ffff000008083230>] el1_irq+0xb0/0x124 [ 141.351300] [<ffff000008085770>] arch_cpu_idle+0x10/0x18 [ 141.356698] [<ffff000008109f94>] do_idle+0x1ac/0x1e0 [ 141.361748] [<ffff00000810a168>] cpu_startup_entry+0x20/0x28 [ 141.367495] [<ffff000008dbb3a8>] rest_init+0xd0/0xdc [ 141.372545] [<ffff0000093f0b3c>] start_kernel+0x390/0x3a4 Drop gpio-keys support for these targets and keep only pad-wakeup configured for resume operations. More information can be found on NXP community link https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-add-iMX8QXP-PAD-GPIO-Wakeup/ta-p/1120559?attachment-id=32640 Related-to: ELB-1408 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-08-03arm64: dts: imx8-apalis: update regulators to support SCFW PMDenys Drozdov
LDO4 is not turning off in suspend, since SCFW is not getting PM message from regulator to switch LDO4 off during suspend. Add "simple-sm-bus" compatible regulator node for SCFW. Create reg_fec_supply regulator to specify as phy-supply for FEC1 Related-to: ELB-3523 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-06-30arm64: dts: apalis/colibri/verdin imx8 series: remove reserved memory for cmaMax Krummenacher
Use the kernel config to setup the continguous memory allocator rather than having this settings in the device tree. (Note that an existing node in the device tree takes precedence.) Related-to: ELB-4019 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-03-25ARM64: dts: apalis-imx8: use non-uhs sd-mode by defaultPhilippe Schenker
By default the Apalis Carrier Boards do not support UHS modes. So use high-speed mode by default but leave a note and code prepared for UHS usage. Related-to: ELB-3867 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-03-15arm64: dts: apalis-imx8: fix pinmux modes for emmcOleksandr Suvorov
There is an additional pinctrl-names property that doesn't contain settings for 100/200MHz pingroups, which prevents the eMMC from working in the proper HS400 mode. Remove the mistakenly duplicated property. Fixes: 2e973865d3ef ("arm64: dts: apalis-imx8: separate common module part") Related-to: ELB-3408 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-02-18arm64: dts: apalis-imx8/imx8x: use phy delays instead of fec'sOleksandr Suvorov
No need to mix delays on the FEC side and on the PHY side for PHY KSZ9131. Setup both rxc/txc delays on the PHY side. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-02-10ARM: dts: apalis-imx8: disable HDMI interfaceOleksandr Suvorov
The HDMI interface and all related stuff turn on in an overlay. Keep them disabled in the main devicetree. Also remove sound-hdmi-arc node there is no wired sound input pins on our Toradex boards. Related-to: ELB-3395 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-02-09apalis-imx8: fix usb hsic supportMarcel Ziswiler
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>
2021-01-28ARM64: dts: apalis-imx8: disable dma for lpuart 2 againPhilippe Schenker
lpuart2 is the only UART where DMA request works and linux tries to use a DMA. However this DMA does not work and output hangs, disbling the DMA works for now. This change was originally introduced in commit 1a8badaa585de ARM64: dts: apalis-imx8: disable dma for lpuart2 but lost when doing the devicetree-split. Fixes: 2715972aadc8f arm64: dts: apalis-imx8: separate common module pa Related-to: ELB-3178 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-01-28arm64: dts: apalis-imx8: enable vpu mailboxesMax Krummenacher
The VPU subsystem uses hardware Messaging Units (MU) for inter processor communication with the controlling OS. The driver for the MU is implemented as a Linux mailbox. Enable the VPU MU in the device-tree. Related-to: ELB-3196 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-28arm64: dts: apalis-imx8: separate common module partOleksandr Suvorov
Apalis iMX8QM and iMX8QP are almost the same. Separate the common part of device tree to use it for both these modules. Related-to: ELB-3036 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>