summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/zii-imx7d-dev/lowlevel.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: i.MX: Move mach header files to include/mach/imxSascha Hauer2023-03-061-5/+5
| | | | | | | | | | | Currently arch specific headers can be included with #include <mach/xxx.h>. With upcoming multi-arch support this is no longer possible as there won't be a single mach anymore. Move all i.MX specific header files to include/mach/imx/ to prepare for multi-arch support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX7: don't hardcode UART1 in imx7_early_setup_uart_clockAhmad Fatoum2022-10-271-1/+2
| | | | | | | | | | | | | | | | | | imx7_early_setup_uart_clock() has a very generic sounding name, but so far only set up clocks for UART1. This can lead board code authors astray that intend to user a different UART for DEBUG_LL. This issue affects board code for kamstrup-mx7-concentrator, meerkat96 and zii-imx7d-dev, which use UART4, UART6 and UART2 respectively. As I don't have this boards available to test and clock changes may have adverse effect elsewhere, we have all existing users setup UART1 as before, but note with a comment that this may not be the original author's intention. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20221017070702.1457936-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX7: Add and use function for early UART clock setupSascha Hauer2020-02-191-8/+1
| | | | | | | The i.MX7 boards have the same code for setting up the UART clock. Add a common helper function for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: Add SoC namespace to imx7/8m CCM definesSascha Hauer2020-02-191-6/+6
| | | | | | | | | The CCM defines used on i.MX7 and i.MX8M do not have any SoC namespace. Add it to make clear where they are supposed to be used. Since it looks confusing to call i.MX7 specific defines on i.MX8M and vice versa, duplicate them for both SoCs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: Drop iomux argument from mx7_setup_pad()Sascha Hauer2020-02-191-2/+1
| | | | | | | | | The name mx7_setup_pad already implies the SoC where it runs on, so we do not have to pass the iomux base address but can hardcode it in the function. While at it rename it to imx7_setup_pad() which is more consistent to other i.MX specific functions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: zii-imx7d-dev: Swith to using compressed DTBAndrey Smirnov2019-09-171-4/+4
| | | | | | | | Reduces image size by 68K (from 652K to 584K) on my test configuration. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: zii-imx7d-dev: Add support for RMU2 boardAndrey Smirnov2019-06-261-1/+59
| | | | | | | Add support for Remote Modem Unit i.MX7D board. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Rename zii-imx7d-rpu2 to zii-imx7d-devAndrey Smirnov2019-06-261-0/+50
To prepare for addition of another ZII i.MX7D based board, i.MX7D RMU2, rename zii-imx7d-rpu2 to zii-imx7d-dev to avoid any image naming confusion. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>