From patchwork Fri Apr 7 18:31:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 80985 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp480116vqo; Fri, 7 Apr 2023 12:11:17 -0700 (PDT) X-Google-Smtp-Source: AKy350aqEgLEsOkidYWUqirki/V42P0vjqqwrLFQ39L6CI8yrvZgrEF1eL3FPMNGEhp2Pkx3bXcP X-Received: by 2002:a05:6a20:3503:b0:d5:2f2a:ead4 with SMTP id d3-20020a056a20350300b000d52f2aead4mr3028991pze.47.1680894677019; Fri, 07 Apr 2023 12:11:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894677; cv=none; d=google.com; s=arc-20160816; b=jriNQPlkVUURLH3UrNeaf69APclJe/1rT4/l1CpHp8qIL0TUGWBwvIesOBBvn51h/K 5yuyR16U+MECr6ePkDToaqYqANQijiFXvvd1nk4cp8ujA54CxkEV2rQeoa2IdTFRHPWo tVVm2R34VPxZhEt1yAyLSrs3IsqTlyQwXbbBJznnoQvnM3kJsNd6Xq7I3knCbb+L0IBu idoSef0UoqMPu3EZbo1W/EADLedGDTSs6J3Az3i1pApTRwqbbeubJMn1u2sP2WaMQiQK IQxs4CBNftoEetOl/3E3dzVJDvr8QreSm06mzKlABNp4xOTJk1RchfJyv8NYdEt6Mamt 828Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=JOLfndtl+mN4Grspt7XxETH+EfXqJCgxlmF6LoEPr64=; b=oOdP88bIqYrikvJQx92dOOAh7pAFjFfX6xQD438rs+f82a3cWKgu1DRocVdgcl6mms Utr7c9YUoqizlEl3fR8V0neUJ8pbtXu2fi6jHgkJ46IMfNqAJ1FtE4rDvG7AMw2St7H7 rk3C1vw0e1is8UJOcMGOM/d6Q7q4CUIbHt0jUulYlmPOqKGCC/2/502PFikCpKaxChPv zO0l1HdwrlbqqV/+2ai6IXpWoSSseDhA8ZPuLPpYn/jpxxuHod6BkIoKUD0exPYnJeP+ PisUYgbSXFYqXGQevzpX02enJgbXocCIGsKe06qvoBQ+1t0fNohwUAJEd7Q36cBhN063 rzPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=QUJkbBVB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z33-20020a630a61000000b004fb95c8f645si3976388pgk.392.2023.04.07.12.11.04; Fri, 07 Apr 2023 12:11:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=QUJkbBVB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231805AbjDGScR (ORCPT + 99 others); Fri, 7 Apr 2023 14:32:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230015AbjDGScN (ORCPT ); Fri, 7 Apr 2023 14:32:13 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34563BDCF; Fri, 7 Apr 2023 11:32:11 -0700 (PDT) Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 337CMGfG012601; Fri, 7 Apr 2023 20:32:00 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=JOLfndtl+mN4Grspt7XxETH+EfXqJCgxlmF6LoEPr64=; b=QUJkbBVBc/80GLQHPDlw9MoHOck/v5Lz9zgvKd9UFwseVXW7X7xKLXlPVxx0mWKJaKeP my2Ve5QzR3Bb5IQSunWVkSl0ztxmLibyAAXE0zrO1I5dCMEgA1qRuUFJyldCBDeR+lpX oLs0d6kbpKiUYLfkLLVDDA8JjhYA03oDPzSYBoGtkPx7J1JuUrJo23ai8Zwd+fzyKZ9d aecX873mp2Qqb9k7XC+hJDyq3ETTrduX01lmbCFU8vdI0CWUs3vgG3X3LNktoRL8idW9 frB20Me4FK3AyvfGx7HxDV+PJBGFkA6+FCtGL9UB3wHBq5FKwqPxAYLUHpgqsryUmpyV QA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3pteygu570-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Apr 2023 20:32:00 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CE6DA10002A; Fri, 7 Apr 2023 20:31:59 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id C791225223F; Fri, 7 Apr 2023 20:31:59 +0200 (CEST) Received: from localhost (10.48.0.157) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Fri, 7 Apr 2023 20:31:59 +0200 From: Patrick Delaunay To: Alexandre TORGUE , Rob Herring , Krzysztof Kozlowski , Maxime Coquelin CC: Patrick Delaunay , , , , Subject: [PATCH] ARM: dts: stm32: add part number for STM32MP15x Date: Fri, 7 Apr 2023 20:31:57 +0200 Message-ID: <20230407203151.1.Ia16c922b77242e5832106fedc76d27f7ed4dd952@changeid> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.48.0.157] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-07_12,2023-04-06_03,2023-02-09_01 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762545817290821474?= X-GMAIL-MSGID: =?utf-8?q?1762545817290821474?= The STM32MP15x Device Part Number is located in the first 8 bits of OTP4, this patch add its description as the NVMEM cell. Signed-off-by: Patrick Delaunay --- arch/arm/boot/dts/stm32mp151.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi index 4e437d3f2ed6..3cf78f706400 100644 --- a/arch/arm/boot/dts/stm32mp151.dtsi +++ b/arch/arm/boot/dts/stm32mp151.dtsi @@ -1620,6 +1620,9 @@ bsec: efuse@5c005000 { reg = <0x5c005000 0x400>; #address-cells = <1>; #size-cells = <1>; + part_number_otp: part-number-otp@4 { + reg = <0x4 0x1>; + }; ts_cal1: calib@5c { reg = <0x5c 0x2>; };