From patchwork Fri Jan 12 17:12:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 762253 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) (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 24100175A3; Fri, 12 Jan 2024 17:12:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="PjMGV14W" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O4OtyS4jjMfrkKkspchN3S45uGTK+h+0PWYb90mjXi6sknnLd9yxcYLlnZ+oAcYWOjI4vdnOZ9Wus3HuZdazcwxEb6LAYX8wEoXSxPhbxQtdV2rT2sOODPT08iXIAGS0BEh3YOPaWzyFjmy8ChKXZZ+iktOLw915D7ZBcqtCNklDBvc4d0UisYZdpjFp8kbTF6Pf+tLmGRiMuTi3+Cq0dQ7XHxHqAxivSQ6j0OzwQxWloH77+Pyi0bubQNPWMYG+ujIu+lH/oK7Xqyv+LHiwaq5AJvKaGWJZBNt+lND21Uw13669enFGlfmSYmO6K30vXlps7NUrkTZcRU4qusb17g== 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=5xhAhy9Ne3mpZiRcpteoPWTmLUCCCBx9qs/C00AWeT8=; b=XB/UVLpMzsHIewGQPKS4ZJQH6f9ZKMCnLLgHVNZOEG6fQWOwJ+xqF/A5L2klRo2rUB36xzN7FivgnSkPEhSI3BX12fxoemWzbUTrggawQE88vaDjqqnk3YpeX/ZMCxb7BojV/g12efJiZxezDwrsKExup0KkteJKnnxjuOL3vpVNCcZbRC77+sZL4X6q16NX6FX9EmwnAPTuBBIt44N1QM6ClQPIe/wsy91Ib55naLXfYJAv/sGsRxlDlkQubYkIk+1y1VzZBHdGToJQgnRfytH8IxMsWYcJt0UlMPWsS/C7kJ0jgnCZP2nzKzbs4AfbavrC0BJWAwf/fakqh75vXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5xhAhy9Ne3mpZiRcpteoPWTmLUCCCBx9qs/C00AWeT8=; b=PjMGV14W6oD9IkVUXt6InExr6mRJIxnv0AFA0zD1PEp0KMcQ75vIBwduWRK3hT8CBd36v/94z6dlhxBFaLfaduThDQrfvjaKE6mJvkn4XLWbGYOy7ZLrh/Al/0ewPWXWQEderkjwQmaMYrAI4rzglg0LunHG8cQQ2KLq/5vLomc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by AS8PR04MB7846.eurprd04.prod.outlook.com (2603:10a6:20b:2a0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19; Fri, 12 Jan 2024 17:12:40 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d%7]) with mapi id 15.20.7181.020; Fri, 12 Jan 2024 17:12:40 +0000 From: Josua Mayer Date: Fri, 12 Jan 2024 18:12:26 +0100 Subject: [PATCH v2 1/5] dt-bindings: arm: ti: Add bindings for SolidRun AM642 HummingBoard-T Message-Id: <20240112-add-am64-som-v2-1-1385246c428c@solid-run.com> References: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> In-Reply-To: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0098.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::8) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|AS8PR04MB7846:EE_ X-MS-Office365-Filtering-Correlation-Id: c3ccceb1-d61f-4385-9d5f-08dc1391aeb8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Cm0fXe9vFCugbmgWOwmiSNduPxbsi2tWQQ0SrqfbUzitdlYJsetHqRYCnIvEUa7jJNHnYpTzUEJ1TF+KFPodWoM08iqm4ubf4EuLnl/Ty3f/PqSs6zrFibY11D8TyJia/GSw49p4w1CMMwFxMdSreQPTLTPCaYfewInK8gjlonI66C1Q6YFq/EcD5tqc/HDusNjgYtq+4akJBp9qDZn/0XNdqnq96Ut/EZiit8o0lP0v2+U0c8XCArxFwxn78MtEQ3eFFwcJt48DiB62bgfaN/MiS/WxOXwwsricZB3ZP52EmzmibjG4prdqA5tRiD/9wRpB/XM3wiaJ42ntEM0u/d5ur2qcxbiLYwBO8MiEGHrIrrVjnWYwUTPkkdcowWu7V20LeeNh87tVzRqZB0xi+qFAN7zBOF9ZmKegPXjBkimd+riWhzplYP2+P4svt7kvQJSbkDdViQCxZgxN5C1M5l6fk/aqEENQBiwmywqs8TreymLLmuO2XqPNGScWIKZBj/mzYV+pQxrs75Bfg9KcaicxUqSgLG1UJiSX5GRzghj8GVAmrdzU7QoUKp5Gx5Uc0NzdLxCZWZ1fnDR3FMoPWW3Hpt/aOw00Qhj2wy1/WH+nyjBgbMTJ6hAG9gy916WT X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8963.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(396003)(39840400004)(366004)(376002)(346002)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(4326008)(36756003)(2616005)(26005)(5660300002)(6512007)(8936002)(8676002)(41300700001)(478600001)(2906002)(4744005)(7416002)(86362001)(6666004)(38100700002)(6506007)(6486002)(66476007)(316002)(66556008)(54906003)(66946007)(110136005)(38350700005)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?y3WSEz/jEwc67boedGBIXVnRhmRj?= =?utf-8?q?zsXs0eeojnBzXaJpwgucSKE+R/1Su14+0xQtOy4Z7kAb26hkUpF0HiEIX4POQAPvF?= =?utf-8?q?H8TJpAKITGM0ASl3zZSEPc0In+K3EKTey0on7yeE3SfKPpxKx7E3/0uBfXwNIRpEm?= =?utf-8?q?AaBNgFiIFZfUhAe8iFwlbyk1JtwPhVQKMYC4N5/BU7AFNod0kzdVKjz2dlGMpYaXc?= =?utf-8?q?uxDvJVbvz/CqmVIQbCCZecf5nDDVBCRPbACDk05D10cy0fkPv5O3suyNHPF6ybpMc?= =?utf-8?q?L8TIoLzfFnGo+UHkXuhGHqWum8gVCME5oD7zY2Xu+gVJ9ygFU25alfVJpwle1gau8?= =?utf-8?q?GNuaEDBRKz9XhTTNLIm6Z5ZYViWfUE8ctr/NhDY60ZYiLM3TKefadJq97vyfaC5lx?= =?utf-8?q?GsO77cYBBeZPVD4IQIh/gQRil2dpPSo9k+uNlTr2o04vtBrbyOIYmOmJQYBhJar5i?= =?utf-8?q?GlG525OGIKfCly+dxBx6iXv/2qjjVFMZ6aZAEBsmC4yWHZaJfDaznPqyuEssVWz72?= =?utf-8?q?x+bq9FkcaBengRVf1JSN1OnwR+6HLRqGjHSeh8r6bi+MjxvkTLNKOvJgjT0JpAsQg?= =?utf-8?q?bTOKLE3P15siLq2iIjdvo6CYsH7mW5SjvbGGV71gdvTy4wd+AnnpbOnKtPO2NO1mR?= =?utf-8?q?RqMXeqdZmxV58swdIduzoHEknlnmhRTcJepzHIojf1rABJ52dj7rln744JLx510iO?= =?utf-8?q?OW+iADzlge8aty3tlWiSnmRKzl+UJhIJZpKOK0UsT97vwV6vuUQ6F+HfHSgX0A27f?= =?utf-8?q?Jxjdn+MsuAAcPAIeBAZDDxm35ivBK6sWJxQt4Y75OaJtHgUzTeUgfiZNOhMyZUB6Z?= =?utf-8?q?fovf/QWVtq599Pt2weq2QIv/G7xGr8E+0tNPxbY9rRCQ+FR6tsTPSHqzqN7K/VHn1?= =?utf-8?q?xlUXu8Y6SHwJONzCtjcsf5nxWIxMG53miUA6QASsCd/qkyxLLS7uxxlB9H0/xoHVX?= =?utf-8?q?f7M1gH+tdfKX17nTm6waRyCgRNAhEzem5C7kbwGuh2jd94FwdRkMWddchxPQV/JZi?= =?utf-8?q?O/E7zmIhpjGX+hPhmMUfBAe6RflliwaJuEG4yKetb2zd8iOxVsX137wmZ85WGNb5A?= =?utf-8?q?3IToMAVXSBiol16lS31tMi26Bakm1nYJNPLyFOJjy77mDu7X2dBqlDGUV96Qvju+9?= =?utf-8?q?ABhfF0cqGYfKDBDQWu2BOVoV7J8VOCp/nEpSHdGn5zZQ/jaoPe8/5Ymm4GxwcoWQO?= =?utf-8?q?/a5UKvbZYyX65WtMnvKGlDsTYnjPVARU1U6BBBqElR69QES5rsi6DM8hcpbHd+E6V?= =?utf-8?q?2wZ3ohsduGRS5YERU9/xPFujfyx24z9Oy8AJahtsLxA6dJ/wdnrTh3shdbAOAwnUr?= =?utf-8?q?4LHIYsGZvgMqYSMTUlFWW0jRmofPGQ6tiTCK+sUraCFfWVxwngtYdxjYS7AhCxreC?= =?utf-8?q?mgG5ESGwJmWdb/mYtDfMI8MYddJVSYvkJIIedqszEKT9ftMZ0AfXOxzNI/fVSM0/h?= =?utf-8?q?UZbTPFWUcPSIivIpj2a3idDPoZDYVAlYk/lYCNh5cPRzbb6/Z2a0xwk7L8L1EHI5Z?= =?utf-8?q?NRjuJRMgxmZl?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3ccceb1-d61f-4385-9d5f-08dc1391aeb8 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 17:12:40.4082 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: dYSkMy2tRSDnGhyNxoWiUlQp4qLpFBFMeD5fsmtNImpXz5GrBPNYbBY7x7xcJyzfOhxhPCLlUnOO9YIwXzALdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7846 Add bindings for SolidRun AM642 HummingBoard-T Board, which is the evaluation board for SolidRun AM642 SoM. Signed-off-by: Josua Mayer Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/ti/k3.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml index 03d2a0d79fb0..b9f2a8d36874 100644 --- a/Documentation/devicetree/bindings/arm/ti/k3.yaml +++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml @@ -85,6 +85,13 @@ properties: - const: tq,am642-tqma6442l - const: ti,am642 + - description: K3 AM642 SoC SolidRun SoM based boards + items: + - enum: + - solidrun,am642-hummingboard-t + - const: solidrun,am642-sr-som + - const: ti,am642 + - description: K3 AM654 SoC items: - enum: From patchwork Fri Jan 12 17:12:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 762868 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) (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 1D1651AABE; Fri, 12 Jan 2024 17:12:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="KbRkycci" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hvWvrYU63e+RMvmJo6Ie6S550yYvyt4QTNIah9lcAtfmia4TufrGE99LwVUadWPlrFkl/yh0itmHvMaEN4BqgzW5thfo9/PDsDwRk5S+8v3XjozHLMhjsCNzCWBERKR8QyttM7C65vbNN5Hx6G3uxjDHj7RCs69sRSqQ1Ue1sd29tzjaPHH7/dE2SvZAg9kaNFzP9AGaSsfIi/uDNgR+VFCJpuhkAv5RAniYeyxk3ImnGyTyDKnlSkrCVWyWUgR34jB6X0g+N/iUQAyjGTy34Z5MkradOhIAzQT5lyTBKYBTMTO1rUJUHfS0XF8/UjPTs+SUtnGOlGsPEeTS2sHF3w== 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=BDSNKZILwea1n/vHFeVlvORmTOvg96tgvZALVxEMZmc=; b=ZgAc97nruR+n8Cv1dqUjkwLBxB5NXpfaVyNy02jRp/yPHXP5i2zENNxPcc1nS8q7LYE+wVTOmFVxECY7OhIbmqxKVPUVWSyWSBdqs29tOewDHXrhMWFF//HzwtY982HzS/Hx0q0G4PC4/COEDioc34FWfrFpxFlPGo9m+SsOle+YGea1gdKhJaSTfD1E0FDYnwJDwzACKR58EOdVdPlDWs7mUwx1lH4P3DccSPoHtqDqshmSPMMLHijoWQfgQykRxFKSgn3xsV7k7NavM1wAHDMZvxt+X5rUTQOPB/u67Kppjc3YVQlbA1iMaW5RXB93BJG6iBVrAF2aXPISjhmSWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BDSNKZILwea1n/vHFeVlvORmTOvg96tgvZALVxEMZmc=; b=KbRkycciIxPpbIq0ElGb2n4A2nkoFnGQievUcs+L4qAXeO3e2zlLBcV2VgukWq8sx3W9rQY2+EyzPJ7fZD+jbyU2uHAoZzRinRTO2er3Msg9NSAv3CrVQOaJK75ydz51/1tKIoPDB2j/3NCc8qiwSC93egmkmUPPxGILGh/XDks= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by AS8PR04MB7846.eurprd04.prod.outlook.com (2603:10a6:20b:2a0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19; Fri, 12 Jan 2024 17:12:41 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d%7]) with mapi id 15.20.7181.020; Fri, 12 Jan 2024 17:12:41 +0000 From: Josua Mayer Date: Fri, 12 Jan 2024 18:12:27 +0100 Subject: [PATCH v2 2/5] dt-bindings: rtc: abx80x: convert to yaml Message-Id: <20240112-add-am64-som-v2-2-1385246c428c@solid-run.com> References: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> In-Reply-To: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0098.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::8) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|AS8PR04MB7846:EE_ X-MS-Office365-Filtering-Correlation-Id: 5fea5869-2e40-4e32-9aa9-08dc1391af15 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RP3Ww9Pi9mcLmJfczpyLD7XSCvrtrZTdfrjNzyr/7SLwfyKu540NTaUboZhfV0jFVXSFshW48/o1fJ+u/OUy/qAhiums1Ajh+Mle2h4A+OnehZI9/rg5kDCmeuiPvi3dvKsUYtMLuABnGhEiS61q95R3cYHHOS/Y8j4mFxRCGc99hNec5SPYmFnENOAwwbPzMR3Deu+cdeln34tcmzW7gtepNd1ixiu04Ha/8X6srSKThbnO7YRwcWbApZKPtkdHpJAJzAU3vzQoiqyba/96CsEbrfc2rsLrlkOiLabjAzh/9E/rR0RSeXJbaubSMs5qa7rOC2Dy1C639s4TMVM+Deq+yGdZDeF88rQ8fvCn9S45lXRhBtmYW5ULeoErLUqpCPTtX2H9v3llrpqHBniNI3zyuo2BPIbt9mNcuHCXyV8cIXntYwivXg2+ls2w9WJ6UN3kXTfDoekW5J+rrWqYm9f594+g7U8Xxhv1rjVvjHv5F2KvA+3A69k5QAHeo/QzjRPK8eEldH5QLR2CGqFjg+B92EJdUE+DhRmhvknlVKs+tkJ80L8CPuoPhK92onNIEtqasV5LL9vHM4fKX5ONqRwVW1VQqzuyfeQ4VP/GKAc= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8963.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(396003)(39840400004)(366004)(376002)(346002)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(4326008)(36756003)(2616005)(26005)(5660300002)(6512007)(8936002)(8676002)(41300700001)(478600001)(2906002)(7416002)(86362001)(6666004)(38100700002)(966005)(6506007)(6486002)(66476007)(316002)(66556008)(54906003)(66946007)(110136005)(83380400001)(38350700005)(107886003)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Lwst2IY6azEyjj06vVplsdI8Kwxf?= =?utf-8?q?BMiXEQXGhsFG/Q5HJL38IvAPYehvQpVCHidZZya8d2+X2igwdt9YlhF1x1VZ64SEl?= =?utf-8?q?+jvRkWTzEKcc2bDZ+qjrDhHdnq9AJEAz8o+jcD+n8RuDLw5B7hyXk/0snIrnEmXvQ?= =?utf-8?q?+KcBA53YImCWd7RU4viRFdaFFtMl55ahDMVFawEY6VDEzqQ61BS5ICTd3lBPM+TtB?= =?utf-8?q?+C/CVRLMFVvaNCQdFYaCssKpsYrQslDFNcDjYEqqXSZKPmTDKQjh82oqI6ZA0O+Eo?= =?utf-8?q?lNOaK6tz1YCJV2zk78rmV2x+10qPyzVoj+a7MeTbP/uFIpB4bqnW3IMenMnNcLzlD?= =?utf-8?q?9fWn9E96byCD0oY8v4K46k7gP21bvQBO9WC+ng7Pjk0BUGNNAsNIYUbD9VEhvCA3M?= =?utf-8?q?IaDVgiRqyRNF2Q5C/Kwv5GJhNs6OkNpTSoiqEyUCnaAhQ0vCGe3gebeF1kOINrMjz?= =?utf-8?q?uD039gkzNA4AMK40UJL+tE5q9ACL4bAZdqCZhQz635ZIqubBhoPcKu0lhIBzDCgdQ?= =?utf-8?q?GJl60MtMgq3TdYjktHYISzc/EiUHIGtH4QcDtFQz7rj2Zy2t2YhQR79LzWPTKlCei?= =?utf-8?q?29/yUsjOb3/5REnVK5cZl8/OIrHWQpQtyTI/KCVIVrTCz0U5S9HqyQWMfYTyDjd25?= =?utf-8?q?L2rPVFQQzLkULewZVNGfurW8DmXEBteeNO/g0PH8/X1PU1bX+hkTyMOjMRDIr/kfU?= =?utf-8?q?y4WsvudlmO6hjEJ5VzHr+81eIXpJXSQytu3AZo6kqJsxcVEtVs4lZhp5qNYCd12uA?= =?utf-8?q?WArLXxUPSyMWP25EYsAomQ1AQrZnVEO/bkVBq02dOqHgKPX+Hi044vEvkvO0z2MN8?= =?utf-8?q?CeR+hK3cbK3GP7zSlyTVtrn4eeadv79jIWaTJWvHejnT8YFkMbmWyADRvKf54cREI?= =?utf-8?q?rBS5YACt4KHxboq+cOgWDYOr03CHKPJ4s45AOdv3vO5DPNIY7e9PQM7HdaI7vEc9i?= =?utf-8?q?+ViWYtC1650PvPfKH7kRmYofRlZ5XDyqefOmmmd6ElEnwW7JPWxEsSBY0nPeFp9P8?= =?utf-8?q?VDnCg+9/f1ye3EhlpbIWhEH3MjR07TIUMAkC5t2GKPCJjEpU+0ZVSad3ke2rgkjyE?= =?utf-8?q?BFPhc7bMLwRWinLnDWvOvzwwsTM/TLFb5e3cjT7ytc5Y3zEn9+luccZvccjotVPwS?= =?utf-8?q?f9CUSX/PPiyrpE7ytsbRyuZnhf6zi8n2L2xZVF32STwK6eR7S1P8q0qgSSzGzAWJc?= =?utf-8?q?pNlAajmQGkLo5IniKjge+PvTRSM4OgFrW1HsbuTMcscq+Kclc7awlCHz2KTbiz6c0?= =?utf-8?q?LXVpFwchVNFjKlNzmTNFreidzp5D845aawqtbL22YNHKaRxKczL/tMqcbdeRnjBNE?= =?utf-8?q?pfqIQe09TwDfmK+GntiDmD46El6b8WzsWz3RU/IVgqyHVjOSBRk9eXSmLJKUuQHpP?= =?utf-8?q?RBu1QIpItTbyTkffzEQEg4N++kfcEFm7gDphWpYGLEWpJ8hnqBtjdfnsS2dtkaLo1?= =?utf-8?q?OceAH3xSitxmD4TexY/b40MgOlNK1himYZWjKyzB2rd6tWaTjLHnis6ppnjCYmnuS?= =?utf-8?q?0F89KLZvHHHw?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5fea5869-2e40-4e32-9aa9-08dc1391af15 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 17:12:40.9766 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: g1JT7IYjrIE2e02obtTM+Pfp3EdXE/2vGpR3CUBKG3XT5HVutSsGJ+QRhk/iTJe1KB3EgYmLcWe+0ZMIQ3Z0ew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7846 Convert the abracon abx80x rtc text bindings to dt-schema format. Additionally added "interrupts" property which was missing from text format, because abx80x and driver support them. Signed-off-by: Josua Mayer --- .../devicetree/bindings/rtc/abracon,abx80x.txt | 31 ------------ .../devicetree/bindings/rtc/abracon,abx80x.yaml | 56 ++++++++++++++++++++++ 2 files changed, 56 insertions(+), 31 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt b/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt deleted file mode 100644 index 2405e35a1bc0..000000000000 --- a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt +++ /dev/null @@ -1,31 +0,0 @@ -Abracon ABX80X I2C ultra low power RTC/Alarm chip - -The Abracon ABX80X family consist of the ab0801, ab0803, ab0804, ab0805, ab1801, -ab1803, ab1804 and ab1805. The ab0805 is the superset of ab080x and the ab1805 -is the superset of ab180x. - -Required properties: - - - "compatible": should one of: - "abracon,abx80x" - "abracon,ab0801" - "abracon,ab0803" - "abracon,ab0804" - "abracon,ab0805" - "abracon,ab1801" - "abracon,ab1803" - "abracon,ab1804" - "abracon,ab1805" - "microcrystal,rv1805" - Using "abracon,abx80x" will enable chip autodetection. - - "reg": I2C bus address of the device - -Optional properties: - -The abx804 and abx805 have a trickle charger that is able to charge the -connected battery or supercap. Both the following properties have to be defined -and valid to enable charging: - - - "abracon,tc-diode": should be "standard" (0.6V) or "schottky" (0.3V) - - "abracon,tc-resistor": should be <0>, <3>, <6> or <11>. 0 disables the output - resistor, the other values are in kOhm. diff --git a/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml new file mode 100644 index 000000000000..c80d4a46a044 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/abracon,abx80x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Abracon ABX80X I2C ultra low power RTC/Alarm chip + +maintainers: [] + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + anyOf: + - description: auto-detection from id register + const: abracon,abx80x + - const: abracon,,ab0801 + - const: abracon,,ab0803 + - const: abracon,,ab0804 + - const: abracon,,ab0805 + - const: abracon,,ab1801 + - const: abracon,,ab1803 + - const: abracon,,ab1804 + - const: abracon,,ab1805 + - const: microcrystal,rv1805 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + abracon,tc-diode: + description: + Trickle-charge diode type. + Required to enable charging backup battery. + anyOf: + - description: standard diode with 0.6V drop + const: standard + - description: schottky diode with 0.3V drop + const: schottky + + abracon,tc-resistor: + description: + Trickle-charge resistor value in kOhm. + Required to enable charging backup battery. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 3, 6, 11] + +required: + - compatible + - reg + +unevaluatedProperties: false From patchwork Fri Jan 12 17:12:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 762867 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) (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 EB41E175BA; Fri, 12 Jan 2024 17:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="Ne8LmKZ1" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gwkpY9nN2S6F8GS5IABVYYmuoOzc5pH+i3RH5Akc7K50twrnbPBlVq0MUqV9C6a32B4P10awqMsP19NM+IByfy7pJ8ymwWTRiWIP8rvlj3UnFi9F7diYtdui3s8XOMHXEX2nsoKmAPAyuAhLmKi2swJfpnN4RhwEaEAsbNTtvmZgWpMaNyy62t70ATH6X79XdqQXHNMjUmFZHBt67WUJhY0HDzrXfyzZ2hOgghl0/jUwhGZvCS/e4gvwu4dG+bMgIG8xW7SLtLkKccppMo+GJmn5ETtUUnVXWjZofazgI0dXa2AsjO0cZYT3oOSSJFeEp1oPWDNf36/tA8Tu2kynSA== 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=GDsVoQ8g3CQjqHclKbGCWLlS02/JOtQukIt6ZXijk5s=; b=YD11Bfkd4jVoHsX+uCXi00n51ei3nfAcqcMUurrnwn/E4oD3YbWThCmFKun9/M2cNN72VQKBk2W+Qi+7BGSjtwq6VFjbe9rVcYhhFlEDe85Lz52jFk2c3Yurss38eCw2XavcWy6fabfftzYetWqGlFfi0dnhb0Ly/34VCIrrPoIVs3EoYSH/UIBd0xjZDq+jGzNG7MwwpJ60e8TIQ3ubqFiANtQhhT6hpsI3XdeLSv8+1ZZiK5Ce2Dz+sl31i1RSRM5hLE3Bw9X+34D00KTXGAOv5mI0cNxf1gJaLZUk+7CWL8l9nlKQ9RpLq6khEkPGSP6/XaCKkFpW+kzD72RbAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GDsVoQ8g3CQjqHclKbGCWLlS02/JOtQukIt6ZXijk5s=; b=Ne8LmKZ15IpcAn/JqRalPITSq7VHb9yOsygx0DI5rtUTXtSJadm1yxDRqH409APqJFddCPhJ1r/QgCIHEuL8BgYraXdZRHH4zCBvMYCe4cMG2OwQ4gUFrCG1CcQj+r/OivG6bDxch0jLWSiPsnfp8/g+E4/C3tfNZuREhURSeUc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by AS8PR04MB7846.eurprd04.prod.outlook.com (2603:10a6:20b:2a0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19; Fri, 12 Jan 2024 17:12:41 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d%7]) with mapi id 15.20.7181.020; Fri, 12 Jan 2024 17:12:41 +0000 From: Josua Mayer Date: Fri, 12 Jan 2024 18:12:28 +0100 Subject: [PATCH v2 3/5] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Message-Id: <20240112-add-am64-som-v2-3-1385246c428c@solid-run.com> References: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> In-Reply-To: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer , Suman Anna , Grygorii Strashko , MD Danish Anwar X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0098.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::8) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|AS8PR04MB7846:EE_ X-MS-Office365-Filtering-Correlation-Id: c046c1e4-4bd7-4611-5ca8-08dc1391af77 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fGdpg/oBMspqqf6Y4NZm8aR4hPkRX5ZX5Lkaf7vGZmB9FWFQ5eUBWpEIZB4L94j4nlkt+LXezwVc7TgkXWRXvycumQrsDU2sakloMj+TF789wdac3DOq2ieLqYpe2lqg/mHMtrSR2xvenGgQ108WofkNXRYfhavI/IIBjN9ecM0Ljv7nGBa/CzTgjsnQQ+L3SHjj78VrmGu7chR1Yq3ID0VrFzVMZcBJSaHISpuIgsNWjlIQM4eG2cFbWeC8I/AJJX0AziuaIksVWXn/PKL0YjZaNfSC8rzkfvqNmGHn8widb+oZkgNbLUk26jUw61ox5WolrVTqFFe/dLT2Tyj96clhaIFqjXhH3a05AEZrOASdcssWx1hZdZvCQqCsYL7FLQ0B7D6X30nojVUNUq/MfVr3KIDCYp/OGTampSS2g/gtpyLKYeP5xQYc7Dzlaqt8P3FWdbym5vwyfp3a1f8bGZViufSBeBhTjeHO/BD7x+I0l2QqaiUH1fmhJRjXP036/mgSUSE+ql0y6Xa7LqMF7JH+ZI3AIeLD8K8CwKJSQtgaZvI3hoprDoXLFKchSmdQLn8y2r6wbtLI0BHOhWINFDyk8S1CB/bHBHXpetBpGsYUot4xgJXjJBNxd/jDD+Ko X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8963.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(396003)(39840400004)(366004)(376002)(346002)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(4326008)(36756003)(2616005)(26005)(5660300002)(6512007)(8936002)(8676002)(41300700001)(478600001)(2906002)(7416002)(86362001)(6666004)(38100700002)(6506007)(6486002)(66476007)(316002)(66556008)(54906003)(66946007)(110136005)(83380400001)(38350700005)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?QeNQO1pT4SDGuInKpCgfnAgXfb6x?= =?utf-8?q?aB/INUNb/w1YCoFkOEdNSqB3povNtXKK3jEwswD2fgmjV+4Rmov+u/TkRJOs6drXo?= =?utf-8?q?yqksdEebzrJgkkSK78HlKwcv0u9tymAz871YJCzzx2m4NJxPTgZFEqZAoIjrubWV1?= =?utf-8?q?EUQajalB5UlDa5BXA3HTWn3HzMz41ptmeJrsoT8I9bibUrgztCqDm03zCK2ovLfXL?= =?utf-8?q?dSB0/Ace/vRCuQqb+KZ5ITChi1x9SNnSRSCEx+xBuwT26L3kKsg14mRq4e+MZViG2?= =?utf-8?q?qNciERoHII4h6rLeoLSsYDMFkpP4akqX94KgSsQVTMQNlxRh/uSuW0sKTXODMIy17?= =?utf-8?q?ZB+k7F3BOe5I3iE3ykzeXz2TEdGPX1jz8z1FI/JHo+Jyd7MjVNlfn9gzRv6AvWStr?= =?utf-8?q?Daw8QqQTdZkPQHJYGiu8bEWy4vmMazN8VO4m6cXiEKe4wf6Ua0dsv+zuKQu7hP7Pn?= =?utf-8?q?KolJi7n3xL6GOeOMnXd8b8U89V1lzcEPyxik7mS5LndGAw/uRjGsVU4blFLQrccGW?= =?utf-8?q?iEyDl0WhRkC9kDAs3Q6CfYWRzo0aSgmUvK1FqNA6loJC4uYGjxAdU+qdZSu5WzfPs?= =?utf-8?q?Yjoh96qw0kOFOCThIYGTjYRLbFv0jWzkBM9D2gA8tgABBoCIZrg5YeG6kKBrOJwbU?= =?utf-8?q?lWCLxWJcl5ykHBZohPQJiVlG1QJsPB+JYxwu22PxWwBzj9csryDNiuVS152j5QnPM?= =?utf-8?q?fsBkIkJ5HSM1lA5SRK+gs1dCR62sJ0mn3zUVsj6rygmsgLllXbNRjdN1MBN8Onz9R?= =?utf-8?q?RVkdE7JUciJrY6xaKVvF0hwMsK1ptR3lKJ65efk03o9OdiEEjKqpUXQllc9qPRE3Q?= =?utf-8?q?t0JgqJvdDDyAPk4vD/0w9+lWEAgCofamXBm4XWK8mnTtvOhmD+C93OAegpV5+S3Hu?= =?utf-8?q?F9ac2Pl813WMXWfnLWqBysvuXUscdLt2LDxsQDonbH9hdCJXX11rfAeqnSSaOEnl6?= =?utf-8?q?TP7NeEMh9Y0JKf520PFovMIp/XRtCeAwXZCPx5dc78ObaQKYVJVrkyUQ55e9H+KXV?= =?utf-8?q?l0GMkxMlRxH0yLJpqKIeA4l1LtfoW9Km37MC/Kshow9SPWrfXXgK14zTOBZUbny4Z?= =?utf-8?q?Hs3znewse86vQEErDqeCBMSn6bOZ5Bj2qmAg5MGuSIhSwOp/9LZDkRlKj2cJxYk4p?= =?utf-8?q?49UjIwCeZrPLfGA9qCErUrZNQ7FsfL8SoRSbOxFenaviaEGMvge50ppMfunLx+QNS?= =?utf-8?q?Z8cSuSMv+dLFYerIhKX+cfXEuxbVSqHxUE3Z8YUr8znIhPDoLErXclQ904ACtBUEl?= =?utf-8?q?FeRlxdf+KKUjepkj2X1WoGRQ3a4WePpI4NiouRMsc8GsxH2wz9picMnaB6Ns92wyu?= =?utf-8?q?Ikl7A8AAPTj7VmcaHQzW42BFoB2rdlL1zVXZ15YuLAFu0Af/XJIiaJREMNogHvUaM?= =?utf-8?q?GjU56RBZgvTBWrcQVTRgLvFufp1XTDMjW4j29z1PA+H4nuYwoRkIJgLgI0VIWKA8p?= =?utf-8?q?8hNhzh97bbhk7YsEM9I26vzV92Ix0sk2Fn3DTrC5bLGg+7WaFVLFGyfOIb5tDzDkW?= =?utf-8?q?XxMtEEAOh49P?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c046c1e4-4bd7-4611-5ca8-08dc1391af77 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 17:12:41.5634 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 57bCnBiw9vy0RS4BJ3ib5jcaMo208nhDnr7FaLgVy5aWMLqmuFCeJ517scPj410amHoRozZjATw5xwZyDmRrRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7846 From: Suman Anna The ICSSG IP on AM64x SoCs have two Industrial Ethernet Peripherals (IEPs) to manage/generate Industrial Ethernet functions such as time stamping. Each IEP sub-module is sourced from an internal clock mux that can be derived from either of the IP instance's ICSSG_IEP_GCLK or from another internal ICSSG CORE_CLK mux. Add both the IEP nodes for both the ICSSG instances. The IEP clock is currently configured to be derived indirectly from the ICSSG_ICLK running at 250 MHz. Signed-off-by: Vignesh Raghavendra Signed-off-by: Grygorii Strashko Signed-off-by: Suman Anna Signed-off-by: MD Danish Anwar Signed-off-by: Josua Mayer --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index 0be642bc1b86..8130ee02a3d9 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1232,6 +1232,18 @@ icssg0_iepclk_mux: iepclk-mux@30 { }; }; + icssg0_iep0: iep@2e000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2e000 0x1000>; + clocks = <&icssg0_iepclk_mux>; + }; + + icssg0_iep1: iep@2f000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2f000 0x1000>; + clocks = <&icssg0_iepclk_mux>; + }; + icssg0_mii_rt: mii-rt@32000 { compatible = "ti,pruss-mii", "syscon"; reg = <0x32000 0x100>; @@ -1373,6 +1385,18 @@ icssg1_iepclk_mux: iepclk-mux@30 { }; }; + icssg1_iep0: iep@2e000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2e000 0x1000>; + clocks = <&icssg1_iepclk_mux>; + }; + + icssg1_iep1: iep@2f000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2f000 0x1000>; + clocks = <&icssg1_iepclk_mux>; + }; + icssg1_mii_rt: mii-rt@32000 { compatible = "ti,pruss-mii", "syscon"; reg = <0x32000 0x100>; From patchwork Fri Jan 12 17:12:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 762251 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2047.outbound.protection.outlook.com [40.107.15.47]) (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 A39C31AACF; Fri, 12 Jan 2024 17:12:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="AOIQaXLK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=idVmdZPPcUNRhT/952cue5gSx4R+I56vtReCQf7Qa2WbW5AwxCDJO1t8Nql816wgH+0YFw57HYflu89/hw4Du/PiUZ/ORCwMGqjjfysluEmV4QLTMQmX76sHLGgxthA8EZOVE1vxq0JiuMnMBEcjnrNZ4mv48suvUxfwO4dzC8U3AuJ5AqGi28YGQS6HILpfrxt3z8HLhYP25UCRWq7tT1fIY4MGdB+9RVKvV2FzEL+/NjiBZtMH3XKJrVjfZsSV7BBnSgKG5XJeqsvtblXTfX1f1mu6AbGAF9DlA2J/SMZ2tediawkf9miBOELXiiCzN3ohfA7MK6vPRZJyhzi80w== 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=b4tq37Gqmag4ORbnrZgdV0pHnthZ5M/jhqkNbnCS3RE=; b=LdrzLPjCuq6o1nLFoZAliqANQ8uy91eBa5M4YwZBYxzUpuRC5mMOUK2/2FOmkUiv2CSxsbtjdN5xwTXjUlVLRDIC3L7EfNQXWQd5oJQSHWbbVXgkC537RlyLZwVn36C8Vl1f/kNM+KWeGJfZLWFg+GBqcfYIduERGMpCBG/j4JZ5cvYNmXjmbe1zyoKT+/xya1RQ1gOAaNhNUCeeZtcEFjHP91lVWubyUCh5nLTwbwAPYzkHHaKIc8INAMp34WH3+XiUtHPucZdOi3JnGqkaPvxSd7+SDD3k69QEla9cMvWxnKdKun3v4seAjCck70U5KfveuyUfEGbOPi3ajeZ4kw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b4tq37Gqmag4ORbnrZgdV0pHnthZ5M/jhqkNbnCS3RE=; b=AOIQaXLKSxG7awpaQr0erDi7RSt5nLwGw1ou4ddh2wW7O8qNRYlXRgRMxe6e+LvQmw2+o0Qdizf64BuM+oZIcxDNbhX+vwhcg2YyL5YBVYV2F+XtfbZJTsUKRpOm+8qBvR5uTzLPDPEbWNoj65qkdNrzWZip0ymbyAkYJr+6FNg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DU2PR04MB9524.eurprd04.prod.outlook.com (2603:10a6:10:2f7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 17:12:42 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d%7]) with mapi id 15.20.7181.020; Fri, 12 Jan 2024 17:12:42 +0000 From: Josua Mayer Date: Fri, 12 Jan 2024 18:12:29 +0100 Subject: [PATCH v2 4/5] arm64: dts: add description for solidrun am642 som and evaluation board Message-Id: <20240112-add-am64-som-v2-4-1385246c428c@solid-run.com> References: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> In-Reply-To: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0098.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::8) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DU2PR04MB9524:EE_ X-MS-Office365-Filtering-Correlation-Id: c42dced0-74e3-4aee-32b3-08dc1391afcd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dV/B0glb8lpZbGH+Mtt1GXORzPAWoCiz6b+K/JCZeSVFkvQA9ZTmpL2ILoqSHekdX0frmW46ItxPEKx8DiRTfGm4m0vHXUJL3nWx3fb98p+fRxVINJRCFXH5bMxTbLpRImf6sVvCcrWDbYBHJqahKtZob7Yp2Bpm/kcKjjqLRmD37xELTteMzOgBgBAOnluH51+KULeV1rRAfONKwQPGgql87RFddRBxaQPJXP+4n7/Eu7+11xyBevJLoSKHj2YOZTt2RrUP9IeNo3lay3Iqav/oqY1MPCHdemJBB6pciCpH+4wlHc1fSYEvwC1U5NbwVUL3CkT6Dd/KvcTP9y9WknNPo2l47w781n/koXEMJrFXQSJhV7dQO5kboXAhJw5QT4/w+had9bz/NmbKDFwL4ejpiFStoyjiY+7LINfW3KuaFTfGkYHec72JIkN3fZ4ZLUCer51AwF+pWPWr+XFG6id+ndCxMPSQLek6Z6gQpCTa0IFoHdjlj3dpYa6XyUi3VxDV1Isvi8Ebd1QuiE1SgZFRepjNiZyXhvF23wTwcAQgSNVVKViKEMOodC3xXYO7e+CexJpi+NGLCAfpBW0FGmAa+G0Mmyq1cE0sz2PrQ63Yap1W4CxVrAabgzf37AM9SE+6Vc+HSPSceeN69WSMp9obwTR2gDoNJPun6JIcV9g= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8963.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(376002)(396003)(346002)(39830400003)(136003)(230273577357003)(230173577357003)(230922051799003)(186009)(1800799012)(64100799003)(451199024)(5660300002)(30864003)(4326008)(7416002)(41300700001)(2906002)(38100700002)(38350700005)(86362001)(36756003)(316002)(6486002)(19627235002)(478600001)(66946007)(110136005)(66476007)(66556008)(8676002)(54906003)(8936002)(6666004)(2616005)(107886003)(83380400001)(26005)(6512007)(6506007)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?VPSaOAiQX+N/+RASdyf8OEh7SRYT?= =?utf-8?q?jD2DAD6qqG73hcCkmc7ZRO92q1tUQY0SSt3KwCoTdngDuDT3stnBIZOG3YIp3YU2z?= =?utf-8?q?fP0iSLhlmr6Yh0ZSHPmruASa+bGrhfG6pQ2uGdxZfNq1Kizpd76zWodmixyiNtmKv?= =?utf-8?q?R9+nBfUy/gUVn+ZsHoH6VzqNi/ceyZt7OG71uL7c2PXTa1yUbqw0Jf1cLptacDCAp?= =?utf-8?q?HbZYsUcyfVZ/diRCBvrnir1hbBtFGeFqfDXcY7C/vMP8kifWZcq2aihPRkeC/BPkB?= =?utf-8?q?TxrXikZLIAaoplHi0FLSp1S0uCMeoU3PDy/Gi0mLwagxz+fb4o+w+dg/ERtfrNCUI?= =?utf-8?q?xyQrU4FQo3zh6mmiHL4N3pfjbin0JBzR4VZaaknHuNLH1QimwcJ1l704eq+9GrtYD?= =?utf-8?q?R4gAIrcX/TMnEPH5pQcFPcC3KxISJoAQrFVElU+1uU5HfegwxRofgZlSwZgsNq0QD?= =?utf-8?q?NLxypIJNR0vSuf2F92XEGuWzKe9756xe4iGr2lFP9myhJOvz8mqJKEd6n3h4nILJC?= =?utf-8?q?08lTsb80/G4HSVm0YHbi9pO5+LKx/ryCzqvj/SDViwnRWXa65yNBRRXpqJQKF8f0Q?= =?utf-8?q?XvPk00jSDJ/4CECYNTK4sYdglaJdcSrZNlLFyNYzMx18gFm0bpIPfP+kSdqqwx14B?= =?utf-8?q?gitGYDU8l6uGH5oX8CH6oAfRWHZJ0JzwzVSoRkM3svfBzVOXHe1NtAEn0DtHcGYx5?= =?utf-8?q?zyiXIrgSCLKP6i18PqiT3kD8b87X7f7hZphUY4MVOs3S6xdxFNAUKPOtRcngb/kgM?= =?utf-8?q?wjp47hbMqFJXfYFKUG88aJAdI/g6Kfxu8brYsJ33SYouhzRX8UY3VT8TStwHjBToD?= =?utf-8?q?oVlESKaZrrc2QfJU1rnDERa+iZnefSatG5nMQPyLtBbRMBFbAlfF1qEyvZmDeh8bZ?= =?utf-8?q?8vqYq8gjKhtdR/CjY9durvfF686Hp8BfxVWFmXvXeeuKUOwExcsRYQ7MskDWLORup?= =?utf-8?q?VLUAnviYWS4hHhSnKjYNf5eCrhOnz6VVLQaLZ5AHMvH1cPzn32VzQ9Q+SsAQpGoaO?= =?utf-8?q?AQ5DhMNe6MB4moEWm6EMijAZQztHey9FYFBXWXHtVgPP6nVoC2sCucLVutHJJQkRS?= =?utf-8?q?HIKGV+WFNgM6BK4Aha1kYrZbxsEIrRxxn5ERG9ECLSvgQcWWeU8fwdFa8cvfxuHua?= =?utf-8?q?VmIf1uyyUicxqJ92xCGNaqToid8JfxRdovzKKYO+64QsZSjDOn64S/JzqMrWnAARr?= =?utf-8?q?bsGJ3ttDQ2tZZWeUDfudXqHNjAw+iKCuyvUPVEiaDyEFZnmqM1/j+hmTCYZq8kDcB?= =?utf-8?q?z9knNWPV3hF3nNiAoFWCvHqJvp17c6TZafT3t/tEdoHPdgkiz6IgM4N3+XAQpQju1?= =?utf-8?q?+WdMUWEQCRxWZFUcP9VkClFFggpW8MZ34gSWxcgYo5NAqSJN5GT1XTvYlV8w70jvi?= =?utf-8?q?nRhW8YMPwYMh7eKem9wpyrs60Jul7Aktd9TJFJqENkljAgMM4Z3oxGd1EsPbvaWhG?= =?utf-8?q?mt4fWFB6ChA4x2aTDMHkIFQWb/T6XMuKIVl2PqQpg85+QHSfi+4aNblWXfkYS0i2H?= =?utf-8?q?6h6lFDNOCaBx?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c42dced0-74e3-4aee-32b3-08dc1391afcd X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 17:12:42.2099 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: puOUwjGRP5Tl6Hgz6lj/bMh2fjNQxeXm87AixacAiJzptPYCoRQXL/MNwQ06QFWouLNSMVCr2P5L02E4caByWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9524 Add description for the SolidRun AM642 SoM, and HummingBoard-T evaluation board. The SoM features: - 1x cpsw ethernet with phy - 2x pru ethernet with phy - eMMC - spi flash (assembly option) Additionally microSD and usb-2.0 otg are included in the SoM description as they are supported boot sources for the SOC boot-rom. The Carrier provides: - 3x RJ45 connector - 2x M.2 connector - USB-2.0 Hub - USB-A Connector - LEDs - 2x CAN transceiver - 1x RS485 transceiver - sensors The M.2 connectors support either USB-3.1 or PCI-E depending on status of a mux. By default the mux is switched off. Signed-off-by: Josua Mayer --- arch/arm64/boot/dts/ti/Makefile | 1 + arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 326 +++++++++++ arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi | 638 +++++++++++++++++++++ 3 files changed, 965 insertions(+) diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 77a347f9f47d..041c3b71155e 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -32,6 +32,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb # Boards with AM64x SoC dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb diff --git a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts new file mode 100644 index 000000000000..52171ff8fcb7 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts @@ -0,0 +1,326 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + * DTS for SolidRun AM642 HummingBoard-T, + * running on Cortex A53. + * + */ + +/dts-v1/; + +#include +#include + +#include "k3-am642.dtsi" +#include "k3-am642-sr-som.dtsi" + +/ { + model = "SolidRun AM642 HummingBoard-T"; + compatible = "solidrun,am642-hummingboard-t", "solidrun,am642-sr-som", "ti,am642"; + + aliases { + serial5 = &main_uart3; + }; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&leds_pins_default>; + + /* D24 */ + led1: led-1 { + label = "led1"; + gpios = <&main_gpio0 29 GPIO_ACTIVE_HIGH>; + color = ; + }; + + /* D25 */ + led2: led-2 { + label = "led2"; + gpios = <&main_gpio0 30 GPIO_ACTIVE_HIGH>; + color = ; + }; + + /* D26 */ + led3: led-3 { + label = "led3"; + gpios = <&main_gpio0 33 GPIO_ACTIVE_HIGH>; + color = ; + }; + }; + + regulator-m2-3v3 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <®ulator_pcie_3v3_pins_default>; + regulator-name = "m2-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&main_gpio1 17 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + + regulator-vpp-1v8 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <®ulator_vpp_1v8_pins_default>; + regulator-name = "vpp-1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&main_gpio1 78 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + serdes_mux: mux-controller { + compatible = "gpio-mux"; + pinctrl-names = "default"; + pinctrl-0 = <&serdes_mux_pins_default>; + #mux-control-cells = <0>; + /* + * Mux has 2 IOs: + * - select: 0 = USB-3 (M2); 1 = PCIE (M1) + * - shutdown: 0 = active; 1 = disabled (high impedance) + */ + mux-gpios = <&main_gpio1 40 GPIO_ACTIVE_HIGH>, <&main_gpio1 41 GPIO_ACTIVE_HIGH>; + /* default disabled */ + idle-state = <2>; + }; +}; + +&main_gpio0 { + m2-reset-hog { + gpio-hog; + gpios = <12 GPIO_ACTIVE_LOW>; + output-low; /* deasserted */ + line-name = "m2-reset"; + }; + + m1-m2-w-disable1-hog { + gpio-hog; + gpios = <32 GPIO_ACTIVE_LOW>; + output-low; /* deasserted */ + line-name = "m1-m2-pcie-w-disable1"; + }; + + m1-m2-w_disable2-hog { + gpio-hog; + gpios = <34 GPIO_ACTIVE_LOW>; + output-low; /* deasserted */ + line-name = "m1-m2-pcie-w-disable2"; + }; +}; + +&main_gpio1 { + status = "okay"; + + m1-pcie-clkreq0-hog { + gpio-hog; + gpios = <11 GPIO_ACTIVE_LOW>; + input; + line-name = "m1-pcie-clkreq0"; + }; + + m2-pcie-clkreq-hog { + gpio-hog; + gpios = <35 GPIO_ACTIVE_LOW>; + input; + line-name = "m2-pcie-clkreq"; + }; +}; + +&main_i2c0 { + pinctrl-0 = <&main_i2c0_pins_default>, <&main_i2c0_int_pins_default>; + + humidity-sensor@41 { + compatible = "ti,hdc2010"; + reg = <0x41>; + interrupt-parent = <&main_gpio0>; + interrupts = <37 IRQ_TYPE_EDGE_FALLING>; + }; + + light-sensor@44 { + compatible = "ti,opt3001"; + reg = <0x44>; + interrupt-parent = <&main_gpio0>; + interrupts = <37 IRQ_TYPE_EDGE_FALLING>; + }; + + /* charger@6a */ +}; + +&main_i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c1_pins_default>, <&main_i2c1_int_pins_default>; + status = "okay"; + + rtc@69 { + compatible = "abracon,abx80x"; + reg = <0x69>; + abracon,tc-diode = "schottky"; + abracon,tc-resistor = <3>; + interrupt-parent = <&main_gpio0>; + interrupts = <44 IRQ_TYPE_EDGE_FALLING>; + }; +}; + +&main_mcan0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mcan0_pins_default>; + status = "okay"; + + can-transceiver { + max-bitrate = <8000000>; + }; +}; + +&main_mcan1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mcan1_pins_default>; + status = "okay"; + + can-transceiver { + max-bitrate = <8000000>; + }; +}; + +&main_pmx0 { + leds_pins_default: leds-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0074, PIN_OUTPUT, 7) /* GPMC0_AD14.GPIO0_29 */ + AM64X_IOPAD(0x0078, PIN_OUTPUT, 7) /* GPMC0_AD15.GPIO0_30 */ + AM64X_IOPAD(0x0088, PIN_OUTPUT, 7) /* GPMC0_OEn_REn.GPIO0_33 */ + >; + }; + + main_i2c0_int_pins_default: main-i2c0-pins-int-default { + pinctrl-single,pins = < + /* external pull-up on Carrier */ + AM64X_IOPAD(0x0098, PIN_INPUT, 7) /* GPMC0_WAIT0.GPIO0_37 */ + >; + }; + + main_i2c1_pins_default: main-i2c1-pins-default { + pinctrl-single,pins = < + /* external pull-up on SoM */ + AM64X_IOPAD(0x0268, PIN_INPUT, 0) /* I2C1_SCL.I2C1_SCL */ + AM64X_IOPAD(0x026c, PIN_INPUT, 0) /* I2C1_SDA.I2C1_SDA */ + >; + }; + + main_i2c1_int_pins_default: main-i2c1-int-pins-default { + pinctrl-single,pins = < + /* external pull-up on Carrier */ + AM64X_IOPAD(0x00b4, PIN_INPUT, 7) /* GPMC0_CSn3.GPIO0_44 */ + >; + }; + + main_mcan0_pins_default: main-mcan0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0254, PIN_INPUT, 0) /* MCAN0_RX.MCAN0_RX */ + AM64X_IOPAD(0x0250, PIN_OUTPUT, 0) /* MCAN0_TX.MCAN0_TX */ + >; + }; + + main_mcan1_pins_default: main-mcan1-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x025c, PIN_INPUT, 0) /* MCAN1_RX.MCAN1_RX */ + AM64X_IOPAD(0x0258, PIN_OUTPUT, 0) /* MCAN1_TX.MCAN1_TX */ + >; + }; + + main_uart3_pins_default: main-uart3-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x016c, PIN_INPUT, 10) /* PRG0_PRU0_GPO3.UART3_CTSn */ + AM64X_IOPAD(0x0170, PIN_OUTPUT, 10) /* PRG0_PRU0_GPO4.UART3_TXD */ + AM64X_IOPAD(0x0174, PIN_OUTPUT, 10) /* PRG0_PRU0_GPO5.UART3_RTSn */ + AM64X_IOPAD(0x01ac, PIN_INPUT, 10) /* PRG0_PRU0_GPO19.UART3_RXD */ + >; + }; + + pcie0_pins_default: pcie0-pins-default { + pinctrl-single,pins = < + /* connector M2 RESET */ + AM64X_IOPAD(0x0030, PIN_OUTPUT, 7) /* OSPI0_CSn1.GPIO0_12 */ + /* connectors M1 & M2 W_DISABLE1 */ + AM64X_IOPAD(0x0084, PIN_OUTPUT, 7) /* GPMC0_ADVN_ALE.GPIO0_32 */ + /* connectors M1 & M2 W_DISABLE2 */ + AM64X_IOPAD(0x008c, PIN_OUTPUT, 7) /* GPMC0_WEN.GPIO0_34 */ + /* connectors M1 & M2 PERST0 (PCI Reset) */ + AM64X_IOPAD(0x019c, PIN_OUTPUT, 7) /* PRG0_PRU0_GPO15.GPIO1_15 */ + /* connector M1 CLKREQ0 */ + AM64X_IOPAD(0x018c, PIN_INPUT, 7) /* PRG0_PRU0_GPO11.GPIO1_11 */ + /* connector M2 CLKREQ0 */ + AM64X_IOPAD(0x01ec, PIN_INPUT, 7) /* PRG0_PRU1_GPO15.GPIO1_35 */ + >; + }; + + regulator_pcie_3v3_pins_default: regulator-pcie-3v3-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x01a4, PIN_OUTPUT, 7) /* PRG0_PRU0_GPO17.GPIO1_17 */ + >; + }; + + regulator_vpp_1v8_pins_default: regulator-vpp-1v8-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x029c, PIN_OUTPUT, 7) /* MMC1_SDWP.GPIO1_78 */ + >; + }; + + serdes_mux_pins_default: serdes-mux-pins-default { + pinctrl-single,pins = < + /* SEL, 10k pull-down on carrier, 2.2k pullup on SoM */ + AM64X_IOPAD(0x0200, PIN_OUTPUT, 7) /* PRG0_MDIO0_MDIO.GPIO1_40 */ + /* EN */ + AM64X_IOPAD(0x0204, PIN_OUTPUT, 7) /* PRG0_MDIO0_MDC.GPIO1_41 */ + >; + }; +}; + +&main_uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&main_uart3_pins_default>; + uart-has-rtscts; + rs485-rts-active-low; + linux,rs485-enabled-at-boot-time; + status = "okay"; +}; + +&pcie0_rc { + pinctrl-names = "default"; + pinctrl-0 = <&pcie0_pins_default>; + reset-gpios = <&main_gpio1 15 GPIO_ACTIVE_HIGH>; + phys = <&serdes0_link>; + phy-names = "pcie-phy"; + num-lanes = <1>; + mux-controls = <&serdes_mux>; + mux-control-names = "serdes"; + status = "disabled"; +}; + +&pcie0_ep { + phys = <&serdes0_link>; + phy-names = "pcie-phy"; + num-lanes = <1>; + status = "disabled"; +}; + +&serdes0 { + /* + * Serdes Signals are routed via mux to either m.2 connectors: + * - M1: USB-3.1 + * - M2: PCI-E + */ + + serdes0_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + resets = <&serdes_wiz0 1>; + }; +}; + +&usb0 { + dr_mode = "host"; +}; diff --git a/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi b/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi new file mode 100644 index 000000000000..8560c3a6e69b --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi @@ -0,0 +1,638 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + */ + +#include + +/ { + model = "SolidRun AM642 SoM"; + compatible = "solidrun,am642-sr-som", "ti,am642"; + + aliases { + ethernet0 = &cpsw_port1; + ethernet1 = &icssg1_emac0; + ethernet2 = &icssg1_emac1; + mmc0 = &sdhci0; + mmc1 = &sdhci1; + serial2 = &main_uart0; + }; + + chosen { + /* SoC default UART console */ + stdout-path = "serial2:115200n8"; + }; + + /* PRU Ethernet Controller */ + icssg1_eth: icssg1-eth { + compatible = "ti,am642-icssg-prueth"; + pinctrl-names = "default"; + pinctrl-0 = <&pru_rgmii1_pins_default>, <&pru_rgmii2_pins_default>; + + sram = <&oc_sram>; + ti,prus = <&pru1_0>, <&rtu1_0>, <&tx_pru1_0>, <&pru1_1>, <&rtu1_1>, <&tx_pru1_1>; + firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", + "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", + "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", + "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", + "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", + "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; + + ti,pruss-gp-mux-sel = <2>, /* MII mode */ + <2>, + <2>, + <2>, /* MII mode */ + <2>, + <2>; + + ti,mii-g-rt = <&icssg1_mii_g_rt>; + ti,mii-rt = <&icssg1_mii_rt>; + ti,iep = <&icssg1_iep0>, <&icssg1_iep1>; + + interrupt-parent = <&icssg1_intc>; + interrupts = <24 0 2>, <25 1 3>; + interrupt-names = "tx_ts0", "tx_ts1"; + + dmas = <&main_pktdma 0xc200 15>, /* egress slice 0 */ + <&main_pktdma 0xc201 15>, /* egress slice 0 */ + <&main_pktdma 0xc202 15>, /* egress slice 0 */ + <&main_pktdma 0xc203 15>, /* egress slice 0 */ + <&main_pktdma 0xc204 15>, /* egress slice 1 */ + <&main_pktdma 0xc205 15>, /* egress slice 1 */ + <&main_pktdma 0xc206 15>, /* egress slice 1 */ + <&main_pktdma 0xc207 15>, /* egress slice 1 */ + <&main_pktdma 0x4200 15>, /* ingress slice 0 */ + <&main_pktdma 0x4201 15>, /* ingress slice 1 */ + <&main_pktdma 0x4202 0>, /* mgmnt rsp slice 0 */ + <&main_pktdma 0x4203 0>; /* mgmnt rsp slice 1 */ + dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3", + "tx1-0", "tx1-1", "tx1-2", "tx1-3", + "rx0", "rx1"; + + status = "okay"; + + ethernet-ports { + #address-cells = <1>; + #size-cells = <0>; + + icssg1_emac0: port@0 { + reg = <0>; + ti,syscon-rgmii-delay = <&main_conf 0x4110>; + /* Filled in by bootloader */ + local-mac-address = [00 00 00 00 00 00]; + phy-handle = <ðernet_phy2>; + phy-mode = "rgmii-id"; + status = "okay"; + }; + + icssg1_emac1: port@1 { + reg = <1>; + ti,syscon-rgmii-delay = <&main_conf 0x4114>; + /* Filled in by bootloader */ + local-mac-address = [00 00 00 00 00 00]; + phy-handle = <ðernet_phy1>; + phy-mode = "rgmii-id"; + status = "okay"; + }; + }; + }; + + /* DDR16SS0: + * - Bank 1 @ 0x080000000-0x0FFFFFFFF: max. 2GB in 32-bit address space + * - Bank 2 @ 0x880000000-0x9FFFFFFFF: max. 6GB in 64-bit address space + */ + memory@80000000 { + reg = <0x00000000 0x80000000 0x00000000 0x80000000>, + <0x00000008 0x80000000 0x00000001 0x80000000>; + device_type = "memory"; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + secure_ddr: optee@9e800000 { + reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ + alignment = <0x1000>; + no-map; + }; + + main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa0000000 0x00 0x100000>; + no-map; + }; + + main_r5fss0_core0_memory_region: r5f-memory@a0100000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa0100000 0x00 0xf00000>; + no-map; + }; + + main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa1000000 0x00 0x100000>; + no-map; + }; + + main_r5fss0_core1_memory_region: r5f-memory@a1100000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa1100000 0x00 0xf00000>; + no-map; + }; + + main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a2000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa2000000 0x00 0x100000>; + no-map; + }; + + main_r5fss1_core0_memory_region: r5f-memory@a2100000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa2100000 0x00 0xf00000>; + no-map; + }; + + main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a3000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa3000000 0x00 0x100000>; + no-map; + }; + + main_r5fss1_core1_memory_region: r5f-memory@a3100000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa3100000 0x00 0xf00000>; + no-map; + }; + }; + + vdd_mmc0: regulator-vdd-mmc0 { + compatible = "regulator-fixed"; + regulator-name = "vdd-mmc0"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; +}; + +&cpsw3g { + pinctrl-names = "default"; + pinctrl-0 = <&rgmii1_pins_default>; + status = "okay"; +}; + +&cpsw3g_mdio { + pinctrl-names = "default"; + pinctrl-0 = <&mdio0_pins_default>; + status = "okay"; + + ethernet_phy0: ethernet-phy@0 { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy0_pins_default>; + ti,clk-output-sel = ; + ti,op-mode = ; + /* + * Disable interrupts because ISR never clears 0x0040 + * + * interrupt-parent = <&main_gpio1>; + * interrupts = <70 IRQ_TYPE_LEVEL_LOW>; + */ + /* + * Disable HW Reset because clock signal is daisy-chained + * + * reset-gpios = <&main_gpio0 84 GPIO_ACTIVE_LOW>; + * reset-assert-us = <1>; + * reset-deassert-us = <30>; + */ + status = "okay"; + }; +}; + +&cpsw_port1 { + phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy0>; + status = "okay"; +}; + +&cpsw_port2 { + status = "disabled"; +}; + +&icssg0_mdio { + status = "disabled"; +}; + +&icssg1_mdio { + pinctrl-names = "default"; + pinctrl-0 = <&pru1_mdio0_pins_default>; + status = "okay"; + + ethernet_phy1: ethernet-phy@3 { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <3>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy1_pins_default>; + ti,clk-output-sel = ; + ti,op-mode = ; + /* + * Disable interrupts because ISR never clears 0x0040 + * + * interrupt-parent = <&main_gpio1>; + * interrupts = <70 IRQ_TYPE_LEVEL_LOW>; + */ + /* + * Disable HW Reset because clock signal is daisy-chained + * + * reset-gpios = <&main_gpio0 20 GPIO_ACTIVE_LOW>; + * reset-assert-us = <1>; + * reset-deassert-us = <30>; + */ + status = "okay"; + }; + + ethernet_phy2: ethernet-phy@f { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <0xf>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy2_pins_default>; + ti,op-mode = ; + /* + * Disable interrupts because ISR never clears 0x0040 + * + * interrupt-parent = <&main_gpio1>; + * interrupts = <70 IRQ_TYPE_LEVEL_LOW>; + */ + /* + * Disable HW Reset because clock signal is daisy-chained + * + * reset-gpios = <&main_gpio0 52 GPIO_ACTIVE_LOW>; + * reset-assert-us = <1>; + * reset-deassert-us = <30>; + */ + status = "okay"; + }; +}; + +&mailbox0_cluster2 { + status = "okay"; + + mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { + ti,mbox-rx = <0 0 2>; + ti,mbox-tx = <1 0 2>; + }; + + mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 { + ti,mbox-rx = <2 0 2>; + ti,mbox-tx = <3 0 2>; + }; +}; + +&mailbox0_cluster3 { + status = "disabled"; +}; + +&mailbox0_cluster4 { + status = "okay"; + + mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { + ti,mbox-rx = <0 0 2>; + ti,mbox-tx = <1 0 2>; + }; + + mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 { + ti,mbox-rx = <2 0 2>; + ti,mbox-tx = <3 0 2>; + }; +}; + +&mailbox0_cluster5 { + status = "disabled"; +}; + +&mailbox0_cluster6 { + status = "disabled"; +}; + +&mailbox0_cluster7 { + status = "disabled"; +}; + +&main_gpio0 { + status = "okay"; +}; + +&main_i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c0_pins_default>; + status = "okay"; + + som_eeprom: eeprom@50 { + compatible = "atmel,24c01"; + reg = <0x50>; + pagesize = <8>; + }; +}; + +&main_pmx0 { + /* hog global functions */ + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy_pins_default>; + + ethernet_phy_pins_default: ethernet-phy-pins-default { + pinctrl-single,pins = < + /* interrupt / power-down, external pull-up on SoM */ + AM64X_IOPAD(0x0278, PIN_INPUT, 7) /* EXTINTn.GPIO1_70 */ + >; + }; + + ethernet_phy0_pins_default: ethernet-phy0-pins-default { + pinctrl-single,pins = < + /* reset */ + AM64X_IOPAD(0x0154, PIN_OUTPUT, 7) /* PRG1_PRU1_GPO19.GPIO0_84 */ + /* reference clock */ + AM64X_IOPAD(0x0274, PIN_OUTPUT, 5) /* EXT_REFCLK1.CLKOUT0 */ + >; + }; + + ethernet_phy1_pins_default: ethernet-phy1-pins-default { + pinctrl-single,pins = < + /* reset */ + AM64X_IOPAD(0x0150, PIN_OUTPUT, 7) /* PRG1_PRU1_GPO18.GPIO0_20 */ + /* led0, external pull-down on SoM */ + AM64X_IOPAD(0x0128, PIN_INPUT, 7) /* PRG1_PRU1_GPO8.GPIO0_73 */ + /* led1/rxer */ + AM64X_IOPAD(0x011c, PIN_INPUT, 7) /* PRG1_PRU1_GPO5.GPIO0_70 */ + >; + }; + + ethernet_phy2_pins_default: ethernet-phy2-pins-default { + pinctrl-single,pins = < + /* reset */ + AM64X_IOPAD(0x00d4, PIN_OUTPUT, 7) /* PRG1_PRU0_GPO7.GPIO0_52 */ + /* led0, external pull-down on SoM */ + AM64X_IOPAD(0x00d8, PIN_INPUT, 7) /* PRG1_PRU0_GPO8.GPIO0_53 */ + /* led1/rxer */ + AM64X_IOPAD(0x00cc, PIN_INPUT, 7) /* PRG1_PRU0_GPO5.GPIO0_50 */ + >; + }; + + main_i2c0_pins_default: main-i2c0-pins-default { + pinctrl-single,pins = < + /* external pull-up on SoM */ + AM64X_IOPAD(0x0260, PIN_INPUT, 0) /* I2C0_SCL.I2C0_SCL */ + AM64X_IOPAD(0x0264, PIN_INPUT, 0) /* I2C0_SDA.I2C0_SDA */ + >; + }; + + /* + * main_mmc0_pins_default: main-mmc0-pins-default + * + * MMC0_CMD: no padconfig + * MMC0_CLK: no padconfig, external pull-up on SoM + * MMC0_DAT0: no padconfig + * MMC0_DAT1: no padconfig + * MMC0_DAT2: no padconfig + * MMC0_DAT3: no padconfig + * MMC0_DAT4: no padconfig + * MMC0_DAT5: no padconfig + * MMC0_DAT6: no padconfig + * MMC0_DAT7: no padconfig + * MMC0_DS: no padconfig, external pull-down on SoM + */ + + main_mmc1_pins_default: main-mmc1-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */ + AM64X_IOPAD(0x028c, PIN_INPUT, 0) /* MMC1_CLK.MMC1_CLK */ + AM64X_IOPAD(0x0288, PIN_INPUT_PULLUP, 0) /* MMC1_DAT0.MMC1_DAT0 */ + AM64X_IOPAD(0x0284, PIN_INPUT_PULLUP, 0) /* MMC1_DAT1.MMC1_DAT1 */ + AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* MMC1_DAT2.MMC1_DAT2 */ + AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* MMC1_DAT3.MMC1_DAT3 */ + /* external pull-down on SoM & Carrier */ + AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* MMC1_SDCD.MMC1_SDCD */ + AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* MMC1_CLKLB: clock loopback */ + >; + }; + + main_uart0_pins_default: main-uart0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* UART0_RXD.UART0_RXD */ + AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* UART0_TXD.UART0_TXD */ + >; + }; + + mdio0_pins_default: mdio0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* PRG0_PRU1_GPO19.MDIO0_MDC */ + AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* PRG0_PRU1_GPO18.MDIO0_MDIO */ + >; + }; + + ospi0_pins_default: ospi0-pins-default { + pinctrl-single,pins = < + /* external pull-down on SoM */ + AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* OSPI0_CLK.OSPI0_CLK */ + AM64X_IOPAD(0x0008, PIN_OUTPUT, 0) /* OSPI0_DQS.OSPI0_DQS */ + /* external pull-up on SoM */ + AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* OSPI0_CSn0.OSPI0_CSn0 */ + AM64X_IOPAD(0x000c, PIN_INPUT, 0) /* OSPI0_D0.OSPI0_D0 */ + AM64X_IOPAD(0x0010, PIN_INPUT, 0) /* OSPI0_D1.OSPI0_D1 */ + AM64X_IOPAD(0x0014, PIN_INPUT, 0) /* OSPI0_D2.OSPI0_D2 */ + AM64X_IOPAD(0x0018, PIN_INPUT, 0) /* OSPI0_D3.OSPI0_D3 */ + AM64X_IOPAD(0x001c, PIN_INPUT, 0) /* OSPI0_D4.OSPI0_D4 */ + AM64X_IOPAD(0x0020, PIN_INPUT, 0) /* OSPI0_D5.OSPI0_D5 */ + AM64X_IOPAD(0x0024, PIN_INPUT, 0) /* OSPI0_D6.OSPI0_D6 */ + AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* OSPI0_D7.OSPI0_D7 */ + >; + }; + + ospi0_flash0_pins_default: ospi0-flash0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0034, PIN_OUTPUT, 7) /* OSPI0_CSn2.GPIO0_13 */ + AM64X_IOPAD(0x0038, PIN_INPUT, 7) /* OSPI0_CSn3.GPIO0_14 */ + >; + }; + + pru1_mdio0_pins_default: pru1-mdio0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x015c, PIN_OUTPUT, 0) /* PRG1_MDIO0_MDC.PRG1_MDIO0_MDC */ + AM64X_IOPAD(0x0158, PIN_INPUT, 0) /* PRG1_MDIO0_MDIO.PRG1_MDIO0_MDIO */ + >; + }; + + pru_rgmii1_pins_default: pru-rgmii1-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x00b8, PIN_INPUT, 2) /* (Y7) PRG1_PRU0_GPO0.PRG1_RGMII1_RD0 */ + AM64X_IOPAD(0x00bc, PIN_INPUT, 2) /* (U8) PRG1_PRU0_GPO1.PRG1_RGMII1_RD1 */ + AM64X_IOPAD(0x00c0, PIN_INPUT, 2) /* (W8) PRG1_PRU0_GPO2.PRG1_RGMII1_RD2 */ + AM64X_IOPAD(0x00c4, PIN_INPUT, 2) /* (V8) PRG1_PRU0_GPO3.PRG1_RGMII1_RD3 */ + AM64X_IOPAD(0x00d0, PIN_INPUT, 2) /* (AA7) PRG1_PRU0_GPO6.PRG1_RGMII1_RXC */ + AM64X_IOPAD(0x00c8, PIN_INPUT, 2) /* (Y8) PRG1_PRU0_GPO4.PRG1_RGMII1_RX_CTL */ + AM64X_IOPAD(0x00e4, PIN_OUTPUT, 2) /* (AA8) PRG1_PRU0_GPO11.PRG1_RGMII1_TD0 */ + AM64X_IOPAD(0x00e8, PIN_OUTPUT, 2) /* (U9) PRG1_PRU0_GPO12.PRG1_RGMII1_TD1 */ + AM64X_IOPAD(0x00ec, PIN_OUTPUT, 2) /* (W9) PRG1_PRU0_GPO13.PRG1_RGMII1_TD2 */ + AM64X_IOPAD(0x00f0, PIN_OUTPUT, 2) /* (AA9) PRG1_PRU0_GPO14.PRG1_RGMII1_TD3 */ + AM64X_IOPAD(0x00f8, PIN_INPUT, 2) /* (V9) PRG1_PRU0_GPO16.PRG1_RGMII1_TXC */ + AM64X_IOPAD(0x00f4, PIN_OUTPUT, 2) /* (Y9) PRG1_PRU0_GPO15.PRG1_RGMII1_TX_CTL */ + >; + }; + + pru_rgmii2_pins_default: pru-rgmii2-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0108, PIN_INPUT, 2) /* PRG1_PRU1_GPO0.RGMII2_RD0 */ + AM64X_IOPAD(0x010c, PIN_INPUT, 2) /* PRG1_PRU1_GPO1.RGMII2_RD1 */ + AM64X_IOPAD(0x0110, PIN_INPUT, 2) /* PRG1_PRU1_GPO2.RGMII2_RD2 */ + AM64X_IOPAD(0x0114, PIN_INPUT, 2) /* PRG1_PRU1_GPO3.RGMII2_RD3 */ + AM64X_IOPAD(0x0120, PIN_INPUT, 2) /* PRG1_PRU1_GPO6.RGMII2_RXC */ + AM64X_IOPAD(0x0118, PIN_INPUT, 2) /* PRG1_PRU1_GPO4.RGMII2_RX_CTL */ + AM64X_IOPAD(0x0134, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO11.RGMII2_TD0 */ + AM64X_IOPAD(0x0138, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO12.RGMII2_TD1 */ + AM64X_IOPAD(0x013c, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO13.RGMII2_TD2 */ + AM64X_IOPAD(0x0140, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO14.RGMII2_TD3 */ + AM64X_IOPAD(0x0148, PIN_INPUT, 2) /* PRG1_PRU1_GPO16.RGMII2_TXC */ + AM64X_IOPAD(0x0144, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO15.RGMII2_TX_CTL */ + >; + }; + + rgmii1_pins_default: rgmii1-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x01cc, PIN_INPUT, 4) /* PRG0_PRU1_GPO7.RGMII1_RD0 */ + AM64X_IOPAD(0x01d4, PIN_INPUT, 4) /* PRG0_PRU1_GPO9.RGMII1_RD1 */ + AM64X_IOPAD(0x01d8, PIN_INPUT, 4) /* PRG0_PRU1_GPO10.RGMII1_RD2 */ + AM64X_IOPAD(0x01f4, PIN_INPUT, 4) /* PRG0_PRU1_GPO17.RGMII1_RD3 */ + AM64X_IOPAD(0x0188, PIN_INPUT, 4) /* PRG0_PRU0_GPO10.RGMII1_RXC */ + AM64X_IOPAD(0x0184, PIN_INPUT, 4) /* PRG0_PRU0_GPO9.RGMII1_RX_CTL */ + AM64X_IOPAD(0x0124, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO7.RGMII1_TD0 */ + AM64X_IOPAD(0x012c, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO9.RGMII1_TD1 */ + AM64X_IOPAD(0x0130, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO10.RGMII1_TD2 */ + AM64X_IOPAD(0x014c, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO17.RGMII1_TD3 */ + AM64X_IOPAD(0x00e0, PIN_INPUT, 4) /* PRG1_PRU0_GPO10.RGMII1_TXC */ + AM64X_IOPAD(0x00dc, PIN_OUTPUT, 4) /* PRG1_PRU0_GPO9.RGMII1_TX_CTL */ + >; + }; + + usb0_pins_default: usb0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* USB0_DRVVBUS.USB0_DRVVBUS */ + >; + }; +}; + +&main_r5fss0_core0 { + mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>; + memory-region = <&main_r5fss0_core0_dma_memory_region>, + <&main_r5fss0_core0_memory_region>; + status = "okay"; +}; + +&main_r5fss0_core1 { + mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>; + memory-region = <&main_r5fss0_core1_dma_memory_region>, + <&main_r5fss0_core1_memory_region>; + status = "okay"; +}; + +&main_r5fss1_core0 { + mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>; + memory-region = <&main_r5fss1_core0_dma_memory_region>, + <&main_r5fss1_core0_memory_region>; + status = "okay"; +}; + +&main_r5fss1_core1 { + mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>; + memory-region = <&main_r5fss1_core1_dma_memory_region>, + <&main_r5fss1_core1_memory_region>; + status = "okay"; +}; + +/* SoC default UART console */ +&main_uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_uart0_pins_default>; + status = "okay"; +}; + +&ospi0 { + pinctrl-names = "default"; + pinctrl-0 = <&ospi0_pins_default>; + num-cs = <1>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&ospi0_flash0_pins_default>; + spi-tx-bus-width = <8>; + spi-rx-bus-width = <8>; + spi-max-frequency = <200000000>; + cdns,tshsl-ns = <50>; + cdns,tsd2d-ns = <50>; + cdns,tchsh-ns = <4>; + cdns,tslch-ns = <4>; + cdns,read-delay = <0>; + interrupt-parent = <&main_gpio0>; + interrupts = <14 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&main_gpio0 13 GPIO_ACTIVE_LOW>; + status = "okay"; + }; +}; + +&sdhci0 { + /* mmc0 pins have no padconfig */ + bus-width = <8>; + ti,driver-strength-ohm = <50>; + disable-wp; + non-removable; + cap-mmc-hw-reset; + no-sd; + /* + * MMC controller supports switching between 1.8V and 3.3V signalling. + * However MMC0 (unlike MMC1) does not integrate an LDO. + * Explicitly link a regulator node for indicating to the driver which + * voltages are actually usable. + */ + vqmmc-supply = <&vdd_mmc0>; + status = "okay"; +}; + +/* + * microSD is on carrier - however since SoC can boot from it, + * configure it just in case. + */ +&sdhci1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mmc1_pins_default>; + bus-width = <4>; + ti,driver-strength-ohm = <50>; + disable-wp; + status = "okay"; +}; + +&tscadc0 { + status = "disabled"; +}; + +/* + * USB settings are a carrier choice - however since SoC can boot from it, + * configure as USB-2.0 OTG here, keeping USB-3 serdes disabled. + */ +&usb0 { + pinctrl-names = "default"; + pinctrl-0 = <&usb0_pins_default>; + dr_mode = "otg"; + maximum-speed = "high-speed"; + status = "okay"; +}; + +&usbss0 { + ti,vbus-divider; + ti,usb2-only; + status = "okay"; +}; From patchwork Fri Jan 12 17:12:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 762252 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2047.outbound.protection.outlook.com [40.107.15.47]) (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 C6E361757F; Fri, 12 Jan 2024 17:12:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="AIFepDPm" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bnyl1xaMQtnjcogyi0yTin9Fh3ATLIp1y4NxmtgeLz1Q9/euKaQF02LC2AWno3zERN7PtIHWVvneMRsGdMyN8YXglz8khU40KBtjIr8aAsl3JdMDKqXZRB7QEI3w+QVSg5+v2tpACs3D6y0zTtjy+3D+GStJYm/Bb5E8kSRWk+DJbWODuUSD81i2dIXp5D6CycAK73fG4C/FN8dN2eUJZeAIuV67cQOC15Yw2mtDuB7HW3PLA2Ebjk1kPG4Jp+a5AVRZG3YbDp8T2yZw69bYxO0napnBmNJCgnffMpf8O294zT6dtYsvEXjYNtAnVX9rT0Sgh5omqIj0MnhE7IDDlg== 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=2tUMe/qVtRJndtosiXQ0Vl6Z4n0LNC/O18yMoBKt++I=; b=ZwG9yO4ndzvqDxe7s1pdeJiQ//uCjNsGndaUlUPUESGTt75OcDv+kLIn4fulfO3Ma3ZvdJTiTdNxRj2vH2aXe517hcFiHbpYQIhVEh4giu7tObwzZsNND22awYr5bzYsqxF5HbfH53qzNpkGG9SQKCS4995JDcgreO3vf5EVt6ZUC9LLdajA86Q+fYCw6eE2XQh5p2fGYoM05g2+EpTPQ0wTpN07AM3N6Rc+cCVitYoqsnMMJppguyYm00ZxtIZ4M5TnOLf+Wz8G4O212HXyWAeCkDWojUIGMd1VaBvHEmuJWMXUP4s/Fi3Rkcuya01xlybyKvG1eSZFmWQPq0L40w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2tUMe/qVtRJndtosiXQ0Vl6Z4n0LNC/O18yMoBKt++I=; b=AIFepDPmLWci7a4HGZMpPL+xLVr/Jc/mGi6xOqw9hli4VEvqgmVWkC5RUae11dV7/nkNo+D6/7OP+880KpXWXswW04wD3lvD2H2+pwc8hcpM6EzWryg7A4VHz6YGYRo2ztkHf9hNTgDKaOsn7ogL72jSjnpy4COgMBINYasfUqY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DU2PR04MB9524.eurprd04.prod.outlook.com (2603:10a6:10:2f7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 17:12:42 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::daf2:8c54:d469:793d%7]) with mapi id 15.20.7181.020; Fri, 12 Jan 2024 17:12:42 +0000 From: Josua Mayer Date: Fri, 12 Jan 2024 18:12:30 +0100 Subject: [PATCH v2 5/5] arm64: dts: ti: hummingboard-t: add descriptions for m.2 pci-e and usb-3 Message-Id: <20240112-add-am64-som-v2-5-1385246c428c@solid-run.com> References: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> In-Reply-To: <20240112-add-am64-som-v2-0-1385246c428c@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0098.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::8) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DU2PR04MB9524:EE_ X-MS-Office365-Filtering-Correlation-Id: 6bc58579-954d-43c7-cda2-08dc1391b027 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lFz5QOq/aOHF7Wnw5eEPzeVDjxIW1hzqkOrPCK9oQsHCDchsR4c4BCHLzOohar0IIzQ6K+CqkAZzr696jV/+KpXTsDgAiJ1YjFk0MPQIiT7Qq/smSANG6vUPTStHFS+31ukHELlhx/9fgbwsDhqbVZbskbjjXc3ytmMACWpmpRmV5U+OgZbjq0LqBATwXV9W06a8n1j6yriTic+oVZA3TI9RcTIqctB2lRJvoJ19xh1xxBRw0CcnSpS38biW4DXD9Z55QcT4wOSaoBjVOaJ3ujh93J6f+zEudJ0N/UZbDmIBbJz5v9KIdejcRj/Iek8mFZVbAkjDes4A24SHSqdOoNI6uav6eNGd6GG9KVk27PrKigmcWJAkCB6ZodDbKCu9oeBDndkc/MdciRbpfwNutLTq+L0wEuBPgs5SYLsc7vUyvZxI2uxJ/OIJp4JBjPPxclBthftvoRM4wn6ArkDfkGS+jJyxoCbHWKk7mwGlR+aRdAAhRIy0oMwYfjUdZWimT0KygQbDnvrmYmXOlpjUdbj5JtCrjkJ2mxF8PX0b0fNdjQI4Hlb/oRi2B7nhr+lffG/FjuvdnEjZAPWOE6Z1I04Rl0SxR4hNh0XJoNn7WhboOMI4dj1kEV35jT1mNY9o X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8963.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(376002)(396003)(346002)(39830400003)(136003)(230922051799003)(186009)(1800799012)(64100799003)(451199024)(5660300002)(4326008)(7416002)(41300700001)(2906002)(38100700002)(38350700005)(86362001)(36756003)(316002)(6486002)(478600001)(66946007)(110136005)(66476007)(66556008)(8676002)(54906003)(8936002)(6666004)(2616005)(107886003)(83380400001)(26005)(6512007)(6506007)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?WlbZeZNURwKI5vygBvRh5zTuzKns?= =?utf-8?q?eMWvhR0IXmQFqe7rLd95gcVPLuhLZjro2EMqiCpLqyr+TZdV/29zIaeMR6XmX72SX?= =?utf-8?q?MvVu6A3uq7/JRrmaKDsh9vfJk4zUakEFXGmVHRw1jv1Mm5yG+El+tZS4P6z7cJASv?= =?utf-8?q?/mLwfXUgGQWmJrw+vFw8Bh02FnN3Yi54VjNnl+Nn28STfzmIRfE+ODCA5zIOBrB8H?= =?utf-8?q?zifMIt9c6tHXfTDkOyg/VECiV26n34RTUh0DsBYgt9Vv/7kKbtV15nZ4GEfmp/pPm?= =?utf-8?q?q5IcKIs5INzylSz/RM0LTVWALKnYP9GkeKj9fXiOhqIwcZuUJ4XLwWJJaCQQCzDM5?= =?utf-8?q?gUiyXWhQ+kxfuqVmZyqNd05p36OVGvs/Wq/coiuKhjvUTKpT/fSTeaPCri96H16qX?= =?utf-8?q?TsNTpBEKRVJSXi7iaiGJD/MYi48lvUD9OPRJDTwILSUb49ZqOywSkWG2xHIgWMYKr?= =?utf-8?q?yl7R4ufqvf0vy0m9whYg5+fBkhqFqpRy/Imtc68WBSb+6g8kn979x96gwOlchXbCN?= =?utf-8?q?PfHD9AcimNC2LSJR4fKwrhW3ae73dNqLf+oAbhAF2O0DZUFOr2CHazIMAJxcopaE1?= =?utf-8?q?v19xZ7JlQMoGhmnJgeSCpvGOe+r4JoDOTXCAQdBC7ZBOiPzJSToVoc6SilFwt12PS?= =?utf-8?q?W9h0qVRLPIkwnX8GVD2duFDE1O/2+wnkJSHm8qxy/rPr53s/vpyiLwFVV0fZnhX9E?= =?utf-8?q?0GnrJyhJZeTZqk/sar09ZFHxmP1zJU2+iHHoa8n6816na0+bPYRFZYxl0/hO1nwh1?= =?utf-8?q?T9riGPKCSRVrMmULGgzkHDiolTuP+CusiU88JMpcdFOu1yqb24IxvHUwHzckpQvbQ?= =?utf-8?q?7rCHuUpOz6hlthdTDc5PeLTV7nBNI2FkOozFo88vzXDRmC6TJc068OOPifNZaKB2o?= =?utf-8?q?ZRDIdYsPLZU3B2v0q3Hs3ojyT2A0WgSLMNwPnyvZHek7+lJ8NxgVwqDgcAPX8JrvC?= =?utf-8?q?7VyTn2EKvanLl1Qw55Zy6Zo79fwqLuyYc2vbv/j0YdwRMhFlQMJm7LJ4VctQFgZVR?= =?utf-8?q?qrJIF04pieC2y7xbxKnu2oFnIluMI5rMrJnVGd6N8nY1+q4hmE4uydAMQhvr7AWh+?= =?utf-8?q?jI6wzBjYc4gjBRVAW8SzeRYuVfQIQRzaAYE8sdbow9+c/1H1A69wSgfhayw2D8Y3c?= =?utf-8?q?1KqbSHZloNBi9ZR/ctgi+tbJSLqLx+85iKGRqfA2MkMwDqBrN1csvNtm/DtP02PSG?= =?utf-8?q?aa9y/YKoP5sXy1Zi+ULuZAiQXVB0SW71tNO/mdwTzA1JMaUvzaOyTdYwWtqNDk2ED?= =?utf-8?q?j9iFt2XO9ezLw+8NTO5uJIzftT55K/vjyjtkuuZTqBZcDzsvRLsEHUuz/r+oJUXoH?= =?utf-8?q?MPMucMSMPQESMLXbzcZPs4E92fUSinfMKSjtGVfDI7sF3XRVFPCOZfgTILKX8iwbX?= =?utf-8?q?bhJW6TdMJt+OjDt8SNh/dhl/WRNLsOQUwd6ex/lMTBBoRfAmnOAuPPoILiut0MyTm?= =?utf-8?q?Mdy7MrQgkZAyCwDs5kWky626YG5nf/UOOo4Rvyhxl04HhoYyHHj1NWYKZrBR7V6A5?= =?utf-8?q?CWqQ7B849dDV?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6bc58579-954d-43c7-cda2-08dc1391b027 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 17:12:42.7181 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hxn5Mb7DQJK4OpOph5NcCzFbXT3NO4gQdrTCbGFvtHdYDGgKq33lpGXvLZnkc6K3tWU/uj7bsFx6EfPFgZHnlg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9524 HummingBoard-T features two M.2 connectors labeled "M1" and "M2". The single SerDes lane of the SoC can be routed to either M1 pci-e signals, or M2 usb-3 signals by a gpio-controlled mux. Add dedicated dts for each configuration. - k3-am642-hummingboard-t.dts enables neither configuration - k3-am642-hummingboard-t-pcie.dts (new) configures serdes mux and pci-e controller for M1 - k3-am642-hummingboard-t-usb3.dts (new) configures serdes mux and usb-3 controller for M2 Signed-off-by: Josua Mayer --- arch/arm64/boot/dts/ti/Makefile | 2 ++ .../boot/dts/ti/k3-am642-hummingboard-t-pcie.dts | 31 ++++++++++++++++++ .../boot/dts/ti/k3-am642-hummingboard-t-usb3.dts | 37 ++++++++++++++++++++++ 3 files changed, 70 insertions(+) diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 041c3b71155e..0e408555edf1 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -33,6 +33,8 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb # Boards with AM64x SoC dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-pcie.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-usb3.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb diff --git a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dts b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dts new file mode 100644 index 000000000000..5ba0029fcfb9 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dts @@ -0,0 +1,31 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + * DTS for SolidRun AM642 HummingBoard-T, + * running on Cortex A53, with PCI-E. + * + */ + +#include "k3-am642-hummingboard-t.dts" +#include "k3-serdes.h" + +/ { + model = "SolidRun AM642 HummingBoard-T with PCI-E"; +}; + +&pcie0_rc { + status = "okay"; +}; + +&serdes0_link { + cdns,phy-type = ; +}; + +&serdes_ln_ctrl { + idle-states = ; +}; + +&serdes_mux { + idle-state = <1>; +}; diff --git a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dts b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dts new file mode 100644 index 000000000000..12b0fedcd2bc --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dts @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + * DTS for SolidRun AM642 HummingBoard-T, + * running on Cortex A53, with USB-3.1 Gen 1. + * + */ + +#include "k3-am642-hummingboard-t.dts" +#include "k3-serdes.h" + +/ { + model = "SolidRun AM642 HummingBoard-T with USB-3.1 Gen 1"; +}; + +&serdes0_link { + cdns,phy-type = ; +}; + +&serdes_ln_ctrl { + idle-states = ; +}; + +&serdes_mux { + idle-state = <0>; +}; + +&usbss0 { + /delete-property/ ti,usb2-only; +}; + +&usb0 { + maximum-speed = "super-speed"; + phys = <&serdes0_link>; + phy-names = "cdns3,usb3-phy"; +};