summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale
AgeCommit message (Collapse)Author
2020-03-09ARM64: boot: dts: verdin-imx8mm: Remove unsupported rgmii dly from fecPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-03-09ARM64: boot: dts: apalis-imx8qm: Correct comment from 3.3V to 1.8VPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-03-04ARM64: dts: verdin-imx8mm: Add rxc txc dll 2ns delayPhilippe Schenker
This patch enables both RXC and TXC 2ns dll delay lines on the KSZ9131 PHY. Both are neede because the i.MX8MM SoC is RGMII v1.3 compliant. This means we need the TXC delay of the PHY. Related-to: ELB-1299 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-03-04ARM64: dts: apalis-imx8qm-v1.1: Remove RXC delay in MACPhilippe Schenker
The RXC delay is provided in both PHYs used (KSZ9031 and KSZ9131) on the PHY itself so it is not needed on the MAC. Related-to: ELB-1299 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-24ARM64: dts: verdin-imx8mm: add ctrl_sleep_mociMarcel Ziswiler
Add CTRL_SLEEP_MOCI required for e.g. the Dahlia carrier board. Related-to: ELB-2520 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-02-17ARM64: dts: verdin-imx8mm: Add off-on-delay to usdhc2Philippe Schenker
The hardware of verdin has some bypass caps after the switch that switches power to the sd-card. These caps are resulting in a slow discharge. Add off-on-delay to set a minimum off-time of the regulator so it can fully discharge until it turns on again. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: dts: apalis-imx8qm: V1.0 devicetree inherit from V1.1 dtsPhilippe Schenker
This commit basically deletes the devicetree for V1.0 Apalis iMX8 modules. It includes V1.1 devicetree then and only puts in the differences and deletes the nodes that are not used in V1.0. This is done to prevent code duplication and have better overview of what has changed. Related-to: ELB-1254 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: dts: apalis-imx8qm: add new v1.1-eval.dtsPhilippe Schenker
Related-to: ELB-1254 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: dts: apalis-imx8qm: changes to v1.1 modulePhilippe Schenker
Related-to: ELB-1254 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-12ARM64: dts: apalis-imx8qm: copy v1.0 devicetree to v1.1Philippe Schenker
This commit does no code changes it just copies fsl-imx8qm-apalis.dtsi to fsl-imx8qm-apalis-v1.1.dtsi. This is done to be able to track changes made between those versions. Related-to: ELB-1254 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-06ARM64: dts: verdin-imx8mm: bump copyright yearPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-06ARM64: dts: add sn65dsi84 dsi-to-lvds bridge to devicetreePhilippe Schenker
Related-to: ELB-2289 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-06ARM64: dts: verdin-imx8mm: add atmel_mxt_ts touchscreen controllerPhilippe Schenker
Related-to: ELB-2289 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-06ARM64: dts: imx8mm-verdin: add backlightPhilippe Schenker
Related-to: ELB-2289 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-03ARM64: dts: apalis-imx8qm: add wifi power down pin to pcie supplyPhilippe Schenker
Related-to: ELB-2359 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-03ARM64: dts: apalis-imx8qm: add sleep-mode to fecPhilippe Schenker
Note: there is still backfeeding present at this moment from those pads: SC_P_ENET0_RGMII_TXD0 SC_P_ENET0_RGMII_TXD1 SC_P_ENET0_RGMII_RXD0 SC_P_ENET0_RGMII_RXD1 Related-to: ELB-1254 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-01-31ARM64: dts: apalis-imx8qm: add phy interrupt and led-modePhilippe Schenker
Related-to: ELB-1254 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-01-31ARM64: dts: apalis-imx8qm: add power-domain to power down ETH PHYPhilippe Schenker
Related-to: ELB-1254 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-01-16arm64: dts: fsl-imx8mm-verdin: eth phy: prevent backfeeding during sleepMax Krummenacher
Add a 'sleep' pinmuxing which prevents driving RGMII pins and backfeed the unpowered Ethernet PHY. When switching the Ethernet PHY supply off, it takes about 400 ms for the PHY power to go down. So wait a minimum of 500 ms before reenabling the PHY supply. Related-to: HAR-2339 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-16arm64: dts: fsl-imx8mm-verdin: eth phy: improve startupMax Krummenacher
After the Ethernet PHY supply is enabled an RC holds the reset asserted for about 120 ms. Reduce the time waited from 1000 ms to 200 ms which should account for any possible tolerance. U-Boot enables the PHY supply, switching it off in Linux with the RGMII pins allready muxed creates backfeeding, thus set regulator-boot-on. Related-to: HAR-2339 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-09Revert "arm64: dts: imx8qm-apalis: disable dsp"Max Krummenacher
The driver now checks the fuses for a disabled DSP. Thus enable the DSP device in the device tree and let the driver decide at run-time if the DSP can be used or not. This reverts commit 862886b0c48296d34b0e63d7497fa671e6fe25d7. Related-to: ELB-1380 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-12-12arm64: dts: fsl-imx8mm-verdin: fix mipi-csi2 cameraMax Krummenacher
Use a OV5640 camera driver which works with the i.MX8 MM camera stack. gst-launch-1.0 v4l2src device='/dev/video0' ! video/x-raw,format=YUY2,width=1920,height=1080,framerate=30/1 ! waylandsink Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-12-11arm64: dts: fsl-imx8mm-verdin: fix uart2 pinmuxingMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-12-03ARM64: fsl-imx8qm-ixora: Add support of Ixora v1.1Oleksandr Suvorov
Ixora board has several differences from the Apalis Evaluation one. Some important differences are reflected in personalized device-tree files. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-12-03arm64: dts: freescale: add initial support for verdin imx8mmMax Krummenacher
This patch adds the device tree to support Toradex Verdin iMX8M Mini a computer on module which can be used on different carrier boards. The module consists of an NXP i.MX 8M Mini family SoC, a Rohm BD71847 PMIC, a Gigabit Ethernet PHY, 2 GB of LPDDR4 RAM, an eMMC, an ADC, a Secure Element, an EEPROM, an RTC, USB host and OTG ports, PCIe and MIPI-CSI2/DSI interfaces plus optional Bluetooth/Wi-Fi module and CAN controllers. Anything that is not self-contained on the module is disabled by default. The device tree for the Verdin Development Board includes the module's device tree and enables the supported peripherals of the carrier board (the Verdin Development Board supports almost all of them). Not yet tested: - all UARTs other than console/debug Verdin UART_3 - push button controller on carrier board - JTAG - I2S to Wi-Fi - I2S to DSI Mezzanine Not yet working: - carrier board audio - MIPI-CSI2 - carrier board power gating - FTDI control signals and JTAG Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-11-29arm64: dts: apalis-imx8x: fix device tree compilation issueMarcel Ziswiler
This fixes the following device tree compilation issue as introduced by the previous commit 621db2fdb2e1 ("arm64: dts: apalis-imx8x: add adv7280 to devicetree"): DTC arch/arm64/boot/dts/freescale/fsl-imx8qxp-apalis-eval.dtb arch/arm64/boot/dts/freescale/fsl-imx8qxp-apalis-eval.dtb: ERROR (phandle_references): Reference to non-existent node or label "adv7280_ep" Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-11-28arm64: dts: apalis-imx8x: add adv7280 to devicetreePhilippe Schenker
This patch adds the adv7280 to the devicetree and makes changes that are necessary for parallel-CSI. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-11-27ARM64: dts: enable flexcan 1 and 2Philippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-11-27ARM64: dts: apalis-imx8x: Add support for MIPI-CSI cameraPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-11-25Revert "Revert "MLK-18433 PCI: imx: remove the lpcg_xxx clocks in driver""Oleksandr Suvorov
This reverts commit c1e7d4fc8c1b9bd599eed9cf848eff3ed9a34637. Adding pcie_per leads to eventual kernel panics on boot for Apalis iMX8QM modules. Related-To: #58016 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-11-25Revert "ARM64: dts: imx8qm-apalis: add pcie_per clock"Oleksandr Suvorov
This reverts commit 81d5c3f7cc7490bde7d388a1a4a23fc38c5b8cae. Adding pcie_per leads to eventual kernel panics on boot for Apalis iMX8QM modules. Related-To: #58016 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-11-21ARM64: dts: apalis-imx8x: enable reset-on-resume for WiFi USBOleksandr Suvorov
USB WiFi soldered into Apalis iMX8X module and permamently connect to usbotg3 via usb 3.0 hub. After system resuming from suspend, WiFi module fails to communicate via USB interface: ----------------------------------------------------------- [ 1550.425744] usb usb2: root hub lost power or was reset [ 1551.756995] usb 2-1: reset SuperSpeed USB device number 2 using cdns-usb3 [ 1552.145771] usb 2-1.1: reset SuperSpeed USB device number 4 using cdns-usb3 [ 1552.196843] usb 2-1.1: PREP_CMD: device in suspended state [ 1552.202412] usb 2-1.1: mwifiex_usb_disconnect: removing card [ 1552.208209] usb 2-1.1: info: shutdown mwifiex... [ 1552.213071] usb 2-1.1: PREP_CMD: device in suspended state [ 1552.236771] usb 2-1.1: PREP_CMD: device in suspended state [ 1552.661125] usb 2-1.1:1.0: rebind failed: -517 [ 1552.665648] usb 2-1.1:1.1: rebind failed: -517 [ 1552.670118] usb 2-1.1:1.2: rebind failed: -517 [ 1552.676051] PM: resume devices took 2.276 seconds [ 1552.681128] OOM killer enabled. [ 1552.684296] Restarting tasks ... [ 1552.692860] usb 2-1.1: WLAN FW is active [ 1552.693897] done. [ 1552.702695] PM: suspend exit ... [ 1562.764794] usb 2-1.1: mwifiex_cmd_timeout_func: Timeout cmd id = 0xa9, act = 0x0 [ 1562.772300] usb 2-1.1: num_data_h2c_failure = 0 [ 1562.776865] usb 2-1.1: num_cmd_h2c_failure = 0 [ 1562.781340] usb 2-1.1: is_cmd_timedout = 1 [ 1562.785462] usb 2-1.1: num_tx_timeout = 0 [ 1562.789492] usb 2-1.1: last_cmd_index = 1 [ 1562.793524] usb 2-1.1: last_cmd_id: 00 00 a9 00 00 00 00 00 00 00 [ 1562.799639] usb 2-1.1: last_cmd_act: 00 00 00 00 00 00 00 00 00 00 [ 1562.805842] usb 2-1.1: last_cmd_resp_index = 0 [ 1562.810308] usb 2-1.1: last_cmd_resp_id: 00 00 00 00 00 00 00 00 00 00 [ 1562.816857] usb 2-1.1: last_event_index = 0 [ 1562.821060] usb 2-1.1: last_event: 00 00 00 00 00 00 00 00 00 00 [ 1562.827091] usb 2-1.1: data_sent=0 cmd_sent=1 [ 1562.831470] usb 2-1.1: ps_mode=0 ps_state=0 [ 1562.835700] usb 2-1.1: info: _mwifiex_fw_dpc: unregister device ----------------------------------------------------------- Enable reset-on-resume feature of usb phy-generic driver fixes this issue. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-11-21ARM64: dts: apalis-imx8x: Move part of usbotg3 to SoM levelOleksandr Suvorov
USBOTG3 connects to USB Hub placed on SoM. As well as its VBUS enable signal exports to board X1 connector. Move a part of usbotg3 node to SoM module too. Related-to: #57466 Related-to: #55501 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-11-21ARM64: fsl-imx8qm-apalis: fix wakeup by gpio keyOleksandr Suvorov
Add required pad-wakeup/pad-wakeup-num properties to have wakeup by gpio key function working. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-11-19ARM64: dts: apalis-imx8qxp: enable all uart interfacesPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-11-19ARM64: dts: apalis-imx8qxp: uncomment mipi_dsi1 section and disable itPhilippe Schenker
For HDMI the mipi_dsi_bridge2 is used and on this pins lvds is running per default. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-11-19ARM64: dts: apalis-imx8qxp: enable adc0 and correct pinmuxingPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-11-13ARM64: dts: apalis-imx8x: fix console suspendingOleksandr Suvorov
no_console_suspend=1 doesn't work on Apalis iMX8X V1.0A module. This patch fixes the issue. Related-to: #57468 Related-to: #55501 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-11-11ARM64: dts: apalis-imx8x: improve definition of gpio expanderOleksandr Suvorov
Driver for Marvell GPIO expanders support useful DT options ngpios and gpio-line-names. Set them properly helps in some cases like using gpioinfo/set/get tools. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-11-11ARM64: dts: apalis-imx8x: Mux USB WiFi sleep clockOleksandr Suvorov
Set USB WiFi sleep clock pin muxing up properly. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-11-11ARM64: dts: apalis-imx8x: fix wakeup control modeOleksandr Suvorov
GPIO1_26 which uses for as wakeup source is pulled up and its active state is low. So Wakeup signal should be generated on falling edge. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-11-06ARM64: dts: fsl-imx8qm: use X2 peripheral clock on both instancesStefan Agner
When pciea fails to probe, it disables X2 peripheral clock. When pcieb probes subsequently, the kernel crashes with a "Unhandled fault: synchronous external abort" in regmap_mmio_read32le. Related-to: #57415 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (Cherry picked from commit cd8afb78947d0a0c2fbe13935b261a835b26a86a)
2019-11-04ARM64: dts: apalis-imx8x: Add pad-wakeupOleksandr Suvorov
gpio-mxc module requires pad-wakeup options to proceed wakeup key properly. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-11-04ARM64: dts: apalis-imx8x: Fix wakeup gpio settingsOleksandr Suvorov
Correct muxmode for MIPI_DSI0_I2C0_SDA signal to be used as GPIO wakeup is LSIO_GPIO1_IO26. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-10-24ARM64: apalis-imx8x: remove phy-post-delayPhilippe Schenker
It was decided to remove that extra capacitor so this delay is no longer needed.
2019-10-24ARM64: dts: colibri-imx8x: Add wakeup gpio padOleksandr Suvorov
NXP driver gpio-mxc requires to set gpio pad properly up to use it as wakeup source. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-10-15ARM64: dts: colibri-imx8x: Add FlexCAN3Oleksandr Suvorov
Colibri i.MX8QXP module supports 3 flexcan interfaces, so add missed one. Related-To: #42561 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-10-11ARM64: dts: colibri-imx8x: Fix pull mode for wake-upOleksandr Suvorov
gpio3-10 is externally pulled-down, so fix internal pin settings. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-10-09ARM64: dts: fsl-imx8qm-apalis.dtsi: set mmc no-1-8-vMax Krummenacher
The PMIC on V1.0A HW generates 1.6V instead of 1.8V which creates issues with certain SD cards, disable 1.8V signaling for now. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-10-09ARM64: dts: fsl-imx8qxp-apalis.dtsi: set mmc no-1-8-vMax Krummenacher
The PMIC on V1.0A HW generates 1.6V instead of 1.8V which creates issues with certain SD cards, disable 1.8V signaling for now. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>