From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 4/4] ARM: hi3xxx: enable hi4511 with device tree
Date: Fri, 9 Aug 2013 16:25:02 +0100	[thread overview]
Message-ID: <20130809152502.GS27325@e106331-lin.cambridge.arm.com> (raw)
In-Reply-To: <1374813135-16238-5-git-send-email-haojian.zhuang@linaro.org>
On Fri, Jul 26, 2013 at 05:32:15AM +0100, Haojian Zhuang wrote:
> Enable Hisilicon Hi4511 development platform with device tree support.
> 
> Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
> ---
>  arch/arm/boot/dts/Makefile          |    1 +
>  arch/arm/boot/dts/hi3620.dtsi       | 1147 +++++++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/hi4511.dts        |  648 ++++++++++++++++++++
>  arch/arm/configs/multi_v7_defconfig |    1 +
>  4 files changed, 1797 insertions(+)
>  create mode 100644 arch/arm/boot/dts/hi3620.dtsi
>  create mode 100644 arch/arm/boot/dts/hi4511.dts
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 641b3c9..6e7c1ca 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -61,6 +61,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
>         exynos5250-snow.dtb \
>         exynos5420-smdk5420.dtb \
>         exynos5440-ssdk5440.dtb
> +dtb-$(CONFIG_ARCH_HI3xxx) += hi4511.dtb
>  dtb-$(CONFIG_ARCH_HIGHBANK) += highbank.dtb \
>         ecx-2000.dtb
>  dtb-$(CONFIG_ARCH_INTEGRATOR) += integratorap.dtb \
> diff --git a/arch/arm/boot/dts/hi3620.dtsi b/arch/arm/boot/dts/hi3620.dtsi
> new file mode 100644
> index 0000000..aca09ad
> --- /dev/null
> +++ b/arch/arm/boot/dts/hi3620.dtsi
> @@ -0,0 +1,1147 @@
> +/*
> + * Hisilicon Ltd. Hi3620 SoC
> + *
> + * Copyright (C) 2012-2013 Hisilicon Ltd.
> + * Copyright (C) 2012-2013 Linaro Ltd.
> + *
> + * Author: Haojian Zhuang <haojian.zhuang@linaro.org>
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * publishhed by the Free Software Foundation.
> + */
> +
> +/include/ "skeleton.dtsi"
> +
> +/ {
> +       aliases {
> +               serial0 = &uart0;
> +               serial1 = &uart1;
> +               serial2 = &uart2;
> +               serial3 = &uart3;
> +               serial4 = &uart4;
> +       };
Missing /cpus/cpu at N nodes.
> +
> +       osc32k: osc at 0 {
> +               compatible = "fixed-clock";
> +               #clock-cells = <0>;
> +               clock-frequency = <32768>;
> +               clock-output-names = "osc32khz";
> +       };
As these don't have reg values, the unit-address (the @N) should
disappear, each node can simply be given a unique name.
Thanks,
Mark.
     prev parent reply	other threads:[~2013-08-09 15:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26  4:32 [PATCH v6 0/6] support Hisilicon SoC Haojian Zhuang
2013-07-26  4:32 ` [PATCH v6 1/4] clk: hi3xxx: add clock support Haojian Zhuang
2013-08-09 15:14   ` Mark Rutland
2013-07-26  4:32 ` [PATCH v6 2/4] ARM: debug: support debug ll on hisilicon soc Haojian Zhuang
2013-08-14  6:39   ` Olof Johansson
2013-08-14 15:44     ` Russell King - ARM Linux
2013-08-14 16:25       ` Olof Johansson
2013-08-14 22:54         ` Russell King - ARM Linux
2013-08-14 23:03           ` Olof Johansson
2013-08-15 15:44             ` Kevin Hilman
2013-08-14  6:44   ` Olof Johansson
2013-08-14 15:32     ` Haojian Zhuang
2013-08-14 15:46       ` Russell King - ARM Linux
2013-08-14 15:50         ` Haojian Zhuang
2013-07-26  4:32 ` [PATCH v6 3/4] ARM: hi3xxx: add board support with device tree Haojian Zhuang
2013-08-09 15:18   ` Mark Rutland
2013-08-14  6:48   ` Olof Johansson
2013-07-26  4:32 ` [PATCH v6 4/4] ARM: hi3xxx: enable hi4511 " Haojian Zhuang
2013-08-09 15:25   ` Mark Rutland [this message]
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=20130809152502.GS27325@e106331-lin.cambridge.arm.com \
    --to=mark.rutland@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).