From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937754AbdAEEHv (ORCPT ); Wed, 4 Jan 2017 23:07:51 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:35114 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937741AbdAEEGw (ORCPT ); Wed, 4 Jan 2017 23:06:52 -0500 Subject: Re: [PATCHv2 4/5] arm: mvebu: Add device tree for 98DX3236 SoCs To: Chris Packham , linux-arm-kernel@lists.infradead.org References: <20170105033641.6212-1-chris.packham@alliedtelesis.co.nz> <20170105033641.6212-5-chris.packham@alliedtelesis.co.nz> Cc: Mark Rutland , Andrew Lunn , Jason Cooper , devicetree@vger.kernel.org, Russell King , Rob Herring , linux-kernel@vger.kernel.org, Gregory Clement , Sebastian Hesselbarth From: Florian Fainelli Message-ID: <1ee850ee-f771-1aeb-6b96-dfbe3118f2fc@gmail.com> Date: Wed, 4 Jan 2017 20:06:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170105033641.6212-5-chris.packham@alliedtelesis.co.nz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 01/04/17 à 19:36, Chris Packham a écrit : > The Marvell 98DX3236, 98DX3336, 98DX4521 and variants are switch ASICs > with integrated CPUs. They are similar to the Armada XP SoCs but have > different I/O interfaces. > > Signed-off-by: Chris Packham > --- > + > + switch { > + packet-processor@0 { > + compatible = "marvell,prestera-98dx4521"; > + }; > + }; This may be a bit premature if you are not providing a binding document for this sub-node, you might as well add it once you also add a corresponding driver (or if this will remain out of tree, at least submitting a separate binding document). Also, if this node's unit address is 0, you would expect at least a reg property whose address cell is 0 to be present. -- Florian