[PATCH] arm/dt: Add basic device tree support for genesi mx board

Steev Klimaszewski steev at genesi-usa.com
Thu Mar 31 02:58:19 EST 2011


On Wed, Mar 30, 2011 at 8:15 AM, Jason Liu <jason.hui at linaro.org> wrote:
> This patch add support for Genesi Efika MX Smarttop and Smartbook
>
> Signed-off-by: Jason Liu <jason.hui at linaro.org>
>
> ---
> Grant, uboot patch has been included in your uboot patchset.
> And mx51_efika build break, need pull in the patch to fix it
> http://git.pengutronix.de/?p=imx/linux-2.6.git;a=commitdiff;
> h=251290a6078cb88382344b3ee535ae8c6254c1b5
> ---
>  arch/arm/boot/dts/genesi-efikamx.dts   |   30 ++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/genesi-efikasb.dts   |   30 ++++++++++++++++++++++++++++++
>  arch/arm/mach-mx5/Kconfig              |    1 +
>  arch/arm/mach-mx5/board-mx51_efikamx.c |    6 ++++++
>  arch/arm/mach-mx5/board-mx51_efikasb.c |    6 ++++++
>  5 files changed, 73 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/genesi-efikamx.dts b/arch/arm/boot/dts/genesi-efikamx.dts
> new file mode 100644
> index 0000000..eca9616
> --- /dev/null
> +++ b/arch/arm/boot/dts/genesi-efikamx.dts
> @@ -0,0 +1,30 @@
> +/*
> + * Copyright 2011 Linaro Ltd.
> + *
> + * The code contained herein is licensed under the GNU General Public
> + * License. You may obtain a copy of the GNU General Public License
> + * Version 2 or later at the following locations:
> + *
> + * http://www.opensource.org/licenses/gpl-license.html
> + * http://www.gnu.org/copyleft/gpl.html
> + */
> +
> +/dts-v1/;
> +
> +/ {
> +       model = "Genesi EfikaMX nettop";
> +       compatible = "genesi,efikamx";
> +       #address-cells = <1>;
> +       #size-cells = <1>;
<snip>
>  MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
>        /* Maintainer: Amit Kucheria <amit.kucheria at linaro.org> */
>        .boot_params = MX51_PHYS_OFFSET + 0x100,
> @@ -294,4 +299,5 @@ MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
>        .init_irq = mx51_init_irq,
>        .timer = &mx51_efikamx_timer,
>        .init_machine = mx51_efikamx_init,
> +       .dt_compat = mx51_efikamx_dt_match,
>  MACHINE_END

We actually call the small desktop a Smarttop not nettop :)

-- 
Steev Klimaszewski <steev at genesi-usa.com>
Senior Software Engineer, Genesi USA, Inc.


More information about the devicetree-discuss mailing list