[U-Boot] [PATCH 4/7] arm: pcm052: Add device tree files

Bin Meng bmeng.cn at gmail.com
Fri Jan 22 10:53:13 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/pcm052.dts      | 27 +++++++++++++++++++++++++++
>  configs/pcm052_dtb_defconfig | 10 ++++++++++
>  3 files changed, 39 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/dts/pcm052.dts
>  create mode 100644 configs/pcm052_dtb_defconfig
>
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index c6fb50c..b3bde5a 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -191,7 +191,8 @@ dtb-$(CONFIG_MACH_SUN9I) += \
>
>  dtb-$(CONFIG_VF610) += vf500-colibri.dtb \
>         vf610-colibri.dtb \
> -       vf610-twr.dtb
> +       vf610-twr.dtb \
> +       pcm052.dtb
>
>  dtb-$(CONFIG_SOC_KEYSTONE) += k2hk-evm.dtb \
>         k2l-evm.dtb \
> diff --git a/arch/arm/dts/pcm052.dts b/arch/arm/dts/pcm052.dts
> new file mode 100644
> index 0000000..068ba2f
> --- /dev/null
> +++ b/arch/arm/dts/pcm052.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.
> + */
> +
> +/dts-v1/;
> +#include "vf.dtsi"
> +
> +/ {
> +       model = "Phytec phyCORE-Vybrid";
> +       compatible = "phytec,pcm052", "fsl,vf610";
> +
> +       choosen {
> +               stdout-path = &uart1;
> +       };
> +
> +};
> +
> +&uart1 {
> +       status = "okay";
> +};
> diff --git a/configs/pcm052_dtb_defconfig b/configs/pcm052_dtb_defconfig
> new file mode 100644
> index 0000000..877d973
> --- /dev/null
> +++ b/configs/pcm052_dtb_defconfig
> @@ -0,0 +1,10 @@
> +CONFIG_ARM=y
> +CONFIG_TARGET_PCM052=y
> +CONFIG_DEFAULT_DEVICE_TREE="pcm-052"
> +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
> +CONFIG_NAND_VF610_NFC=y
> +CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
> +CONFIG_DM=y
> +CONFIG_OF_CONTROL=y
> +CONFIG_DM_SERIAL=y
> +CONFIG_FSL_LPUART=y
> --

Please fix the same issues I mentioned in previous patches.

Regards,
Bin


More information about the U-Boot mailing list