From patchwork Fri Sep 16 19:49:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 606559 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 497ACECAAA1 for ; Fri, 16 Sep 2022 19:45:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230022AbiIPTpx (ORCPT ); Fri, 16 Sep 2022 15:45:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbiIPTpx (ORCPT ); Fri, 16 Sep 2022 15:45:53 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AFDFAE224; Fri, 16 Sep 2022 12:45:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1663357551; x=1694893551; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lMng9lxVFZajrqtvs0LNq4NoNTqYcVaV72Uah0GvGrA=; b=DweHb8SVeUUCMAzjzTmmP7r/a0hLJAm36Yy5Xq/vGUXVhusGh/2A4fZ0 zr1pVwqlX+54dhsguwuf8iVL/Es9gDuvqxF0r6LSa9pZvjXBGvfzPnNwc BI/ZKDEn8Uql3oX7056jW+ONXV0U51qc9HKsPRibCOjuvsWsbPhQqinCB ZM9Xy1kYtXvWEjLXjwzg14XEcBKC2D+sRbqzwN9aWHBEye2MJ5CviZqj6 ir+YXlBHueZDQ6XHY6C/wRKu0PsXZiAT0GHIeSj5vISRt62yaannmTnIF vWtiUtuyf4YlX1fF/CrW/oMUXjo351Fa4JCALLc2Ei/FkEbTL2guIouK9 A==; X-IronPort-AV: E=Sophos;i="5.93,321,1654585200"; d="scan'208";a="177568901" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 16 Sep 2022 12:45:50 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Fri, 16 Sep 2022 12:45:46 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Fri, 16 Sep 2022 12:45:44 -0700 From: Horatiu Vultur To: , CC: , , , , , Horatiu Vultur Subject: [PATCH] ARM: dts: lan966x: Add otp support Date: Fri, 16 Sep 2022 21:49:46 +0200 Message-ID: <20220916194946.2869510-1-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add OTP (one time programmable) support. The both lan966x SocS (lan9662 and lan9668) have the same OTP IP. Signed-off-by: Horatiu Vultur --- arch/arm/boot/dts/lan966x.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/lan966x.dtsi b/arch/arm/boot/dts/lan966x.dtsi index 23665a0429906..784caba369485 100644 --- a/arch/arm/boot/dts/lan966x.dtsi +++ b/arch/arm/boot/dts/lan966x.dtsi @@ -163,6 +163,11 @@ port7: port@7 { }; }; + otp: otp@e0021000 { + compatible = "microchip,lan9668-otpc", "microchip,lan9662-otpc"; + reg = <0xe0021000 0x300>; + }; + flx0: flexcom@e0040000 { compatible = "atmel,sama5d2-flexcom"; reg = <0xe0040000 0x100>;