summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
AgeCommit message (Collapse)Author
2022-11-30arm64: dts: imx8mp-verdin: enable hpd on hdmi-connectorStefan Eichenberger
Add hot plug detect gpio to the HDMI connector. Upstream-Status: Submitted [https://lore.kernel.org/all/20221129144412.37497-1-francesco@dolcini.it/] Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2022-11-15arm64: dts: imx8m{m,p}-verdin: set cmaAndrejs Cainikovs
Bring back CMA in device tree and set its size to 512MB for entire Verdin family. Upstream-Status: Inappropriate [downstream specific] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2022-11-15arm64: dts: verdin-imx8mp: add gpio usb-b connectorMarcel Ziswiler
Add GPIO USB-B connector (gpio-usb-b-connector) functionality using Verdin USB_1_ID. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Upstream-Status: Submitted [https://lore.kernel.org/all/20221102131203.35648-1-marcel@ziswiler.com/]
2022-11-15arm64: dts: verdin-imx8mp: disable usb port power controlMarcel Ziswiler
Disable port power control on Verdin USB_1/2 as we use regular fixed-regulators with Verdin USB_1/2_EN as enable GPIOs. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Upstream-Status: Submitted [https://lore.kernel.org/all/20221102131203.35648-1-marcel@ziswiler.com/]
2022-11-15arm64: dts: verdin-imx8mp: add usb_1 over-current detectionMarcel Ziswiler
Add Verdin USB_1 over-current detection functionality via Verdin USB_1_OC# (SODIMM 157) being active-low and removing its previous gpio_hog3 mapping. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Upstream-Status: Submitted [https://lore.kernel.org/all/20221102131203.35648-1-marcel@ziswiler.com/]
2022-11-15arm64: dts: verdin-imx8mp: remove usb_2 over-current detection disablingMarcel Ziswiler
The disable-over-current property is only applicable for the ci-hdrc-usb2 and dwc2 drivers while the i.MX 8M Plus integrates dwc3 IP. Therefore remove this property which does not really serve any purpose here. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Upstream-Status: Submitted [https://lore.kernel.org/all/20221102131203.35648-1-marcel@ziswiler.com/]
2022-11-15arm64: dts: verdin-imx8mp: improve pinctrl for vbus-suppliesMarcel Ziswiler
As we are using two fixed regulators for Verdin USB_1_EN (SODIMM 155) and Verdin USB_2_EN (SODIMM 185), those should be muxed as GPIOs rather than OTG_PWR. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Upstream-Status: Submitted [https://lore.kernel.org/all/20221102131203.35648-1-marcel@ziswiler.com/]
2022-11-15arm64: 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: Backport [2f321fd6d89ad1e9525f5aa1f2be9202c2f3e724] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: add pcie functionalityMax Krummenacher
Enable the PCIe and PCIe PHY. Upstream-Status: Pending [mainline does not support PCIe yet] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: board regulators: add always-onMax Krummenacher
These regulators are switched on by HW during power up and can not be influenced by SW. Set the always-on property. Upstream-Status: denied [https://lore.kernel.org/all/20220901110422.1859621-1-max.oss.09@gmail.com/] - upstream solved this in the regulator framework Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: add native lvds functionalityMax Krummenacher
The LVDS signals generated from the LDB can be accessed on the Verdin Development Board mezzanine connector. Add a panel and ldb node in the device tree and allow for enabling it in a overlay. Upstream-Status: Pending [mainline does not support LDB yet] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: enable the vpu related nodesMax Krummenacher
Enable the Video Processing Unit nodes as the VPU could be used for image processing even in a headless system. Upstream-Status: Pending [mainline does not support VPU yet] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: add dsi to lvds functionalityMax Krummenacher
Add a panel-lvds node and use the correct dsi to lvds chip name. Both to be later extended in a dt overlay according to the exact board HW configuration. Upstream-Status: Submitted [https://lore.kernel.org/lkml/20220901154051.1885509-2-max.oss.09@gmail.com/T/#u] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: add dsi to hdmi functionalityMax Krummenacher
Add the hdmi connector present on the dsi to hdmi adapter now required by the upstream lontium bridge driver. The dsi to hdmi adapter is enabled in an device tree overlay. Upstream-Status: Submitted [https://lore.kernel.org/lkml/20220901154051.1885509-1-max.oss.09@gmail.com/T/#t] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: add native hdmi-audio nodeMax Krummenacher
Add a disabled node related to hdmi-audio. This allows to enable hdmi-audio together with hdmi for the native hdmi hardware present on the SoM. Upstream-Status: Pending [mainline does not support SAI yet] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: add cpu-supplyMax Krummenacher
Add the cpu-supply property to all CPU nodes to enable the cpufreq driver. Upstream-Status: Backport [310dde60ddde8ff0e7ef7b164025dc9b9a4a1445] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: delete unneeded reserved-memory nodesMax Krummenacher
We don't use the tuning tool, whatever that is. So remove the reserved-memory region dedicated to the ISP and make another 256MB of memory available. Upstream-Status: Innapropriate [ISP doesn't reserve memory in upstream] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: delete unneeded reserved-memory nodesMax Krummenacher
We don't configure the DSP. So remove the reserved-memory regions dedicated to the DSP and make another 32MB of memory available. Upstream-Status: Pending [DSP reserves memory upstream, but differently] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-11-15arm64: dts: freescale: verdin-imx8mp: fix atmel_mxt_ts reset polarityMarcel Ziswiler
Fix reset GPIO polarity in-line with the following commit feedaacdadfc ("Input: atmel_mxt_ts - fix up inverted RESET handler"). Fixes: a39ed23bdf6e ("arm64: dts: freescale: add initial support for verdin imx8m plus") Upstream-Status: Backport [8f143b9f3849828870bb2a7f28288095ad9a329d] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-11-15arm64: dts: imx8mp-verdin: use downstream definesPhilippe Schenker
in mainline these muxings are called USB*_OTG_PWR, the value behind is the exact same as USB*_PWR in downstream so use these for downstream. Upstream-Status: Inappropriate [other] - Commit only needed for NXP downstream kernel Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2022-11-15arm64: dts: imx8m{m,p}-verdin: use IT temperaturesPhilippe Schenker
Use IT temperature threshold for critical/passive trip point on Verdin iMX8M Plus and Mini. Upstream-Status: Backport [a242ef5f3c10740f48ccd4a1f6b0ad4355f64e21] Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2022-11-15arm64: dts: freescale: align gpio-key node names with dtschemaKrzysztof Kozlowski
The node names should be generic and DT schema expects certain pattern (e.g. with key/button/switch). Upstream-Status: Backport [b803d15e89f9f9dcbb87f5f98f175c34da4f7961] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2022-11-15arm64: dts: imx8mp-verdin: Use the standard 'uart-has-rtscts'Fabio Estevam
The usage of the 'fsl,uart-has-rtscts' property is deprecated. Use the standard 'uart-has-rtscts' instead. Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com> Upstream-Status: Backport [83b41ad1dca61ede1c261aa788fe643b746fb546] Signed-off-by: Fabio Estevam <festevam@denx.de> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2022-11-15arm64: dts: freescale: add initial support for verdin imx8m plusMarcel Ziswiler
This patch adds the device tree to support Toradex Verdin iMX8M Plus [1] a computer on module which can be used on different carrier boards. The module consists of an NXP i.MX 8M Plus family SoC (either i.MX 8M Plus Quad or 8M Plus QuadLite), a PCA9450C PMIC, a Gigabit Ethernet PHY, 1, 2, 4 or 8 GB of LPDDR4 RAM, an eMMC, a TLA2024 ADC, an I2C EEPROM, an RX8130 RTC, an optional I2C temperature sensor plus an optional Bluetooth/Wi-Fi module. Anything that is not self-contained on the module is disabled by default. The device tree for the Dahlia includes the module's device tree and enables the supported peripherals of the carrier board. The device tree for the Verdin Development Board includes the module's device tree as well as the Dahlia one as it is a superset and supports almost all peripherals available. So far there is no display functionality supported at all but basic console UART, USB host, eMMC and Ethernet functionality work fine. [1] https://www.toradex.com/computer-on-modules/verdin-arm-family/nxp-imx-8m-plus Upstream-Status: Backport [a39ed23bdf6ec7eb0f093b6ef0391e1f3d152f71] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>