From: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/7] arm: vf610-twr: Add device tree files
Date: Fri, 22 Jan 2016 17:51:52 +0530 [thread overview]
Message-ID: <56A21EE0.5060901@toradex.com> (raw)
In-Reply-To: <CAEUhbmWoctOrf7vVvUeFM-0KdAuFzxYVr2_KF_Lu1W4eGZvP2A@mail.gmail.com>
On 01/22/2016 03:22 PM, Bin Meng wrote:
> Hi Bhuvanchandra,
>
> On Fri, Jan 22, 2016 at 3:49 PM, Bhuvanchandra DV
> <bhuvanchandra.dv@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.
Okay.
>
>> +/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
>
--
Best regards,
Bhuvan
next prev parent reply other threads:[~2016-01-22 12:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-22 7:49 [U-Boot] [PATCH 0/7] Add/enable lpuart support on Vybrid based boards Bhuvanchandra DV
2016-01-22 7:49 ` [U-Boot] [PATCH 1/7] arm: vf: Enable lpuart support Bhuvanchandra DV
2016-01-22 9:52 ` Bin Meng
2016-01-22 7:49 ` [U-Boot] [PATCH 2/7] arm: colibri-vf: Enable serial support Bhuvanchandra DV
2016-01-22 9:52 ` Bin Meng
2016-01-22 12:21 ` Bhuvanchandra DV
2016-01-22 7:49 ` [U-Boot] [PATCH 3/7] arm: vf610-twr: Add device tree files Bhuvanchandra DV
2016-01-22 9:52 ` Bin Meng
2016-01-22 12:21 ` Bhuvanchandra DV [this message]
2016-01-22 7:49 ` [U-Boot] [PATCH 4/7] arm: pcm052: " Bhuvanchandra DV
2016-01-22 9:53 ` Bin Meng
2016-01-22 7:49 ` [U-Boot] [PATCH 5/7] dm: lpuart: Drop the legacy code Bhuvanchandra DV
2016-01-22 9:54 ` Bin Meng
2016-01-22 7:49 ` [U-Boot] [PATCH 6/7] arm: vybrid: Drop enabling serial in legacy mode Bhuvanchandra DV
2016-01-22 9:54 ` Bin Meng
2016-01-22 7:49 ` [U-Boot] [PATCH 7/7] arm: vf: Remove the legacy defconfigs Bhuvanchandra DV
2016-01-22 9:55 ` Bin Meng
2016-01-22 12:21 ` Bhuvanchandra DV
2016-01-22 16:38 ` Stefan Agner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56A21EE0.5060901@toradex.com \
--to=bhuvanchandra.dv@toradex.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox