From patchwork Mon Sep 21 09:16:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 11789015 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 223551668 for ; Mon, 21 Sep 2020 09:17:37 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 D397A2151B for ; Mon, 21 Sep 2020 09:17:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Xy1k7cfv"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="j5DOgZ4q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D397A2151B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au 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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=1P3aOO65mVU6VjLc9vDH+iPS+AeNrJgXyD3SCPIoPsI=; b=Xy1k7cfvSS16mKacZS0wYac/b 56xxkE8D1Xu++7LwPTrvv7vovYqFq4kJMmBIz4YBGsLFJpRJ+wShO2iYSnV3qdpmbebSy6PCrCsLQ xmxaIwZX71oqDjnor+liq94cuXNsV76z9utDlZG4TxrCjrAyV4tI4wESKz3hrL5kK5jwdG+UyNcZr T3rQQY2thebrkZ+21vZIBl6+qUu1jBSuW2BYPT2DnePhrruqcdZAUIY7mxqpEcn//aOr3UKiE1vZX u8iuSuEZZPdMoEoMhThglv3VcxpAm9p1V1CztAf3EaFtBhKJCuDPnhKo2hC6/9CeV0QCNuzyKKWpu V0+UBOiew==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKHwq-000655-5P; Mon, 21 Sep 2020 09:17:24 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKHwa-0005ze-1K for linux-arm-kernel@lists.infradead.org; Mon, 21 Sep 2020 09:17:14 +0000 Received: by mail-pj1-x1041.google.com with SMTP id q4so7120946pjh.5 for ; Mon, 21 Sep 2020 02:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sn5K/Ys4ffnC/CyJiVbEeEFS78Vl8Zham2P4UxWGNJU=; b=j5DOgZ4qszU7bfjOt4m2bI23gOkc2lxMD2ZlNSuVDQQh1TEYqXUL20mEke0dBWjD0G LdtvuZJc8TCK8NZPBx4IVi2xZ0eGOlSrkYMtyV/sb9H81nVJtjbd1XDHoN5GuOtDBnH0 v3BAjNlgm1aqaF+aE9SERxiF0ILDWB3Cr/FwCftJG5xC28cvcQKRt8++4WoKLrDdeRYO zFNFQOAtA4Z+HiZ3asZB3m9TjJQe+/RobbF4uEXw2IoDWpy9OD0qkQ0IPZC+4k7E9bac /8BnIFhjfp9oe3CSSBqwetRzOYV+HQM1QYIH+KpgScj4IpE792qM/wMOzWSESfSqKSk0 WGLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=sn5K/Ys4ffnC/CyJiVbEeEFS78Vl8Zham2P4UxWGNJU=; b=sujKYueEhNOIwbm1LiM6TDZ33uXjC7oix1zXgDJgVUxP/TxZJxqFsSZyAYHoB1pdzw nkzeNZZ40N+XxUp5Xk84FMcYUhGDQF9+f3MS0Qwkalx5sKi+KQyvD8ADG3lzslE8fQj3 HD2c5sy/ESU3WbZ6hu1caM5mbDKQvr/ATnQXhU5jFO0PwVgxhVEi2ceB68UntmXATXOh tIC7Mx0PvRZB3mp4XjmfZlmrvsvAiBjEh3HRmI2+7bdU6dvwwLKUqYK147Zcl5vRYiCy RZIUzq4lh8iYn2ywo5X7nG/9x0tApXar/Wl0X43Hj+QIMWh52qJkXwGoUNrYJlYzsVLx wsVA== X-Gm-Message-State: AOAM5309yo3Xbw7U1uXOBnCuCIsqzBHoVuIKbMkD+0Lsor83WlbUyFWs 7+DX9yfGs5KZohBhx9kYKcM= X-Google-Smtp-Source: ABdhPJyIJ30bJu40sRZT1WpTmfeK1pthj3AVWC/Gymfjp5WKgSeZOivdPOYyolIQ7OX3y0hrK4VWog== X-Received: by 2002:a17:90b:f83:: with SMTP id ft3mr23676343pjb.234.1600679825817; Mon, 21 Sep 2020 02:17:05 -0700 (PDT) Received: from localhost.localdomain ([45.124.203.18]) by smtp.gmail.com with ESMTPSA id gb19sm10105690pjb.38.2020.09.21.02.17.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2020 02:17:04 -0700 (PDT) From: Joel Stanley To: Rob Herring , Andrew Jeffery Subject: [PATCH v3 3/3] ARM: dts: aspeed: Add silicon id node Date: Mon, 21 Sep 2020 18:46:44 +0930 Message-Id: <20200921091644.133107-4-joel@jms.id.au> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200921091644.133107-1-joel@jms.id.au> References: <20200921091644.133107-1-joel@jms.id.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200921_051708_114259_B84EC832 X-CRM114-Status: GOOD ( 13.22 ) X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.4 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:1041 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [joel.stan[at]gmail.com] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -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 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 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: linux-aspeed@lists.ozlabs.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 register describes the silicon id and chip unique id. It varies between CPU revisions, but is always part of the SCU. Signed-off-by: Joel Stanley Reviewed-by: Andrew Jeffery --- v2: Fix whitespace --- arch/arm/boot/dts/aspeed-g4.dtsi | 5 +++++ arch/arm/boot/dts/aspeed-g5.dtsi | 5 +++++ arch/arm/boot/dts/aspeed-g6.dtsi | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index 82f0213e3a3c..b3dafbc8caca 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -192,6 +192,11 @@ p2a: p2a-control@2c { status = "disabled"; }; + silicon-id@7c { + compatible = "aspeed,ast2400-silicon-id", "aspeed,silicon-id"; + reg = <0x7c 0x4>; + }; + pinctrl: pinctrl@80 { reg = <0x80 0x18>, <0xa0 0x10>; compatible = "aspeed,ast2400-pinctrl"; diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 9c91afb2b404..c6862182313a 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -239,6 +239,11 @@ p2a: p2a-control@2c { status = "disabled"; }; + silicon-id@7c { + compatible = "aspeed,ast2500-silicon-id", "aspeed,silicon-id"; + reg = <0x7c 0x4 0x150 0x8>; + }; + pinctrl: pinctrl@80 { compatible = "aspeed,ast2500-pinctrl"; reg = <0x80 0x18>, <0xa0 0x10>; diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index b58220a49cbd..1ce3a1f06f7f 100644 --- a/arch/arm/boot/dts/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -311,6 +311,11 @@ pinctrl: pinctrl { compatible = "aspeed,ast2600-pinctrl"; }; + silicon-id@14 { + compatible = "aspeed,ast2600-silicon-id", "aspeed,silicon-id"; + reg = <0x14 0x4 0x5b0 0x8>; + }; + smp-memram@180 { compatible = "aspeed,ast2600-smpmem"; reg = <0x180 0x40>;