summaryrefslogtreecommitdiff
path: root/board/toradex/apalis-imx8/apalis-imx8.c
AgeCommit message (Collapse)Author
2020-03-24apalis-imx8: sync with MEK platformIgor Opaniuk
1. Adding power-up of base board via SCFW 2. Moved BOOTAUX defines to defconfig Related-to: ELB-2605 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
2020-03-16apalis-imx8: Fix hardware version detection in recovery modeMarcel Ziswiler
Make sure recent version detection implementation is also used during recovery mode. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-03-13apalis-imx8: Implement hardware version detectionPhilippe Schenker
And select the correct devicetree to load. Related-to: ELB-1254 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-03-05apalis-imx8/colibri-imx8qxp: improve poc sku handlingMarcel Ziswiler
Improve QP vs. QM resp. DX vs. QXP detection based on core disable fuses. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-03-05apalis-imx8/colibri-imx8qxp: implement poc sku handlingMarcel Ziswiler
Implement proof of concept 1 GB resp. 2 GB vs. 2 GB resp. 4 GB DDR SKU handling based on fuses indicating SoC being i.MX 8QP resp. 8DX vs. 8QM resp. 8QXP. This overrides the newly introduced weak board_mem_get_layout() function. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-03-05apalis-imx8: make sure config block fdt fix-ups are calledStefan Agner
Make sure the config block information are passed to the kernel using the device tree properties toradex,product-id, board-rev and serial-number. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2020-03-05apalis-imx8: remove board code for usdhcMax Krummenacher
These are now configured out of the device tree. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-05apalis-imx8: clean-up ethernet functionalityMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-05apalis-imx8: clean-up board fileMax Krummenacher
Clean-up board file. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-05apalis-imx8: adjust copyright/licensing headersMax Krummenacher
Adjust copyright/licensing headers e.g. universally using SPDX license identifier. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-05apalis-imx8: forward port to 2018.03Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit eb0ed0e4283385700db1e5080d78f9a2684f98a5)
2020-03-05apalis-imx8.c: fix typoMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit cba518b4bbe4b9dfccb21ffe3cd0929c1a420719) (cherry picked from commit 5721e405c34985f5faa1e6ff4e0d3ca32dffa6e5)
2020-03-05tdx-cfg-block: add config block supportStefan Agner
Add Toradex config block support for i.MX8QM. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 18426b50681e6cd64ab5977f0ba84efd3f7c4495) (cherry picked from commit c6d0e1042170d273a5b5434abe867213155d5582) (cherry picked from commit ae31e946da33510a352795de09aa1c0ea9fc8280) (cherry picked from commit 0798437c661ef3ca11f84fb45b4cce5b7ac145d9)
2020-03-05apalis-imx8: remove unused GPIOsStefan Agner
Remove GPIOs used on the validation board but not required on Apalis iMX8. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 9a8a826591c490c0a11c4baeef31c73f482c0438) (cherry picked from commit adf5a30588c4352fc78c59b0d0c04fd43c6dad25) (cherry picked from commit b0cabfcfd6d5abd3f1a9d429acf3f44d5c76bb1d) (cherry picked from commit 75abf4f9e22ba2e1b1673e2d0e72c926ab6578f2)
2020-03-05apalis-imx8: use UART1 as console UARTStefan Agner
NXP LPUART1 is used as Apalis UART1, which is the main console on our Linux BSP. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 360629c1fd6187de19d0f50feb85c725995e49cc) (cherry picked from commit 63030dac6afc51d17b04d23ce41af4788f03717e) (cherry picked from commit 7bbe1708e0cebf3432c234ea74f8d6fb632a023b) (cherry picked from commit d58fa8f3247edc18bdbf716fa9a45bcf5fce9cb8)
2020-03-05apalis-imx8: fix EthernetStefan Agner
Make sure that all pins connected to the Micrel KSZ9031 PHY are muxed. Properly reset the PHY after all muxing has been applied. This makes sure that strapping is not overwritten by the SoC default mux (particularly it makes sure that CLK125_NDO is not driven low during reset). Make sure to not use CONFIG_DM_ETH as it seems to break ETH support as is. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit f0a1ceb6f5e2ab3b3618190541b1e7a9fd4c1e4a) (cherry picked from commit 8f6405070189a8744c2f6a9d9a6e041554fb9046) (cherry picked from commit 6f24c637fd7725a27249d6a950f587134f30b97c) (cherry picked from commit 1b3c97e1eb50a56066820596a6b1b83da465af7f)
2020-03-05apalis-imx8: remove PCA9557 GPIO controllersStefan Agner
The Apalis iMX8 module does not have PCA9557 GPIO controllers on the module. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit c80b3bfbe693d5a8851129f4878d0cd3a7325d13) (cherry picked from commit 898ae105703cd0019a542bc0a17649339c934fa6) (cherry picked from commit 69d385444efa79d2909f772c4a4b404d1bd7274d) (cherry picked from commit 0f5887d5b80f8535a7f422b73d7a0bf4a4e445af)
2020-03-05apalis-imx8: fix eMMC/MMC/SD interface muxingStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit fa3d4f980a515b135778a74ce1b7476f61ef20d0) (cherry picked from commit 2ee92bc1dd56b44343079a5474d0fc4e79f28f4a) (cherry picked from commit 649afbe0aec4089112772a49a7e6f7d34c3741a7) (cherry picked from commit 81591346d11ffdf9a2442ad976390ffe0e61abda)
2020-03-05apalis-imx8: initial addStefan Agner
Initial board support for Apalis iMX8 using a copy of NXP iMX8QM ARM2 LPDDR4 board. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 68e401998ba0654292b7914b85433d8453202ec8) (cherry picked from commit 6b9234fa1f5889f0eeecc6147afffbc859933c99) (cherry picked from commit 0b7feded806717b4292615373ed6c018324b8ef5) Conflicts: arch/arm/cpu/armv8/imx8/Kconfig, file moved (cherry picked from commit 393dd8dd4061833fcc3cfd85886d49160b515ce0)