From mboxrd@z Thu Jan 1 00:00:00 1970 From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth) Date: Thu, 21 Mar 2013 23:30:15 +0100 Subject: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits In-Reply-To: <201303212131.07629.arnd@arndb.de> References: <1363883179-1361-1-git-send-email-gregory.clement@free-electrons.com> <201303211903.52383.arnd@arndb.de> <20130321201807.7cb04978@skate> <201303212131.07629.arnd@arndb.de> Message-ID: <514B89F7.3000408@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 03/21/2013 10:31 PM, Arnd Bergmann wrote: > On Thursday 21 March 2013, Thomas Petazzoni wrote: >> In the mean time can we do something like: >> >> soc { >> compatible = "simple-bus"; >> range =<...>; >> >> [... all the peripherals ...] >> }; >> >> with the range =<...> property converting the peripheral registers >> base address (expressed as offsets in the reg =<...> properties of the >> subnodes) into the absolute physical address? > > Yes, that is what Rob suggested you do. Thomas, have a look at arch/arm/boot/dts/dove.dtsi, it uses ranges-property and peripherals encoded as offsets. Sebastian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Hesselbarth Subject: Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits Date: Thu, 21 Mar 2013 23:30:15 +0100 Message-ID: <514B89F7.3000408@gmail.com> References: <1363883179-1361-1-git-send-email-gregory.clement@free-electrons.com> <201303211903.52383.arnd@arndb.de> <20130321201807.7cb04978@skate> <201303212131.07629.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201303212131.07629.arnd-r2nGTMty4D4@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Arnd Bergmann Cc: Lior Amsalem , Andrew Lunn , Ike Pan , David Marlin , Yehuda Yitschak , Tawfik Bayouk , Dan Frazier , Eran Ben-Avi , Leif Lindholm , Jason Cooper , Nadav Haklai , Jon Masters , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Chris Van Hoof , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Maen Suleiman , Shadi Ammouri List-Id: devicetree@vger.kernel.org On 03/21/2013 10:31 PM, Arnd Bergmann wrote: > On Thursday 21 March 2013, Thomas Petazzoni wrote: >> In the mean time can we do something like: >> >> soc { >> compatible = "simple-bus"; >> range =<...>; >> >> [... all the peripherals ...] >> }; >> >> with the range =<...> property converting the peripheral registers >> base address (expressed as offsets in the reg =<...> properties of the >> subnodes) into the absolute physical address? > > Yes, that is what Rob suggested you do. Thomas, have a look at arch/arm/boot/dts/dove.dtsi, it uses ranges-property and peripherals encoded as offsets. Sebastian From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753915Ab3CUWaV (ORCPT ); Thu, 21 Mar 2013 18:30:21 -0400 Received: from mail-ee0-f44.google.com ([74.125.83.44]:43940 "EHLO mail-ee0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753503Ab3CUWaT (ORCPT ); Thu, 21 Mar 2013 18:30:19 -0400 Message-ID: <514B89F7.3000408@gmail.com> Date: Thu, 21 Mar 2013 23:30:15 +0100 From: Sebastian Hesselbarth User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: Arnd Bergmann CC: Thomas Petazzoni , Rob Herring , Gregory CLEMENT , Jason Cooper , Andrew Lunn , Grant Likely , Ezequiel Garcia , linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, Olof Johansson , Nicolas Pitre , Lior Amsalem , Maen Suleiman , Tawfik Bayouk , Shadi Ammouri , Eran Ben-Avi , Yehuda Yitschak , Nadav Haklai , Ike Pan , Chris Van Hoof , Dan Frazier , Leif Lindholm , Jon Masters , David Marlin Subject: Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits References: <1363883179-1361-1-git-send-email-gregory.clement@free-electrons.com> <201303211903.52383.arnd@arndb.de> <20130321201807.7cb04978@skate> <201303212131.07629.arnd@arndb.de> In-Reply-To: <201303212131.07629.arnd@arndb.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/21/2013 10:31 PM, Arnd Bergmann wrote: > On Thursday 21 March 2013, Thomas Petazzoni wrote: >> In the mean time can we do something like: >> >> soc { >> compatible = "simple-bus"; >> range =<...>; >> >> [... all the peripherals ...] >> }; >> >> with the range =<...> property converting the peripheral registers >> base address (expressed as offsets in the reg =<...> properties of the >> subnodes) into the absolute physical address? > > Yes, that is what Rob suggested you do. Thomas, have a look at arch/arm/boot/dts/dove.dtsi, it uses ranges-property and peripherals encoded as offsets. Sebastian