summaryrefslogtreecommitdiff
path: root/arch/arm64/boot
AgeCommit message (Collapse)Author
2021-01-14arm64: dts: colibri-imx8x: add second spidev deviceOleksandr Suvorov
Colibri Aster board supports two spidev devices. Add 2nd one. Related-to: ELB-2532 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-14arm64: dts: colibri-imx8x: improve spidev configurationOleksandr Suvorov
All Toradex Colibri family boards support the ecspi interface. Move the definition of spidev0 to the module devicetree and enable it by default. Colibri Eval board has a CAN SPI controller. Disable the spidev0 for this board to have the CAN controller been enabled by default. Related-to: ELB-3401 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-28arm64: dts: apalis-imx8x: request gpio1,2,5,6 pinsOleksandr Suvorov
Request and initialize the rest of GPIOx pins. Related-to: ELB-3427 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-28arm64: dts: apalis-imx8x: add GPIOx signal name for pinsOleksandr Suvorov
Detailing names for pins that serve GPIOx signals. Related-to: ELB-3427 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-22ARM64: dts: apalis-imx8x: adjust SGTL5000 to 5.4 kernelPhilippe Schenker
Mainly clocks need adjustment. Copy Paste from apalis-imx8 module Related-to: ELB-3423 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-12-22ARM64: dts: apalis-imx8x: bringup PCIe on new kernelPhilippe Schenker
Related-to: ELB-3428, ELB-2790 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-12-22ARM64: dts: apalis-imx8x: Disable hsio refclk used only on MEKPhilippe Schenker
They are used on MEK only and are blocking out GPIOs so disable them Related-to: ELB-3428, ELB-2790 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-12-21arm64: dts: apalis-imx8x: mux pinctrl_usbh_oc_n pinOleksandr Suvorov
Reduce the length of pinmux name and mux the pin by default. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-21arm64: dts: apalis-imx8x: fix set up USBO1 OC pinOleksandr Suvorov
The USB_SS3_TC2 pin can be directly used as a USBO1_OC pin to control over-current events. Use this mode. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-21arm64: dts: apalis-imx8x: remove useless propertyOleksandr Suvorov
The property "reset-on-resume" is useless without setting "reset-gpio". It used as a workaround for earlier revisions of Apalis iMX8QXP to fix Wi-Fi chip issue on resume. Remove obsolete property. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-21arm64: dts: apalis-imx8x: fix regulator for on-board USB hubOleksandr Suvorov
The cadence usb3 driver tries to turn down this regulator each time it goes to idle. This signal enables on-board USB Hub and should be always on. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-20Revert "arm64: dts: apalis-imx8x: enable USBH1"Oleksandr Suvorov
This reverts commit ce1e685adbd15203ca84c0be62cf752304e39df3. That commit seems for Apalis iMX8QM and should have not been applied for Apalis iMX8QXP. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-12-17arm64: dts: imx8mm-verdin: move backlight pwm to regular device treeMax Krummenacher
This keeps the numbering of the /sys/class/pwmchipX independent of which overlays are loaded and allows the use of Verdin PWM_3_DSI from user space if it is not used as a backlight PWM. Related-to: ELB-3411 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-12-15ARM64: dts: apalis-imx8: disable dma for lpuart 2 againPhilippe 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. This change was originally introduced in commit 1a8badaa585de ARM64: dts: apalis-imx8: disable dma for lpuart2 but lost when doing the devicetree-split. Fixes: 2715972aadc8f arm64: dts: apalis-imx8: separate common module pa Related-to: ELB-3178 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-12-14arm64: 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>
2020-12-14arm64: 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>
2020-12-14arm64: 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>
2020-11-30arm64: 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>
2020-11-30arm64: 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>
2020-11-26arm64: 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>
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-19Merge commit '685021f75fc48afaf6de76280a601316cde827c2' into ↵Igor Opaniuk
toradex_5.4-2.1.x-imx
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-10Merge tag 'v5.4.76' into 5.4-2.1.x-imxAndrey Zhizhikin
This is the 5.4.76 stable release Conflicts: - drivers/tty/serial/fsl_lpuart.c: Fix merge conflict of upstream patches [86875e1d6426] and [8febdfb5973d], which contradicted with patch [cde0cb39c0e8e] from NXP. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-11-10arm64: dts: marvell: espressobin: Add ethernet switch aliasesPali Rohár
commit b64d814257b027e29a474bcd660f6372490138c7 upstream. Espressobin boards have 3 ethernet ports and some of them got assigned more then one MAC address. MAC addresses are stored in U-Boot environment. Since commit a2c7023f7075c ("net: dsa: read mac address from DT for slave device") kernel can use MAC addresses from DT for particular DSA port. Currently Espressobin DTS file contains alias just for ethernet0. This patch defines additional ethernet aliases in Espressobin DTS files, so bootloader can fill correct MAC address for DSA switch ports if more MAC addresses were specified. DT alias ethernet1 is used for wan port, DT aliases ethernet2 and ethernet3 are used for lan ports for both Espressobin revisions (V5 and V7). Fixes: 5253cb8c00a6f ("arm64: dts: marvell: espressobin: add ethernet alias") Cc: <stable@vger.kernel.org> # a2c7023f7075c: dsa: read mac address Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> [pali: Backported Espressobin rev V5 changes to 5.4 and 4.19 versions] Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-10arm64: dts: meson: add missing g12 rng clockScott K Logan
[ Upstream commit a1afbbb0285797e01313779c71287d936d069245 ] This adds the missing perpheral clock for the RNG for Amlogic G12. As stated in amlogic,meson-rng.yaml, this isn't always necessary for the RNG to function, but is better to have in case the clock is disabled for some reason prior to loading. Signed-off-by: Scott K Logan <logans@cottsay.net> Suggested-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com> Link: https://lore.kernel.org/r/520a1a8ec7a958b3d918d89563ec7e93a4100a45.camel@cottsay.net Signed-off-by: Sasha Levin <sashal@kernel.org>
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-05Merge tag 'v5.4.75' into 5.4-2.1.x-imxAndrey Zhizhikin
This is the 5.4.75 stable release Conflicts: - drivers/i2c/busses/i2c-imx.c: Drop NXP changes, which are covered by commit [2c58d5e0c754c] from upstream. - drivers/net/can/flexcan.c: Keep NXP implementation, patch [ca10989632d88] from upstream is covered in the NXP tree. - drivers/usb/host/xhci.h: Fix merge fuzz for upstream commit [2600a131e1f61] Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-11-05arm64: dts: renesas: ulcb: add full-pwr-cycle-in-suspend into eMMC nodesYoshihiro Shimoda
[ Upstream commit 992d7a8b88c83c05664b649fc54501ce58e19132 ] Add full-pwr-cycle-in-suspend property to do a graceful shutdown of the eMMC device in system suspend. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Link: https://lore.kernel.org/r/1594989201-24228-1-git-send-email-yoshihiro.shimoda.uh@renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Sasha Levin <sashal@kernel.org>
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>