From patchwork Mon Feb 14 11:55:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 12745506 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 38A87C433EF for ; Mon, 14 Feb 2022 12:39:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GwWnoXd3ae+PGA/nPytS4WBrPSr7k8SJ/8ir0s9Tv0E=; b=vGfyDUD85+/d1M 9USY/YYQk44QRnOICr8XVT68/EqKbP/M7t6zMAnXoOF0wNMr9Y5XbfTYwhKED7G1opsk0pdRAS2rY dEVFp74ycItzzRn2VGXBU7C8l30Arr1WFwjzzlwsoRNG3Bq/v1CH8NXGjud+EIUHaInj7Tf7gv0iu EE8VbqS05YqO963unm0j6Nsiur9luRFD/LoQ7X9kAHEh2v54+LYmWGG7thwheD5og42ub+3a5+LH5 apGcdLJ+TmaBUWYP+779Nk5F4vkGH04dKoQ8RKB0G9D4qIbD3UKR5adRyQxPr4/4adxbkkFQg/Km5 AaBQoO33YImuoayxiaQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJac1-00FBM4-In; Mon, 14 Feb 2022 12:37:49 +0000 Received: from ssl.serverraum.org ([2a01:4f8:151:8464::1:2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJZxN-00EyCf-F4 for linux-arm-kernel@lists.infradead.org; Mon, 14 Feb 2022 11:55:53 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220214_035549_754398_270FBFD6 X-CRM114-Status: GOOD ( 10.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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>;