[U-Boot] [PATCH 2/2] mx6: add example DTB for mx6qsabreauto
Stefano Babic
sbabic at denx.de
Mon Mar 17 15:22:15 CET 2014
Hi Fabio,
On 17/03/2014 13:54, Fabio Estevam wrote:
> Hi Stefano,
>
> On Mon, Mar 17, 2014 at 5:58 AM, Stefano Babic <sbabic at denx.de> wrote:
>
>> --- a/arch/arm/dts/Makefile
>> +++ b/arch/arm/dts/Makefile
>> @@ -2,6 +2,7 @@ dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \
>> exynos5250-snow.dtb \
>> exynos5250-smdk5250.dtb \
>> exynos5420-smdk5420.dtb
>> +dtb-$(CONFIG_MX6) += mx6qsabreauto.dtb
>
> It would be better to use the name as 'imx6q-sabresd.dtb' to make it
> consistent with the name we currently use in the kernel.
ok, got it.
>
>> dtb-$(CONFIG_TEGRA) += tegra20-harmony.dtb \
>> tegra20-medcom-wide.dtb \
>> tegra20-paz00.dtb \
>> diff --git a/arch/arm/dts/mx6qsabreauto.dts b/arch/arm/dts/mx6qsabreauto.dts
>> new file mode 100644
>> index 0000000..a3c9c91
>> --- /dev/null
>> +++ b/arch/arm/dts/mx6qsabreauto.dts
>> @@ -0,0 +1,13 @@
>> +/*
>> + + * Copyright 2012 Freescale Semiconductor, Inc.
>> + + * Copyright 2011 Linaro Ltd.
>> + + *
>> + + * SPDX-License-Identifier: GPL-2.0+
>> + + */
>> +
>> +/dts-v1/;
>> +
>> +/ {
>> + model = "Freescale i.MX6 Quad SABRE Automotive Board";
>> + compatible = "fsl,imx6q-sabreauto", "fsl,imx6q";
>> +};
>
> Don't we need imx6qdl-sabresd.dtsi as well?
>
> imx6q-sabresd.dts only contains the support that is mx6quad specific
> (sata, extra IPU, etc).
>
> imx6qdl-sabresd.dtsi contains the common part.
Right, but it is to configure the kernel. What I am trying now is to
start adding U-Boot configuration via dtb for i.MX, not kernel
configuration, similar as we can already see for other SOC (Tegra,
zync,..). I can imagine we will have a .dtsi as well, as in kernel, but
at the moment we are starting with DT in U-Boot. Have I relly understood
your point ?
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list