Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759526AbbLCJhM (ORCPT ); Thu, 3 Dec 2015 04:37:12 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:61215 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757678AbbLCJhH (ORCPT ); Thu, 3 Dec 2015 04:37:07 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Jiancheng Xue , robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, khilman@linaro.org, olof@lixom.net, xuwei5@hisilicon.com, haojian.zhuang@linaro.org, zhangfei.gao@linaro.org, bintian.wang@huawei.com, suwenping@hisilicon.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, yanhaifeng@hisilicon.com, gaofei@hisilicon.com, ml.yang@hisilicon.com, yanghongwei@hisilicon.com Subject: Re: [PATCH v2 4/9] ARM: dts: add dts files for hi3519-demb board Date: Thu, 03 Dec 2015 10:36:05 +0100 Message-ID: <1728470.0OiiXMcl88@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1449110668-23647-1-git-send-email-xuejiancheng@huawei.com> References: <1449110668-23647-1-git-send-email-xuejiancheng@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:MzV0pBKASqFluQR8Z/+1Y9k1gEVyf6QOZOz5VQs1d+6DDPp2IM7 A2Fl9MGNupNH5JjAokkPU0erbxNEbIWn/PIObnj2j9NXQ/D8Ud5R47gJAj663sYLalDv3Qq PuvojpYUPmpDoYVSsLr5xVvcXJ+J7iu7UxPBt7Xlif3tcUTM0Sd3IaemQeUMV9VHkuR/jnU C7LHMdsavN/XPlF/jd++g== X-UI-Out-Filterresults: notjunk:1;V01:K0:/zC09XECamc=:Sw3bKzgLF3IuePZge+L6YA bN/GvxPAk8Wk9gyEYiD1lollmdcqb/0osOoReKdX8L/prASNff++FadtpWxJVpU+CtmLrGdf7 EounYvDK4ZmiWo8hdWa8mIMKyKW/hLfHi2HsIbiXswFUixrdX8ZOPofxeyINcSpH1dqOqkBpx gWXAUsdHGAPfOMADG9gEU9NNyj9x8uhkIulE+y2MGExn7WiGdOTzLPKFFW0Z8kc95tr4Uuo7j HrKn0uu9F9/xZg7+Z0XY/d9OJzMPBsOyOffxGNGCUxb2VgU/yiGSNeCVUNQujBiJU/2XoeTXg oM00Vve1QtToRmD65lwo6P6N7WG0TU9cJflSqorX3DUhPK0A7l9HtI4ygCciGIF6FVSNMw+ri 1rCyy/nuoOudcOxrVnl34U5xfgcSyfh7SgkTJedgrPMIyo7zFx6hRNEhd/EBPERaDwkID1QcV 1z9jITA3vs5Fc3FzgKbrMeRj1ow6zs874Bo3fc/e4G9FmUTdsVtkKD1gLXjH0XhNimZN5EDbG cMm0bUkyqO7iv1Yb1om2BSmYivCmWXWpWKdM+Ao9IarQHqDBHirQLYOZBw1e9uvv/+IOfqYEx TjdMvB/Ahyv9bJBfXFBo80MrhSeyARAwLGq2nrehEHzWSYRzcq5AQ4+X7Xf0cN+luR7dq0OOJ /PbhXIXKu+6m2Pnig6vbz5iXH+OQO/XyNjbFEaSHq43ZkQkAjKwb5uZGMRZp2A0h0Bjz24Klc XpwNr3ASz8miviPT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1837 Lines: 75 On Thursday 03 December 2015 10:44:28 Jiancheng Xue wrote: > + > +/dts-v1/; > +#include "hi3519.dtsi" > + > +/ { > + model = "HiSilicon HI3519 DEMO Board"; > + compatible = "hisilicon,hi3519"; > + > + chosen { > + bootargs = "mem=64M console=ttyAMA0,115200 early_printk \ > +root=/dev/mtdblock2 rootfstype=jffs2 \ > +mtdparts=hi_sfc:1M(boot),4M(kernel),11M(rootfs)"; > + }; Most of the arguments should be dropped and replaced with the respective DT properties in this file: mem: /memory (you have that already, but the size seems wrong) console: /chosen/stdout-path early_printk: just drop this, maybe use "earlycon") root: this one is fine rootfstype: should not be needed mtdparts: use nodes below the MTD device > + > +#include "skeleton.dtsi" > +#include > +/ { > + aliases { > + serial0 = &uart0; > + }; Move this into the .dts file. > + > + uart0: uart@12100000 { rename to serial@12100000 > + dual_timer1: dual_timer@12001000 { > + compatible = "arm,sp804", "arm,primecell"; > + interrupts = <0 66 4>, <0 67 4>; > + reg = <0x12001000 0x1000>; > + clocks = <&crg HI3519_FIXED_3M>; > + status = "disable"; > + }; rename to timer@12001000 > + sysctrl: system-controller@12020000 { > + compatible = "hisilicon,sysctrl"; > + reg = <0x12020000 0x1000>; > + reboot-offset = <0x4>; > + }; Is this one identical to the one in hip04? If not, pick a new unique compatible string > + > + crg: crg@12010000 { > + compatible = "hisilicon,hi3519-crg"; what is a "crg"? Is there a standard name for these? Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/