From patchwork Thu Oct 1 07:08:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1374886 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C247w4pwlz9sVH for ; Thu, 1 Oct 2020 17:12:28 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (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.a=rsa-sha256 header.s=201707 header.b=X9SF2I14; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4C247v5GpbzDqTp for ; Thu, 1 Oct 2020 17:12:27 +1000 (AEST) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4C247n2SHTzDqTY for ; Thu, 1 Oct 2020 17:12:21 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (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.a=rsa-sha256 header.s=201707 header.b=X9SF2I14; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4C247k39fdz9sVK; Thu, 1 Oct 2020 17:12:18 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1601536340; bh=km5olN075QsEY9nU0QDIkPS15SoAbhEF39eCLtM5QPw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X9SF2I14Dci9O29wTl0//w2Ywqz64SjRZYI8qgVjdiqdu8C5d52bqWtRnyUTvMtSR IxUvOHIrifrPL5IoJeqKbrIoVb3CtktTCH1QRBYEQhOnKxDfOP+VH2Bbb3PfbbatuE WCvCeYraV3QiXZ/8l06BUeOYobJ+OgHd3P6TMuuT1y3LyBp/qR8gLdKVZSeECVtd4d d9fTdDrdUbvfaF3GYCMD57yxxllGHSF/4nd+GUoPucrrbh4kYPrFm36NlomAxvJB+d WP1uX1nVk0t8Fr1v/PT4igjkN+4LJw4OjhjZpcPkh7BUzknw8tIyUsU9+a2cma2JXs cfgDSir86Wt9A== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Thu, 1 Oct 2020 17:08:14 +1000 Message-Id: <20201001070814.102735-21-amitay@ozlabs.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201001070814.102735-1-amitay@ozlabs.org> References: <20201001070814.102735-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH v2 20/20] dts: Add ocmb targets to p10.dts X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 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 Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Amitay Isaacs Reviewed-by: Joel Stanley --- p10.dts.m4 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/p10.dts.m4 b/p10.dts.m4 index 76bbc4d..15ecc08 100644 --- a/p10.dts.m4 +++ b/p10.dts.m4 @@ -217,6 +217,20 @@ define(`id', eval(`$2 % 2'))dnl index = <$2>; ') +dnl +dnl OCMB([index]) +dnl +define(`OCMB', +` + CONCAT(ocmb@, $1) { + #address-cells = <0x02>; + #size-cells = <0x01>; + reg = <0x00 0x08010000 0x3c00>; + compatible = "ibm,power-ocmb", "ibm,power10-ocmb"; + index = <$1>; + }; +') + dnl dnl PEC_([chiplet], [index]) dnl @@ -341,14 +355,18 @@ define(`CHIP', MI_(c,0) MCC_(c,0) OMI_(c,0) + OCMB(0) }; OMI_(c,1) + OCMB(1) }; }; MCC_(c,1) OMI_(c,2) + OCMB(2) }; OMI_(c,3) + OCMB(3) }; }; }; @@ -362,14 +380,18 @@ define(`CHIP', MI_(d,1) MCC_(d,2) OMI_(d,4) + OCMB(4) }; OMI_(d,5) + OCMB(5) }; }; MCC_(d,3) OMI_(d,6) + OCMB(6) }; OMI_(d,7) + OCMB(7) }; }; };