[U-Boot] [PATCH 3/7] arm: vf610-twr: Add device tree files

Bin Meng bmeng.cn at gmail.com
Fri Jan 22 10:52:55 CET 2016


Hi Bhuvanchandra,

On Fri, Jan 22, 2016 at 3:49 PM, Bhuvanchandra DV
<bhuvanchandra.dv at toradex.com> wrote:
> Add device tree files and enable serial support
> ---
>  arch/arm/dts/Makefile          |  3 ++-
>  arch/arm/dts/vf610-twr.dts     | 27 +++++++++++++++++++++++++++
>  configs/vf610twr_dtb_defconfig | 13 +++++++++++++
>  3 files changed, 42 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/dts/vf610-twr.dts
>  create mode 100644 configs/vf610twr_dtb_defconfig
>
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index f66ff41..c6fb50c 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -190,7 +190,8 @@ dtb-$(CONFIG_MACH_SUN9I) += \
>         sun9i-a80-cubieboard4.dtb
>
>  dtb-$(CONFIG_VF610) += vf500-colibri.dtb \
> -       vf610-colibri.dtb
> +       vf610-colibri.dtb \
> +       vf610-twr.dtb
>
>  dtb-$(CONFIG_SOC_KEYSTONE) += k2hk-evm.dtb \
>         k2l-evm.dtb \
> diff --git a/arch/arm/dts/vf610-twr.dts b/arch/arm/dts/vf610-twr.dts
> new file mode 100644
> index 0000000..8f86a80
> --- /dev/null
> +++ b/arch/arm/dts/vf610-twr.dts
> @@ -0,0 +1,27 @@
> +/*
> + * Copyright 2016 Toradex AG
> + *
> + * SPDX-License-Identifier:     GPL-2.0+ or X11
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + */
> +

Since there is already SPDX license, we can remove the full one.

> +/dts-v1/;
> +#include "vf.dtsi"
> +
> +/ {
> +       model = "VF610 Tower Board";
> +       compatible = "fsl,vf610-twr", "fsl,vf610";
> +
> +       choosen {
> +               stdout-path = &uart1;
> +       };
> +
> +};
> +
> +&uart1 {
> +       status = "okay";
> +};
> diff --git a/configs/vf610twr_dtb_defconfig b/configs/vf610twr_dtb_defconfig

_dtb again?

> new file mode 100644
> index 0000000..24a7223
> --- /dev/null
> +++ b/configs/vf610twr_dtb_defconfig
> @@ -0,0 +1,13 @@
> +CONFIG_ARM=y
> +CONFIG_TARGET_VF610TWR=y
> +CONFIG_DEFAULT_DEVICE_TREE="vf610-twr"
> +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_IS_IN_MMC"
> +# CONFIG_CMD_IMLS is not set
> +# CONFIG_CMD_SETEXPR is not set
> +CONFIG_NAND_VF610_NFC=y
> +CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
> +CONFIG_SPI_FLASH=y
> +CONFIG_DM=y
> +CONFIG_OF_CONTROL=y
> +CONFIG_DM_SERIAL=y
> +CONFIG_FSL_LPUART=y
> --

Please reorder this via 'make savedefconfig'.

Regards,
Bin


More information about the U-Boot mailing list