Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2616405rwn; Fri, 16 Sep 2022 13:14:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4JZ4V16ftsQEgV2qsKr2Eg00gUUx0ufzFWefTYdEBGRX48BZhx6whFYLA6iUo7tl/TYYAA X-Received: by 2002:a17:907:3f12:b0:77b:8d8:f353 with SMTP id hq18-20020a1709073f1200b0077b08d8f353mr4580870ejc.349.1663359250974; Fri, 16 Sep 2022 13:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663359250; cv=none; d=google.com; s=arc-20160816; b=tYYhAklSKbfeFzkVMGlZK6wEX1e/GgRBsZi1MG78vGNxO7eriLsLAE/XCRPeJDwC/z JzcPj02O9dwzVEJTWgqSjxrDco1vATJf+290p/j4CRzSfFDaGqWH01wCOlC7Vx2H+Fpx 3zO/Pmgco6MJlAjSMHla4g6aCKIsEywLGV7To4QT6lRhqKkATXsFhdh/+dWDVJSiumXx g8nogkfNQZk8qFHDYcqEb+5wzKXqAb1uwnAvU6klz/YzOrFgrLLmu2Np+LK+dvbRrDb2 aSztoBfEYlEEyVkSt0x7oDxsIHRvIUCLEdR+/UFPTWm/OAElHbcT28mabmNA2qHnw7VS 6t2g== 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=IOFSGGuKun2CiUfkbQoPHSNzNCGy5TX+S52eGxlPj2A=; b=fLluycUugKwYlYiJxSr2eua9+cJs2/3hTGICdkqLp9sP3kD+zDugPqjPAnhcd3JJcK Zw9DGXBbH7wg8MpblknBluJY/uJs+VLrd/15LlvE18E6V+mEEX4m6/bbToSAdLMN9NUQ X6t1JJtwB6XljsM6uTv8V1AURiwJGkVZVxU+2WS0/yTY+7BxJ7ehTSXxbARxMPH5JVcE PfGXp4pk+DGDmMO1v/tMhFd4V8sVT/f3WNe2gEEexL2yBBfZuQTOdMHmy6kpXOVaRFnX F/MKxl9ms9rgniXzkpCXl/RFwsgw72G771iYNamAKhyEsQmSRwcthZSlLSY6MQdNAntY RInQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=DweHb8SV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w2-20020a50fa82000000b004487c209b0asi281811edr.490.2022.09.16.13.13.20; Fri, 16 Sep 2022 13:14:10 -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=@microchip.com header.s=mchp header.b=DweHb8SV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230353AbiIPTpy (ORCPT + 99 others); Fri, 16 Sep 2022 15:45:54 -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 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham 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 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>; -- 2.33.0