Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932754AbbDNOsZ (ORCPT ); Tue, 14 Apr 2015 10:48:25 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:63018 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932494AbbDNOsR (ORCPT ); Tue, 14 Apr 2015 10:48:17 -0400 From: Arnd Bergmann To: Bintian Wang Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, khilman@linaro.org, mturquette@linaro.org, rob.herring@linaro.org, zhangfei.gao@linaro.org, haojian.zhuang@linaro.org, xuwei5@hisilicon.com, jh80.chung@samsung.com, olof@lixom.net, yanhaifeng@gmail.com, sboyd@codeaurora.org, xuejiancheng@huawei.com, sledge.yanwei@huawei.com, tomeu.vizoso@collabora.com, linux@arm.linux.org.uk, guodong.xu@linaro.org, jorge.ramirez-ortiz@linaro.org, tyler.baker@linaro.org, xuyiping@hisilicon.com, wangbinghui@hisilicon.com, zhenwei.wang@hisilicon.com, victor.lixin@hisilicon.com, puck.chen@hisilicon.com, dan.zhao@hisilicon.com, huxinwei@huawei.com, z.liuxinliang@huawei.com, heyunlei@huawei.com, kong.kongxinwei@hisilicon.com, btw@mail.itp.ac.cn, w.f@huawei.com, liguozhu@hisilicon.com Subject: Re: [PATCH v2 6/6] arm64: dts: Add dts files for Hisilicon Hi6220 SoC Date: Tue, 14 Apr 2015 16:44:34 +0200 Message-ID: <13386244.3fdoQHV2u9@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1428916660-25910-7-git-send-email-bintian.wang@huawei.com> References: <1428916660-25910-1-git-send-email-bintian.wang@huawei.com> <1428916660-25910-7-git-send-email-bintian.wang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:q/4yu6XPmAyX8NQnhBlxvA75/MvXd1hdCbAwCDIsxwirOkI7mHj pJxgjJRmin5xG+xdBFL8lf2+4k7wiIATSEr1HQ358y5gL88yOgXR+elQByG4Dqeyv05JZhz o7FE+rDdK5oVB2y7LEUynv5ak/uDE8Tq3D9OwjL0ZvknUpNnjRHwIJLqhkzap8+kJ/1MRGc uFBsjcGO5ifrZ9aIcJ6yA== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2392 Lines: 56 On Monday 13 April 2015 17:17:40 Bintian Wang wrote: > + > + soc { > + compatible = "simple-bus"; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; Just one comment here: on a 64-bit system, the bus nodes must have "dma-ranges" properties that describe the width of the bus. By default, we assume that the bus is only 32-bit wide, which means that if you install memory over the 4GB address boundary, devices will not be able to do DMA there, even if the devices themselves are 64-bit DMA capable. > + ao_ctrl: ao_ctrl { > + compatible = "hisilicon,aoctrl", "syscon"; > + reg = <0x0 0xf7800000 0x0 0x2000>; > + #clock-cells = <1>; > + }; > + > + sys_ctrl: sys_ctrl { > + compatible = "hisilicon,sysctrl", "syscon"; > + reg = <0x0 0xf7030000 0x0 0x2000>; > + #clock-cells = <1>; > + }; > + > + media_ctrl: media_ctrl { > + compatible = "hisilicon,mediactrl", "syscon"; > + reg = <0x0 0xf4410000 0x0 0x1000>; > + #clock-cells = <1>; > + }; > + > + pm_ctrl: pm_ctrl { > + compatible = "hisilicon,pmctrl", "syscon"; > + reg = <0x0 0xf7032000 0x0 0x1000>; > + #clock-cells = <1>; > + }; > + > + uart0: uart@f8015000 { /* console */ > + compatible = "arm,pl011", "arm,primecell"; > + reg = <0x0 0xf8015000 0x0 0x1000>; > + interrupts = ; > + clocks = <&ao_ctrl HI6220_UART0_PCLK>, <&ao_ctrl HI6220_UART0_PCLK>; > + clock-names = "uartclk", "apb_pclk"; So far, none of hte devices you list are DMA masters, so there is no effect, but please check what DMA masters you have in the system, and whether they are capable of doing 64-bit DMA. 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/