From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Prisk Subject: Re: [RFC PATCH v2 13/13] ARM: DT: kernel: DT cpu node bindings update Date: Tue, 23 Apr 2013 14:46:36 +1200 Message-ID: <5175F60C.1070508@prisktech.co.nz> References: <1366644455-16550-1-git-send-email-lorenzo.pieralisi@arm.com> <1366644455-16550-14-git-send-email-lorenzo.pieralisi@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1366644455-16550-14-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@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: Lorenzo Pieralisi Cc: Nicolas Pitre , Jon Medhurst , Catalin Marinas , Andrew Lunn , Sekhar Nori , Lennert Buytenhek , Kukjin Kim , Russell King , Magnus Damm , Viresh Kumar , David Brown , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Rob Herring , Simon Horman , Barry Song , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Amit Kucheria , Vinayak Kale List-Id: devicetree@vger.kernel.org On 23/04/13 03:27, Lorenzo Pieralisi wrote: > + > +===================================== > +cpus and cpu node bindings definition > +===================================== > + > +The ARM architecture, in accordance with the ePAPR, requires the cpus and cpu > +nodes to be present and contain the properties described below. > + > +- cpus node > + > + Description: Container of cpu nodes > + > + The node name must be "cpus". > + > + A cpus node must define the following properties: > + > + - #address-cells > + Usage: required > + Value type: > + Definition: must be set to 1 for 32-bit systems and 2 for > + 64-bit systems > + - #size-cells > + Usage: required > + Value type: > + Definition: must be set to 0 > + ... > +Example 3 (ARM 1176 uniprocessor 32-bit system): > + > + cpus { > + cpu { > + device_type = "cpu"; > + compatible = "arm,arm1176"; > + }; > + }; > + This example is missing the required #size-cells and #address-cells properties. Regards Tony P