From patchwork Thu May 24 05:50:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 919597 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40rz583MCJz9s1w for ; Thu, 24 May 2018 15:50:52 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="vwD2c/VB"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40rz581d3KzF1Hj for ; Thu, 24 May 2018 15:50:52 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="vwD2c/VB"; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40rz4k6yfDzF1Dt for ; Thu, 24 May 2018 15:50:30 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="vwD2c/VB"; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 40rz4k3YZNz9s16; Thu, 24 May 2018 15:50:30 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1527141030; bh=HY1BLiERJLNWxJDvEH8xShPCbbt1g0te+sAND0AEk7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vwD2c/VByM2ViPCeGRj3fMA+W6JgJ33lBB/m/66+kxh1bGZwgYWLcqi5EoDSuwuV1 2Fjtg6tRok1AMti8YrDQT5qEGZF1mxb5bIuwj+VVDf5Bj8Kbf4R+1nHH/MOBfZ3tPY QmvCnWCn+Ectg62Ea3j23wZcbZwP7g8X5Q6PK7JGP7fcUgMpJdbX5OXuyrF1Xt+bi1 XJsu8lkHPMlXhAskAjgog0RfEVxnLJ4w+Qask/X6cB/TQGOUwjBumSriT7A6ff/be7 eVto2Gmz2HpV4voDW4TP00s7IpIyKn560H1NSo/GpfgMiv8nWbxhIhY1rDyV32BoDp 55y9XwBg6vyGQ== From: Amitay Isaacs To: "pdbg@lists.ozlabs.org"@lists.ozlabs.org Date: Thu, 24 May 2018 15:50:10 +1000 Message-Id: <20180524055017.8801-5-amitay@ozlabs.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524055017.8801-1-amitay@ozlabs.org> References: <20180524055017.8801-1-amitay@ozlabs.org> Subject: [Pdbg] [PATCH v3 04/11] dt: Add missing #address-cells, #size-cells and reg properties X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amitay Isaacs MIME-Version: 1.0 Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Amitay Isaacs --- p8-fsi.dts.m4 | 2 ++ p8-host.dts.m4 | 2 ++ p8-i2c.dts.m4 | 2 ++ p9-host.dts.m4 | 6 ++++++ p9-kernel.dts.m4 | 6 ++++++ p9-pib.dts.m4 | 4 ++-- 6 files changed, 20 insertions(+), 2 deletions(-) diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4 index 7b004ac..12751c5 100644 --- a/p8-fsi.dts.m4 +++ b/p8-fsi.dts.m4 @@ -31,6 +31,8 @@ }; hmfsi@100000 { + #address-cells = <0x2>; + #size-cells = <0x1>; compatible = "ibm,fsi-hmfsi"; reg = <0x0 0x100000 0x8000>; port = <0x1>; diff --git a/p8-host.dts.m4 b/p8-host.dts.m4 index 3197da7..ed88a55 100644 --- a/p8-host.dts.m4 +++ b/p8-host.dts.m4 @@ -9,6 +9,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; compatible = "ibm,host-pib"; + reg = <0x0>; chip-id = <0x0>; index = <0x0>; include(p8-pib.dts.m4)dnl @@ -18,6 +19,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; compatible = "ibm,host-pib"; + reg = <0x8>; chip-id = <0x8>; index = <0x1>; include(p8-pib.dts.m4)dnl diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4 index 1e794bf..53f2ace 100644 --- a/p8-i2c.dts.m4 +++ b/p8-i2c.dts.m4 @@ -22,6 +22,8 @@ compatible = "ibm,power8-opb"; hmfsi@100000 { + #address-cells = <0x2>; + #size-cells = <0x1>; compatible = "ibm,power8-opb-hmfsi"; reg = <0x100000 0x80000>; port = <0x1>; diff --git a/p9-host.dts.m4 b/p9-host.dts.m4 index 5566acd..e1ec779 100644 --- a/p9-host.dts.m4 +++ b/p9-host.dts.m4 @@ -6,14 +6,20 @@ /* Host based debugfs access */ pib@0 { + #address-cells = <0x2>; + #size-cells = <0x1>; compatible = "ibm,host-pib"; + reg = <0x0>; chip-id = <0x0>; index = <0x0>; include(p9-pib.dts.m4)dnl }; pib@8 { + #address-cells = <0x2>; + #size-cells = <0x1>; compatible = "ibm,host-pib"; + reg = <0x8>; chip-id = <0x8>; index = <0x1>; include(p9-pib.dts.m4)dnl diff --git a/p9-kernel.dts.m4 b/p9-kernel.dts.m4 index e364214..195be59 100644 --- a/p9-kernel.dts.m4 +++ b/p9-kernel.dts.m4 @@ -14,6 +14,8 @@ status = "mustexist"; pib@1000 { + #address-cells = <0x2>; + #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x0>; compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib"; @@ -21,12 +23,16 @@ }; hmfsi@100000 { + #address-cells = <0x2>; + #size-cells = <0x1>; compatible = "ibm,fsi-hmfsi"; reg = <0x0 0x100000 0x8000>; port = <0x1>; index = <0x1>; pib@1000 { + #address-cells = <0x2>; + #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x1>; compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib"; diff --git a/p9-pib.dts.m4 b/p9-pib.dts.m4 index e0248d1..3e312e5 100644 --- a/p9-pib.dts.m4 +++ b/p9-pib.dts.m4 @@ -2,6 +2,8 @@ define(`CONCAT', `$1$2')dnl define(`HEX', `CONCAT(0x, $1)')dnl define(`CORE_BASE', `eval(0x20000000 + $1 * 0x1000000, 16)')dnl define(`CORE', `chiplet@CORE_BASE($1) { +#address-cells = <0x2>; +#size-cells = <0x1>; compatible = "ibm,power9-chiplet"; index = ; reg = <0x0 HEX(CORE_BASE($1)) 0xfffff>; @@ -33,8 +35,6 @@ index = ; reg = <0x0 HEX(CHIPLET_BASE($1)) 0xfffff>; }')dnl -#address-cells = <0x2>; -#size-cells = <0x1>; adu@90000 { compatible = "ibm,power9-adu";