summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/skov-imx6
Commit message (Collapse)AuthorAgeFilesLines
* ARM: boards: skov-imx6: make use of of_prepend_machine_compatible()Oleksij Rempel2022-05-051-37/+3
| | | | | | | | | Replace board specific fixup_machine_compatible() with generic of_prepend_machine_compatible() Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220503091220.3871612-5-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* of: rename of_find_node_by_name() to of_find_node_by_name_address()Sascha Hauer2022-03-081-2/+2
| | | | | | | | | | | | | of_find_node_by_name() has the same name as the corresponding kernel function but a different semantics. A node name is comprised of the nodes name and a unit address, separated with '@'. Linux of_find_node_by_name() matches only the name before the '@' whereas the barebox function compares the full name. As several callers depend on the barebox semantics we can't just change the semantics, so rename the barebox function to of_find_node_by_name_address(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arch: add SPDX-License-Identifier to all headersAhmad Fatoum2022-01-051-0/+2
| | | | | | | | | Record GPL-2.0-only as license for all files lacking an explicit license statement. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220103120539.1730644-9-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: add SPDX-License-Identifier for DCDAhmad Fatoum2022-01-051-0/+2
| | | | | | | | | | | In absence of a license statement, the default is GPL-2.0-only. Add that to the DCD files. All of // /* */ # are acceptable comment characters in the DSL. If there are nearby comments in the file, the same character is used, otherwise #. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220103120539.1730644-8-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide: add SPDX-License-Identifier for Kbuild/KconfigAhmad Fatoum2022-01-051-0/+2
| | | | | | | | | | | | | | | To verify only Kconfig/Makefile is touched: git show --numstat --format=oneline HEAD | grep -v 'Kconfig\|Makefile' will print only arch/powerpc/Kbuild. To verify nothing unexpected is added: git show -U0 | grep '^-[^-]\|^+[^+]' | sort -u Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220103120539.1730644-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: boards: skov-imx6: use separate DTS for the iMX6 Solo variantOleksij Rempel2021-10-111-1/+5
| | | | | | | | | iMX6 Solo boards do not have HDMI so remove it to avoid time spending on probing. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20211006084323.14051-9-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: boards: skov-imx6: add defaultenv with eth1-discover scriptOleksij Rempel2021-10-113-0/+12
| | | | | | | | | | Add eth1-discover script to run USB detection if eth0 is disabled. The eth0 will be automatically disabled if the no on-board switch is detected. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20211006084323.14051-8-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: boards: skov-imx6: start using deep-probeOleksij Rempel2021-10-111-5/+17
| | | | | | | | Port Skov boards to the deep-propbe and reduce boot time by 100msec. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20211006084323.14051-7-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: boards: skov-imx6: fixup different DTS variantsOleksij Rempel2021-10-111-5/+43
| | | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20211006084323.14051-6-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: boards: skov-imx6: disable eth0 for barebox if no switch is detectedOleksij Rempel2021-10-111-0/+10
| | | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20211006084323.14051-5-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: boards: skov-imx6: add switch detectionOleksij Rempel2021-10-111-25/+124
| | | | | | | | | There are board variants with same board ID but not switch. Detect this variants. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20211006084323.14051-4-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: boards: skov-imx6: fixup_machine_compatible() add optional root nodeOleksij Rempel2021-10-111-6/+8
| | | | | | | | This will be needed by the next patch Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20211006084323.14051-3-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2021-05-172-15/+0
|\
| * ARM: i.MX: Skov-imx6: Remove custom envSascha Hauer2021-05-172-15/+0
| | | | | | | | | | | | | | The environment is unused currently. It should either be included using bbenv-y or not at all. For now remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: Skov: Add missing filesSascha Hauer2021-05-042-0/+94
|/ | | | | | | The newly added Skov i.MX6 board support lacks a few files. Add them. Fixes: 5626574767 ("ARM: i.MX: Add support for Skov i.MX6 boards") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: Add support for Skov i.MX6 boardsJuergen Borleis2021-04-136-0/+1214
The Skov platform potentially consists of many variants of CPUs (i.MX6S/DL and i.MX6D/Q), NAND memories (size differs from 256 MiB to 8 GiB) and populated SDRAM (256 MiB up to 2 GiB). All these variants share one PCB. Some bootstrap resistors are provided which decode the variant and which allow for it's detection at runtime. This information is needed to choose the bootspec entry with the matching devicetree to boot the system. Based upon this mechanism usage of a single Barebox image and Linux root filesystem for all known board variants is made possible. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Søren Andersen <san@skov.dk> Signed-off-by: Sam Ravnborg <srn@skov.dk>