Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4389074imm; Tue, 7 Aug 2018 00:16:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdjAN/sXXtN/RhBDvcB52Hq4rQGOEzcbzzKzUbyU1+upDRtT4gcm4vPQwpEjXAwfCZJQtjs X-Received: by 2002:a62:6f87:: with SMTP id k129-v6mr20533384pfc.26.1533626177056; Tue, 07 Aug 2018 00:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533626177; cv=none; d=google.com; s=arc-20160816; b=c5NLkjllCSB2oW3T4byJln6Uku8sl6jn7ZMTORTI7cy4xLndXawE+JDDKYNrqCGI1K jIh3lsKCH3f/G/kmLZlugQ291BXIBobaRCCAECDkU2SojBWlmHdJg1zG+YvToYA7tjfl Pq6kR4PkCvietDYhgXGRnyw0Tpj6uTx8lXBBqYdjORqEXYcN2fhQz3yfR/kRJa6B5+kq cUY/9VyCfBQjJd1kDI43C670+AU8j+WHnv96CBllO642Fn2U9veqsi8VCsgplPXJ2qgw EvZ5Z1+i9qut1dBVR2hM3A4R7QxhDDw7ZIZO06UUvvwagvpDb4ucwLBGjnNKNyPUHgro fPKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=WBOLPiPIj0e9yb3WQhxYn2mrcMDLBZNYJcJvTIEDHJA=; b=JuINrO0kCzo7l5bykic6PV/7d50A4pjvB6cJ87Fs4uV3vJYdltDpgO2wT60o0i6Q8F Pa07AOJ9hzErRzeiZ6ukzGfbcZhZbW43gTpC+BXSFC/dfoxnX0Wg88Ex9WriV0HCw4pX RFdknR1Ewxy7t9cC9Dbsjnx7meevQpSP4cdiq6Qc49f0ZSYZVNpvdMdivntzy90i8hgS +0/MVmzDh7ih0sQER4lYGtyJMexfvFnPtbQipG4vpJqEySJEcNzBaiV/h/i0MgmvyjcT 2HrtAPbvWSC+Wbcp6gBb+Ua2/ikcVNKxkcEDQy3hMg28N1QxqoZApM3hB9JoWFUhunJd 7sMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y23-v6si674680pgl.132.2018.08.07.00.16.02; Tue, 07 Aug 2018 00:16:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388634AbeHGJ2N (ORCPT + 99 others); Tue, 7 Aug 2018 05:28:13 -0400 Received: from verein.lst.de ([213.95.11.211]:59627 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732910AbeHGJ2N (ORCPT ); Tue, 7 Aug 2018 05:28:13 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 8605B68D62; Tue, 7 Aug 2018 09:20:34 +0200 (CEST) Date: Tue, 7 Aug 2018 09:20:34 +0200 From: Christoph Hellwig To: Rob Herring Cc: atish.patra@wdc.com, Christoph Hellwig , Thomas Gleixner , Palmer Dabbelt , Jason Cooper , Marc Zyngier , Mark Rutland , Palmer Dabbelt , devicetree@vger.kernel.org, Albert Ou , Anup Patel , "linux-kernel@vger.kernel.org" , linux-riscv@lists.infradead.org, Stafford Horne Subject: Re: [PATCH 03/11] dt-bindings: interrupt-controller: RISC-V PLIC documentation Message-ID: <20180807072034.GA569@lst.de> References: <20180802115008.4031-1-hch@lst.de> <20180802115008.4031-4-hch@lst.de> <0093fadc-a150-3745-e73d-e579bfdfabfb@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 06, 2018 at 02:59:48PM -0600, Rob Herring wrote: > > > +Required properties: > > > +- compatible : "sifive,plic0" > > > +- #address-cells : should be <0> > > > +- #interrupt-cells : should be <1> > > > +- interrupt-controller : Identifies the node as an interrupt controller > > > +- reg : Should contain 1 register range (address and length) > > > > The one in the real device tree has two entries. > > reg = <0x00000000 0x0c000000 0x00000000 0x04000000>; > > > > Is it intentional or just incorrect entry left over from earlier days? > > > > + reg = <0xc000000 0x4000000>; > > Looks to me like one has #size-cells and #address-cells set to 2 and > the example is using 1. Yes. And it seems like the real life device tree is simply bogus.