From patchwork Tue Jun 25 18:53:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garrett Giordano X-Patchwork-Id: 13711830 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D7958C2BBCA for ; Tue, 25 Jun 2024 18:54:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=/GzxWTZAlaE9sSZPFpOubY3prboiJdxPooethzp3Aa0=; b=P/r51EqdJ+iQgLan0r1VmortJY xvELBcYIHg8HoXRvLCEmfMXHjgvt0pqBVMUnayisYEXJHpxNiBoOvTR0WhtXHNor/LAxxkSbyuL/A KmGdTF14mzD/NxzMlvRwnPL1JYudfbYRxs6MxqvcGHjQn8Ae3fXn74k0+AgnE8NMAimfrDskrXnxb O81QjMsz537pfo4XJ3y37D4wM/VPl7BvJQI8laCeoTM3ONhhGn1zFEk0ANVqPgnwJgefxK8GzgGOb +WFo5CxgmdgnPSU7/WEDH+ca5RTPF2YppkjE1nRBApI8FRa+29WCZHJcVzBBMdZHJgFuNE+uumyr+ 0NxbdLBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMBJL-00000004AhA-2JrP; Tue, 25 Jun 2024 18:54:35 +0000 Received: from mail-mw2nam10on20711.outbound.protection.outlook.com ([2a01:111:f403:2412::711] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMBJE-00000004Ae3-3Rb7 for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 18:54:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KDFiaq/VE5UTxrDp/erjvOMPHMV/YxCtPucfQ/prymwdYy33K8LIaVk0m03cP++ZbpL8/O+ZukiKHXm0KYabvx+FfMvCF0JNpHF6Apvt3D10qnSwaS+rMG6GTRsJtNd5+pkQvJ15ewgjPJ/uWxBpMFH0C928HmdYLV8SCHEYyIaOPa7oEbrJOfkbq00eASOKdcOR0tNn89LPepxyxOYyv/tWAmvgAPwWYO7RICG6e56yDJPuFM3KT3s4nWKI1HTZ39pV+nilaHOYFV4arsFl7ZkZs5X47darjBFffrs7AV7T9D7/S4P4F1Fp11ArMWKPNo4sr/ze9z+LbteptiveXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/GzxWTZAlaE9sSZPFpOubY3prboiJdxPooethzp3Aa0=; b=TBfbdaaAB6vsiirgvFl+4k/maEsqIElXkyegucprKrlo1ZcyDiX762e49wB3pZEmvSPq+ctgnR4pbn0UP3p0c9fOQNF2d8FLvJT21ebAU06hPzt9EiNdUSmMmXDyE3pSCyNDrQxtE6pqtk6O3I/Oimkhfo0e9vHoXmcsApBjPHzRcFud3SV2inU1R/O+3Otai9Z4oXG748XyTMU/swFYVxuFV9vO5C52S+BYd3PBdCHpYLcFMxbxCiE7WuNA9bL1KdJKuipc2OPI1GVQk9XshJAOOgMBNflv2w5+3co4JNQr0WsGqyCCGRWliy+8mX9KTNRSzvwmMbrhJow3zab0Vg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=phytec.com; dmarc=pass action=none header.from=phytec.com; dkim=pass header.d=phytec.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phytec.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/GzxWTZAlaE9sSZPFpOubY3prboiJdxPooethzp3Aa0=; b=fuLSqVSehMHvXSHVe9hgkPd2fvn1o1ZCNIHGJIEXpcuvL6pOxn0TRMCDOMUHlEviHHiYYEHhMGqB8jmqYqAiceA+hbwHZgCRcxyn9TqZEjLz2BWx/IrWLJ9bfqWNy31DcCVnN/m819Aks5UrGHqH1dkHwB3GacontifdVlWUePU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=phytec.com; Received: from SJ2PR22MB4354.namprd22.prod.outlook.com (2603:10b6:a03:537::8) by PH7PR22MB4017.namprd22.prod.outlook.com (2603:10b6:510:242::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.25; Tue, 25 Jun 2024 18:54:16 +0000 Received: from SJ2PR22MB4354.namprd22.prod.outlook.com ([fe80::789c:e41e:1367:383d]) by SJ2PR22MB4354.namprd22.prod.outlook.com ([fe80::789c:e41e:1367:383d%3]) with mapi id 15.20.7698.025; Tue, 25 Jun 2024 18:54:16 +0000 From: Garrett Giordano To: nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, w.egorov@phytec.de Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 1/4] arm64: dts: ti: k3-am62a: Enable AUDIO_REFCLKx Date: Tue, 25 Jun 2024 11:53:59 -0700 Message-Id: <20240625185402.1896623-1-ggiordano@phytec.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: CH2PR16CA0021.namprd16.prod.outlook.com (2603:10b6:610:50::31) To SJ2PR22MB4354.namprd22.prod.outlook.com (2603:10b6:a03:537::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR22MB4354:EE_|PH7PR22MB4017:EE_ X-MS-Office365-Filtering-Correlation-Id: 8e4a3e5f-8a6e-4d21-094d-08dc9548360c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230038|366014|52116012|376012|7416012|1800799022|38350700012; X-Microsoft-Antispam-Message-Info: t/r5+iUbcR10zDfPPzlWmCesxC5TWf90u4vS3U7FJoVECk3ykpWrkWWnZZssdtWp4ifzP2i+0Nc8+VXMSBTrKcCeDlGpGDxCY/VC1g1pqQJ1jV/1BcmR1hII8yKXCFmBJaP8m7AjPg9qrynYBupVkxO6dpeM4e6PYg6rFNDVlBq1vbuSGaNgS/N5fEZwqR66Ph0ZWpm+7elfF7BHmM0zTb2dudIr0I9wZE4rFw9h2gaF1ApMHg6dbvHXENJMlTUaE6curbGNxW8nz5TU2fM1Aq5RigjMoXzsvaodUnZ9kKNLChRfzxXVua8DZCe6sSfnhU9VdQZOG6SVN1UW5ePk3x+ySdBDacgPidh29b2iUvMlQ+1NQHo1xMRKXbSZshKkpT+2bBV27d8JlmeJPcBM6uykwaNAdEcp+15rAp38tRQlv1aJGkbf8KBoDwJl8MK21FCiSpNd6SQ06ff+fduDHO3WKYPmEwZC//UIDudWSlvXMlsGvtq5F1qVqVcSdzYU/LmQTzpVC3wbxMiBTOEg3l+HEumwKSb59AxHWAywVHSti+0aIudxEtF0UNcl4ryDFzh5xIN4ku4vGyym9/3HWb/D7/2Z+Vq053sTllR8DBqJTkxAmf7Y3ICJz2VIoOszoahgzT1PnL9e4A39nj8OnMjdetNOPx8yJIZfotKyfgdomOk+YHbKPoppPZe1RluixTWbt9rzmhFcyoveh6Oxb7oVaoTq/JcjQmbRcJnz0sV4okC9N8bNfZFmWLNW/iXYf/SVotOHcH0QWYqai+6Yd/Xf58KrhLC6oEV7t96gKJPojuf4GoL3PalGQr07B3tPXYWAizbPpsmr449+Jhz2XNBlCJJUf85keem/tonCNb8a0WAh+cuyZY866NTeQ5Ux0/lO37PCtqwczIO3W1+mDumDL704BcQ51IwAQBjBde1165nJ1x+rSg+OGd6xwu2MPKkAeuEZrIFEL2jWqpLtbaokXYcRsZnEfVMHqv54QzTL3XYgsIj5PhxPgy63wtS+1bB363M+5TJyWNeXpItQOX7Epzm/skQDpGUY+sW8yKKijPDaazqBUmAUNC7prgxOKuZJmmofemUaRvxf3p5MqApZouVy58PGUH7g/Agwyfex3MLPcJyFDFK3G/dL1iM8/JwIELpjW2Zn2VU9to49QCAbxYpKXFiCa9n/ZUW/oEWO9Hywwq9K98tDn2YjC2g+kiRwXefyY5rrsuVeggAnRpQP/50tJWKdAMxcdMwGr8/AOobFxCmvTiBqD/4imGNCEk/I0ghQOF7lOE3wV8InjRzmufpeJn4saiOlk/wIT0FtkI9xiuyNgc+7VT8VMTzk X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR22MB4354.namprd22.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230038)(366014)(52116012)(376012)(7416012)(1800799022)(38350700012);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /+hWjAp74D62+DbWK2p9GDmyaMvnIiR7Ig83B4wnlBE6+gk1R9uhSDytERKj4ygfQaQJyKEoPymquNzI0Yq0gci8joVg0L51gds11c5YzEpALgsoqaxWt7dvxWpTYWD2XBitx9jgtA2pxJN1cNorMpOliL+QhBfNRE/LMs5hDztP/Q6D3Wgw+GoRQpmYjiO8qtfKJVtkuJZYnfgQ6ItUgLt+tQy8sccrCgybjjaY5jENtZtWUo8NVlHxamDI1MpHABgjpbh2gUJrONS0W/RBy/BU2yF28LO+ZKDz/OCHBvbRocLd0BXM/5cm4P7RqpAwJBIQ9d2PkpeyEH+n4jrDPRXn/9yNl8txw5aljJy/buRs5pCQO32ysMqShNjFkTI6ty1YpK9t+LsaWDhK6x4qvvrU7kgIgQNPSLfEWOiTeC1Z5MQNw1lbgBdDfgcEe/Vyrm3DRCzOuKj0HMBnWEfQPASmCtWoGqrrk0FhohrlRwZ3KpdMo0zBGapN9gWsiTjvyfozCMxhJz03kVagKm+4jFcNvwz/OpgHg2XprEZjeToxbkuF7uEleeAYt5jaeh+NrgpSFFNk4E7rb/wew8brVtOpFHb6jP9V97NuQD6Qedg4uKDOT59Bo4H9MVX4KMcF6DCppm1IDc4R3F0l8czsRqoxAC9A6QYuAH41puuTKLPlAU5/PDx5AnvMNsThBJ6qa40788kJdFMoaYNvUEo0QvgCSnKf1pug5ePL8o5eyN1Kvb/0gs2b+Q1FfUcxdZDC6S+hYtQiiLcEkSZsxqBr/IS+SgQmGCz7t1Ud3YR413NQChGnDacjI8AgLAlJtyks4lEnXkvn5bEoyvJp5ltJT+UMbh4zs9BqPe2Fat5K6izvt5qIx6P7ENGOzofYav0R86RDu7HNaNDEGo6WxMsGevNr9WTA0XOEJ8birt7OJTmkHLuW1f+wpXQo0KClpNBpKgKKCNUX5Z5tRa+6inkKmF4eFSrybUNnmJUWV9K7uWtg4snWzWDPzt+aqcr738EHgvhVWg8mxMQCeNWa6NJX/39b3jVYVkmlHoYNWAsQFEoLAlHWw4j4QM5g4Q5adCfQnBSousCdSKcVqoFWEtaaCb+YVZiRxw9UEq6IUjE8BJ0nC4WHi1s7aJHYgRR23ekyIv5TfbL/2FFoM2wW0HXx06bi7HIY41rrhxSDNgkDkxEG++s0hAM/qklTe8/7KaRYEVyDNxLENm/72h3Ez4g9jPf3wyobhOIctjjiCrh22LKimVdAP/ZerfIN6PD8W2xOIy4LM1ZNoHHDIbyY9rpz2YXBGEpyEnOPivwDSE/0bhSx+k0cgqZQ8IBJdYMhP7j28kSn1XMDTchvHfaB5yo7z6qdMQw4PnCZAtVXhJc76iff894junn9uDuCBtIlrVNEmD69wLTNMfuX8t0dP+T+73YK96DBTvSeBKC48UmHX2QHLyF5O3JB19NMpTYzse3cSYC/MVJL95e9SM51rjKMDO8B/Brmf4qJcF1iQBomA8dcz0I0DLaCN/OS6kbsUjupqjwJSuMZ5QAayyyOiBFds50cO158DrAiURhnFiozYNnU94EgGqoK29yV0MRmzL+F X-OriginatorOrg: phytec.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e4a3e5f-8a6e-4d21-094d-08dc9548360c X-MS-Exchange-CrossTenant-AuthSource: SJ2PR22MB4354.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2024 18:54:15.9029 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 67bcab1a-5db0-4ee8-86f4-1533d0b4b5c7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Dn5X0LSn/7OCZKyGqu88+is2M93L/ui8XyL5RkvIZwB1yrvk5hjqkyd4cneptfXvTQht36nbMvPih4k4LCjIQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR22MB4017 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_115429_024224_5045A452 X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On AM62a SoCs the AUDIO_REFCLKx clocks can be used as an input to external peripherals when configured through CTRL_MMR, so add the clock nodes. Based on: Link: https://lore.kernel.org/lkml/20230807202159.13095-2-francesco@dolcini.it/ Signed-off-by: Garrett Giordano --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index bf9c2d9c6439..2a6e333f752c 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -59,6 +59,24 @@ epwm_tbclk: clock-controller@4130 { reg = <0x4130 0x4>; #clock-cells = <1>; }; + + audio_refclk0: clock-controller@82e0 { + compatible = "ti,am62-audio-refclk"; + reg = <0x82e0 0x4>; + clocks = <&k3_clks 157 0>; + assigned-clocks = <&k3_clks 157 0>; + assigned-clock-parents = <&k3_clks 157 8>; + #clock-cells = <0>; + }; + + audio_refclk1: clock-controller@82e4 { + compatible = "ti,am62-audio-refclk"; + reg = <0x82e4 0x4>; + clocks = <&k3_clks 157 10>; + assigned-clocks = <&k3_clks 157 10>; + assigned-clock-parents = <&k3_clks 157 18>; + #clock-cells = <0>; + }; }; dmss: bus@48000000 { From patchwork Tue Jun 25 18:54:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garrett Giordano X-Patchwork-Id: 13711832 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0AF7C30659 for ; Tue, 25 Jun 2024 18:54:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ua0BXbLR3aM8CkftHphBGrDrg8UpUc55dReUPDlo1MM=; b=Id7HWmm6Ng0CnJg7gOmnP3+SGU d65hjDTr7sH3F1DOYTfssV2EZVnAOFZoHTOTak0WiqPGdTCto3yPTy28CbJ/HRGkpt2di8u/yLrlK EwAt2G2fE4Mc0QKV8yB1ey7upX08t4N0GsD7R63EI8nAj+EOM4P4skJY3nED6PJHeFGEsdlKWrqX2 5a94uFDJeE8CYY9JASLVfGRDGHpJnKpfFWzbRWmfE4MBOk5nBlkl/Y8zcKviHDhDRgW8ZIJzSvkac dMfKv/z66L948UtLkq24yJOyijV/OwWWEz8zi2jXyoRP6RVE+bPVLI9RHFYirYnHcLiXlEI/bCr07 7vye/jfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMBJT-00000004Ajk-1Iky; Tue, 25 Jun 2024 18:54:43 +0000 Received: from mail-mw2nam04on20730.outbound.protection.outlook.com ([2a01:111:f403:240a::730] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMBJH-00000004Af4-46RP for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 18:54:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F1dEEdi9xluS9CcGMC8jxQGxYposQLzHHCHj91WSOfb8/VDGEBIK90JkO4SdKWxMFXs8ordd0QQKZ7C5BF4ajV97/y6lhSJOe4OmhfvPQ0837BOPhslXBVKmzEjGFcwGXsDXhpVy4vQL72Y2fUWAHQONrEMhECpKzdN3wPZHFvLQoWWZ26tGRRDjsvXdf+wLKSi+DwnUdXdU3/zDSUYQf1es8q5hqgEktdrzJjeerb1mucPuj7t5M+hXj0rzKuqEJ5vDNOtRGy/ZmccRnP7Aw29sD6G/oc3182xuHycCqj6SPOCJJvqAELdokw0mNVGyC9PGIgSw9Moxlwj6diZmvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ua0BXbLR3aM8CkftHphBGrDrg8UpUc55dReUPDlo1MM=; b=I2mmvNtExe09Rd0nMHXQ9ttBfD/BoJtd+ZfqSjEFH82kRZpwL2LZV/T4leNvL5JlOFX88ISc4geh3T7xgT2FFhAW3oWJaSB+hR7SwZmZxWS0ptK0YeMaEtpFwWEwAFXyfzHpe4dZdNRcwOo7+AN1RFnOSYFO1sU+7wR/VsB47q81TsUIe1DNPqGctYRzlUOsUJYaJ34s65Ib2YQPOG/ENLklIxLI7tVHEPkdHxubmMH4VDFqgINQITNfknx6O1DuCosgvulAJXKoZ37DIkp9algxCb3xv3FHF6+/JN/3HtrghvSpbcMBfIkwOBIEH2pwGTfX3WWxucMMbKmp1TwMwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=phytec.com; dmarc=pass action=none header.from=phytec.com; dkim=pass header.d=phytec.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phytec.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ua0BXbLR3aM8CkftHphBGrDrg8UpUc55dReUPDlo1MM=; b=J8j5l9QRAY1TgWzXr4leNA5jloi+CEt5c2YDLVkAKxf2dQZLrmrY6uF2wwi3/Nv7YJ4D3BpjPinDyAGVc9EWCMLqXH/3MZfgTwmFaBo0iusNcmN5wFFSZDEioHrFEOj3C6OVZPHmDlQLD/0JawNuz3MTp7bzEVYbT79qVQ9PSMk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=phytec.com; Received: from SJ2PR22MB4354.namprd22.prod.outlook.com (2603:10b6:a03:537::8) by PH0PR22MB3911.namprd22.prod.outlook.com (2603:10b6:510:2a0::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.29; Tue, 25 Jun 2024 18:54:17 +0000 Received: from SJ2PR22MB4354.namprd22.prod.outlook.com ([fe80::789c:e41e:1367:383d]) by SJ2PR22MB4354.namprd22.prod.outlook.com ([fe80::789c:e41e:1367:383d%3]) with mapi id 15.20.7698.025; Tue, 25 Jun 2024 18:54:17 +0000 From: Garrett Giordano To: nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, w.egorov@phytec.de Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 2/4] arm64: dts: ti: Add am62x-phyboard-lyra carrier board Date: Tue, 25 Jun 2024 11:54:00 -0700 Message-Id: <20240625185402.1896623-2-ggiordano@phytec.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240625185402.1896623-1-ggiordano@phytec.com> References: <20240625185402.1896623-1-ggiordano@phytec.com> X-ClientProxiedBy: CH2PR16CA0021.namprd16.prod.outlook.com (2603:10b6:610:50::31) To SJ2PR22MB4354.namprd22.prod.outlook.com (2603:10b6:a03:537::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR22MB4354:EE_|PH0PR22MB3911:EE_ X-MS-Office365-Filtering-Correlation-Id: 323385fe-4a96-4e97-0177-08dc9548371c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230038|1800799022|366014|7416012|376012|52116012|38350700012; X-Microsoft-Antispam-Message-Info: +so2FQLBN/rZ4PqP7i9MXG90VRUobuzKOqyHhFU/5IknAWdKGtx7sZw3eiWn8nBiHysr/iI2h22kjSt1zm6HfK9kegSz85VBdMNsOSqVAcSKwfgnrdAmbVIH3+f5Dj1TVofDjtXnQv3AZoh8r+5zx9ZwadyyNIyh21ThJvIkufy4HTBvbfQWVqQyINQ7rey/rgonPYUfcoq0VllNgPKi5R71cbqeoiuQAMnOxGJQ7FI6mTJxuCxCaXAv6WWK1prvdaz8HD9bL8HuqLPNlIEZenpMnd3B9Z5GyhrZCvGE6oyNEMbWfnoY3LM4UHPDmiijyGoUdNp/57VyBszfGPThKyYoXjPuli/iUHbS8G59F25gyFeGNjVqFaSzRceTYz5/Y/lGqYQq9Z2OwJ5cbBqkh/wXJh7JyFZzzVuNIheZyHosS9V03WQvCmUsO2Zz4ORnyD8VKrBnw5aJxfRurkCxddWMEim8FqftNzCYU6ODhqPqNEKBIYu9i/xRVkj2CqyV+gnvnzfEGwNRsFdy/hiPaBU/kzpLtd2+Cr1zd9cCFDmxOJj4Vp+tmh+/oxqKXHEDLJy3Qb9XtyI+jxgPH88sH55LfqFrnCs/L/4dxFszeF2Z0kSKA/2VGhRlNELZcY6fV4+1n00LD7EEizcCiq7d7yb8J+8+sCjmsWgGgz6cgQ2Ko2x6mTNCu0TUsP9FlBwNz26K0bt4MqpF6Zvi9ENnxn+uE/rn3MWkONJ13mWfGEyJ9qC67dItnVj6CTnU0A30a6dO0G1FDgBIQm6vmebX+1xliweqib5SD0MXM6l+qpLRjS5g9F6EhGgQr0Y93rDgcU6VLp5pDGDYMunLiJPtV4mvZu6wMn27WNoC+qC0wBSuqzQ58gafRHlB+C6f49333LNeZGdjuH5QfAY4w/TJmYoIntMndI9M1+kwWSf1FHWVI228Y1OgRUruMsC6Ad7GXw3fR2hqjLyhtdcU5vh0mkzbv9PumdKltjNYwQfjE/hEXDvaCbQfa4wEQFk/lQRLmV5Kf3cRugagYbkKMwOCrpg1PAhaSln1X1sigzN/PJcgQlvuzl8OTAkpS89BoHxLX1KLpu48TNooJx9Rw6GW4KorPdL72MMatvo+yauaeuULiaDCYGxhqy31d6/Zxvcrb3K0yfTiADLEF7zHYqMs+bGSHgGjfY1hJO2WohhvEQFLdtVhYrlO4o0CvTH2l6fAA+JU3waYmpSIfQLSMDX+feGoAPykiu+0EIfFS81AsrDXYw6Dves/f+JxfBjtqsLZOG2AzkAPkjjMs9VTT6j5+rY/IdPByftKdgYe7JyWAr/yiCM4usPB9CVbWKri9sQj X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR22MB4354.namprd22.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230038)(1800799022)(366014)(7416012)(376012)(52116012)(38350700012);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: INcFL9A8afHsj7fWT1c31E/2LO03KkP7s7rjp4z6PjgptUTaoO+cER0HvWowVgSCh4KY1MYqGSjw3TR9sUw2IP4QMBbQ5jONtcB55xKnVCv//a6hl/upbBVDAdKPGeqSfHH4leg2aD7v5GfVwqdLx04syF+R1Wty+w592NTBGPAp5i6w/zfN2Ir6K4MAcEuqGgEqYUyRIZBIvDA33jjG2P2O1FKc4zxb+F8fz3E9AdBgaI6o3Oq1LLGgtI596An33O200Fgjunv95GoG2yuJUQzPXQfNxAjyVa2T/yyJqDhsH8wOmBRjugbVuuxSX1gznNq6fmbbtkMiXLrH/1+RVUHW/xD8VBZ24u7kr/4mt/Fj1Tmwk59fGY2OWbebw0TPs/pPNroyR2e/pSH5SK9dC2zRAQwwn2uCAZPtZhCp7jNXRNfrxXB9SfkPsi/RXcvOGTUr7HeqbctxlAQunpG7btY113jgvw3UMfTjJVt8W+B8g3O25gi9Ac+W5DuLsPiISOAPpdMmeXOgQXMdu5t0FbXaTfvKhKE46fIQArCE/O/ha4YIXzNioNR0knqDILSf0jGMQeN57YEwD27gKJPESmgj3wS6mm9hlKw4pHuGa235TPhjbv63K53DKIZxjx8U0jqRCygNniUdERh4m7YYdDcwibLElhCJ37BRYgPwrxgG5tewuXAT6LkhLUlLfddEg1wY2xEZuYdEQ0WIG6jLBB/RsFrO9Kie5+qBzW29qqFG22OzjiTyDHD7vvtSw3+8nUOMTJgsxJhryCyOHnK+aAaK9y5EOFIlJPU3MhYurF4sIVklIEn4wLjwltEIAfq9MTfrROtgQDuJJ6SimP13+OJiGmPM+NJ4aDDjNsQdudSPXUJudadjKJSWdENtsx/biY4634gLPA6waW9HN4mxKS9oI+vTEFwlFBtbAt4H/OribVMtftA9i9f1KuHv+DfavDdUU9a/gWDHxdZ8Nf8Je3efo+c2mBj3r1gUQwITZ3qxhl9KcDEpmIy5aBv6fw2856FXvAbkWsBZJPIBWeXsRqiNXx5br8yrJxXeV/wLz0ohQuE6O+nO/kPxE7JwdcgJzEv9asJqpF+70TfFLw50Cn2B0ZxCFj/sER8v+1KuZnkKftNSrU6Ib2jYEdCFVySMWLksr2ES9NpLIsCgcNikdDQjvZIlEwdBYaIkUDePLOSLh8IdKE2+2pfnAGGWYgPaTV9Eye1MWa+uZlcjDo8GXvGxOTC9SZE0ZpkECT9UtJRH2dB3RgUcOIrNY7xrf8Zv5emc48lnVTelIyuv5DaGT46br5KeNNTFYNtt1gg5FXibJricg9WRkRkvnqAg/d7DR4tNumFDEeIR2DfHdddWrnEgUTJd+3JJ5QR9ayrG4IFfP74sGRZ6y6lWgwh732QqZlmznwj2oeQ4BK9+v0XGlRUJb/dbq2DpxYa2mhjk3hNWM6JTAqB5seX/tTTDG24Wtqd0z4HgsOkpZ0dipwPYPvsm5jDR/WHAoJvm9FNRxMxPsUjZCsqHk6T8m1eyeL/QwY66wYgN9XV27KwKDt7vNPreu0jjf2TS65w8bUkEgECW5ZlCaXKCrTSAVG2Jpex3 X-OriginatorOrg: phytec.com X-MS-Exchange-CrossTenant-Network-Message-Id: 323385fe-4a96-4e97-0177-08dc9548371c X-MS-Exchange-CrossTenant-AuthSource: SJ2PR22MB4354.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2024 18:54:17.6621 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 67bcab1a-5db0-4ee8-86f4-1533d0b4b5c7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: W3NtvQXj2w/Y+N/8QrTqKsJHx95GwYS3AD4LQdl6OSyWoIDUQDlAMwe5wgdNJCQChK8/jbTKwCclAIGTRtYRpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR22MB3911 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_115432_121135_C85DC721 X-CRM114-Status: GOOD ( 11.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org PHYTECs phyBOARD-Lyra carrier board is able to accomidate multiple SoMs. Refactor k3-am625-phyboard-lyra-rdk.dts into an include file so it can be reused in combination with our phyCORE-AM62Ax SoM. Signed-off-by: Garrett Giordano --- .../dts/ti/k3-am625-phyboard-lyra-rdk.dts | 467 +---------------- .../boot/dts/ti/k3-am62x-phyboard-lyra.dtsi | 475 ++++++++++++++++++ 2 files changed, 476 insertions(+), 466 deletions(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am62x-phyboard-lyra.dtsi diff --git a/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts index 50d2573c840e..4fa5efdffcd7 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts @@ -7,477 +7,12 @@ * https://www.phytec.com/product/phyboard-am62x */ -#include -#include -#include -#include #include "k3-am625.dtsi" #include "k3-am62-phycore-som.dtsi" +#include "k3-am62x-phyboard-lyra.dtsi" / { compatible = "phytec,am625-phyboard-lyra-rdk", "phytec,am62-phycore-som", "ti,am625"; model = "PHYTEC phyBOARD-Lyra AM625"; - - aliases { - serial2 = &main_uart0; - serial3 = &main_uart1; - mmc1 = &sdhci1; - usb0 = &usb0; - usb1 = &usb1; - ethernet1 = &cpsw_port2; - }; - - can_tc1: can-phy0 { - compatible = "ti,tcan1042"; - #phy-cells = <0>; - max-bitrate = <8000000>; - standby-gpios = <&gpio_exp 1 GPIO_ACTIVE_HIGH>; - }; - - hdmi0: connector-hdmi { - compatible = "hdmi-connector"; - label = "hdmi"; - type = "a"; - - port { - hdmi_connector_in: endpoint { - remote-endpoint = <&sii9022_out>; - }; - }; - }; - - keys { - compatible = "gpio-keys"; - autorepeat; - pinctrl-names = "default"; - pinctrl-0 = <&gpio_keys_pins_default>; - - key-home { - label = "home"; - linux,code = ; - gpios = <&main_gpio1 23 GPIO_ACTIVE_HIGH>; - }; - - key-menu { - label = "menu"; - linux,code = ; - gpios = <&gpio_exp 4 GPIO_ACTIVE_HIGH>; - }; - }; - - sound { - compatible = "simple-audio-card"; - simple-audio-card,name = "phyBOARD-Lyra"; - simple-audio-card,widgets = - "Microphone", "Mic Jack", - "Headphone", "Headphone Jack", - "Speaker", "External Speaker"; - simple-audio-card,routing = - "MIC3R", "Mic Jack", - "Mic Jack", "Mic Bias", - "Headphone Jack", "HPLOUT", - "Headphone Jack", "HPROUT", - "External Speaker", "SPOP", - "External Speaker", "SPOM"; - simple-audio-card,format = "dsp_b"; - simple-audio-card,bitclock-master = <&sound_master>; - simple-audio-card,frame-master = <&sound_master>; - simple-audio-card,bitclock-inversion; - - simple-audio-card,cpu { - sound-dai = <&mcasp2>; - }; - - sound_master: simple-audio-card,codec { - sound-dai = <&audio_codec>; - clocks = <&audio_refclk1>; - }; - }; - - leds { - compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&leds_pins_default>, <&user_leds_pins_default>; - - led-1 { - gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "mmc0"; - }; - - led-2 { - gpios = <&gpio_exp 2 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "mmc1"; - }; - }; - - vcc_1v8: regulator-vcc-1v8 { - compatible = "regulator-fixed"; - regulator-name = "VCC_1V8"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - regulator-boot-on; - }; - - vcc_3v3_mmc: regulator-vcc-3v3-mmc { - compatible = "regulator-fixed"; - regulator-name = "VCC_3V3_MMC"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - regulator-boot-on; - }; - - vcc_3v3_sw: regulator-vcc-3v3-sw { - compatible = "regulator-fixed"; - regulator-name = "VCC_3V3_SW"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - regulator-boot-on; - }; -}; - -&main_pmx0 { - audio_ext_refclk1_pins_default: audio-ext-refclk1-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x0a0, PIN_OUTPUT, 1) /* (K25) GPMC0_WPn.AUDIO_EXT_REFCLK1 */ - >; - }; - - gpio_keys_pins_default: gpio-keys-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x1d4, PIN_INPUT, 7) /* (B15) UART0_RTSn.GPIO1_23 */ - >; - }; - - gpio_exp_int_pins_default: gpio-exp-int-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x244, PIN_INPUT, 7) /* (C17) MMC1_SDWP.GPIO1_49 */ - >; - }; - - hdmi_int_pins_default: hdmi-int-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x040, PIN_INPUT, 7) /* (N23) GPMC0_AD1.GPIO0_16 */ - >; - }; - - main_dss0_pins_default: main-dss0-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x0b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ - AM62X_IOPAD(0x0bc, PIN_OUTPUT, 0) /* (V24) VOUT0_DATA1 */ - AM62X_IOPAD(0x0e0, PIN_OUTPUT, 0) /* (V20) VOUT0_DATA10 */ - AM62X_IOPAD(0x0e4, PIN_OUTPUT, 0) /* (AA23) VOUT0_DATA11 */ - AM62X_IOPAD(0x0e8, PIN_OUTPUT, 0) /* (AB25) VOUT0_DATA12 */ - AM62X_IOPAD(0x0ec, PIN_OUTPUT, 0) /* (AA24) VOUT0_DATA13 */ - AM62X_IOPAD(0x0f0, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA14 */ - AM62X_IOPAD(0x0f4, PIN_OUTPUT, 0) /* (AA21) VOUT0_DATA15 */ - AM62X_IOPAD(0x0c0, PIN_OUTPUT, 0) /* (W25) VOUT0_DATA2 */ - AM62X_IOPAD(0x0c4, PIN_OUTPUT, 0) /* (W24) VOUT0_DATA3 */ - AM62X_IOPAD(0x0c8, PIN_OUTPUT, 0) /* (Y25) VOUT0_DATA4 */ - AM62X_IOPAD(0x0cc, PIN_OUTPUT, 0) /* (Y24) VOUT0_DATA5 */ - AM62X_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (Y23) VOUT0_DATA6 */ - AM62X_IOPAD(0x0d4, PIN_OUTPUT, 0) /* (AA25) VOUT0_DATA7 */ - AM62X_IOPAD(0x0d8, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA8 */ - AM62X_IOPAD(0x0dc, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA9 */ - AM62X_IOPAD(0x0fc, PIN_OUTPUT, 0) /* (Y20) VOUT0_DE */ - AM62X_IOPAD(0x0f8, PIN_OUTPUT, 0) /* (AB24) VOUT0_HSYNC */ - AM62X_IOPAD(0x104, PIN_OUTPUT, 0) /* (AC24) VOUT0_PCLK */ - AM62X_IOPAD(0x100, PIN_OUTPUT, 0) /* (AC25) VOUT0_VSYNC */ - >; - }; - - main_i2c1_pins_default: main-i2c1-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ - AM62X_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ - >; - }; - - main_mcan0_pins_default: main-mcan0-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x1dc, PIN_INPUT, 0) /* (E15) MCAN0_RX */ - AM62X_IOPAD(0x1d8, PIN_OUTPUT, 0) /* (C15) MCAN0_TX */ - >; - }; - - main_mcasp2_pins_default: main-mcasp2-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x070, PIN_INPUT, 3) /* (T24) GPMC0_AD13.MCASP2_ACLKX */ - AM62X_IOPAD(0x06c, PIN_INPUT, 3) /* (T22) GPMC0_AD12.MCASP2_AFSX */ - AM62X_IOPAD(0x064, PIN_OUTPUT, 3) /* (T25) GPMC0_AD10.MCASP2_AXR2 */ - AM62X_IOPAD(0x068, PIN_INPUT, 3) /* (R21) GPMC0_AD11.MCASP2_AXR3 */ - >; - }; - - main_mmc1_pins_default: main-mmc1-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x23c, PIN_INPUT_PULLUP, 0) /* (A21) MMC1_CMD */ - AM62X_IOPAD(0x234, PIN_INPUT_PULLDOWN, 0) /* (B22) MMC1_CLK */ - AM62X_IOPAD(0x230, PIN_INPUT_PULLUP, 0) /* (A22) MMC1_DAT0 */ - AM62X_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (B21) MMC1_DAT1 */ - AM62X_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (C21) MMC1_DAT2 */ - AM62X_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (D22) MMC1_DAT3 */ - AM62X_IOPAD(0x240, PIN_INPUT_PULLUP, 0) /* (D17) MMC1_SDCD */ - >; - }; - - main_rgmii2_pins_default: main-rgmii2-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */ - AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */ - AM62X_IOPAD(0x18c, PIN_INPUT, 0) /* (AC21) RGMII2_RD2 */ - AM62X_IOPAD(0x190, PIN_INPUT, 0) /* (AE22) RGMII2_RD3 */ - AM62X_IOPAD(0x180, PIN_INPUT, 0) /* (AD23) RGMII2_RXC */ - AM62X_IOPAD(0x17c, PIN_INPUT, 0) /* (AD22) RGMII2_RX_CTL */ - AM62X_IOPAD(0x16c, PIN_OUTPUT, 0) /* (Y18) RGMII2_TD0 */ - AM62X_IOPAD(0x170, PIN_OUTPUT, 0) /* (AA18) RGMII2_TD1 */ - AM62X_IOPAD(0x174, PIN_OUTPUT, 0) /* (AD21) RGMII2_TD2 */ - AM62X_IOPAD(0x178, PIN_OUTPUT, 0) /* (AC20) RGMII2_TD3 */ - AM62X_IOPAD(0x168, PIN_OUTPUT, 0) /* (AE21) RGMII2_TXC */ - AM62X_IOPAD(0x164, PIN_OUTPUT, 0) /* (AA19) RGMII2_TX_CTL */ - >; - }; - - main_uart0_pins_default: main-uart0-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */ - AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ - >; - }; - - main_uart1_pins_default: main-uart1-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x194, PIN_INPUT, 2) /* (B19) MCASP0_AXR3.UART1_CTSn */ - AM62X_IOPAD(0x198, PIN_OUTPUT, 2) /* (A19) MCASP0_AXR2.UART1_RTSn */ - AM62X_IOPAD(0x1ac, PIN_INPUT, 2) /* (E19) MCASP0_AFSR.UART1_RXD */ - AM62X_IOPAD(0x1b0, PIN_OUTPUT, 2) /* (A20) MCASP0_ACLKR.UART1_TXD */ - >; - }; - - main_usb1_pins_default: main-usb1-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */ - >; - }; - - user_leds_pins_default: user-leds-default-pins { - pinctrl-single,pins = < - AM62X_IOPAD(0x084, PIN_OUTPUT, 7) /* (L23) GPMC0_ADVn_ALE.GPIO0_32 */ - >; - }; -}; - -&cpsw3g { - pinctrl-names = "default"; - pinctrl-0 = <&main_rgmii1_pins_default>, <&main_rgmii2_pins_default>; -}; - -&cpsw_port2 { - phy-mode = "rgmii-rxid"; - phy-handle = <&cpsw3g_phy3>; -}; - -&cpsw3g_mdio { - cpsw3g_phy3: ethernet-phy@3 { - compatible = "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22"; - reg = <3>; - ti,clk-output-sel = ; - ti,rx-internal-delay = ; - ti,fifo-depth = ; - }; -}; - -&dss { - pinctrl-names = "default"; - pinctrl-0 = <&main_dss0_pins_default>; - status = "okay"; -}; - -&dss_ports { - #address-cells = <1>; - #size-cells = <0>; - - /* VP2: DPI/HDMI Output */ - port@1 { - reg = <1>; - - dpi1_out: endpoint { - remote-endpoint = <&sii9022_in>; - }; - }; -}; - -&main_i2c1 { - pinctrl-names = "default"; - pinctrl-0 = <&main_i2c1_pins_default>; - clock-frequency = <100000>; - status = "okay"; - - audio_codec: audio-codec@18 { - pinctrl-names = "default"; - pinctrl-0 = <&audio_ext_refclk1_pins_default>; - - #sound-dai-cells = <0>; - compatible = "ti,tlv320aic3007"; - reg = <0x18>; - ai3x-micbias-vg = <2>; - - AVDD-supply = <&vcc_3v3_sw>; - IOVDD-supply = <&vcc_3v3_sw>; - DRVDD-supply = <&vcc_3v3_sw>; - DVDD-supply = <&vcc_1v8>; - }; - - gpio_exp: gpio-expander@21 { - pinctrl-names = "default"; - pinctrl-0 = <&gpio_exp_int_pins_default>; - compatible = "nxp,pcf8574"; - reg = <0x21>; - interrupt-parent = <&main_gpio1>; - interrupts = <49 0>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - #interrupt-cells = <2>; - gpio-line-names = "", "GPIO1_CAN0_nEN", - "GPIO2_LED2", "GPIO3_LVDS_GPIO", - "GPIO4_BUT2", "GPIO5_LVDS_BKLT_EN", - "GPIO6_ETH1_USER_RESET", "GPIO7_AUDIO_USER_RESET"; - }; - - usb-pd@22 { - compatible = "ti,tps6598x"; - reg = <0x22>; - - connector { - compatible = "usb-c-connector"; - label = "USB-C"; - self-powered; - data-role = "dual"; - power-role = "sink"; - port { - usb_con_hs: endpoint { - remote-endpoint = <&typec_hs>; - }; - }; - }; - }; - - sii9022: bridge-hdmi@39 { - compatible = "sil,sii9022"; - reg = <0x39>; - - interrupt-parent = <&main_gpio0>; - interrupts = <16 IRQ_TYPE_EDGE_FALLING>; - pinctrl-names = "default"; - pinctrl-0 = <&hdmi_int_pins_default>; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - sii9022_in: endpoint { - remote-endpoint = <&dpi1_out>; - }; - }; - - port@1 { - reg = <1>; - - sii9022_out: endpoint { - remote-endpoint = <&hdmi_connector_in>; - }; - }; - }; - }; - - eeprom@51 { - compatible = "atmel,24c02"; - pagesize = <16>; - reg = <0x51>; - }; -}; - -&main_mcan0 { - pinctrl-names = "default"; - pinctrl-0 = <&main_mcan0_pins_default>; - phys = <&can_tc1>; - status = "okay"; -}; - -&main_uart0 { - pinctrl-names = "default"; - pinctrl-0 = <&main_uart0_pins_default>; - status = "okay"; -}; - -&main_uart1 { - pinctrl-names = "default"; - pinctrl-0 = <&main_uart1_pins_default>; - /* Main UART1 may be used by TIFS firmware */ - status = "okay"; -}; - -&mcasp2 { - #sound-dai-cells = <0>; - - pinctrl-names = "default"; - pinctrl-0 = <&main_mcasp2_pins_default>; - - /* MCASP_IIS_MODE */ - op-mode = <0>; - tdm-slots = <2>; - - /* 0: INACTIVE, 1: TX, 2: RX */ - serial-dir = < - 0 0 1 2 - 0 0 0 0 - 0 0 0 0 - 0 0 0 0 - >; - tx-num-evt = <32>; - rx-num-evt = <32>; - status = "okay"; -}; - -&sdhci1 { - vmmc-supply = <&vcc_3v3_mmc>; - vqmmc-supply = <&vddshv5_sdio>; - pinctrl-names = "default"; - pinctrl-0 = <&main_mmc1_pins_default>; - disable-wp; - no-1-8-v; - status = "okay"; -}; - -&usbss0 { - ti,vbus-divider; - status = "okay"; -}; - -&usbss1 { - ti,vbus-divider; - status = "okay"; -}; - -&usb0 { - usb-role-switch; - - port { - typec_hs: endpoint { - remote-endpoint = <&usb_con_hs>; - }; - }; -}; - -&usb1 { - dr_mode = "host"; - pinctrl-names = "default"; - pinctrl-0 = <&main_usb1_pins_default>; }; diff --git a/arch/arm64/boot/dts/ti/k3-am62x-phyboard-lyra.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-phyboard-lyra.dtsi new file mode 100644 index 000000000000..e4633af87eb9 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am62x-phyboard-lyra.dtsi @@ -0,0 +1,475 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2022-2024 PHYTEC Messtechnik GmbH + * Author: Wadim Egorov + * + */ + +#include +#include +#include +#include + +/ { + aliases { + serial2 = &main_uart0; + serial3 = &main_uart1; + mmc1 = &sdhci1; + usb0 = &usb0; + usb1 = &usb1; + ethernet1 = &cpsw_port2; + }; + + can_tc1: can-phy0 { + compatible = "ti,tcan1042"; + #phy-cells = <0>; + max-bitrate = <8000000>; + standby-gpios = <&gpio_exp 1 GPIO_ACTIVE_HIGH>; + }; + + hdmi0: connector-hdmi { + compatible = "hdmi-connector"; + label = "hdmi"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&sii9022_out>; + }; + }; + }; + + keys { + compatible = "gpio-keys"; + autorepeat; + pinctrl-names = "default"; + pinctrl-0 = <&gpio_keys_pins_default>; + + key-home { + label = "home"; + linux,code = ; + gpios = <&main_gpio1 23 GPIO_ACTIVE_HIGH>; + }; + + key-menu { + label = "menu"; + linux,code = ; + gpios = <&gpio_exp 4 GPIO_ACTIVE_HIGH>; + }; + }; + + sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "phyBOARD-Lyra"; + simple-audio-card,widgets = + "Microphone", "Mic Jack", + "Headphone", "Headphone Jack", + "Speaker", "External Speaker"; + simple-audio-card,routing = + "MIC3R", "Mic Jack", + "Mic Jack", "Mic Bias", + "Headphone Jack", "HPLOUT", + "Headphone Jack", "HPROUT", + "External Speaker", "SPOP", + "External Speaker", "SPOM"; + simple-audio-card,format = "dsp_b"; + simple-audio-card,bitclock-master = <&sound_master>; + simple-audio-card,frame-master = <&sound_master>; + simple-audio-card,bitclock-inversion; + + simple-audio-card,cpu { + sound-dai = <&mcasp2>; + }; + + sound_master: simple-audio-card,codec { + sound-dai = <&audio_codec>; + clocks = <&audio_refclk1>; + }; + }; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&leds_pins_default>, <&user_leds_pins_default>; + + led-1 { + gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "mmc0"; + }; + + led-2 { + gpios = <&gpio_exp 2 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "mmc1"; + }; + }; + + vcc_1v8: regulator-vcc-1v8 { + compatible = "regulator-fixed"; + regulator-name = "VCC_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + vcc_3v3_mmc: regulator-vcc-3v3-mmc { + compatible = "regulator-fixed"; + regulator-name = "VCC_3V3_MMC"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + vcc_3v3_sw: regulator-vcc-3v3-sw { + compatible = "regulator-fixed"; + regulator-name = "VCC_3V3_SW"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; +}; + +&main_pmx0 { + audio_ext_refclk1_pins_default: audio-ext-refclk1-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x0a0, PIN_OUTPUT, 1) /* (K25) GPMC0_WPn.AUDIO_EXT_REFCLK1 */ + >; + }; + + gpio_keys_pins_default: gpio-keys-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x1d4, PIN_INPUT, 7) /* (B15) UART0_RTSn.GPIO1_23 */ + >; + }; + + gpio_exp_int_pins_default: gpio-exp-int-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x244, PIN_INPUT, 7) /* (C17) MMC1_SDWP.GPIO1_49 */ + >; + }; + + hdmi_int_pins_default: hdmi-int-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x040, PIN_INPUT, 7) /* (N23) GPMC0_AD1.GPIO0_16 */ + >; + }; + + main_dss0_pins_default: main-dss0-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x0b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ + AM62X_IOPAD(0x0bc, PIN_OUTPUT, 0) /* (V24) VOUT0_DATA1 */ + AM62X_IOPAD(0x0e0, PIN_OUTPUT, 0) /* (V20) VOUT0_DATA10 */ + AM62X_IOPAD(0x0e4, PIN_OUTPUT, 0) /* (AA23) VOUT0_DATA11 */ + AM62X_IOPAD(0x0e8, PIN_OUTPUT, 0) /* (AB25) VOUT0_DATA12 */ + AM62X_IOPAD(0x0ec, PIN_OUTPUT, 0) /* (AA24) VOUT0_DATA13 */ + AM62X_IOPAD(0x0f0, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA14 */ + AM62X_IOPAD(0x0f4, PIN_OUTPUT, 0) /* (AA21) VOUT0_DATA15 */ + AM62X_IOPAD(0x0c0, PIN_OUTPUT, 0) /* (W25) VOUT0_DATA2 */ + AM62X_IOPAD(0x0c4, PIN_OUTPUT, 0) /* (W24) VOUT0_DATA3 */ + AM62X_IOPAD(0x0c8, PIN_OUTPUT, 0) /* (Y25) VOUT0_DATA4 */ + AM62X_IOPAD(0x0cc, PIN_OUTPUT, 0) /* (Y24) VOUT0_DATA5 */ + AM62X_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (Y23) VOUT0_DATA6 */ + AM62X_IOPAD(0x0d4, PIN_OUTPUT, 0) /* (AA25) VOUT0_DATA7 */ + AM62X_IOPAD(0x0d8, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA8 */ + AM62X_IOPAD(0x0dc, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA9 */ + AM62X_IOPAD(0x0fc, PIN_OUTPUT, 0) /* (Y20) VOUT0_DE */ + AM62X_IOPAD(0x0f8, PIN_OUTPUT, 0) /* (AB24) VOUT0_HSYNC */ + AM62X_IOPAD(0x104, PIN_OUTPUT, 0) /* (AC24) VOUT0_PCLK */ + AM62X_IOPAD(0x100, PIN_OUTPUT, 0) /* (AC25) VOUT0_VSYNC */ + >; + }; + + main_i2c1_pins_default: main-i2c1-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ + AM62X_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ + >; + }; + + main_mcan0_pins_default: main-mcan0-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x1dc, PIN_INPUT, 0) /* (E15) MCAN0_RX */ + AM62X_IOPAD(0x1d8, PIN_OUTPUT, 0) /* (C15) MCAN0_TX */ + >; + }; + + main_mcasp2_pins_default: main-mcasp2-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x070, PIN_INPUT, 3) /* (T24) GPMC0_AD13.MCASP2_ACLKX */ + AM62X_IOPAD(0x06c, PIN_INPUT, 3) /* (T22) GPMC0_AD12.MCASP2_AFSX */ + AM62X_IOPAD(0x064, PIN_OUTPUT, 3) /* (T25) GPMC0_AD10.MCASP2_AXR2 */ + AM62X_IOPAD(0x068, PIN_INPUT, 3) /* (R21) GPMC0_AD11.MCASP2_AXR3 */ + >; + }; + + main_mmc1_pins_default: main-mmc1-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x23c, PIN_INPUT_PULLUP, 0) /* (A21) MMC1_CMD */ + AM62X_IOPAD(0x234, PIN_INPUT_PULLDOWN, 0) /* (B22) MMC1_CLK */ + AM62X_IOPAD(0x230, PIN_INPUT_PULLUP, 0) /* (A22) MMC1_DAT0 */ + AM62X_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (B21) MMC1_DAT1 */ + AM62X_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (C21) MMC1_DAT2 */ + AM62X_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (D22) MMC1_DAT3 */ + AM62X_IOPAD(0x240, PIN_INPUT_PULLUP, 0) /* (D17) MMC1_SDCD */ + >; + }; + + main_rgmii2_pins_default: main-rgmii2-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */ + AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */ + AM62X_IOPAD(0x18c, PIN_INPUT, 0) /* (AC21) RGMII2_RD2 */ + AM62X_IOPAD(0x190, PIN_INPUT, 0) /* (AE22) RGMII2_RD3 */ + AM62X_IOPAD(0x180, PIN_INPUT, 0) /* (AD23) RGMII2_RXC */ + AM62X_IOPAD(0x17c, PIN_INPUT, 0) /* (AD22) RGMII2_RX_CTL */ + AM62X_IOPAD(0x16c, PIN_OUTPUT, 0) /* (Y18) RGMII2_TD0 */ + AM62X_IOPAD(0x170, PIN_OUTPUT, 0) /* (AA18) RGMII2_TD1 */ + AM62X_IOPAD(0x174, PIN_OUTPUT, 0) /* (AD21) RGMII2_TD2 */ + AM62X_IOPAD(0x178, PIN_OUTPUT, 0) /* (AC20) RGMII2_TD3 */ + AM62X_IOPAD(0x168, PIN_OUTPUT, 0) /* (AE21) RGMII2_TXC */ + AM62X_IOPAD(0x164, PIN_OUTPUT, 0) /* (AA19) RGMII2_TX_CTL */ + >; + }; + + main_uart0_pins_default: main-uart0-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */ + AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ + >; + }; + + main_uart1_pins_default: main-uart1-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x194, PIN_INPUT, 2) /* (B19) MCASP0_AXR3.UART1_CTSn */ + AM62X_IOPAD(0x198, PIN_OUTPUT, 2) /* (A19) MCASP0_AXR2.UART1_RTSn */ + AM62X_IOPAD(0x1ac, PIN_INPUT, 2) /* (E19) MCASP0_AFSR.UART1_RXD */ + AM62X_IOPAD(0x1b0, PIN_OUTPUT, 2) /* (A20) MCASP0_ACLKR.UART1_TXD */ + >; + }; + + main_usb1_pins_default: main-usb1-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */ + >; + }; + + user_leds_pins_default: user-leds-default-pins { + pinctrl-single,pins = < + AM62X_IOPAD(0x084, PIN_OUTPUT, 7) /* (L23) GPMC0_ADVn_ALE.GPIO0_32 */ + >; + }; +}; + +&cpsw3g { + pinctrl-names = "default"; + pinctrl-0 = <&main_rgmii1_pins_default>, <&main_rgmii2_pins_default>; +}; + +&cpsw_port2 { + phy-mode = "rgmii-rxid"; + phy-handle = <&cpsw3g_phy3>; +}; + +&cpsw3g_mdio { + cpsw3g_phy3: ethernet-phy@3 { + compatible = "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22"; + reg = <3>; + ti,clk-output-sel = ; + ti,rx-internal-delay = ; + ti,fifo-depth = ; + }; +}; + +&dss { + pinctrl-names = "default"; + pinctrl-0 = <&main_dss0_pins_default>; + status = "okay"; +}; + +&dss_ports { + #address-cells = <1>; + #size-cells = <0>; + + /* VP2: DPI/HDMI Output */ + port@1 { + reg = <1>; + + dpi1_out: endpoint { + remote-endpoint = <&sii9022_in>; + }; + }; +}; + +&main_i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c1_pins_default>; + clock-frequency = <100000>; + status = "okay"; + + audio_codec: audio-codec@18 { + pinctrl-names = "default"; + pinctrl-0 = <&audio_ext_refclk1_pins_default>; + + #sound-dai-cells = <0>; + compatible = "ti,tlv320aic3007"; + reg = <0x18>; + ai3x-micbias-vg = <2>; + + AVDD-supply = <&vcc_3v3_sw>; + IOVDD-supply = <&vcc_3v3_sw>; + DRVDD-supply = <&vcc_3v3_sw>; + DVDD-supply = <&vcc_1v8>; + }; + + gpio_exp: gpio-expander@21 { + pinctrl-names = "default"; + pinctrl-0 = <&gpio_exp_int_pins_default>; + compatible = "nxp,pcf8574"; + reg = <0x21>; + interrupt-parent = <&main_gpio1>; + interrupts = <49 0>; + #gpio-cells = <2>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + gpio-line-names = "", "GPIO1_CAN0_nEN", + "GPIO2_LED2", "GPIO3_LVDS_GPIO", + "GPIO4_BUT2", "GPIO5_LVDS_BKLT_EN", + "GPIO6_ETH1_USER_RESET", "GPIO7_AUDIO_USER_RESET"; + }; + + usb-pd@22 { + compatible = "ti,tps6598x"; + reg = <0x22>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C"; + self-powered; + data-role = "dual"; + power-role = "sink"; + port { + usb_con_hs: endpoint { + remote-endpoint = <&typec_hs>; + }; + }; + }; + }; + + sii9022: bridge-hdmi@39 { + compatible = "sil,sii9022"; + reg = <0x39>; + + interrupt-parent = <&main_gpio0>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_int_pins_default>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + sii9022_in: endpoint { + remote-endpoint = <&dpi1_out>; + }; + }; + + port@1 { + reg = <1>; + + sii9022_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; + + eeprom@51 { + compatible = "atmel,24c02"; + pagesize = <16>; + reg = <0x51>; + }; +}; + +&main_mcan0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mcan0_pins_default>; + phys = <&can_tc1>; + status = "okay"; +}; + +&main_uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_uart0_pins_default>; + status = "okay"; +}; + +&main_uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_uart1_pins_default>; + /* Main UART1 may be used by TIFS firmware */ + status = "okay"; +}; + +&mcasp2 { + #sound-dai-cells = <0>; + + pinctrl-names = "default"; + pinctrl-0 = <&main_mcasp2_pins_default>; + + /* MCASP_IIS_MODE */ + op-mode = <0>; + tdm-slots = <2>; + + /* 0: INACTIVE, 1: TX, 2: RX */ + serial-dir = < + 0 0 1 2 + 0 0 0 0 + 0 0 0 0 + 0 0 0 0 + >; + tx-num-evt = <32>; + rx-num-evt = <32>; + status = "okay"; +}; + +&sdhci1 { + vmmc-supply = <&vcc_3v3_mmc>; + vqmmc-supply = <&vddshv5_sdio>; + pinctrl-names = "default"; + pinctrl-0 = <&main_mmc1_pins_default>; + disable-wp; + no-1-8-v; + status = "okay"; +}; + +&usbss0 { + ti,vbus-divider; + status = "okay"; +}; + +&usbss1 { + ti,vbus-divider; + status = "okay"; +}; + +&usb0 { + usb-role-switch; + + port { + typec_hs: endpoint { + remote-endpoint = <&usb_con_hs>; + }; + }; +}; + +&usb1 { + dr_mode = "host"; + pinctrl-names = "default"; + pinctrl-0 = <&main_usb1_pins_default>; +}; From patchwork Tue Jun 25 18:54:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garrett Giordano X-Patchwork-Id: 13711831 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 15F6FC2BBCA for ; Tue, 25 Jun 2024 18:54:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=64+QqwIWI0IP6rf2gquR58Zu6FCmlUXlrqroKPYe0l4=; b=FUfbnQqMbRXaY+c+4Arl/TBwqc V7tNzmxmxjMi208wYa2HAr4ZZE3a7J/jFjgYbNDPosdaKRwrEw8CGyQfVs3vvsCaAxH4zUpGaDfpA TFxZtTSoXtLgRoNc+p1bk1Gdz5s8HjLMD+UpjHuNuoWZ+buw2oXX6WvGfAtDDNx7REfkFsVJd8n1M qjmHrT1+HRRR9vX/FFuT57MMFEZDuQvDnJrnBzjGGH1gJxkIH2u3RqPV88X9pQhiNUfv/Sdho2iE8 6X0BAOL7VYyYK6i8AsBJORvIdTDBmv3jG8yDHok7w0AXK9mIC8uSv5KGitlmYTwAOGurF6VZg8sWf Idf2ZIdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMBJP-00000004AiI-1Jcc; Tue, 25 Jun 2024 18:54:39 +0000 Received: from mail-mw2nam04on20730.outbound.protection.outlook.com ([2a01:111:f403:240a::730] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMBJG-00000004Af4-1lSM for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 18:54:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O5RQOEU2x6KxWdDGm/zzbQBQm2Ck5YSzCa2U17U0HLWJSI4cEeqjNyAxs7b3az3tBk3mqhb7GwOaJqXHqhJhfjvDVD8hBq4uTmKCBEOZXW1YjGUz1ci77JVfhBdrFpu6Gjp7sZPL1YEp5MeThs8ffT00YA7k1u5IR3v+/XLnknMS7yoLPZplE1JmUSwP2fCHZ5Bi/w/mBLI+Pq4AEJL6+BOqy6n9FYatSL+UL9GfIphYNlrfXgaeGIr+OxNUWFwjl0nH6lyU1bfS7/ojlgtt1Rl8c6uOz9veH9nkRlAAj+p5AoAJbTA/Hb/M0oTgvXlZqMrs/rmC850UZzE6/g/rwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=64+QqwIWI0IP6rf2gquR58Zu6FCmlUXlrqroKPYe0l4=; b=fGRY5OBvY3g3UBb1o4L0s/EQXgJMLtyIOjLkMCWFce6o6XSkm/vVxz+kjJPugaHm3WPLQKdbKtl4Y8apDg3/pw9Qw/JO/keZboTaZ73yGgoSdP7kNoI/b/Ue7RSBkvp/OtmrkyQuve0OhCph/z4wN0AQXFqaze900zXRBgKJ0iyS2iOfoa+/xuHdZbSurZbMTAZkqfVnDqOj8DzbC1M7E4SQ783qWKvYodIfeoUBDU2DqzLAhfHuZKdIzHZ9RJVZHcngpO8yD8qlqcKfPfs9C/lL8mwGwK8fhQ+J6g6Eg6DtYypkcakjGTvu81C+x9BkGhlLNQvOyO+xVB/FcZ9/eA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=phytec.com; dmarc=pass action=none header.from=phytec.com; dkim=pass header.d=phytec.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phytec.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=64+QqwIWI0IP6rf2gquR58Zu6FCmlUXlrqroKPYe0l4=; b=gMUdjh+6CNgdNzkwGJLAy0lcboEBLfrNT1CkB6Vv2b/HNIsuF0dLtHbdY/HeW8huMTmlpWATeDDlC6SHS+urklf4en4FI6O6gFSVqeWG71qmBOUP5DBRKLqc59xni0xJFEj3mHIZME9Vf1Pmh5schOee6nBM7pJGK13+rb+qSaQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=phytec.com; Received: from SJ2PR22MB4354.namprd22.prod.outlook.com (2603:10b6:a03:537::8) by PH0PR22MB3911.namprd22.prod.outlook.com (2603:10b6:510:2a0::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.29; Tue, 25 Jun 2024 18:54:19 +0000 Received: from SJ2PR22MB4354.namprd22.prod.outlook.com ([fe80::789c:e41e:1367:383d]) by SJ2PR22MB4354.namprd22.prod.outlook.com ([fe80::789c:e41e:1367:383d%3]) with mapi id 15.20.7698.025; Tue, 25 Jun 2024 18:54:19 +0000 From: Garrett Giordano To: nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, w.egorov@phytec.de Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 3/4] dt-bindings: arm: ti: Add bindings for PHYTEC AM62Ax based hardware Date: Tue, 25 Jun 2024 11:54:01 -0700 Message-Id: <20240625185402.1896623-3-ggiordano@phytec.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240625185402.1896623-1-ggiordano@phytec.com> References: <20240625185402.1896623-1-ggiordano@phytec.com> X-ClientProxiedBy: CH2PR16CA0021.namprd16.prod.outlook.com (2603:10b6:610:50::31) To SJ2PR22MB4354.namprd22.prod.outlook.com (2603:10b6:a03:537::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR22MB4354:EE_|PH0PR22MB3911:EE_ X-MS-Office365-Filtering-Correlation-Id: 6953cf97-114c-4d7c-a2a0-08dc95483824 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230038|1800799022|366014|7416012|376012|52116012|38350700012; X-Microsoft-Antispam-Message-Info: wsI4y+bi4qC/+r9nBtvvckRdMLDVb8ZbXvK/2C3BA1VTXgwOMUWsQrFU6ttRBQB5mqjPjsHXOE2h3V/3jJn8Xn+HmM4N8dxTpkm7rEIlJp9f+8WOpZnTiHx/GaZKlsdoYY0xfuZK+JcZDViyHA6W86lehx3U/WOsy4F2Y0mAi5fwJT++RP1qPE6po+oI3zkvyQrSBQ9DV9wcj4GDF+CmyLASOkJbHp/A+dWltPg0NNY06AMAsk58w59asV9N2kh72LFY8OFsQKuHL/RCbnSYDhcpPZlifpGRmf39XJmT6aXZlULPSCiidGT5baB7dhn8ONDbYfeaPzieCwon09tHZEI8De2BZxOsQnddJj7p/smkYwggeT2fPq0wDHAiEDBADALGr9PFvDLxHsn7hteRJ2pPtjg/yecHWekBDauoRLexqmFvo8X87SVletpe4LGtirQOEKbR8akw097EtzOxU2OCSBNcUAFK1+edtYI4JdKFEM8BBmu+ttbHmXo0xnBwVkrSmcx9Ry2B0kQymXRRs8V5g/IRNZ+PN9Fy6TCHXD5r/IqdsFYCRrIEVXJlxcLNsgcyFUus8dyh74s5LNgVhudObJovLawyaAS8SuuQxeQG+fdD20qMUS+G+of1X7yAxlpKZqG8dL+MhuHyrph98l3mLTtW3kcW8v0WeWdH00Nx+QeEjKU+b40iVqVGsIgjcEInkDDZZBLejvUG2t7ghYKbdgMtL+x04wO2wGFXYN4valQI15uHjDjngo9W1e3lEXLLrgcQS66iyx0GACfbWvTOH9Vp7rKsCaAmshSd53eKphu4U05ZWxAdoCU7J6YOY+sDTZWGmOB5Qfh9q//koe0qU/iFChJcwwR+4EyCJaRsctz0hTRI2cHYQMuonfBQwlfjz/dETfUW/SwbRhOLEFBaKYcKf7ZYqIUUaaExZahj9au8w1D+0PB8wA3N5lICbpxEDcZEHu9AaSoX77zSPd1R4Kujnhze0A44rLhgg/RDcj1OIngFiBfayjVgXcFe6Y3OPkxrTImmZgD1za83+ksikiuCqY8hd53f7nu+Bvc32vCvg96S+rMAf9vBx9vdaiZmu6IUG+SE8l9b8invzO8AMtt+E5DpbCc7k6wk9HeCoCaVRpILCoLgOg0PmLYk+dH/768XowijvwSzrXoD1WKf9WzJKPTTdnBMX5JoilyY6iKiDF/UY+uWHwEiIaEBW9JgG7lhaVmGtaG+70IctENm+GQhS3BEqeU4SwmSn7cHy3Qhgfe8D6GY4we1ZoTeFMY97J6MlyzDI+usGzQANM3gOle6USilJGrvXAdbOAm7DQtfbKX51OWuwASpEubx7RI1KEaaa2Qtf4N8Kcz/Hf/+QKSkDsaNAsa7cx7Aq8U= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR22MB4354.namprd22.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230038)(1800799022)(366014)(7416012)(376012)(52116012)(38350700012);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TxsXstRqsKjYbZbmshMQ1N+ulHbX8y2ueE+cNIxGRNI3aCX2FsbtQ7ZIDu4xaEqZwUrbLT8gjVApAZjS0attRQ+1BD4kGOF7MwxQrr5+y/n8innQjeG2OUvpHzr72msgGm/YISTNISwFDEPN2NKlvhXoJzacH+ekiBdHk3Py8Ii9ztzD+wgdxiF66S4nIX6rcqwRmJ/5ebwcX6kTohmcOKf9r4JWOadUDrrz+KofZyeQN0KJgKHv+3jYapXR1ibfxSM9LTo6unDn9GSpWua3KF6/79+0r0l4QvibVHisDuAmPbjSRLb1keChBJcxeXgEKA5V/CAmg3EM80pzIf2oTAUH5hL0pvdfefCZUwRqg27UExR0SYRagVBKlpFdHZOXGVWr0qvCjK3gKryPvvD+7LEyDfs2UV1GXN6Kjnh9lBfzAqsm8CWMZOi+tR2kpM8YAmkjDDVJsJycHyZdvYEqjz660UK3uUeFKVW5IfpwEDQuF4pyhwPMmXhNIeUx5xNd0p5llTUgYG602ke+hUmePzDFe9PqB7N6mPCyNcmW2t5bhJ622L5/QJNA256Y+0l37oEQCe2J4JW1JHDkfvpGEPrsctzXRUyNXl0XCUgsaeAC5tyUtjabFUQMByDCs4rPDbw2NLQxBBr67IzyyC8ZbypqtyP3XUaD9uRKzhVllGlYbSGCf3rd1vDPksafMHPf+n0eWSU0mmI4zOthP6x5RGSu8z5k7slMXUupxbCrcMfo5p+W0j+HbbkY/+EPIMl/xGbkfzi7I3d3wbI88DgKrXKln323sZhUf+PbXYwRauouyAGQuYPzoSJvJzngu4jOj3x1jveA+NMBLjcSjQ0gZShpxLBFcCyZH+iVrZlflhSBqYZuWk0ptHfhT42iITTl2hZ8hE4Nb1hMkt7XYaExecVamQZMxPnMwl12uqa8xZr+lk703LuzCJUcv6z8uTJ3LCuAFTwM2IaeeVoNNT6NgweLuVhS5jgHQ+qlDbnqsaV/AXPNOfkNCecnTBt7BUxKGtMdLR2sof2M2WvUQGwLEZYNWFsGDRQQbzDjbLjRzCyP0WiwNt1rHfJgaLiKlDApSVmvnmUl06Hv5ZTAixgeMw71D7wLaeDhpXOfYO6f+OvJUrqvCVe+vWSTrfZys3lrJEX5KTdIf6/+tpSt1rrjCgngExm2u7CsLhYD5tC33WjISO+I47yeF4PAA+H/m042suvSFS4gb4KKZz13XBa3+vQM98/YhpNJ+hku0wxDUuGWnWw5f2yX577qH+8kEIzXWUgoCNsFfatYBx3SEC7Re2bwIKbZ4JlXw+vPcfom7r/ZRp2rYaDbQhJuJ2BVUFzBMHbGevj7+LTJ8NR8VrQsaBmIVrJNhH7cmrHubV281I0cZzU8kPIwRwIXqgmKcRmleLe4TfmU9jZM3FuQIeBAQUhcU0ElnCmj4W8yT6NS5/bNn6cq6CL5dRCBiOzxht+BgZRRaacYqh+eIwDSlGDYl8j4imAoFnjstM1aB37SmyivYlJDB/G+F62lYPOY3DtATyOHpHfXzCAmSslnr+LeJP0zz9SHCEcRm3HlBJak0WLAgr18J+RSd9hGPXfFPpZh X-OriginatorOrg: phytec.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6953cf97-114c-4d7c-a2a0-08dc95483824 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR22MB4354.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2024 18:54:19.3663 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 67bcab1a-5db0-4ee8-86f4-1533d0b4b5c7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 501gBZs37bzhKXMajeoZVr8MFe5HrQjIXIcnqTp/R+1ixj4uWt686MxlmEfLFCJgXl3/1qQRzxMGDY4JzwZGGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR22MB3911 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_115430_489182_A34E0F77 X-CRM114-Status: UNSURE ( 8.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add devicetree bindings for AM62Ax based phyCORE-AM62A7 SoM and phyBOARD-Lyra RDK. Signed-off-by: Garrett Giordano Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/ti/k3.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml index 52b51fd7044e..4d9c5fbb4c26 100644 --- a/Documentation/devicetree/bindings/arm/ti/k3.yaml +++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml @@ -25,6 +25,12 @@ properties: - ti,am62a7-sk - const: ti,am62a7 + - description: K3 AM62A7 SoC PHYTEC phyBOARD-Lyra + items: + - const: phytec,am62a7-phyboard-lyra-rdk + - const: phytec,am62a-phycore-som + - const: ti,am62a7 + - description: K3 AM62P5 SoC and Boards items: - enum: From patchwork Tue Jun 25 18:54:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garrett Giordano X-Patchwork-Id: 13711833 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97640C2BBCA for ; Tue, 25 Jun 2024 18:55:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CeRMweAwVv68NYPh01dopHsPbUzhEI3qliwxY73QuHE=; b=SUYYLHKkV9hUTxa/ntmtBTvab+ BVeX2U1F50Z+rdShuQkVX+/OFoHT5+c9+yhuAw66obaO1bcZYk3sXsvtRt4bRRmmzCFGi/yamTOGk XsHc3pSvcMD54As3PzXRGC6KH9E4/wDxTPPB81iLa1t5PyPjquV6IBBlI3EJL5hWQM51nAXmJve5p MXr+yEAQOxoohlc9AKZYMXtgLuzANpocPUf8+w+Tz1W0jHyP9n1kCNxMJhpNKAcXzH7kVN70eyBFG gOsGKA4RpdKoyJYlGxalHw97aQJeUSLPS43Nt7juzMhNhh8sr1wK56y/2fQJzL5pYcI5+QszFqySY 4QDiNNPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMBJX-00000004AlB-2ZNP; Tue, 25 Jun 2024 18:54:47 +0000 Received: from mail-mw2nam04on20730.outbound.protection.outlook.com ([2a01:111:f403:240a::730] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMBJK-00000004Af4-2csi for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 18:54:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Im6GAVjnBrNhyj9ZT9x0ZVeAa9KXyU/RPQqCnTvqEaYqiwgzM/V/yjoxpJS4hCpL62KjYd2zo30rLQIPP0bAbgqb+GgBz3KZZvac5eDAsP3D9qQXgy371CJ97VzMhJ7awEmMP0lg7bf1c1O5A37eRTat2ett1i+IKpJGuVjB+xRZ1pDimJtjUZlokHZw2WFelBUYnFtzhUiTessYUtf2f+dRFz2hLioy76mxfHhskKLQ2UoHiYuIdPK+DjKm5Do1h52GXfvyBmbFWsKnqbsmG0DjufaaKMCMES/r4HCI6HdCbrogUqKaP24cW9M32V7MiIiAsWregisGKUe7w+AeDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CeRMweAwVv68NYPh01dopHsPbUzhEI3qliwxY73QuHE=; b=ocPGJEMHnZB8cWaZv0HhwixwUlJDbR2OG3GJRGbx3CbQyTzXLnzg7lSuhIjZ9Uqa3OOuPDGaLyFeWvMHC+mWnxXl4YEVvPhTsRY+ORrPFLx7YSTsZH3M0p1Rm1HMNFhc/NTZBf75DCyNXVE3uJuw0WPJxz+mk/ZK2ty+E04LS/bGT4sTDfNDTX2KLP/70YYRrJ64nophaXCTIcZZwGB/wAegq7ngwjgrRYEo5t46O1CNW07e6uwywUO7Wm9LFaPSEB1DImYCle4M3oLaHBRcXwUhVbwGgeANRoEjvZ9l2+omadAUlwuDbKdq8B4xnsZtlN8Q6cIH9r2dSM35T7XwTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=phytec.com; dmarc=pass action=none header.from=phytec.com; dkim=pass header.d=phytec.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phytec.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CeRMweAwVv68NYPh01dopHsPbUzhEI3qliwxY73QuHE=; b=QHnpEygVFJKBr86yM3uPNsA5ul66kTyO3B624fYCb/fMsONgULpm419v0Rs9qhtzAGY6MicFGttkTnXRTYa8PkXHqTMLoh5KHkL5m/wVqggh7EBIo1CX8q6CcNusD6RdpdNsBUCgQAzPHs8RLytAiTccc/68sTt9dj4EQW3bmIc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=phytec.com; Received: from SJ2PR22MB4354.namprd22.prod.outlook.com (2603:10b6:a03:537::8) by PH0PR22MB3911.namprd22.prod.outlook.com (2603:10b6:510:2a0::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.29; Tue, 25 Jun 2024 18:54:21 +0000 Received: from SJ2PR22MB4354.namprd22.prod.outlook.com ([fe80::789c:e41e:1367:383d]) by SJ2PR22MB4354.namprd22.prod.outlook.com ([fe80::789c:e41e:1367:383d%3]) with mapi id 15.20.7698.025; Tue, 25 Jun 2024 18:54:21 +0000 From: Garrett Giordano To: nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, w.egorov@phytec.de Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 4/4] arm64: dts: ti: Add basic support for phyBOARD-Lyra-AM62Ax Date: Tue, 25 Jun 2024 11:54:02 -0700 Message-Id: <20240625185402.1896623-4-ggiordano@phytec.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240625185402.1896623-1-ggiordano@phytec.com> References: <20240625185402.1896623-1-ggiordano@phytec.com> X-ClientProxiedBy: CH2PR16CA0021.namprd16.prod.outlook.com (2603:10b6:610:50::31) To SJ2PR22MB4354.namprd22.prod.outlook.com (2603:10b6:a03:537::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR22MB4354:EE_|PH0PR22MB3911:EE_ X-MS-Office365-Filtering-Correlation-Id: 1e7f7938-0943-4b9b-0113-08dc95483959 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230038|1800799022|366014|7416012|376012|52116012|38350700012; X-Microsoft-Antispam-Message-Info: JpRrLXo0OcJjovCOW3ygBYU3nXJJCONPEazera2WIWBA0vDGQZEVC9EuSBIfImambJWjfsrQTibSJWvB+orWTojmD0poyCRmzM97UzJ7EihHBA1n4NMI/OGIlhdpaMQ+9bpE0s6BUqFbs8xzMOeABY7fkjYDHnOvfOv48Fsf0px+gaqapnz5Mo/TAIZu4LUu/8b4DivQ2Ely7ZT1KWG733bO2J/Utu8u6l3zDh1JOUw/yUQ6Inx5gvNDc431f2jSjDrSKsB6oOYIVyv+zj642ZwXaNAbpa+074o+5m3LeJAmabT6zLWen3XRcqOOZKwP/mazhey26iM4uQtYn2GCLEbODtbiulzhl1aueLThwcFc0W8SnlxSq/0c0jUr2t+pFWy/t2Zg4kCDlGVrT+1Tl3DPxDiYmCmidGdmu0VE6x0LvweitUeltQAyyJHNSTIPJNkCP0msypkR1ajtt/yqBBS0PHLD8BeV12qZauFjjoftXz1h5r5azu81WK8Nh7hTBtrpZo9kZ23skMOvuLOW22iJgGgz1Zjs+5z+0/nxXITVzOmgC9PtJEQ69LRRCWr6gz4IMPxyRv/D6sRfwZiCNn3tgmqhbY1/6cfgqjerLUveuILh1nHxUvMLP9F1+b7omvlRCWiZllbtbbPNBYAySVZdVH9feqSWdrKoSdcUQ3AwuPmF3kSUDRhlt9paaXibKl/NzKHkJkDKj6PVe62RyXMXDIEkrvOaOgoYzkN/hdWT0uc+hUtdk1y1DW16ZFZJzttGDtvXzKg0TN/U6cns+OfAANvCDyOf3qRW3i/IRoWvvsFf/tgYfXBmt/7HNJMut4t8g2TWRnqcB4xSZZYza8P3niP0exTlWeVdSiqRyN/9Ro7/VXMnTwAtNkYiOmpYLcg+4PiDpusHJ/wzoTzULXpPFqyenzh3qZCbSRq2lfkjNIrMYnxGMMAHm15DRzYLYoh70GU+dGu+eHlZg+i5AZk0D+OEusDFo6OyckND5Ga4B1ixVRJW8F1TnC/6VKtnmqEnbW8aalFt9mp2dJzvIq7Yj7mGVWZtDrJ8qOdNoUKvoaWhZk1XZzmHVBpRnABCXyorcM6/wF9miYuZ1m9yWJyjLGYFvcXiduK0lA92j+JeifCsLMUAEz7KEuELwVdgcY7kthGmEZ5UiRfoKWRwMw5gg+lvUxnXKAGMeeNnIWWFxs8XKLwMVHhSBrL7vGaoK9dOYYpW3d3dwxSeek4CWYRYWWTpTAp2LMlKBW+7lDoafHzKa3g9W3PVh3EjYzA45a35kqGxuPF63rtU4cOOak2hM9g7fvsMkzmBrzaura39EnPnL8ytm2KjfpZVNXh5 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR22MB4354.namprd22.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230038)(1800799022)(366014)(7416012)(376012)(52116012)(38350700012);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oW42K/xGJ2ePZ4OEc+DV036cWqT7QXuDOBscu0pQgFyxbv89A2ieYmT80v5JdOTd1Gpfpnd/8KXF98SyCJ63UIhwEYzD7S17adgOmmWqxnY06bEP6VO64bVsSYG4Im/kD2iJNj8HDFK7zM1TnK6+lVWkwooWZeeNb3J3EsrQl6P+KYUx5qwZ2buknA3h6IaZ6zz9Pdk2hWn+PBASjHsqNpYi8d/TDnXkvRAXoo8LlDgRyzuDHrdTniJAryYhqUn679tBnCwqTWu6RHqMt9TGeGBMhdrG498E0OTGyf9Gm7+AuzgeLHEzh8LcQ+p7zpDB95YnMVLIGJEjrcALloN7uVTYklQQ3+slMfIkab+sM7YABk2MYPWDJzygtwLDbSwsWGhipSZEhfHmEy0LQI3HHs4mJ5GcndAGGQ5ulC66NOTQaiIq4nX2RouUZHEPKgLA2M2grBFy9lyVDdEOjHM2gVwm6R3BUk4xXi+RshEGoApB4e/V7Tn+0MyKvdHm9+QjdGyCWj5i1K7F+yozLk/65t7nmbnsUGHUEKEdTQasBvMO8iR8VfitRQQk8rGX5AkcXsVb2NgxhZUtc6qrXn/jayLjsS179DGVuwaTmHShNb1mccFhA3XolO1jduSKtXbAMeALhzW0G/VJIARmwAS7/uh2nj46EIyFPiPG+JVL43k4AJUanY+Xkx4Sln1ocjBzPQU7mIaHy5y5pwqtHBCGAwhWq3zp7cVS/40znDLtc9NmCjch4mVR8oxFivUs/y/9FhfN4tW2OtOH6cYVKqLLbkyfTV/Yr2anPl3cgtq+95OrGftOJ78eKZpEPSh7SUkY/LikL8fKoZBlyEcp2HbG9E5S9wfrldAD5yUQ8GADdswPjS5dZBvVW1cEnfW8KNuZamVnBeysb5VbUoQi+gfDsA4hmqJrXoxi3iKsSkIi5sRjYU4UGrq0+sWMYKMG0BQ6vuoI1aiU39Et7+wZUVr0XO5uKAFr4Vyycb1TCZhWx5pc6t2IWsEvEkMi9kumiV/nw/Bpy4QtvtRmyE0I7dudYrAO8NWIP19cIJcA0Z+Bdde4QXw1UgoUI+W/mkNQo4Q9E7m6d5bUTJgoaNv5dxTQK2lkrYKD+7bA0UlzAWO36o66xAdhHOQBAHd96M8cKZ/qH6tDTgur/nLrCqHII9fOOe8WMg0LW70paNoNS1heug+ew+hCHwsU3fWyZ3SNNcRdllB7SL7EfxuvtoY/q2mIZrrtQYG5k/hjaKdKFsAAgECthLZWU/HDp0pG9P6iI4xvGkpuy+1K8Mqa/gWxPGVBoqRxsIIKF4cn0a+TXWgFnyPM2yUMLb+pWX6xMAxJ3pilbjvrqwt4OxiFST4iE2c1+pQJGoQcsuaWqEwTh85Ejh8ZcC7EUb9f3k8Q7oq51u8Q8kzj/n1W/1T96Xg90VO6YEce5H2RSZKP+5EwcbZgHVQqssxhrz7IoPBfubp6hNwjYfPMAD0SxpVB2sLt+T7I698ZWZ/3LPmZHF73WKwirvd2FFykR0ByhQ5bjgT8DMPbLDMrea11Wc1I8gQLg4gCsnol+AHqgORBD+PeejysKICwzaw5ruELtg77LWwp0McQ X-OriginatorOrg: phytec.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1e7f7938-0943-4b9b-0113-08dc95483959 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR22MB4354.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2024 18:54:21.3944 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 67bcab1a-5db0-4ee8-86f4-1533d0b4b5c7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JBaM99LpQyu5vnRVczM+dW04woFYWm54aiaTOxxzu4KAbwtxi4kNmJ0mR+eFgnbUfo8Ih5V7IBBPEkph5AaaGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR22MB3911 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_115434_707165_730122BC X-CRM114-Status: GOOD ( 17.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The phyCORE-AM62Ax [1] is a SoM (System on Module) featuring TI's AM62Ax SoC. It can be used in combination with different carrier boards. This module can come with different sizes and models for DDR, eMMC, SPI NOR Flash and various SoCs from the AM62Ax family. A development Kit, called phyBOARD-Lyra [2] is used as a carrier board reference design with a mapper board being used to allow the phyCORE-AM62Ax to fit the phyBOARD-Lyra. Supported features: * Debug UART * SPI NOR Flash * eMMC * 2x Ethernet * Micro SD card * I2C EEPROM * I2C RTC * GPIO Expander * LEDs * USB * HDMI * USB-C * Audio For more details, see: [1] Product page SoM: https://www.phytec.com/product/phycore-am62a [2] Product page CB: https://www.phytec.com/product/phyboard-am62a Signed-off-by: Garrett Giordano --- arch/arm64/boot/dts/ti/Makefile | 2 + .../boot/dts/ti/k3-am62a-phycore-som.dtsi | 330 ++++++++++++++++++ .../dts/ti/k3-am62a7-phyboard-lyra-rdk.dts | 18 + 3 files changed, 350 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-am62a7-phyboard-lyra-rdk.dts diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 2c327cc320cf..cd6e14edbbea 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -27,6 +27,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk.dtb # Boards with AM62Ax SoC dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am62a7-phyboard-lyra-rdk.dtb # Boards with AM62Px SoC dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb @@ -173,6 +174,7 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \ # Enable support for device-tree overlays DTC_FLAGS_k3-am625-beagleplay += -@ DTC_FLAGS_k3-am625-phyboard-lyra-rdk += -@ +DTC_FLAGS_k3-am62a7-phyboard-lyra-rdk += -@ DTC_FLAGS_k3-am625-sk += -@ DTC_FLAGS_k3-am62-lp-sk += -@ DTC_FLAGS_k3-am62a7-sk += -@ diff --git a/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi new file mode 100644 index 000000000000..a5aceaa39670 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi @@ -0,0 +1,330 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2023 - 2024 PHYTEC America LLC + * Author: Garrett Giordano + * + * Product homepage: + * https://www.phytec.com/product/phycore-am62a + */ + +#include +#include +#include + +/ { + model = "PHYTEC phyCORE-AM62Ax"; + compatible = "phytec,am62a-phycore-som", "ti,am62a7"; + + aliases { + ethernet0 = &cpsw_port1; + gpio0 = &main_gpio0; + gpio1 = &main_gpio1; + i2c0 = &main_i2c0; + mmc0 = &sdhci0; + rtc0 = &i2c_som_rtc; + spi0 = &ospi0; + }; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&leds_pins_default>; + + led-0 { + color = ; + gpios = <&main_gpio0 13 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + function = LED_FUNCTION_HEARTBEAT; + }; + }; + + memory@80000000 { + device_type = "memory"; + /* 2G RAM */ + reg = <0x00000000 0x80000000 0x00000000 0x80000000>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* global cma region */ + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x00 0x24000000>; + alloc-ranges = <0x00 0xc0000000 0x00 0x24000000>; + linux,cma-default; + }; + + secure_tfa_ddr: tfa@9e780000 { + reg = <0x00 0x9e780000 0x00 0x80000>; + alignment = <0x1000>; + no-map; + }; + + secure_ddr: optee@9e800000 { + reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ + alignment = <0x1000>; + no-map; + }; + + wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9c900000 0x00 0x01e00000>; + no-map; + }; + }; + + vcc_5v0_som: regulator-vcc-5v0-som { + compatible = "regulator-fixed"; + regulator-name = "VCC_5V0_SOM"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + }; +}; + +&main_pmx0 { + leds_pins_default: leds-default-pins { + pinctrl-single,pins = < + AM62AX_IOPAD(0x034, PIN_OUTPUT, 7) /* (K20) OSPI0_CSN2.GPIO0_13 */ + >; + }; + + main_i2c0_pins_default: main-i2c0-default-pins { + pinctrl-single,pins = < + AM62AX_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (D17) I2C0_SCL */ + AM62AX_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (E16) I2C0_SDA */ + >; + }; + + main_mdio1_pins_default: main-mdio1-default-pins { + pinctrl-single,pins = < + AM62AX_IOPAD(0x160, PIN_OUTPUT, 0) /* (V12) MDIO0_MDC */ + AM62AX_IOPAD(0x15c, PIN_INPUT, 0) /* (V13) MDIO0_MDIO */ + >; + }; + + main_mmc0_pins_default: main-mmc0-default-pins { + pinctrl-single,pins = < + AM62AX_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (Y6) MMC0_CMD */ + AM62AX_IOPAD(0x218, PIN_INPUT_PULLDOWN, 0) /* (AB7) MMC0_CLK */ + AM62AX_IOPAD(0x214, PIN_INPUT_PULLUP, 0) /* (AA6) MMC0_DAT0 */ + AM62AX_IOPAD(0x210, PIN_INPUT_PULLUP, 0) /* (AB6) MMC0_DAT1 */ + AM62AX_IOPAD(0x20c, PIN_INPUT_PULLUP, 0) /* (Y7) MMC0_DAT2 */ + AM62AX_IOPAD(0x208, PIN_INPUT_PULLUP, 0) /* (AA7) MMC0_DAT3 */ + AM62AX_IOPAD(0x204, PIN_INPUT_PULLUP, 0) /* (Y8) MMC0_DAT4 */ + AM62AX_IOPAD(0x200, PIN_INPUT_PULLUP, 0) /* (W7) MMC0_DAT5 */ + AM62AX_IOPAD(0x1fc, PIN_INPUT_PULLUP, 0) /* (W9) MMC0_DAT6 */ + AM62AX_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AB8) MMC0_DAT7 */ + >; + }; + + main_rgmii1_pins_default: main-rgmii1-default-pins { + pinctrl-single,pins = < + AM62AX_IOPAD(0x14c, PIN_INPUT, 0) /* (AB16) RGMII1_RD0 */ + AM62AX_IOPAD(0x150, PIN_INPUT, 0) /* (V15) RGMII1_RD1 */ + AM62AX_IOPAD(0x154, PIN_INPUT, 0) /* (W15) RGMII1_RD2 */ + AM62AX_IOPAD(0x158, PIN_INPUT, 0) /* (V14) RGMII1_RD3 */ + AM62AX_IOPAD(0x148, PIN_INPUT, 0) /* (AA16) RGMII1_RXC */ + AM62AX_IOPAD(0x144, PIN_INPUT, 0) /* (AA15) RGMII1_RX_CTL */ + AM62AX_IOPAD(0x134, PIN_OUTPUT, 0) /* (Y17) RGMII1_TD0 */ + AM62AX_IOPAD(0x138, PIN_OUTPUT, 0) /* (V16) RGMII1_TD1 */ + AM62AX_IOPAD(0x13c, PIN_OUTPUT, 0) /* (Y16) RGMII1_TD2 */ + AM62AX_IOPAD(0x140, PIN_OUTPUT, 0) /* (AA17) RGMII1_TD3 */ + AM62AX_IOPAD(0x130, PIN_OUTPUT, 0) /* (AB17) RGMII1_TXC */ + AM62AX_IOPAD(0x12c, PIN_OUTPUT, 0) /* (W16) RGMII1_TX_CTL */ + >; + }; + + ospi0_pins_default: ospi0-default-pins { + pinctrl-single,pins = < + AM62AX_IOPAD(0x000, PIN_OUTPUT, 0) /* (L22) OSPI0_CLK */ + AM62AX_IOPAD(0x02c, PIN_OUTPUT, 0) /* (H21) OSPI0_CSn0 */ + AM62AX_IOPAD(0x038, PIN_OUTPUT, 0) /* (G20) OSPI0_CSn3 */ + AM62AX_IOPAD(0x00c, PIN_INPUT, 0) /* (J21) OSPI0_D0 */ + AM62AX_IOPAD(0x010, PIN_INPUT, 0) /* (J18) OSPI0_D1 */ + AM62AX_IOPAD(0x014, PIN_INPUT, 0) /* (J19) OSPI0_D2 */ + AM62AX_IOPAD(0x018, PIN_INPUT, 0) /* (H18) OSPI0_D3 */ + AM62AX_IOPAD(0x01c, PIN_INPUT, 0) /* (K21) OSPI0_D4 */ + AM62AX_IOPAD(0x020, PIN_INPUT, 0) /* (H19) OSPI0_D5 */ + AM62AX_IOPAD(0x024, PIN_INPUT, 0) /* (J20) OSPI0_D6 */ + AM62AX_IOPAD(0x028, PIN_INPUT, 0) /* (J22) OSPI0_D7 */ + AM62AX_IOPAD(0x008, PIN_INPUT, 0) /* (L21) OSPI0_DQS */ + >; + }; + + pmic_irq_pins_default: pmic-irq-default-pins { + pinctrl-single,pins = < + AM62AX_IOPAD(0x1f4, PIN_INPUT, 0) /* (D16) EXTINTn */ + >; + }; +}; + +&cpsw3g { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&main_rgmii1_pins_default>; +}; + +&cpsw_port1 { + phy-mode = "rgmii-rxid"; + phy-handle = <&cpsw3g_phy1>; +}; + +&cpsw3g_mdio { + pinctrl-names = "default"; + pinctrl-0 = <&main_mdio1_pins_default>; + + cpsw3g_phy1: ethernet-phy@1 { + compatible = "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22"; + reg = <1>; + ti,clk-output-sel = ; + ti,rx-internal-delay = ; + ti,fifo-depth = ; + }; +}; + +&fss { + status = "okay"; +}; + +&main_i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c0_pins_default>; + clock-frequency = <400000>; + status = "okay"; + + pmic@30 { + compatible = "ti,tps65219"; + reg = <0x30>; + buck1-supply = <&vcc_5v0_som>; + buck2-supply = <&vcc_5v0_som>; + buck3-supply = <&vcc_5v0_som>; + ldo1-supply = <&vdd_3v3>; + ldo2-supply = <&vdd_1v8>; + ldo3-supply = <&vcc_5v0_som>; + ldo4-supply = <&vcc_5v0_som>; + + pinctrl-names = "default"; + pinctrl-0 = <&pmic_irq_pins_default>; + interrupt-parent = <&gic500>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + ti,power-button; + system-power-controller; + + regulators { + vdd_3v3: buck1 { + regulator-name = "VDD_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + vdd_1v8: buck2 { + regulator-name = "VDD_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + vdd_lpddr4: buck3 { + regulator-name = "VDD_LPDDR4"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + regulator-boot-on; + regulator-always-on; + }; + + vddshv5_sdio: ldo1 { + regulator-name = "VDDSHV5_SDIO"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-allow-bypass; + regulator-boot-on; + regulator-always-on; + }; + + vddr_core: ldo2 { + regulator-name = "VDDR_CORE"; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; + regulator-boot-on; + regulator-always-on; + }; + + vdda_1v8: ldo3 { + regulator-name = "VDDA_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + vdd_2v5: ldo4 { + regulator-name = "VDD_2V5"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; + + eeprom@50 { + compatible = "atmel,24c32"; + pagesize = <32>; + reg = <0x50>; + }; + + i2c_som_rtc: rtc@52 { + compatible = "microcrystal,rv3028"; + reg = <0x52>; + }; +}; + +&main_gpio0 { + status = "okay"; +}; + +&main_gpio1 { + status = "okay"; +}; + +&main_gpio_intr { + status = "okay"; +}; + +&ospi0 { + pinctrl-names = "default"; + pinctrl-0 = <&ospi0_pins_default>; + status = "okay"; + + serial_flash: flash@0 { + compatible = "jedec,spi-nor"; + reg = <0x0>; + spi-tx-bus-width = <8>; + spi-rx-bus-width = <8>; + spi-max-frequency = <25000000>; + cdns,tshsl-ns = <60>; + cdns,tsd2d-ns = <60>; + cdns,tchsh-ns = <60>; + cdns,tslch-ns = <60>; + cdns,read-delay = <0>; + }; +}; + +&sdhci0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mmc0_pins_default>; + disable-wp; + non-removable; + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-phyboard-lyra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-phyboard-lyra-rdk.dts new file mode 100644 index 000000000000..3b93409b23e7 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am62a7-phyboard-lyra-rdk.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2023 - 2024 PHYTEC America LLC + * Author: Garrett Giordano + * + * Product homepage: + * https://www.phytec.com/product/phyboard-am62a + */ + +#include "k3-am62a7.dtsi" +#include "k3-am62a-phycore-som.dtsi" +#include "k3-am62x-phyboard-lyra.dtsi" + +/ { + compatible = "phytec,am62a7-phyboard-lyra-rdk", + "phytec,am62a-phycore-som", "ti,am62a7"; + model = "PHYTEC phyBOARD-Lyra AM62A7"; +};