summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
AgeCommit message (Collapse)Author
2022-09-22arm64: dts: imx8mp-verdin: fix ctrl_sleep_mociMax Krummenacher
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>
2022-06-22arm64: dts: imx8m{m,p}-verdin: use IT temperaturesPhilippe Schenker
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>
2022-03-24arm64: dts: imx8mp-verdin: add sd1 sleep pinctrlMarcel Ziswiler
Add SD1 sleep pinctrl to avoid backfeeding during sleep. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-03-09arm64: dts: imx8mp-verdin: add gpio line namesMarcel Ziswiler
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>
2022-03-03arm64: dts: imx8mp-verdin: fix usb_1 extcon nodeMarcel Ziswiler
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>
2022-03-02arm64: dts: imx8mp-verdin: move USB_1 extcon nodeAndrejs Cainikovs
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>
2022-02-25arm64: dts: imx8mp-verdin: support temp sensorMarcel Ziswiler
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>
2022-02-25arm64: dts: imx8mp-verdin: use uart4 as bt uartMarcel Ziswiler
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>
2022-02-25arm64: dts: imx8mp-verdin: fix usb device/host switchingMarcel Ziswiler
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>
2022-02-25arm64: dts: imx8mp-verdin: swap sodimm 187 with 91Marcel Ziswiler
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>
2022-02-25arm64: dts: imx8mp-verdin: swap rx/tx bt audio signalsMarcel Ziswiler
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>
2022-02-25arm64: dts: imx8mp-verdin: fix comment sodimm 151 vs. 153Marcel Ziswiler
Fix comment about SODIMM 151 vs. 153 mixup. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-02-25arm64: dts: imx8mp-verdin: eth_int# shared with tpm_int# (n/a)Marcel Ziswiler
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>
2022-02-25arm64: dts: imx8mp-verdin: non-wifi/wifi specific default iomuxc pinctrlMarcel Ziswiler
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>
2022-02-25arm64: dts: imx8mp-verdin: remove pmic_tpm_ena et al.Marcel Ziswiler
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>
2021-10-20ARM64: dts: verdin-imx8mp: fix mac address passingMarcel Ziswiler
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>
2021-07-19arm64: dts: verdin-imx8mp: rework usb vbus enableMax Krummenacher
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>
2021-07-15ARM64: verdin-imx8mp: add support for atmel-mxt-ts on mezzaninePhilippe Schenker
Related-to: ELB-4034 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-07-15ARM64: verdin-imx8mp: Add support for lvds on mezzaninePhilippe Schenker
Related-to: ELB-4034 Signed-off-by: Philippe Schenker <philippe.schenker@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-05-27arm64: dts: verdin-imx8mp: disable broken energy efficient ethernet eeeMarcel Ziswiler
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>
2021-04-14arm64: dts: verdin-imx8mp: add regulatorsOleksandr Suvorov
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>
2021-04-14arm64: dts: verdin-imx8mp: enable interrupts for eth PHYsOleksandr Suvorov
Enable interrupts for on-module and on-carrier Ethernet PHYs. Related-to: ELB-3355 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-04-14arm64: dts: verdin-imx8mp: add on-module regulatorsOleksandr Suvorov
Use correct on-module regulators for eMMC. Related-to: ELB-3357 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-04-14arm64: dts: verdin-imx8mp: set fixed levels for buck4/5Oleksandr Suvorov
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>
2021-04-14arm64: dts: verdin-imx8mp: tune eMMC settingsOleksandr Suvorov
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>
2021-03-18arm64: dts: imx8mp-verdin: fix warningMarcel Ziswiler
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>
2021-03-18arm64: dts: imx8mp-verdin: functional clean-upMarcel Ziswiler
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>
2021-03-18arm64: dts: imx8mp-verdin: cosmetic clean-upMarcel Ziswiler
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>
2021-02-17arm64: dts: imx8mp-verdin: adapt to changed pins for dsi-adaptersMax Krummenacher
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>
2021-02-17arm64: dts: imx8mp-verdin: add dev board audio codecMax Krummenacher
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>
2021-02-17arm64: dts: imx8mp-verdin: enable lm75 temperature sensorMax Krummenacher
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>
2021-02-17arm64: dts: imx8mp-verdin: unify atmel touch labelMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-28arm64: dts: imx8mp-verdin: ethernet workaroundMarcel Ziswiler
Work around potential probe deferral, order and race condition issues. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-28arm64: dts: imx8mp-verdin: change on-carrier phy addressMarcel Ziswiler
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>
2021-01-28arm64: dts: imx8mp-verdin: add sodimm annotation to fec pinsMarcel Ziswiler
Add SODIMM annotation to FEC pins. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-28arm64: dts: imx8mp-verdin: prepare for dsi to lvds adapterMax Krummenacher
Prepare the nodes for the Verdin DSI to LVDS Adapter overlay. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-28arm64: dts: imx8mp-verdin: prepare for dsi to hdmi adapterMax Krummenacher
Prepare the nodes for the DSI to HDMI Adapter overlay. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-28arm64: dts: imx8mp-verdin: add ext_osc to pcie_phy and prevent warningMax Krummenacher
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>
2021-01-28arm64: dts: imx8mp-verdin: fix eqos macMax Krummenacher
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>
2021-01-28arm64: dts: imx8mp-verdin: remove phy-supply from fecMax Krummenacher
The PHY connected to the FEC doesn't have a seperate switchable rail. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-28arm64: dts: imx8mp-verdin: add device tree for dahliaMax Krummenacher
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>
2021-01-28arm64: dts: imx8mp-verdin: change wi-fi-i2s muxing to gpioMax Krummenacher
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>
2021-01-28arm64: dts: imx8mp-verdin: correct audio codec mclk clkMax Krummenacher
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>
2021-01-28arm64: dts: imx8mp-verdin: enable native hdmi functionalityMarcel Ziswiler
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>
2021-01-28arm64: dts: imx8mp-verdin: add initial device treeMax Krummenacher
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>