summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale
AgeCommit message (Collapse)Author
2020-11-26MLK-24171-1 arm64: dts: imx8mp: verify the pcie pll sys ref clockRichard Zhu
Verify the PCIe PLL_SYS reference clock source on EVK board. The external OSC clock is used as PCIe REF clock source in default. NOTE: Change the ext_osc of pcie/pcie_phy to '0' when enable SYS_PLL clock mode. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> Reviewed-by: Fugang Duan <fugang.duan@nxp.com> (cherry picked from commit 1bda33273eccae3c0d878d34660eca9da1765db0)
2020-11-25arm64: 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>
2020-11-25arm64: 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>
2020-11-25arm64: 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>
2020-11-25arm64: 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>
2020-11-25arm64: 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>
2020-11-21arm64: 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>
2020-11-19arm64: 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>
2020-11-17arm64: dts: apalis/colibri-imx8qxp: use pmic sensor nameOleksandr Suvorov
Use the predefined resource name of the PMIC thermal sensor. Related-to: ELB-3037 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-13Merge commit '70d1232fdbe28e4c765c4cfc3cc5c7580959d5e0' into ↵Igor Opaniuk
toradex_5.4-2.1.x-imx Update 5.4-2.1.x-imx to v5.4.74 from [1]. [1] https://github.com/Freescale/linux-fslc
2020-11-10arm64: 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>
2020-11-09arm64: dts: apalis-imx8p: initial device treeOleksandr Suvorov
Fork and tune the device trees to support iMXQP SoC on modules Apalis-iMX8QP. Related-to: ELB-3036 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-09arm64: dts: apalis-imx8: remove duplicate compatible entriesOleksandr Suvorov
Removed the duplicate "toradex,apalis-imx8" entries in "compatible" strings set. Related-to: ELB-3036 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-09arm64: dts: apalis-imx8: fix model stringOleksandr Suvorov
Remove iMX8QP variant from the model string as it takes its own device tree files. Related-to: ELB-3036 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-09arm64: 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>
2020-11-09arm64: dts: apalis-imx8: rename ixora board device treeOleksandr Suvorov
The device tree of Apalis Ixora v1.1 board is common for both Apalis iMX8QM and Apalis iMX8QP modules. Rename the device tree to further use it for both modules. Related-to: ELB-3036 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-09arm64: dts: apalis-imx8: rename Eval board device treeOleksandr Suvorov
The device tree of Apalis Evaluation board is common for both Apalis iMX8QM and Apalis iMX8QP modules. Rename the device tree to further use it for both modules. Related-to: ELB-3036 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-11-06ARM64: dts: apalis-imx8x: add workaround for pcie problemPhilippe Schenker
Currently the PCIe switch on the eval-board is not working. As the carrier-board reset is controlled by the PCIe driver this reset never gets deasserted. This is a workaround until PCIe works properly. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-11-06arm64: dts: apalis-imx8: fec: add fsl,mii-exclusiveMax Krummenacher
When fsl,mii-exclusive is not specified the driver only uses the MII bus of the fec device with dev_id=0 for both fec1 and fec2. On the Apalis iMX8 hardware design a potential second PHY is connected to the second MAC's MII bus. This property is needed to select the MDIO bus coupled with fec2, if fec2 is used. We put it in fec1 for customers so they automatically inherit this property if they placed a PHY on their carrier-board and copied the fec1 node. Compare with commit 9801f2e913a2 ("net: fec: reinit MAC0 MII bus to be used by MAC1 after resume back") Related-to: ELB-3177 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-04ARM64: dts: apalis-imx8: disable dma for lpuart2Philippe 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. Related-to: ELB-3178 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-10-30arm64: dts: apalis-imx8x: add lvds panelOleksandr Suvorov
Add initial version of LVDS panel support. Note it should be enabled in a corresponding overlay. Related-to: ELB-2943 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-10-29Merge tag 'v5.4.73' into 5.4-2.1.x-imxAndrey Zhizhikin
This is the 5.4.73 stable release Conflicts: - arch/arm/boot/dts/imx6sl.dtsi: Commit [a1767c90194e2] in NXP tree is now covered with commit [5c4c2f437cead] from upstream. - drivers/gpu/drm/mxsfb/mxsfb_drv.c: Resolve merge hunk for patch [ed8b90d303cf0] from upstream - drivers/media/i2c/ov5640.c: Patch [aa4bb8b8838ff] in NXP tree is now covered by patches [79ec0578c7e0a] and [b2f8546056b35] from upstream. Changes from NXP patch [99aa4c8c18984] are covered in upstream version as well. - drivers/net/ethernet/freescale/fec_main.c: Fix merge fuzz for patch [9e70485b40c83] from upstream. - drivers/usb/cdns3/gadget.c: Keep NXP version of the file, upstream version is not compatible. - drivers/usb/dwc3/core.c: - drivers/usb/dwc3/core.h: Fix merge fuzz of patch [08045050c6bd2] together wth NXP patch [b30e41dc1e494] - sound/soc/fsl/fsl_sai.c: - sound/soc/fsl/fsl_sai.h: Commit [2ea70e51eb72a] in NXP tree is now covered with commit [1ad7f52fe6683] from upstream. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-10-29arm64: dts: apalis-imx8: disable atmel touchscreenOleksandr Suvorov
The touchscreen is a part of display panels, so move enabling it to an overlay. Related-to: ELB-2943 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-10-29arm64: dts: apalis-imx8: disable lvds panelOleksandr Suvorov
In favor to enabling in overlay, disable an lvds panel. Make lvds panel accessible by a symbolic name. Related-to: ELB-2943 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-10-29arm64: dts: imx8mq: Add missing interrupts to GPCKrzysztof Kozlowski
[ Upstream commit 791619f66843a213784efb2f171be98933bad991 ] The i.MX General Power Controller v2 device node was missing interrupts property necessary to route its interrupt to GIC. This also fixes the dbts_check warnings like: arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: gpc@303a0000: {'compatible': ... '$nodename': ['gpc@303a0000']} is not valid under any of the given schemas arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: gpc@303a0000: 'interrupts' is a required property Fixes: fdbcc04da246 ("arm64: dts: imx8mq: add GPC power domains") Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-28arm64: dts: freescale: fsl-imx8mm-verdin: order alias for rtcMax Krummenacher
Add aliases for the RTCs. This sets /dev/rtc0 to represent the external RTC, potentially backuped by a coin cell on the carrier and /dev/rtc1 representing the SoC provided RTC not backuped. Related-to: ELB-2757 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-10-26ARM64: dts: colibri-imx8x: update assigned-clocks for 5.4 kernelPhilippe Schenker
This commit updates the assigned-clocks property. This commit does multiple things: * It changes the clocks from 12.288MHz to 12MHz as it has been on kernel 4.14 due to issues with the USB hub with 12.288MHz * It also adds all the clocks to usb3803 node as they are used there too Related-to: ELB-3154 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-10-26ARM64: dts: colibri-imx8x: use new flag for usb power-active-highPhilippe Schenker
the old flag power-polarity-active-high; is no longer supported by this kernel Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-10-26ARM64: dts: colibri-imx8x: add comments to usb-physPhilippe Schenker
to which usb node they actually belong Signed-off-by: Philippe Schenker <philippe.schenker@toradex.
2020-10-21arm64: dts: freescale: fsl-imx8mm-verdin: add adcMax Krummenacher
Adds the ADC. The ADC TI TLA2024 is used. Currently there is no specific driver for the chip and we use the ADS015 which has a compatible programming model.. The ADS1015 additionally comparator features which are not available in the TLA2024. Related-to: ELB-3132 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-10-21arm64: dts: freescale: fsl-imx8mm-verdin: enable i2c level translatorMax Krummenacher
This is used to connect to the on module ADC. Related-to: ELB-3132 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-10-15arm64: dts: freescale: fsl-imx8mm-verdin: add i2c gpio recoveryMax Krummenacher
Add a gpio pinmuxing to the i2c nodes which will allows the I2C driver to recover from stuck communication signals. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-10-15arm64: dts: freescale: fsl-imx8mm-verdin: add dtbs for v1.1 hwMax Krummenacher
This reworks the dtsi files to allow to also build device trees for Verdin iMX8MM V1.1 hardware. The module level device tree for V1.1 HW is imx8mm-verdin-v1.1.dtsi, for V1.0 HW the imx8mm-verdin.dtsi is reworked to include the V1.1 dtsi and then it deletes and adds whatever is different. This commit incorporates the following HW changes: - Changed PMIC - Removal of ADC MAX11607 (The replacement TI TLA2024 is not yet added) - Removal of external PCIe PHY Clock in favour of SoC provided one - Prepare for not stuffed security alternatives SE050, ATTPM20P - Changed pin usage, see below Pin usage changed from V1.0 to V1.1 HW: To ease creation of V1.0 and V1.1 device trees move all pin groups, also wifi and nonwifi ones, into imx8mm-verdin-v1.1.dtsi and change them as needed in imx8mm-verdin.dtsi for V1.0 HW. The eMMC reset is now connected to the SD1_RESET_B ball. Add it to the eMMC pin groups for V1.1. CTRL_FORCE_OFF_MOCI# used to be controlled by SAI5_RXC in V1.0 HW. In V1.1 HW it is no longer under SW control. Delete the unused pin group for V1.1. Wi-Fi_WKUP_WLAN used to be controlled by SD1_RESET_B in V1.0 HW. In V1.1 HW it is controlled by SAI5_RXC. Update the pin group for V1.1. Related-to: ELB-3130, ELB-3136, ELB-3150 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-10-07arm64: dts: apalis-imx8x: add panel-dpiOleksandr Suvorov
- move enabling pwm_mipi_lvds1 to an overlay - temporarily add a persistent part of panel-dpi to manage it in an overlay. Related-to: ELB-2943 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-10-07arm64: dts: apalis-imx8x: remove atmel_mxtOleksandr Suvorov
The touchscreen atmel_mxt supports as an overlay. Remove it from the main device tree. Related-to: ELB-2943 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-10-07arm64: dts: apalis-imx8x: remove ad7879Oleksandr Suvorov
The touchscreen ad7879 supports as an overlay. Remove it from the main device tree. Related-to: ELB-2943 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-10-07arm64: dts: colibri-imx8x: remove ad7879Oleksandr Suvorov
The touchscreen ad7879 supports as an overlay. Remove it from the main device tree. Related-to: ELB-2943 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-10-07arm64: dts: colibri-imx8x: remove atmel_mxtOleksandr Suvorov
The touchscreen atmel_mxt supports as an overlay. Remove it from the main device tree. Related-to: ELB-2943 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-10-05arm64: dts: colibri-imx8x: fix thermal zones configOleksandr Suvorov
Colibri iMX8X has only 2 sensors. Fixing the configuration of thermal zones let the driver work well. Related-to: ELB-3026 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-10-01arm64: dts: bring up pcie/wifiOleksandr Suvorov
Add required and fix wrong settings to make PCIe host and PCIe WiFI module AW-CM276AF on Colibri iMX8X work well. Related-to: ELB-3025 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-09-29arm64: dts: colibri-imx8x: fix pcieb compatible stringOleksandr Suvorov
NXP uses imx8qm compatible string for common pcieb definition. Fix it to tell the driver the correct variant of PCIe controller. Related-to: ELB-3025 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-09-29arm64: dts: colibir-imx8x: add names of GPIO expander pinsOleksandr Suvorov
Add names for GPIO signals drived by on-module FXL6408 GPIO expander on Colibri iMX8X. Related-to: ELB-3025 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-09-28ARM64: dts: apalis-imx8: delete ar0521 devicetreesPhilippe Schenker
They are not yet done and do not work hence delete them. They should anyway make it's way into the device-tree-overlays in the future Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-09-28ARM64: dts: apalis-imx8-ixora: add devicetree for V1.1BPhilippe Schenker
Add a devicetree for Apalis iMX8 V1.1 and Ixora V1.1 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-09-28ARM64: dts: apalis-imx8: ixora: fixes for 5.4 kernelPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-09-25arm64: dts; apalis-imx8x: fix usbo1 in host modeOleksandr Suvorov
Make USB OTG1 port work well in host mode. Related-to: ELB-3051 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-09-25arm64: dts: apalis-imx8x: enable USBH1Oleksandr Suvorov
Enable USBH1 interface and set up an overcurrent pin to make HSIC-based USB on-board ports work. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-09-25arm64: dts: imx8x: get back support of usbh1Oleksandr Suvorov
Revert "MLK-24374-2 arm64: dts: imx8qm: Move USBH1 to imx8qm-ss-conn" This reverts commit 3a3ce5c40c0560a67da536938032cfc9d462ee44. Apalis/Colibri-iMX8X has USBH1 port as well. Return back this device node and related stuff makes able all on-board USB ports work well. Related-to: ELB-3052 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-09-25arm64: dts: apalis/colibri-imx8x: enable otg phyOleksandr Suvorov
Enabling OTG phy interface is required for OTG port to work well in host mode. Related-to: ELB-3052 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-09-25ARM64: dts: apalis-imx8: fix WAKE1_MICOPhilippe Schenker
Related-to: ELB-2971 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>