Misc changes for Kontron i.MX6UL SoMs and Boards
Subsystems (2)
cover Misc changes for Kontron i.MX6UL SoMs and Boards
From: Frieder Schrempf <[email protected]>
This is a collection of various patches that we have collected downstream and the conversion to OF_UPSTREAM.
Annette Kobou (2):
imx: kontron-sl-mx6ul: Enable fastboot support
imx: kontron-sl-mx6ul: Autostart fastboot if booted from USB
Eberhard Stoll (2):
imx: kontron-sl-mx6ul: Enable CONFIG_ENV_IS_NOWHERE
imx: kontron-sl-mx6ul: Force default environment for serial loader
boot
Frieder Schrempf (6):
imx: kontron-sl-mx6ul: Fix include statements for local header
imx: kontron-sl-mx6ul: Enable standard boot and disable legacy distro
boot
imx: kontron-sl-mx6ul: Set CONFIG_SDP_LOADADDR to fix SDP boot
imx: kontron-sl-mx6ul: Enable second ethernet interface
imx: kontron-sl-mx6ul: Enable watchdog and sysreset
imx: kontron-sl-mx6ul: Switch to OF_UPSTREAM
Oualid Derouiche (1):
imx: kontron-sl-mx6ul: Enable redundant environment
arch/arm/dts/imx6ul-kontron-bl-43.dts | 103 ----- .../dts/imx6ul-kontron-bl-common-u-boot.dtsi | 12 +- arch/arm/dts/imx6ul-kontron-bl-common.dtsi | 406 ------------------ arch/arm/dts/imx6ul-kontron-bl.dts | 16 - arch/arm/dts/imx6ul-kontron-sl-common.dtsi | 137 ------ arch/arm/dts/imx6ul-kontron-sl.dtsi | 14 - arch/arm/dts/imx6ull-kontron-bl.dts | 15 - arch/arm/dts/imx6ull-kontron-sl.dtsi | 13 - board/kontron/sl-mx6ul/sl-mx6ul-common.c | 2 +- board/kontron/sl-mx6ul/sl-mx6ul.c | 23 +- board/kontron/sl-mx6ul/spl.c | 3 +- configs/kontron-sl-mx6ul_defconfig | 32 +- include/configs/kontron-sl-mx6ul.h | 12 - 13 files changed, 56 insertions(+), 732 deletions(-) delete mode 100644 arch/arm/dts/imx6ul-kontron-bl-43.dts delete mode 100644 arch/arm/dts/imx6ul-kontron-bl-common.dtsi delete mode 100644 arch/arm/dts/imx6ul-kontron-bl.dts delete mode 100644 arch/arm/dts/imx6ul-kontron-sl-common.dtsi delete mode 100644 arch/arm/dts/imx6ul-kontron-sl.dtsi delete mode 100644 arch/arm/dts/imx6ull-kontron-bl.dts delete mode 100644 arch/arm/dts/imx6ull-kontron-sl.dtsi
Signature · 1 line
2.50.1
PATCH 1/11 imx: kontron-sl-mx6ul: Fix include statements for local header
From: Frieder Schrempf <[email protected]>
The header from the local directory should use double quotes instead of brackets. Otherwise the compiler might not search the local directory.
--- board/kontron/sl-mx6ul/sl-mx6ul-common.c | 2 +- board/kontron/sl-mx6ul/sl-mx6ul.c | 3 ++- board/kontron/sl-mx6ul/spl.c | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-)
board/kontron/sl-mx6ul/sl-mx6ul-common.c +1 -1
@@ -6,7 +6,7 @@#include <asm/types.h> #include <asm/arch/sys_proto.h> -#include <sl-mx6ul-common.h> +#include "sl-mx6ul-common.h" bool sl_mx6ul_is_spi_nor_boot (void ) {
board/kontron/sl-mx6ul/sl-mx6ul.c +2 -1
@@ -9,7 +9,8 @@#include <env_internal.h> #include <fdt_support.h> #include <phy.h> -#include <sl-mx6ul-common.h> + +#include "sl-mx6ul-common.h" DECLARE_GLOBAL_DATA_PTR ;
board/kontron/sl-mx6ul/spl.c +2 -1
@@ -18,7 +18,8 @@#include <linux/sizes.h> #include <linux/errno.h> #include <mmc.h> -#include <sl-mx6ul-common.h> + +#include "sl-mx6ul-common.h" DECLARE_GLOBAL_DATA_PTR ;
Signature · 1 line
2.50.1
PATCH 2/11 imx: kontron-sl-mx6ul: Enable standard boot and disable legacy distro boot
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
Disable the legacy distro boot and use bootstd instead.
--- configs/kontron-sl-mx6ul_defconfig | 3 ++- include/configs/kontron-sl-mx6ul.h | 12 ------------ 2 files changed, 2 insertions(+), 13 deletions(-)
configs/kontron-sl-mx6ul_defconfig +2 -1
@@ -25,7 +25,7 @@ CONFIG_SYS_MEMTEST_START=0x80000000 CONFIG_SYS_MEMTEST_END=0x90000000 CONFIG_FIT=y CONFIG_SPL_LOAD_FIT=y -CONFIG_DISTRO_DEFAULTS=y +CONFIG_BOOTSTD_FULL=y CONFIG_OF_BOARD_SETUP=y CONFIG_FDT_FIXUP_PARTITIONS=y CONFIG_SYS_PBSIZE=532
@@ -50,6 +50,7 @@ CONFIG_CMD_USB=y CONFIG_CMD_USB_SDP=y CONFIG_CMD_USB_MASS_STORAGE=y CONFIG_CMD_CACHE=y +CONFIG_CMD_SYSBOOT=y CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FS_UUID=y CONFIG_CMD_MTDPARTS=y
include/configs/kontron-sl-mx6ul.h +0 -12
@@ -24,22 +24,10 @@/* Board and environment settings */ #define CFG_MXC_UART_BASE UART4_BASE -/* Boot order for distro boot */ -#define BOOT_TARGET_DEVICES (func) \ - func(MMC, mmc, 1) \ - func(MMC, mmc, 0) \ - func(UBIFS, ubifs, 0, UBI, boot) \ - func(USB, usb, 0) \ - func(PXE, pxe, na) \ - func(DHCP, dhcp, na) -#include <config_distro_bootcmd.h> -/* MMC Configs */ #ifdef CONFIG_FSL_USDHC #define CFG_SYS_FSL_ESDHC_ADDR USDHC1_BASE_ADDR#define CFG_SYS_FSL_USDHC_NUM 2#endif -#define CFG_EXTRA_ENV_SETTINGS BOOTENV -#endif /* __KONTRON_MX6UL_CONFIG_H */
Signature · 1 line
2.50.1
PATCH 3/11 imx: kontron-sl-mx6ul: Set CONFIG_SDP_LOADADDR to fix SDP boot
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
We need to set CONFIG_SDP_LOADADDR to a valid RAM address to make SDP boot work. Use the end of the DDR (256 MiB minimum) as other boards do.
--- configs/kontron-sl-mx6ul_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/kontron-sl-mx6ul_defconfig +1 -0
@@ -107,5 +107,6 @@ CONFIG_USB_GADGET_MANUFACTURER="FSL" CONFIG_USB_GADGET_VENDOR_NUM=0x0525 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_CI_UDC=y +CONFIG_SDP_LOADADDR=0x8f7fffc0 CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_SPL_USB_SDP_SUPPORT=y
Signature · 1 line
2.50.1
PATCH 4/11 imx: kontron-sl-mx6ul: Enable second ethernet interface
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
This ensures both interfaces can be used in U-Boot and both MAC addresses are exported to the Linux kernel devicetree.
--- arch/arm/dts/imx6ul-kontron-bl-common-u-boot.dtsi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
arch/arm/dts/imx6ul-kontron-bl-common-u-boot.dtsi +7 -5
@@ -30,9 +30,6 @@ * in Linux we can't assign the shared reset GPIO to the PHYs, as this * would cause Linux to reset both PHYs every time one of them gets * reinitialized. - * - * Also we disable the second ethernet as it currently doesn't work with - * the devicetree setup in U-Boot. */ &fec1 {
@@ -53,11 +50,16 @@ clocks = <&clks IMX6UL_CLK_ENET_REF>; clock-names = "rmii-ref"; }; + + ethphy2: ethernet-phy@2 { + reg = <2>; + micrel,led-mode = <0>; + clocks = <&clks IMX6UL_CLK_ENET2_REF>; + clock-names = "rmii-ref"; + }; }; }; &fec2 { - status = "disabled"; - /delete-property/ phy-handle; /delete-node/ mdio; };
Signature · 1 line
2.50.1
PATCH 5/11 imx: kontron-sl-mx6ul: Enable fastboot support
In reply to Frieder SchrempfFrom: Annette Kobou <[email protected]>
Enable support for fastboot commands via USB.
--- configs/kontron-sl-mx6ul_defconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
configs/kontron-sl-mx6ul_defconfig +8 -1
@@ -23,6 +23,7 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI=y CONFIG_SYS_MEMTEST_START=0x80000000 CONFIG_SYS_MEMTEST_END=0x90000000 +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_FIT=y CONFIG_SPL_LOAD_FIT=y CONFIG_BOOTSTD_FULL=y
@@ -69,6 +70,13 @@ CONFIG_USE_HOSTNAME=y CONFIG_HOSTNAME="kontron-mx6ul" CONFIG_BOOTCOUNT_LIMIT=y CONFIG_BOOTCOUNT_ENV=y +CONFIG_USB_FUNCTION_FASTBOOT=y +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_UUU_SUPPORT=y +CONFIG_FASTBOOT_FLASH_MMC_DEV=0 +CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y +CONFIG_FASTBOOT_MMC_USER_SUPPORT=y +CONFIG_FASTBOOT_MMC_USER_NAME="mmc1" CONFIG_DM_I2C=y CONFIG_FSL_USDHC=y CONFIG_MTD=y
@@ -108,5 +116,4 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_CI_UDC=y CONFIG_SDP_LOADADDR=0x8f7fffc0 -CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_SPL_USB_SDP_SUPPORT=y
Signature · 1 line
2.50.1
PATCH 6/11 imx: kontron-sl-mx6ul: Enable redundant environment
In reply to Frieder SchrempfFrom: Oualid Derouiche <[email protected]>
This aligns the MTD partitions on the SPI NOR with the kernel devicetree and enables the redundant environment.
--- configs/kontron-sl-mx6ul_defconfig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
configs/kontron-sl-mx6ul_defconfig +5 -3
@@ -7,9 +7,9 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_NR_DRAM_BANKS=1 CONFIG_SF_DEFAULT_SPEED=10000000 -CONFIG_ENV_SIZE=0x10000 +CONFIG_ENV_SIZE=0x8000 CONFIG_ENV_OFFSET=0xF0000 -CONFIG_ENV_SECT_SIZE=0x10000 +CONFIG_ENV_SECT_SIZE=0x4000 CONFIG_MX6UL=y CONFIG_TARGET_KONTRON_MX6UL=y CONFIG_DM_GPIO=y
@@ -19,6 +19,7 @@ CONFIG_SPL_SERIAL=y CONFIG_BOOTCOUNT_BOOTLIMIT=3 CONFIG_SF_DEFAULT_BUS=1 CONFIG_SPL=y +CONFIG_ENV_OFFSET_REDUND=0xF8000 CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI=y CONFIG_SYS_MEMTEST_START=0x80000000
@@ -56,7 +57,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FS_UUID=y CONFIG_CMD_MTDPARTS=y CONFIG_MTDIDS_DEFAULT="nor0=spi1.0,spi-nand0=spi4.0" -CONFIG_MTDPARTS_DEFAULT="mtdparts=spi1.0:128k(spl),832k(u-boot),64k(env);spi4.0:-(UBI)" +CONFIG_MTDPARTS_DEFAULT="mtdparts=spi1.0:960k(u-boot),32k(env),32k(env_redundant);spi4.0:-(UBI)" CONFIG_CMD_UBI=y CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y
@@ -64,6 +65,7 @@ CONFIG_OF_LIST="imx6ul-kontron-bl imx6ull-kontron-bl" CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_MMC=y CONFIG_ENV_IS_IN_SPI_FLASH=y +CONFIG_ENV_REDUNDANT=y CONFIG_USE_ETHPRIME=y CONFIG_ETHPRIME="eth0" CONFIG_USE_HOSTNAME=y
Signature · 1 line
2.50.1
PATCH 7/11 imx: kontron-sl-mx6ul: Autostart fastboot if booted from USB
In reply to Frieder SchrempfFrom: Annette Kobou <[email protected]>
For booting via USB we want to automatically start the fastboot command in order to access the board via uuu or other tools.
This allows for easier bringup of new boards during development and manufacturing.
--- board/kontron/sl-mx6ul/sl-mx6ul.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
board/kontron/sl-mx6ul/sl-mx6ul.c +12 -0
@@ -5,7 +5,9 @@#include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <asm/arch-mx6/imx-regs.h> #include <asm/global_data.h> +#include <env.h> #include <env_internal.h> #include <fdt_support.h> #include <phy.h>
@@ -87,6 +89,16 @@ int board_init(void)return 0 ; } +int board_late_init (void ) +{ +if (is_boot_from_usb ()) { +env_set ("bootdelay" ,"0" ); +env_set ("bootcmd" ,"fastboot 0" ); + } + +return 0 ; +} +enum env_location env_get_location (enum env_operation op,int prio) {if (prio)
Signature · 1 line
2.50.1
PATCH 8/11 imx: kontron-sl-mx6ul: Enable watchdog and sysreset
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
Enable the watchdog and sysreset drivers and the wdt command. This also fixes the non-working 'reset' command.
--- configs/kontron-sl-mx6ul_defconfig | 5 +++++ 1 file changed, 5 insertions(+)
configs/kontron-sl-mx6ul_defconfig +5 -0
@@ -51,6 +51,7 @@ CONFIG_CMD_SF_TEST=y CONFIG_CMD_USB=y CONFIG_CMD_USB_SDP=y CONFIG_CMD_USB_MASS_STORAGE=y +CONFIG_CMD_WDT=y CONFIG_CMD_CACHE=y CONFIG_CMD_SYSBOOT=y CONFIG_CMD_EXT4_WRITE=y
@@ -107,6 +108,9 @@ CONFIG_DM_SPI=y CONFIG_FSL_QSPI=y # CONFIG_FSL_QSPI_AHB_FULL_MAP is not set CONFIG_MXC_SPI=y +CONFIG_SYSRESET=y +CONFIG_SYSRESET_WATCHDOG=y +CONFIG_SYSRESET_WATCHDOG_AUTO=y CONFIG_IMX_THERMAL=y CONFIG_USB=y CONFIG_SPL_USB_HOST=y
@@ -119,3 +123,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_CI_UDC=y CONFIG_SDP_LOADADDR=0x8f7fffc0 CONFIG_SPL_USB_SDP_SUPPORT=y +CONFIG_IMX_WATCHDOG=y
Signature · 1 line
2.50.1
PATCH 9/11 imx: kontron-sl-mx6ul: Enable CONFIG_ENV_IS_NOWHERE
In reply to Frieder SchrempfFrom: Eberhard Stoll <[email protected]>
For some cases it is beneficial to not store the environment in persistent memory, but instead use the default environment and keep it in volatile RAM only. Allow this by enabling CONFIG_ENV_IS_NOWHERE.
--- configs/kontron-sl-mx6ul_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/kontron-sl-mx6ul_defconfig +1 -0
@@ -64,6 +64,7 @@ CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_OF_LIST="imx6ul-kontron-bl imx6ull-kontron-bl" CONFIG_ENV_OVERWRITE=y +CONFIG_ENV_IS_NOWHERE=y CONFIG_ENV_IS_IN_MMC=y CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_ENV_REDUNDANT=y
Signature · 1 line
2.50.1
PATCH 10/11 imx: kontron-sl-mx6ul: Force default environment for serial loader boot
In reply to Frieder SchrempfFrom: Eberhard Stoll <[email protected]>
In case of booting from serial loader (USB) we want to always use the default environment in order to get a defined state that is independent of any environment stored in persistent memory.
This way we can avoid corruption of the boot process during development and manufacturing by existing environment settings in flash.
--- board/kontron/sl-mx6ul/sl-mx6ul.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
board/kontron/sl-mx6ul/sl-mx6ul.c +7 -1
@@ -104,10 +104,16 @@ enum env_location env_get_location(enum env_operation op, int prio)if (prio)return ENVL_UNKNOWN ; +if (CONFIG_IS_ENABLED (ENV_IS_NOWHERE ) &&is_boot_from_usb ()) +return ENVL_NOWHERE ; +if (sl_mx6ul_is_spi_nor_boot () &&CONFIG_IS_ENABLED (ENV_IS_IN_SPI_FLASH ))return ENVL_SPI_FLASH ;else if (CONFIG_IS_ENABLED (ENV_IS_IN_MMC ))return ENVL_MMC ; -return ENVL_NOWHERE ; +if (CONFIG_IS_ENABLED (ENV_IS_NOWHERE )) +return ENVL_NOWHERE ; + +return ENVL_UNKNOWN ; }
Signature · 1 line
2.50.1
PATCH 11/11 imx: kontron-sl-mx6ul: Switch to OF_UPSTREAM
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
Use the upstream devicetrees instead of the local ones.
--- arch/arm/dts/imx6ul-kontron-bl-43.dts | 103 ------ arch/arm/dts/imx6ul-kontron-bl-common.dtsi | 406 --------------------- arch/arm/dts/imx6ul-kontron-bl.dts | 16 - arch/arm/dts/imx6ul-kontron-sl-common.dtsi | 137 ------- arch/arm/dts/imx6ul-kontron-sl.dtsi | 14 - arch/arm/dts/imx6ull-kontron-bl.dts | 15 - arch/arm/dts/imx6ull-kontron-sl.dtsi | 13 - configs/kontron-sl-mx6ul_defconfig | 5 +- 8 files changed, 3 insertions(+), 706 deletions(-) delete mode 100644 arch/arm/dts/imx6ul-kontron-bl-43.dts delete mode 100644 arch/arm/dts/imx6ul-kontron-bl-common.dtsi delete mode 100644 arch/arm/dts/imx6ul-kontron-bl.dts delete mode 100644 arch/arm/dts/imx6ul-kontron-sl-common.dtsi delete mode 100644 arch/arm/dts/imx6ul-kontron-sl.dtsi delete mode 100644 arch/arm/dts/imx6ull-kontron-bl.dts delete mode 100644 arch/arm/dts/imx6ull-kontron-sl.dtsi
arch/arm/dts/imx6ul-kontron-bl-43.dts deleted +0 -103
@@ -1,103 +0,0 @@ -// 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-kontron-bl.dts" - -/ { - model = "Kontron BL i.MX6UL 43 (N631X S 43)"; - compatible = "kontron,bl-imx6ul-43", "kontron,bl-imx6ul", - "kontron,sl-imx6ul", "fsl,imx6ul"; - - backlight { - compatible = "pwm-backlight"; - pwms = <&pwm7 0 5000000>; - brightness-levels = <0 4 8 16 32 64 128 255>; - default-brightness-level = <6>; - status = "okay"; - }; -}; - -&i2c4 { - touchscreen@5d { - compatible = "goodix,gt928"; - reg = <0x5d>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_cap_touch>; - interrupt-parent = <&gpio5>; - interrupts = <6 IRQ_TYPE_LEVEL_LOW>; - reset-gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>; - irq-gpios = <&gpio5 6 GPIO_ACTIVE_HIGH>; - }; -}; - -&lcdif { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lcdif_dat &pinctrl_lcdif_ctrl>; - /* Leave status disabled because of missing display panel node */ -}; - -&pwm7 { - #pwm-cells = <2>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pwm7>; - status = "okay"; -}; - -&iomuxc { - pinctrl_cap_touch: captouchgrp { - fsl,pins = < - MX6UL_PAD_SNVS_TAMPER6__GPIO5_IO06 0x1b0b0 /* Touch Interrupt */ - MX6UL_PAD_SNVS_TAMPER7__GPIO5_IO07 0x1b0b0 /* Touch Reset */ - MX6UL_PAD_SNVS_TAMPER8__GPIO5_IO08 0x1b0b0 /* Touch Wake */ - >; - }; - - pinctrl_lcdif_ctrl: lcdifctrlgrp { - fsl,pins = < - MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x79 - MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x79 - MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x79 - MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x79 - MX6UL_PAD_LCD_RESET__LCDIF_RESET 0x79 - >; - }; - - pinctrl_lcdif_dat: lcdifdatgrp { - fsl,pins = < - MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79 - MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x79 - MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x79 - MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x79 - MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x79 - MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x79 - MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x79 - MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x79 - MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x79 - MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x79 - MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x79 - MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x79 - MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x79 - MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x79 - MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x79 - MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x79 - MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x79 - MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x79 - MX6UL_PAD_LCD_DATA18__LCDIF_DATA18 0x79 - MX6UL_PAD_LCD_DATA19__LCDIF_DATA19 0x79 - MX6UL_PAD_LCD_DATA20__LCDIF_DATA20 0x79 - MX6UL_PAD_LCD_DATA21__LCDIF_DATA21 0x79 - MX6UL_PAD_LCD_DATA22__LCDIF_DATA22 0x79 - MX6UL_PAD_LCD_DATA23__LCDIF_DATA23 0x79 - >; - }; - - pinctrl_pwm7: pwm7grp { - fsl,pins = < - MX6UL_PAD_CSI_VSYNC__PWM7_OUT 0x110b0 - >; - }; -};
arch/arm/dts/imx6ul-kontron-bl-common.dtsi deleted +0 -406
406 lines not on this page · raw message
arch/arm/dts/imx6ul-kontron-bl.dts deleted +0 -16
@@ -1,16 +0,0 @@ -// 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-sl.dtsi" -#include "imx6ul-kontron-bl-common.dtsi" - -/ { - model = "Kontron BL i.MX6UL (N631X S)"; - compatible = "kontron,bl-imx6ul", "kontron,sl-imx6ul", "fsl,imx6ul"; -};
arch/arm/dts/imx6ul-kontron-sl-common.dtsi deleted +0 -137
137 lines not on this page · raw message
arch/arm/dts/imx6ul-kontron-sl.dtsi deleted +0 -14
@@ -1,14 +0,0 @@ -// 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-sl-common.dtsi" - -/ { - model = "Kontron SL i.MX6UL (N631X SOM)"; - compatible = "kontron,sl-imx6ul", "fsl,imx6ul"; -};
arch/arm/dts/imx6ull-kontron-bl.dts deleted +0 -15
@@ -1,15 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2017 exceet electronics GmbH - * Copyright (C) 2019 Kontron Electronics GmbH - */ - -/dts-v1/; - -#include "imx6ull-kontron-sl.dtsi" -#include "imx6ul-kontron-bl-common.dtsi" - -/ { - model = "Kontron BL i.MX6ULL (N641X S)"; - compatible = "kontron,bl-imx6ull", "kontron,sl-imx6ull", "fsl,imx6ull"; -};
arch/arm/dts/imx6ull-kontron-sl.dtsi deleted +0 -13
@@ -1,13 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2017 exceet electronics GmbH - * Copyright (C) 2018 Kontron Electronics GmbH - */ - -#include "imx6ull.dtsi" -#include "imx6ul-kontron-sl-common.dtsi" - -/ { - model = "Kontron SL i.MX6ULL (N641X SOM)"; - compatible = "kontron,sl-imx6ull", "fsl,imx6ull"; -};
configs/kontron-sl-mx6ul_defconfig +3 -2
@@ -13,7 +13,7 @@ CONFIG_ENV_SECT_SIZE=0x4000 CONFIG_MX6UL=y CONFIG_TARGET_KONTRON_MX6UL=y CONFIG_DM_GPIO=y -CONFIG_DEFAULT_DEVICE_TREE="imx6ul-kontron-bl" +CONFIG_DEFAULT_DEVICE_TREE="nxp/imx/imx6ul-kontron-bl" CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y CONFIG_BOOTCOUNT_BOOTLIMIT=3
@@ -62,7 +62,8 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=spi1.0:960k(u-boot),32k(env),32k(env_redundant CONFIG_CMD_UBI=y CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y -CONFIG_OF_LIST="imx6ul-kontron-bl imx6ull-kontron-bl" +CONFIG_OF_UPSTREAM=y +CONFIG_OF_LIST="nxp/imx/imx6ul-kontron-bl nxp/imx/imx6ull-kontron-bl" CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_NOWHERE=y CONFIG_ENV_IS_IN_MMC=y
Signature · 1 line
2.50.1
Fabio Estevam
reviewerRe: [PATCH 11/11] imx: kontron-sl-mx6ul: Switch to OF_UPSTREAM
Quoted 6 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
Use the upstream devicetrees instead of the local ones.
Signed-off-by Frieder Schrempf <[email protected]>
There was a build failure because the in-tree DTBs were not removed from the Makefile.
I fixed it and applied for next, thanks.