Age | Commit message (Collapse) | Author |
|
The GPIO signaling ctrl_sleep_moci is currently handled as a gpio hog.
But the gpio-hog node is made a child of the wrong gpio controller.
Move it to the node representing gpio4 so that it actually works.
Without this carrier board components jumpered to use the signal are
unconditionally switched off.
Fixes: 1d8df9c74bff ("arm64: dts: freescale: add initial support for verdin imx8m plus")
Upstream-status: Submitted [https://lore.kernel.org/all/20220922162925.2368577-2-marcel@ziswiler.com/]
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Use IT temperature threshold for critical/passive trip point
on Verdin iMX8M Plus and Mini.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
Add SD1 sleep pinctrl to avoid backfeeding during sleep.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add and fill-in gpio-line-names property to gpio nodes.
Note that this represents re-designed V1.1 modules.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Likely, the extcon-usb-gpio should not be definied within the i2c4 node
but rather the SoC one.
This fixes the following device tree compiler warning:
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi:581.28-586.4: Warning
(i2c_bus_reg): /soc@0/bus@30800000/i2c@30a50000/usb_1_id: missing or
empty reg property
And fixes the following error on boot:
[ 1.858518] i2c i2c-3: of_i2c: invalid reg on /soc@0/bus@30800000/
i2c@30a50000/usb_1_id
[ 1.866544] i2c i2c-3: Failed to create I2C device for /soc@0/bus@
30800000/i2c@30a50000/usb_1_id
Fixes: bfe277fce128 ("arm64: dts: imx8mp-verdin: move USB_1 extcon node")
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Given that the USB OTG ID pin is defined in the SOM schematics,
it should be part of the SOM device tree, not the carrier board.
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
|
|
The PCB of the hardware version V1.1 has a footprint for an optional
on-module I2C temperature sensor.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The PCB of the hardware version V1.1 uses the UART4 (ECSPI2 pins) for
the Bluetooth UART, therefore move it to the Wi-Fi module device tree.
Move regular UART4 usage to non-WiFi only.
While at it also split Bluetooth specific pin from pinctrl_wifi_ctrl
into separate pinctrl_bluetooth_ctrl as that might be needed to run the
proprietary driver stack.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The PCB of the hardware version V1.1 has the USB ID pin issue fixed.
Move USB_1_ID (pin 161) from USB1_ID to SD1_RESET_B. Support USB
device/host switching using the ID pin as an extcon GPIO.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The PCB of the hardware version V1.1 has SODIMM pin 187 (USB_2_OC#)
swapped with 91 (CSI_1_MCLK).
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
As the PCB of the hardware version V1.1 has this fixed, also swapp RX
and TX signals of Bluetooth Audio (WiFi_TX_DATA and WiFi_RX_DATA) in
software (not that this is currently used anywhere).
While at it also rename bti2sgrp to wifii2sgrp.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Fix comment about SODIMM 151 vs. 153 mixup.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Split ETH_INT# being shared with TPM_INT# (usually N/A) into its own
pinctrl node and add a comment in that respect.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
In preparation for the PCB of the hardware version V1.1 module make the
default iomuxc pinctrl non-WiFi/wifi specific.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
As on the PCB of the hardware version V1.1 the footprint for an optional
SPI TPM (ATTPM20P) got replaced with one for an optional I2C TPM
(ST33GTPMII2C) which would not requiring any enable signal, remove
PMIC_TPM_ENA et al.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Verdin iMX8M Plus on-module Ethernet device is eqos, while the optional
secondary Ethernet is fec, update the Ethernet aliases in the .dtsi file
so that ethaddr from U-Boot is set to eqos and eth1addr to fec.
Without this change, the Ethernet interfaces may have different MAC
addresses between Linux and U-Boot.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The USB VBus enable signals can be handled by the HW dedicated VBUS
functionality and its driver. There is no need to modulate it with a
regulator with GPIO.
For the USB1 in peripheral mode the current solution does not switch off
VBUS which leads to backfeeding during shutdown.
Related to: ELB-4002
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-4034
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-4034
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
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>
|
|
Real Energy Efficient Ethernet with Tx LPI (only supported on the
on-module EQOS based MAC) may cause issues with EEE enabled
peers/switches and is therefore disabled in NXP's BSPs (only for Gigabit
even though this is also an issue for FastEthernet!). While NXP may have
patches to fix this we also just disable it for now.
Related-to: ELB-3757
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add on-board regulators +3.3V and +1.8V and adjust assignments
and names of on-module and on-boards regulators.
Related-to: ELB-3355
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Enable interrupts for on-module and on-carrier Ethernet PHYs.
Related-to: ELB-3355
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Use correct on-module regulators for eMMC.
Related-to: ELB-3357
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The buck4 and buck5 regulators should be set to the fixed voltages
+3.3V and +1.8V respectively as they are used by multiply devices.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Add reset signal pinmux for 100/200MHz modes and
claim HS400 v1.8 mode explicitly for on-module eMMC.
Related-to: ELB-3357
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Fix the following warning:
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi:125.36-128.5: Warning
(unit_address_format): /reserved-memory/rpmsg@0x55800000:
unit name should not have leading "0x"
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Clean-up with potential functional impact:
- remove obsolete mez_ pinctrl/pinmux naming
- fix lvds_ti_sn65dsi83 pinctrl
- fix atmel_mxt_ts pinctrl
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Cosmetic clean-up without any functional impact:
- update SPDX
- rename Verdin pins as per V1.1x spec
- I2S_2_D_OUT (DSI_1_BKL_EN/DSI_1_BKL_EN_LVDS) instead of MEZ_DSI_1_BKL_EN
- PWM_3_DSI/PWM_3_DSI_LVDS instead of MEZ_PWM_3_DSI
- PWM_3_DSI instead of MEZ_DSI_1_HPD
- GPIO_9_DSI (TOUCH_INT#) instead of MEZ_DSI_1_INT#
- I2S_2_D_OUT shared with SAI3 instead of MEZ_DSI_1_BKL_EN
- GPIO_10_DSI instead of MEZ_DSI_1_GPIO_10
- PWM_3_DSI (pulled-down as active-high) shared with PWM3_OUT instead of MEZ_DSI_1_HPD, conflicts with Verdin PWM 3
- GPIO_9_DSI instead of MEZ_DSI_1_INT#
- I2S_2_BCLK (TOUCH_RESET#)
- PWM_3_DSI shared with GPIO3_IO20
- further annotate GPIO usage and SODIMM pinmuxing
- CTRL_WAKE1_MICO# (SODIMM 252)
- USB_2_EN (SODIMM 185)
- SD_1_PWR_EN (SODIMM 76)
- CTRL_SLEEP_MOCI# (SODIMM 256)
- 2x GPIO_10_DSI (SODIMM 21)
- I2S_2_BCLK (TOUCH_RESET#, SODIMM 42)
- PCIE_1_RESET# (SODIMM 244)
- SODIMM 256
- add ETH_1 and ETH_2_RGMII annotations
- re-order properties alphabetically
- re-order pin controls
- remove comment about USDHC1 usage on non-Wi-Fi SKUs (only applicable for Mini)
- annotate GPIO_9_DSI also being routed to LT8912 INT and SN65dsi83 IRQ
albeit currently unused
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The carrier boards V1.1 changed the pins used for the MIPI-DSI adapters.
Adapt to the changed pin usage for the DSI to LVDS and DSI to HDMI
adapters.
Verdin GPIO_1 and GPIO_2 are no longer used for the adapters.
DSI to LVDS
Touch reset now connected to SODIMM 42
Touch irq and LVDS controller irq now wired or connected to SODIMM 17
Backlight enable now connected to SODIMM 46
LVDS controller enable now connected to SODIMM 21
DSI to HDMI
HDMI controller irq newly available on SODIMM 17
HDMI controller reset now connected on SODIMM 21
Hot plug detect now connected to SODIMM 19
Related-to: ELB-3488
Related-to: ELB-3490
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The carrier boards V1.1 now uses a Nuvoton NAU88C22YG audio codec.
Add the relevant device tree nodes and delete the ones for the WM8904.
Related-to: ELB-3503
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The carrier boards V1.1 now feature a TI TMP75C temperature sensor.
Add the relevant device tree nodes.
Related-to: ELB-3502
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Work around potential probe deferral, order and race condition issues.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Both Verdin Developer Board V1.0A and V1.1A have their PHYs at address
7. Only V1.0B had it at the address 3!
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add SODIMM annotation to FEC pins.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Prepare the nodes for the Verdin DSI to LVDS Adapter overlay.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Prepare the nodes for the DSI to HDMI Adapter overlay.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The pcie_phy uses ext_osc info in addition to the pcie node.
While at it add the bus-range property to prevent:
No bus range found for /pcie@33800000, using [bus 00-ff]
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With the driver now supporting the phy-supply property, remove the
regulator-boot-on property.
The driver does not support the 'sleep' state pinctrl. Remove it.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The PHY connected to the FEC doesn't have a seperate switchable rail.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Only the Development Board gives access to the native hdmi signals.
Move the nodes into imx8mp-verdin-dev.dtsi.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Conflicts:
arch/arm64/boot/dts/freescale/Makefile
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
RX and TX seem to be swapped and the function is currently not
implemented. Mux the pins as GPIOs to ensure to not have two
connected outputs.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Use the correct clk as the mclk.
Additionally set the mux pad values to a more sensible value, i.e.
for inputs enable the pullup.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
On the i.MX 8M Plus the 3rd LCDIF drives an on-SoC Samsung HDMI PHY
giving us native HDMI functionality.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
At least the following of the configured devices work:
- Console
- eMMC
- ETH0
- ETH1
- SD_1
- USB_1 as peripheral, USB_2 as host
- CAN_1, CAN_2
Everything else is either known to not work or untested.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Conflicts:
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|