Support for Kontron Electronics i.MX6UL/ULL and i.MX8MM SoMs
Subsystems (3)
v5 cover Support for Kontron Electronics i.MX6UL/ULL and i.MX8MM SoMs
From: Frieder Schrempf <[email protected]>
This a patchset to upstream the support for the SL i.MX6UL, SL i.MX6ULL and SL i.MX8MM families of SoMs and matching evaluation boards by Kontron Electronics.
The first patch prepares the docs of the existing sl28 hardware to allow other boards to be added in the hierarchy. The second patch adds the i.MX6UL/ULL hardware and the third patch the i.MX8MM hardware.
Frieder Schrempf (3):
doc: board: kontron: sl28: Reduce section levels and change title
imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULL
boards (N63xx/N64xx)
imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini
boards (N801x)arch/arm/dts/Makefile | 6 +- .../dts/imx6ul-kontron-n631x-s-u-boot.dtsi | 7 + arch/arm/dts/imx6ul-kontron-n631x-s.dts | 17 + arch/arm/dts/imx6ul-kontron-n631x-som.dtsi | 14 + .../dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi | 63 + arch/arm/dts/imx6ul-kontron-n6x1x-s.dts | 423 ++++ arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi | 420 ++++ .../dts/imx6ul-kontron-n6x1x-som-common.dtsi | 124 ++ .../dts/imx6ull-kontron-n641x-s-u-boot.dtsi | 7 + arch/arm/dts/imx6ull-kontron-n641x-s.dts | 16 + arch/arm/dts/imx6ull-kontron-n641x-som.dtsi | 13 + arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts | 116 ++ .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 253 +++ arch/arm/dts/imx8mm-kontron-n801x-s.dts | 388 ++++ arch/arm/dts/imx8mm-kontron-n801x-som.dtsi | 298 +++ arch/arm/mach-imx/imx8m/Kconfig | 8 + arch/arm/mach-imx/mx6/Kconfig | 10 + board/kontron/sl-mx6ul/Kconfig | 15 + board/kontron/sl-mx6ul/MAINTAINERS | 9 + board/kontron/sl-mx6ul/Makefile | 8 + board/kontron/sl-mx6ul/sl-mx6ul.c | 85 + board/kontron/sl-mx6ul/spl.c | 377 ++++ board/kontron/sl-mx8mm/Kconfig | 15 + board/kontron/sl-mx8mm/MAINTAINERS | 8 + board/kontron/sl-mx8mm/Makefile | 9 + board/kontron/sl-mx8mm/imximage.cfg | 9 + board/kontron/sl-mx8mm/lpddr4_timing.c | 1844 +++++++++++++++++ board/kontron/sl-mx8mm/sl-mx8mm.c | 99 + board/kontron/sl-mx8mm/spl.c | 321 +++ configs/kontron-sl-mx6ul_defconfig | 108 + configs/kontron-sl-mx8mm_defconfig | 122 ++ doc/board/kontron/index.rst | 2 + doc/board/kontron/sl-mx6ul.rst | 43 + doc/board/kontron/sl-mx8mm.rst | 85 + doc/board/kontron/sl28.rst | 30 +- include/configs/kontron-sl-mx6ul.h | 78 + include/configs/kontron-sl-mx8mm.h | 84 + 37 files changed, 5518 insertions(+), 16 deletions(-) create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s.dts create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-som.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dts create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-som-common.dtsi create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s.dts create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-som.dtsi create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s.dts create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-som.dtsi create mode 100644 board/kontron/sl-mx6ul/Kconfig create mode 100644 board/kontron/sl-mx6ul/MAINTAINERS create mode 100644 board/kontron/sl-mx6ul/Makefile create mode 100644 board/kontron/sl-mx6ul/sl-mx6ul.c create mode 100644 board/kontron/sl-mx6ul/spl.c create mode 100644 board/kontron/sl-mx8mm/Kconfig create mode 100644 board/kontron/sl-mx8mm/MAINTAINERS create mode 100644 board/kontron/sl-mx8mm/Makefile create mode 100644 board/kontron/sl-mx8mm/imximage.cfg create mode 100644 board/kontron/sl-mx8mm/lpddr4_timing.c create mode 100644 board/kontron/sl-mx8mm/sl-mx8mm.c create mode 100644 board/kontron/sl-mx8mm/spl.c create mode 100644 configs/kontron-sl-mx6ul_defconfig create mode 100644 configs/kontron-sl-mx8mm_defconfig create mode 100644 doc/board/kontron/sl-mx6ul.rst create mode 100644 doc/board/kontron/sl-mx8mm.rst create mode 100644 include/configs/kontron-sl-mx6ul.h create mode 100644 include/configs/kontron-sl-mx8mm.h
Signature · 1 line
2.32.0
PATCH v5 1/3 doc: board: kontron: sl28: Reduce section levels and change title
From: Frieder Schrempf <[email protected]>
In order to add other Kontron boards to the docs alongside the existing sl28 board, we need to reduce the levels of the sections and change the title.
--- doc/board/kontron/sl28.rst | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-)
doc/board/kontron/sl28.rst +15 -15
@@ -1,17 +1,17 @@ .. SPDX-License-Identifier: GPL-2.0+ -Summary -======= +Kontron SMARC-sAL28 +=================== The Kontron SMARC-sAL28 board is a TSN-enabled dual-core ARM A72 processor module with an on-chip 6-port TSN switch and a 3D GPU. Quickstart -========== +---------- Compile U-Boot --------------- +^^^^^^^^^^^^^^ Configure and compile the binary::
@@ -21,7 +21,7 @@ Configure and compile the binary:: Copy u-boot.rom to a TFTP server. Install the bootloader on the board ------------------------------------ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Please note, this bootloader doesn't support the builtin watchdog (yet), therefore you have to disable it, see below. Otherwise you'll end up in
@@ -36,7 +36,7 @@ disabled the builtin watchdog you might have to manually enter failsafe mode by asserting the ``FORCE_RECOV#`` line during board reset. Disable the builtin watchdog ----------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - boot into the failsafe bootloader, either by asserting the ``FORCE_RECOV#`` line or if you still have the original bootloader
@@ -53,7 +53,7 @@ Disable the builtin watchdog Useful I2C tricks -================= +----------------- The board has a board management controller which is not supported in u-boot (yet). But you can use the i2c command to access it.
@@ -68,7 +68,7 @@ u-boot (yet). But you can use the i2c command to access it. Non-volatile Board Configuration Bits -===================================== +------------------------------------- The board has 16 configuration bits which are stored in the CPLD and are non-volatile. These can be changed by the `sl28 nvm` command.
@@ -98,21 +98,21 @@ Please note, that if the board is in failsafe mode, the bits will have the factory defaults, ie. all bits are off. Power-On Inhibit ----------------- +^^^^^^^^^^^^^^^^ If this is set, the board doesn't automatically turn on when power is applied. Instead, the user has to either toggle the ``PWR_BTN#`` line or use any other wake-up source such as RTC alarm or Wake-on-LAN. eMMC Boot ---------- +^^^^^^^^^ If this is set, the RCW will be fetched from the on-board eMMC at offset 1MiB. For further details, have a look at the `Reset Configuration Word Documentation`_. Watchdog --------- +^^^^^^^^ By default, the CPLD watchdog is enabled in failsafe mode. Using bits 2 and 3, the user can change its mode or disable it altogether.
@@ -127,21 +127,21 @@ Bit 2 Bit 3 Description ===== ===== =============================== Clock Generator Select ----------------------- +^^^^^^^^^^^^^^^^^^^^^^ The board is prepared to supply different SerDes clock speeds. But for now, only setting 0 is supported, otherwise the CPU will hang because the PLL will not lock. Clock Output Disable And Keep Devices In Reset ----------------------------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ To safe power, the user might disable different devices and clock output of the board. It is not supported to disable the "CPU SerDes clock #2" for now, otherwise the CPU will hang because the PLL will not lock. Automatic reset of the onboard PHYs ------------------------------------ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ By default, there is no hardware reset of the onboard PHY. This is because for Wake-on-LAN, some registers have to retain their values. If you don't
@@ -151,7 +151,7 @@ power-on reset. Further documentation -===================== +--------------------- - `Vendor Documentation`_ - `Reset Configuration Word Documentation`_
Signature · 1 line
2.32.0
Re: [PATCH v5 1/3] doc: board: kontron: sl28: Reduce section levels and change title
Am 2021-08-23 16:26, schrieb Frieder Schrempf:
Quoted 7 lines
From: Frieder Schrempf <[email protected]>
In order to add other Kontron boards to the docs alongside the existing sl28 board,
we need to reduce the levels of the sections and change the title.Signed-off-by Frieder Schrempf <[email protected]>
although one nit below:
Quoted 9 lines
--- doc/board/kontron/sl28.rst | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-)doc/board/kontron/sl28.rst +0
-0
doc/board/kontron/sl28.rst line 4
Quoted 6 lines
doc/board/kontron/sl28.rst +2
-2@@ -1,17 +1,17 @@ .. SPDX-License-Identifier: GPL-2.0+ -Summary -======= +Kontron SMARC-sAL28 +===================
Kontron will be repeated here, because its already below a chapter called "Kontron". But I see that the other one is a "Kontron Electronics" board. So.. I'm fine with that.
-michael
PATCH v5 2/3 imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULL boards (N63xx/N64xx)
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
This adds support for i.MX6UL/ULL-based evaluation kits with SoMs by Kontron Electronics GmbH.
Currently there are the following SoM flavors (SoM-Line):
* N6310: SOM with i.MX6UL-2, 256MB RAM, 256MB SPI NAND
* N6311: SOM with i.MX6UL-2, 512MB RAM, 512MB SPI NAND
* N6411: SOM with i.MX6ULL, 512MB RAM, 512MB SPI NAND
And the according evaluation boards (Board-Line):
* N6310-S: Baseboard with SOM N6310, eMMC, display (optional), ...
* N6311-S: Baseboard with SOM N6311, eMMC, display (optional), ...
* N6411-S: Baseboard with SOM N6411, eMMC, display (optional), ...
Currently U-Boot describes i.MX6UL and i.MX6ULL through separate config options at compile-time. Though the differences are so minor, that for the scope of these SoMs we just use a single defconfig that is compatible with both SoCs.
---
Fixes in v5:
* Comments from Tom and Michael (thanks!)
* Drop the common header file kontron_common.h
* Remove all clutter from the environment
* Rebase on current master
* Rename board files to contain sl-mx6ul
* Make do_board_detect() static
* Add simple docs
* Simplify and update MAINTAINERS file
* Use binman only to build a flash.bin with SPL and U-Boot
* Fix offsets for U-Boot image in SPI NOR and MMC
* Refresh defconfig
* Add missing define for CONFIG_SYS_UBOOT_BASE
Fixes in v4:
* Fix checkpatch errors/warnings
* Stop disabling initrd/fdt relocation
Fixes in v3:
* Guard binman nodes to fix build of other UL boards
Fixes in v2:
* Add MAINTAINERS file
* Rename board directory
* Use binman to generate FIT
* Support legacy images
* Add Stefano's R-b tag
--- arch/arm/dts/Makefile | 4 +- .../dts/imx6ul-kontron-n631x-s-u-boot.dtsi | 7 + arch/arm/dts/imx6ul-kontron-n631x-s.dts | 17 + arch/arm/dts/imx6ul-kontron-n631x-som.dtsi | 14 + .../dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi | 63 +++ arch/arm/dts/imx6ul-kontron-n6x1x-s.dts | 423 ++++++++++++++++++ arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi | 420 +++++++++++++++++ .../dts/imx6ul-kontron-n6x1x-som-common.dtsi | 124 +++++ .../dts/imx6ull-kontron-n641x-s-u-boot.dtsi | 7 + arch/arm/dts/imx6ull-kontron-n641x-s.dts | 16 + arch/arm/dts/imx6ull-kontron-n641x-som.dtsi | 13 + arch/arm/mach-imx/mx6/Kconfig | 10 + board/kontron/sl-mx6ul/Kconfig | 15 + board/kontron/sl-mx6ul/MAINTAINERS | 9 + board/kontron/sl-mx6ul/Makefile | 8 + board/kontron/sl-mx6ul/sl-mx6ul.c | 85 ++++ board/kontron/sl-mx6ul/spl.c | 377 ++++++++++++++++ configs/kontron-sl-mx6ul_defconfig | 108 +++++ doc/board/kontron/index.rst | 1 + doc/board/kontron/sl-mx6ul.rst | 43 ++ include/configs/kontron-sl-mx6ul.h | 78 ++++ 21 files changed, 1841 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s.dts create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-som.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dts create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-som-common.dtsi create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s.dts create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-som.dtsi create mode 100644 board/kontron/sl-mx6ul/Kconfig create mode 100644 board/kontron/sl-mx6ul/MAINTAINERS create mode 100644 board/kontron/sl-mx6ul/Makefile create mode 100644 board/kontron/sl-mx6ul/sl-mx6ul.c create mode 100644 board/kontron/sl-mx6ul/spl.c create mode 100644 configs/kontron-sl-mx6ul_defconfig create mode 100644 doc/board/kontron/sl-mx6ul.rst create mode 100644 include/configs/kontron-sl-mx6ul.h
arch/arm/dts/Makefile +3 -1
@@ -814,7 +814,9 @@ dtb-$(CONFIG_MX6UL) += \ imx6ul-liteboard.dtb \ imx6ul-phytec-segin-ff-rdk-nand.dtb \ imx6ul-pico-hobbit.dtb \ - imx6ul-pico-pi.dtb + imx6ul-pico-pi.dtb \ + imx6ul-kontron-n631x-s.dtb \ + imx6ull-kontron-n641x-s.dtb dtb-$(CONFIG_MX6ULL) += \ imx6ull-14x14-evk.dtb \
arch/arm/dts/imx6ul-kontron-n631x-s-u-boot.dtsi new file +7 -0
@@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (C) 2017 exceet electronics GmbH + * Copyright (C) 2018 Kontron Electronics GmbH + */ + +#include "imx6ul-kontron-n6x1x-s-u-boot.dtsi"
arch/arm/dts/imx6ul-kontron-n631x-s.dts new file +17 -0
@@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2017 exceet electronics GmbH + * Copyright (C) 2018 Kontron Electronics GmbH + * Copyright (c) 2019 Krzysztof Kozlowski <[email protected]> + */ + +/dts-v1/; + +#include "imx6ul-kontron-n631x-som.dtsi" +#include "imx6ul-kontron-n6x1x-s.dtsi" + +/ { + model = "Kontron N631X S"; + compatible = "kontron,imx6ul-n631x-s", "kontron,imx6ul-n631x-som", + "fsl,imx6ul"; +};
arch/arm/dts/imx6ul-kontron-n631x-som.dtsi new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2017 exceet electronics GmbH + * Copyright (C) 2018 Kontron Electronics GmbH + * Copyright (c) 2019 Krzysztof Kozlowski <[email protected]> + */ + +#include "imx6ul.dtsi" +#include "imx6ul-kontron-n6x1x-som-common.dtsi" + +/ { + model = "Kontron N631X SOM"; + compatible = "kontron,imx6ul-n631x-som", "fsl,imx6ul"; +};
arch/arm/dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi new file +63 -0
63 lines not on this page · raw message
arch/arm/dts/imx6ul-kontron-n6x1x-s.dts new file +423 -0
423 lines not on this page · raw message
arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi new file +420 -0
420 lines not on this page · raw message
arch/arm/dts/imx6ul-kontron-n6x1x-som-common.dtsi new file +124 -0
124 lines not on this page · raw message
arch/arm/dts/imx6ull-kontron-n641x-s-u-boot.dtsi new file +7 -0
@@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (C) 2017 exceet electronics GmbH + * Copyright (C) 2018 Kontron Electronics GmbH + */ + +#include "imx6ul-kontron-n6x1x-s-u-boot.dtsi"
arch/arm/dts/imx6ull-kontron-n641x-s.dts new file +16 -0
@@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2017 exceet electronics GmbH + * Copyright (C) 2019 Kontron Electronics GmbH + */ + +/dts-v1/; + +#include "imx6ull-kontron-n641x-som.dtsi" +#include "imx6ul-kontron-n6x1x-s.dtsi" + +/ { + model = "Kontron N641X S"; + compatible = "kontron,imx6ull-n641x-s", "kontron,imx6ull-n641x-som", + "fsl,imx6ull"; +};
arch/arm/dts/imx6ull-kontron-n641x-som.dtsi new file +13 -0
@@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2017 exceet electronics GmbH + * Copyright (C) 2018 Kontron Electronics GmbH + */ + +#include "imx6ull.dtsi" +#include "imx6ul-kontron-n6x1x-som-common.dtsi" + +/ { + model = "Kontron N641X SOM"; + compatible = "kontron,imx6ull-n641x-som", "fsl,imx6ull"; +};
arch/arm/mach-imx/mx6/Kconfig +10 -0
@@ -231,6 +231,15 @@ config TARGET_GW_VENTANA imply CMD_SATA imply CMD_SPL +config TARGET_KONTRON_MX6UL + bool "Kontron Electronics SL/BL i.MX6UL/ULL (N63xx/N64xx)" + depends on MX6UL + select BINMAN + select DM + select DM_THERMAL + select SUPPORT_SPL + imply CMD_DM + config TARGET_KOSAGI_NOVENA bool "Kosagi Novena" select BOARD_LATE_INIT
@@ -669,6 +678,7 @@ source "board/grinn/liteboard/Kconfig" source "board/phytec/pcm058/Kconfig" source "board/phytec/pcl063/Kconfig" source "board/gateworks/gw_ventana/Kconfig" +source "board/kontron/sl-mx6ul/Kconfig" source "board/kosagi/novena/Kconfig" source "board/softing/vining_2000/Kconfig" source "board/liebherr/display5/Kconfig"
board/kontron/sl-mx6ul/Kconfig new file +15 -0
@@ -0,0 +1,15 @@ +if TARGET_KONTRON_MX6UL + +config SYS_BOARD + string + default "sl-mx6ul" + +config SYS_VENDOR + string + default "kontron" + +config SYS_CONFIG_NAME + string + default "kontron-sl-mx6ul" + +endif
board/kontron/sl-mx6ul/MAINTAINERS new file +9 -0
@@ -0,0 +1,9 @@ +Kontron SL/BL i.MX6UL/ULL Boards (N63xx/N64xx) +M: Frieder Schrempf <[email protected]> +S: Maintained +F: arch/arm/dts/imx6ul-kontron-n6* +F: arch/arm/dts/imx6ull-kontron-n6* +F: board/kontron/sl-mx6ul +F: configs/kontron-sl-mx6ul_defconfig +F: doc/board/kontron/sl-mx6ul.rst +F: include/configs/kontron-sl-mx6ul.h
board/kontron/sl-mx6ul/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0+ +# (C) Copyright 2018 Kontron Electronics GmbH + +ifdef CONFIG_SPL_BUILD +obj-y := spl.o +else +obj-y := sl-mx6ul.o +endif
board/kontron/sl-mx6ul/sl-mx6ul.c new file +85 -0
85 lines not on this page · raw message
board/kontron/sl-mx6ul/spl.c new file +377 -0
377 lines not on this page · raw message
configs/kontron-sl-mx6ul_defconfig new file +108 -0
108 lines not on this page · raw message
doc/board/kontron/index.rst +1 -0
@@ -7,3 +7,4 @@ Kontron :maxdepth: 2 sl28 + sl-mx6ul
doc/board/kontron/sl-mx6ul.rst new file +43 -0
43 lines not on this page · raw message
include/configs/kontron-sl-mx6ul.h new file +78 -0
78 lines not on this page · raw message
Signature · 1 line
2.32.0
PATCH v5 3/3 imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards (N801x)
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
The Kontron SoM-Line i.MX8MM (N801x) by Kontron Electronics GmbH is a SoM module with an i.MX8M-Mini SoC, 1/2/4 GB LPDDR4 RAM, SPI NOR, eMMC and PMIC.
The matching evaluation boards (Board-Line) have 2 Ethernets, USB 2.0, HDMI/LVDS, SD card, CAN, RS485 and much more.
---
Fixes in v5:
* Comments from Michael (thanks!)
* Drop the common header file kontron_common.h
* Remove all clutter from the environment
* Rebase on current master
* Rename board files to contain sl-mx6ul
* Add simple docs
* Adjust u-boot.itb offsets in MMC and SPI NOR to match common values
* Update MAINTAINERS file
* Fix binman build
* Refresh defconfig
Fixes in v4:
* Fix checkpatch errors/warnings
Fixes in v3:
* None
Fixes in v2:
* Fix header includes in spl.c
* Add MAINTAINERS file
* Rename board directory
* Add Stefano's R-b tag
--- arch/arm/dts/Makefile | 2 + arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts | 116 ++ .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 253 +++ arch/arm/dts/imx8mm-kontron-n801x-s.dts | 388 ++++ arch/arm/dts/imx8mm-kontron-n801x-som.dtsi | 298 +++ arch/arm/mach-imx/imx8m/Kconfig | 8 + board/kontron/sl-mx8mm/Kconfig | 15 + board/kontron/sl-mx8mm/MAINTAINERS | 8 + board/kontron/sl-mx8mm/Makefile | 9 + board/kontron/sl-mx8mm/imximage.cfg | 9 + board/kontron/sl-mx8mm/lpddr4_timing.c | 1844 +++++++++++++++++ board/kontron/sl-mx8mm/sl-mx8mm.c | 99 + board/kontron/sl-mx8mm/spl.c | 321 +++ configs/kontron-sl-mx8mm_defconfig | 122 ++ doc/board/kontron/index.rst | 1 + doc/board/kontron/sl-mx8mm.rst | 85 + include/configs/kontron-sl-mx8mm.h | 84 + 17 files changed, 3662 insertions(+) create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s.dts create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-som.dtsi create mode 100644 board/kontron/sl-mx8mm/Kconfig create mode 100644 board/kontron/sl-mx8mm/MAINTAINERS create mode 100644 board/kontron/sl-mx8mm/Makefile create mode 100644 board/kontron/sl-mx8mm/imximage.cfg create mode 100644 board/kontron/sl-mx8mm/lpddr4_timing.c create mode 100644 board/kontron/sl-mx8mm/sl-mx8mm.c create mode 100644 board/kontron/sl-mx8mm/spl.c create mode 100644 configs/kontron-sl-mx8mm_defconfig create mode 100644 doc/board/kontron/sl-mx8mm.rst create mode 100644 include/configs/kontron-sl-mx8mm.h
arch/arm/dts/Makefile +2 -0
@@ -871,6 +871,8 @@ dtb-$(CONFIG_ARCH_IMX8M) += \ imx8mm-evk.dtb \ imx8mm-icore-mx8mm-ctouch2.dtb \ imx8mm-icore-mx8mm-edimm2.2.dtb \ + imx8mm-kontron-n801x-s.dtb \ + imx8mm-kontron-n801x-s-lvds.dtb \ imx8mm-venice.dtb \ imx8mm-venice-gw71xx-0x.dtb \ imx8mm-venice-gw72xx-0x.dtb \
arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts new file +116 -0
116 lines not on this page · raw message
arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi new file +253 -0
253 lines not on this page · raw message
arch/arm/dts/imx8mm-kontron-n801x-s.dts new file +388 -0
388 lines not on this page · raw message
arch/arm/dts/imx8mm-kontron-n801x-som.dtsi new file +298 -0
298 lines not on this page · raw message
arch/arm/mach-imx/imx8m/Kconfig +8 -0
@@ -75,6 +75,13 @@ config TARGET_IMX8MM_VENICE select SUPPORT_SPL select IMX8M_LPDDR4 +config TARGET_KONTRON_MX8MM + bool "Kontron Electronics N80xx" + select BINMAN + select IMX8MM + select SUPPORT_SPL + select IMX8M_LPDDR4 + config TARGET_IMX8MN_EVK bool "imx8mn LPDDR4 EVK board" select BINMAN
@@ -150,6 +157,7 @@ source "board/freescale/imx8mn_evk/Kconfig" source "board/freescale/imx8mp_evk/Kconfig" source "board/gateworks/venice/Kconfig" source "board/google/imx8mq_phanbell/Kconfig" +source "board/kontron/sl-mx8mm/Kconfig" source "board/phytec/phycore_imx8mm/Kconfig" source "board/phytec/phycore_imx8mp/Kconfig" source "board/ronetix/imx8mq-cm/Kconfig"
board/kontron/sl-mx8mm/Kconfig new file +15 -0
@@ -0,0 +1,15 @@ +if TARGET_KONTRON_MX8MM + +config SYS_BOARD + string + default "sl-mx8mm" + +config SYS_VENDOR + string + default "kontron" + +config SYS_CONFIG_NAME + string + default "kontron-sl-mx8mm" + +endif
board/kontron/sl-mx8mm/MAINTAINERS new file +8 -0
@@ -0,0 +1,8 @@ +Kontron SL/BL i.MX8M Mini Boards (N801x) +M: Frieder Schrempf <[email protected]> +S: Maintained +F: arch/arm/dts/imx8mm-kontron-n801x-* +F: board/kontron/sl-mx8mm +F: configs/kontron-sl-mx8mm_defconfig +F: doc/board/kontron/sl-mx8mm.rst +F: include/configs/kontron-sl-mx8mm.h
board/kontron/sl-mx8mm/Makefile new file +9 -0
@@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0+ +# (C) Copyright 2019 Kontron Electronics GmbH + +obj-y := sl-mx8mm.o + +ifdef CONFIG_SPL_BUILD +obj-y += spl.o +obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing.o +endif
board/kontron/sl-mx8mm/imximage.cfg new file +9 -0
@@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Kontron Electronics GmbH + */ + +#define __ASSEMBLY__ + +BOOT_FROM sd +LOADER u-boot-spl-ddr.bin 0x7E1000
board/kontron/sl-mx8mm/lpddr4_timing.c new file +1844 -0
1,844 lines not on this page · raw message
board/kontron/sl-mx8mm/sl-mx8mm.c new file +99 -0
32 lines not on this page · raw message
board/kontron/sl-mx8mm/spl.c new file +321 -0
321 lines not on this page · raw message
configs/kontron-sl-mx8mm_defconfig new file +122 -0
122 lines not on this page · raw message
doc/board/kontron/sl-mx8mm.rst new file +85 -0
85 lines not on this page · raw message
include/configs/kontron-sl-mx8mm.h new file +84 -0
84 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.32.0
Part of the diff is not shown here. View the raw message.
Hi Frieder,
Quoted 11 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
This a patchset to upstream the support for the SL i.MX6UL, SL i.MX6ULL and SL i.MX8MM families of SoMs and matching evaluation boards by Kontron Electronics.
The first patch prepares the docs of the existing sl28 hardware to allow other boards to be added in the hierarchy. The second patch adds the i.MX6UL/ULL hardware and the third patch the i.MX8MM hardware.
Quoted 6 lines
Frieder Schrempf (3):
doc: board: kontron: sl28: Reduce section levels and change title
imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULLboards (N63xx/N64xx) imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards (N801x)
For the series: