From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 945CC3D905F; Thu, 6 Aug 2026 08:48:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786006124; cv=none; b=ml5RI5o7z2rgLfOJyhGJvdhk7KAl9X7aTOHg0cQf1WYT+neTSAeh5nA9Eifqh8RSuNXi4C2VO0j/B8Zars+7GDsb2TEJx07wSN+vX0Y39VS2zUfbx9k5Z+foD4V7FWp3tUlwT3mvqYYR7KOktJ51roooIQW/WK+AkDg1mJJjQcc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786006124; c=relaxed/simple; bh=/eM8hz28shrnbpDK7y2SGL0KHfDbbCGmq4bnAalgeqk=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QSiyWI7TFPH6MQ1xi3nshh9m3bNjsVqaoS3f7Jh43CNwrFqiCkoUUMDsWIpLhp4PQTsgUxHI4yR0o8lWnsCcf97Ve8JDszwz+pdCQ23tYWTkwbqhrH6U0kAWC2uTr/UsLQeoaLiT0AhEZqdbWrSakSs8hpRUKIY3H/JjbMgi2eI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=0RisCRMx; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="0RisCRMx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1786006126; x=1817542126; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=/eM8hz28shrnbpDK7y2SGL0KHfDbbCGmq4bnAalgeqk=; b=0RisCRMxBIaOY2FlPzMKLjG00Nc+V93Z/hSPRE83lYQrKGsFB1QSK7Xi L/7C02dFFOI1HOpf4rSuq+O5F8yGB5M9qd3boMRR9q7TWTO4V9siEtDc9 52CL4h8ebkMwj0kJzQlxY4MPD0GOZNrMh5045ura7TTTTCsS3KRaofPek EK4AUQEb5KF5qVwff7SHUgnppPtI5rM+FQDqkRhSdsoZuerjaLD3gPawD xgdFVYQ56nIq6Mnm0p3qxuyCxS6PewL8Royv10IS4NVkSOu6YMqiDSqMh lR4J6bfLWSuFk68oGwjoS54kPC8aTy5VQCg771T7QVMargKieJKHvjmaw A==; X-CSE-ConnectionGUID: 2Eu9x+MhQfuluoh9zbcWSQ== X-CSE-MsgGUID: 43zT3IMqT8+7KE6Wh1rX+Q== X-IronPort-AV: E=Sophos;i="6.25,208,1779174000"; d="scan'208";a="71343337" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 06 Aug 2026 01:48:45 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.58; Thu, 6 Aug 2026 01:48:42 -0700 Received: from che-ll-i67070.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Thu, 6 Aug 2026 01:48:33 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v6 12/17] ARM: dts: microchip: sama7d65: Add ADC node Date: Thu, 6 Aug 2026 13:10:19 +0530 Message-ID: <20260806074024.531259-13-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260806074024.531259-1-varshini.rajendran@microchip.com> References: <20260806074024.531259-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Add node for the ADC controller in sama7d65 SoC. Add the vddout25 fixed regulator node which provides the 2.5V reference voltage for the ADC. Signed-off-by: Varshini Rajendran --- arch/arm/boot/dts/microchip/sama7d65.dtsi | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/microchip/sama7d65.dtsi b/arch/arm/boot/dts/microchip/sama7d65.dtsi index dfac17e34e65..c35f27615bc4 100644 --- a/arch/arm/boot/dts/microchip/sama7d65.dtsi +++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -95,6 +96,15 @@ slow_xtal: clock-slowxtal { }; }; + vddout25: fixed-regulator-vddout25 { + compatible = "regulator-fixed"; + regulator-name = "VDDOUT25"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-boot-on; + status = "disabled"; + }; + ns_sram: sram@100000 { compatible = "mmio-sram"; reg = <0x100000 0x20000>; @@ -296,6 +306,24 @@ can4: can@e0838000 { status = "disabled"; }; + adc: adc@e1000000 { + compatible = "microchip,sama7d65-adc"; + reg = <0xe1000000 0x200>; + interrupts = ; + clocks = <&pmc PMC_TYPE_GCK 25>; + clock-names = "adc_clk"; + assigned-clocks = <&pmc PMC_TYPE_GCK 25>; + assigned-clock-rates = <100000000>; + dmas = <&dma0 AT91_XDMAC_DT_PERID(0)>; + dma-names = "rx"; + #io-channel-cells = <1>; + atmel,min-sample-rate-hz = <200000>; + atmel,max-sample-rate-hz = <20000000>; + atmel,trigger-edge-type = ; + atmel,startup-time-ms = <4>; + status = "disabled"; + }; + dma2: dma-controller@e1200000 { compatible = "microchip,sama7d65-dma", "microchip,sama7g5-dma"; reg = <0xe1200000 0x1000>; -- 2.34.1