From patchwork Thu Sep 19 21:26:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 11153357 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A5C0476 for ; Thu, 19 Sep 2019 21:27:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8302321907 for ; Thu, 19 Sep 2019 21:27:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EeiEIrkb"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="WLLAVHKM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8302321907 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oqPEVJ0bObyoAwPcOoz+U+Rk8XU2HmVHC5dGvaodI5c=; b=EeiEIrkbi4XNIc +Ao46jobVeM7OmvFZBju133DMlqYYHjAwNSPh/uHs5CV3X4TYVxjfcaO0/iDggR7DlA9Zl15wd9tj fuaVnKDoSjRZFrtuiiHPQPS4RqFr6ZdzuGVA23rtvtTyEgU9l8nZKorWjDLpfw1utIhPLkc72cJNI f9rsOcx0XHo21w2YEFlOeGWv6nV6WfIRcJqoXDFqokTEzNna6KLmBUzxO7/SMXj2r2p223PERnjdf M7aKKsd5TCrhbjeS7x7dh2bgQ78PbDoNZ9eqfzXOJuIhI/EWWljw3hhWB5i6D9+Y0jpkw3pyLedmW BbD73xoiCGIjt+9JYomQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iB3xf-00081V-4z; Thu, 19 Sep 2019 21:27:35 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iB3xc-00080H-G7 for linux-arm-kernel@lists.infradead.org; Thu, 19 Sep 2019 21:27:33 +0000 Received: by mail-pl1-x643.google.com with SMTP id e5so2187607pls.9 for ; Thu, 19 Sep 2019 14:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1eFwN6VQoIVgZTWyIrMDT1Z2HKm27mGWj9Z/avCv2WM=; b=WLLAVHKMkEqkBrDpAUPZfZ4ytCC0Dlr6FMIuwsZ9AN8V0mNiNaW0jkxD95BnZiHMxi qarYueI8ei+IBtKxRMpotJ2s/Mu7DyoZMkUqsJ9CNz7GgdKrLBlOwiDogELObnn2UHpR CGFCDa9DSeEbBcsNPanhYfWmTWJjwgz29GAMU= 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:mime-version :content-transfer-encoding; bh=1eFwN6VQoIVgZTWyIrMDT1Z2HKm27mGWj9Z/avCv2WM=; b=X8IUkqki6DP8VpURLUnMSmyaN/kNLHwXTB+Wi3D8Xsen/lzrH1x6ypPADr3mpR6eft NqCn/YkgcNM2YsBRpPqbiZaVJeXTh9tBqqmSAGanK+2ZLUKxMm55UbpIHXTUKgXjwy4o Q1qx3PiVdI26SyuaGP8edOnglMpgcYX2wHCMsVrkKpf3ZMfNOabBtEdj/YFjMJ7eSqoD Mkc2mosA3w20uqTH85UbgqeNCUfhuCjZ5QFL/WyXv6iD5/OCHWChBTq1Z9tNQe+NZQpX l1u4gYSnwvOW8y90pOq3gGEyrheNEgfw7Pgj36SInmyi0OdPSfCCmCi7enQFPob9OR+B h9Fg== X-Gm-Message-State: APjAAAX6zQs9kFFx2/R66ajP5TI6LQ7m02Ksjqv6pOZo+kVlaTGQaZZl EfZHefPavWjYccAXPtqMnzlAnKkliLA= X-Google-Smtp-Source: APXvYqzUrqDmlhSeuD997w0UB8kD5+ZRkrKOf7RYGruGWm+SZRArLf5CFPjvg0kYdcqo1SOAwcQ1sQ== X-Received: by 2002:a17:902:b20a:: with SMTP id t10mr12318381plr.277.1568928451427; Thu, 19 Sep 2019 14:27:31 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id 197sm28584015pge.39.2019.09.19.14.27.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2019 14:27:30 -0700 (PDT) From: Douglas Anderson To: Heiko Stuebner Subject: [PATCH] ARM: dts: rockchip: Add cpu id to rk3288 efuse node Date: Thu, 19 Sep 2019 14:26:41 -0700 Message-Id: <20190919142611.1.I309434f00a2a9be71e4437991fe08abc12f06e2e@changeid> X-Mailer: git-send-email 2.23.0.351.gc4317032e6-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190919_142732_555575_C3100AE6 X-CRM114-Status: GOOD ( 12.26 ) X-Spam-Score: 1.8 (+) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (1.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:643 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 2.0 BODY_QUOTE_MALF_MSGID Malformed MSGID with quote -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Douglas Anderson , Rob Herring , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, mka@chromium.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This just adds in another field of what's stored in the e-fuse on rk3288. Though I can't personally promise that every rk3288 out there has the CPU ID stored in the eFuse at this location, there is some evidence that it is correct: - This matches what was in the Chrome OS 3.14 branch (see EFUSE_CHIP_UID_OFFSET and EFUSE_CHIP_UID_LEN) for rk3288. - The upstream rk3399 dts file has this same data at the same offset and with the same length, indiciating that this is likely common for several modern Rockchip SoCs. Signed-off-by: Douglas Anderson --- arch/arm/boot/dts/rk3288.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index cc893e154fe5..415b48fc3ce8 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -1391,6 +1391,9 @@ clocks = <&cru PCLK_EFUSE256>; clock-names = "pclk_efuse"; + cpu_id: cpu-id@7 { + reg = <0x07 0x10>; + }; cpu_leakage: cpu_leakage@17 { reg = <0x17 0x1>; };