Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5982881pxb; Mon, 14 Feb 2022 12:19:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxL7CS8FcbrYfhh96dSvYymp7MPAQ8hCNncIXrtQceKZtJdwUnmJtBSgg8Id0tucwgr8soK X-Received: by 2002:a17:90a:985:: with SMTP id 5mr343136pjo.217.1644869952620; Mon, 14 Feb 2022 12:19:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644869952; cv=none; d=google.com; s=arc-20160816; b=r9K8SuKsgFsO+UkWPtgR5VwtAxAq63uwNweZBpujb8NBn6qUE+HKeLfTrAJm/ri1jn nhZqN1nwUKQrHdWSZlveDpG5W/EeuJiFU+zFwq3VwU6SbiHP+m+7pl5PgZvhtqCHNQtP OZAzjP04IK5CQHTacKbh1py5n189dH8/M0i5hJ74IiTyiCQ1TMIr22F6GEputz9Awb8W BSCoCB7xEQAdPGuzfPiQb77wU0iv4XwzytaqnUhTDQKENtk24JYNkT3pJjY15BGy+/fN VUqqiCZp7OgSMjPh6xuRnIHeC5k+EWxf5LKpBIN5ROTXbx31s1JbvSf/uO7VcIykh07V fizg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8Lgm3+ejR5iCeubB0LLMdHYvyTni/SmF/Frp1FWA+zQ=; b=YO6gU88ul8kt35Ft30L7Ja+LqvPwv9CQsGlz/NNn0KyUx6Z2yfDqApoNoPBtk3JWpo RnWr/IrAEsU6nO/rDd5+8wbT2OJgxQcJ4MdXbY3EEX2Tas/Slp9ehVlkj1oowbwLYoVA PckIQo50NU2o3zNcMDrjwfYJUiN0M03fp9VnPJ7R28mWKu2x22t9iJx5CWn4sVf/+1BD 71GMQQlVKLMKvCJm5KtezLMp5hiVAtsdsebE52Bx/4u1AdJJDceV477WQ3LNt0A1Spfb Diu/MZrys2WHSGxRISin7HwyJpUbUxxtxRDi9CtTvki+J9ySLXzGPyW4+iF5c/rNhRdG jcQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=Ih6TLdDv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e11si9238661plh.240.2022.02.14.12.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 12:19:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=Ih6TLdDv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 09B80170D79; Mon, 14 Feb 2022 11:53:04 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351961AbiBNLz5 (ORCPT + 99 others); Mon, 14 Feb 2022 06:55:57 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:56266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352167AbiBNLzy (ORCPT ); Mon, 14 Feb 2022 06:55:54 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AAC0C51; Mon, 14 Feb 2022 03:55:47 -0800 (PST) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 8756C223EF; Mon, 14 Feb 2022 12:55:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1644839745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8Lgm3+ejR5iCeubB0LLMdHYvyTni/SmF/Frp1FWA+zQ=; b=Ih6TLdDvJPtLctBVsDxiJhcD2Eb5ETy4cU/e0NdRiw+vZxdYAv66Pml8YcN95UjUf4XryW /BXGj0pNOEaGqtBiz/Q6FQ10BvOqGBRsfN4Gjl/3HljIppgnckGvx+5JMPzOEsC2z2Yzrm YoHEYnb2PEr4ntfxo4xRfTsWNcQORKc= From: Michael Walle To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Li Yang Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Michael Walle Subject: [PATCH v2 3/3] arm64: dts: ls1028a: add efuse node Date: Mon, 14 Feb 2022 12:55:29 +0100 Message-Id: <20220214115529.662948-4-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220214115529.662948-1-michael@walle.cc> References: <20220214115529.662948-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Layerscape SoCs contain a Security Fuse Processor which is basically a efuse controller. Add the node, so userspace can read the efuses. Signed-off-by: Michael Walle --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 7d44102d9c6c..4b248cee830a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -224,6 +224,17 @@ rst: syscon@1e60000 { little-endian; }; + efuse@1e80000 { + compatible = "fsl,ls1028a-sfp"; + reg = <0x0 0x1e80000 0x0 0x10000>; + #address-cells = <1>; + #size-cells = <1>; + + ls1028a_uid: unique-id@1c { + reg = <0x1c 0x8>; + }; + }; + scfg: syscon@1fc0000 { compatible = "fsl,ls1028a-scfg", "syscon"; reg = <0x0 0x1fc0000 0x0 0x10000>; -- 2.30.2