From patchwork Thu Apr 18 22:14:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13635483 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 9CD5D180A67; Thu, 18 Apr 2024 22:15:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713478515; cv=none; b=BQ21SA7ej6QHmNgZ7a4vxPFA41SxniRiKKMBrVI1H+2vfVVztsWoieIN/CJnpZJ0ehR/0KTiWgBg8ioq1hGIJzvBr73+yYcTawKvWSkL8VzZYrLSrf/HBDqMU7e7UN7+L8yHgopHsZDDjVkPvyYfatLwhkK3l1kQV/EyCCUq5lw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713478515; c=relaxed/simple; bh=ce738k/LqmYbg6HsQuQmhB8HyKlaiVTpoEKSYcb1Hm0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TXGRzq162Wf5F/EPsKwvMJdaQvSdMI5T97tpbnRD92BXgLxY+zBE5l8mSpyeTDlUmfc64bP2daxM7OpTrNEgEySW4VKe5qBuQVnyZ0CTJ3c6Ood9ZWzzhZCuuSUtD5Fhk1GwTby1f3GEyrAJEth78PQDMHPq3V/ULq/8kBNxIMk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=lCk/2wQa; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="lCk/2wQa" Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43IMEHkE054614; Thu, 18 Apr 2024 17:14:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1713478457; bh=K0iLJsk0ajJj9i/UjQukfnpCanSBlooDI9g8PBLR57c=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lCk/2wQa1+3qRb85iQojH7Tq2Bh9EbYKtUcoyKHmfndAHzMaajxz1JVtMAsS5tpQc H/z0NYLnUKLZmAEqKTzMHdCtfPYVrNtY8JRpU5BYX9SDXqiGLxkkYG7oUTtsqpeR1u PtlRQcxnsloHLjf/DuJFw5Ik5iy+SWsLYj8BSuCc= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43IMEH5T112334 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 18 Apr 2024 17:14:17 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 18 Apr 2024 17:14:17 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 18 Apr 2024 17:14:17 -0500 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43IMEHqp111027; Thu, 18 Apr 2024 17:14:17 -0500 From: Judith Mendez To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , William Breathitt Gray CC: David Lechner , , , , Subject: [PATCH 1/7] arm64: dts: ti: k3-am62-main: Add eQEP nodes Date: Thu, 18 Apr 2024 17:14:11 -0500 Message-ID: <20240418221417.1592787-2-jm@ti.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240418221417.1592787-1-jm@ti.com> References: <20240418221417.1592787-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Add eQEP DT nodes 0-2 for AM625 SoC. Since external hardware was needed to test eQEP, the DT nodes for eQEP were not included in the introductory commit. Now that eQEP has been validated, add nodes to k3-am62-main.dtsi. Fixes: f1d17330a5be ("arm64: dts: ti: Introduce base support for AM62x SoC") Signed-off-by: Judith Mendez --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index e9cffca073efc..0877899b90667 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -844,6 +844,36 @@ ecap2: pwm@23120000 { status = "disabled"; }; + eqep0: counter@23200000 { + compatible = "ti,am3352-eqep"; + reg = <0x00 0x23200000 0x00 0x100>; + power-domains = <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 59 0>; + clock-names = "fck"; + interrupts = ; + status = "disabled"; + }; + + eqep1: counter@23210000 { + compatible = "ti,am3352-eqep"; + reg = <0x00 0x23210000 0x00 0x100>; + power-domains = <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 60 0>; + clock-names = "fck"; + interrupts = ; + status = "disabled"; + }; + + eqep2: counter@23220000 { + compatible = "ti,am3352-eqep"; + reg = <0x00 0x23220000 0x00 0x100>; + power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 62 0>; + clock-names = "fck"; + interrupts = ; + status = "disabled"; + }; + main_mcan0: can@20701000 { compatible = "bosch,m_can"; reg = <0x00 0x20701000 0x00 0x200>,