From patchwork Mon Jan 2 06:49:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anurup M X-Patchwork-Id: 9493117 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AB72062AB2 for ; Mon, 2 Jan 2017 06:51:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A49251FF27 for ; Mon, 2 Jan 2017 06:51:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 996872675C; Mon, 2 Jan 2017 06:51:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5E15F1FF27 for ; Mon, 2 Jan 2017 06:51:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cNwR7-00068w-RJ; Mon, 02 Jan 2017 06:49:37 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cNwR3-00063v-HA for linux-arm-kernel@lists.infradead.org; Mon, 02 Jan 2017 06:49:34 +0000 Received: by mail-pf0-x242.google.com with SMTP id i88so24136038pfk.2 for ; Sun, 01 Jan 2017 22:49:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9o1VHCZJ69X2K5oVsetpYgEy6rVHBqR80wY4/Q/QxZg=; b=hRnEMpix6OhN9bb+aNvMqUMF3Xx+K1o9jWVOt7TSF7DNNvIfCueSID9uCUoqXn2Vw2 bBuv575b9L1oyKY4upSUUIYN9NuqBP2CGNg2WOGG6y+GqX4hXoGD1bhYtG3ZKeth1AiO PbpoEWGspgspPjAp3JhcTkDTPQ5a749A85UPg6RomV0JCWEMEkqyz5nEXqSYIkoXcqDp dcTl1js9ON/WCPA80dVyyEQ4x9Eq6kZaFI1Lxce69U5IyQC48q6Fvp0ZbbxjcVs8oRj4 9sTgEUs095X4cb49A6EqCgaXEzc1MUbwXg1MKw3rBYIF2X6NEaK6aARlBySaWyTp+vK3 oO1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9o1VHCZJ69X2K5oVsetpYgEy6rVHBqR80wY4/Q/QxZg=; b=pLEymxCNwWOyoIee2m71Lfgxsrm5M4t2a72oW+ZxjG8AHlsFcCS3Nn7hQOqAsTTRni c0bTii75cD7YSH9lgoBSWGhPBnxDL8f3geSRKS2Raj+j/gswD/GHUJbDREJr1+h+1j/b 3V+A03EJuJomxskA6IscztezcifY12G0kNdKtJ4Vxqye/bI1efte9VbdQ5aQzk0XCsTy Q/fI3l2Sc76ZHl/yyNgnTAzpLu1OcklYs1dx6DCjZJy9jdNvEAMc18EUuTB3A299xfHU IiunrISWPcEnN+c8uEbLIk3sjsgdq1rxxqpqZqbHVnBB1QbOYn1baLHrZazvkkEYUBvj otRw== X-Gm-Message-State: AIkVDXJILKgW28fHQsyEhxXL8v6vJcTLSe297EAUS59Pj7Cyv1mmRucNVx8p+ZhwA406og== X-Received: by 10.84.173.195 with SMTP id p61mr122991314plb.158.1483339752403; Sun, 01 Jan 2017 22:49:12 -0800 (PST) Received: from localhost.localdomain ([14.141.5.98]) by smtp.gmail.com with ESMTPSA id y6sm129988114pge.16.2017.01.01.22.49.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 01 Jan 2017 22:49:11 -0800 (PST) From: Anurup M X-Google-Original-From: Anurup M To: robh+dt@kernel.org, mark.rutland@arm.com, will.deacon@arm.com Subject: [PATCH v3 02/10] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings Date: Mon, 2 Jan 2017 01:49:03 -0500 Message-Id: <1483339743-23881-1-git-send-email-anurup.m@huawei.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170101_224933_650149_5B59B1EA X-CRM114-Status: GOOD ( 12.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, wangkefeng.wang@huawei.com, anurupvasu@gmail.com, gabriele.paoloni@huawei.com, john.garry@huawei.com, shyju.pv@huawei.com, linux-kernel@vger.kernel.org, xuwei5@hisilicon.com, linuxarm@huawei.com, zhangshaokun@hisilicon.com, sanil.kumar@hisilicon.com, linux-arm-kernel@lists.infradead.org, shiju.jose@huawei.com, tanxiaojun@huawei.com, anurup.m@huawei.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Tan Xiaojun Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M --- .../devicetree/bindings/arm/hisilicon/djtag.txt | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/hisilicon/djtag.txt diff --git a/Documentation/devicetree/bindings/arm/hisilicon/djtag.txt b/Documentation/devicetree/bindings/arm/hisilicon/djtag.txt new file mode 100644 index 0000000..bbe8b45 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/hisilicon/djtag.txt @@ -0,0 +1,41 @@ +The Hisilicon Djtag is an independent component which connects with some other +components in the SoC by Debug Bus. The djtag is available in CPU and IO dies +in the chip. The djtag controls access to connecting modules of CPU and IO +dies. +The various connecting components in CPU die (like L3 cache, L3 cache PMU etc.) +are accessed by djtag during real time debugging. In IO die there are connecting +components like RSA. These components appear as devices attached to djtag bus. + +Hisilicon HiP05/06/07 djtag for CPU and IO die +Required properties: + - compatible : The value should be as follows + (a) "hisilicon,hip05-djtag-v1" for CPU and IO die which use v1 hw in + HiP05 chipset. + (b) "hisilicon,hip06-djtag-v1" for CPU die which use v1 hw in HiP06 chipset. + (c) "hisilicon,hip06-djtag-v2" for IO die which use v2 hw in HiP06 chipset. + (d) "hisilicon,hip07-djtag-v2" for CPU and IO die which use v2 hw in + HiP07 chipset. + - reg : Register address and size + - hisi-scl-id : The Super Cluster ID for CPU or IO die + +Example 1: Djtag for CPU die + + /* for Hisilicon HiP05 djtag for CPU Die */ + djtag0: djtag@80010000 { + compatible = "hisilicon,hip05-djtag-v1"; + reg = <0x0 0x80010000 0x0 0x10000>; + hisi-scl-id = <0x02>; + + /* All connecting components will appear as child nodes */ + }; + +Example 2: Djtag for IO die + + /* for Hisilicon HiP05 djtag for IO Die */ + djtag1: djtag@d0000000 { + compatible = "hisilicon,hip05-djtag-v1"; + reg = <0x0 0xd0000000 0x0 0x10000>; + hisi-scl-id = <0x01>; + + /* All connecting components will appear as child nodes */ + };