Message ID | 20240103-add-am64-som-v1-0-dda1f9227aef@solid-run.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-15443-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4958788dyb; Wed, 3 Jan 2024 03:28:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6kNRsqo3T+1HyP0AxODoldgojjqg0NP2jFPy63eWXANJNzrvtfDrdk/xIUosmV28zjpTT X-Received: by 2002:a17:902:d58b:b0:1d4:5939:523a with SMTP id k11-20020a170902d58b00b001d45939523amr20934424plh.33.1704281290323; Wed, 03 Jan 2024 03:28:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704281290; cv=pass; d=google.com; s=arc-20160816; b=BBb9a0GxK48MwP2XYn84qL+k2rXMsp+FhyndmWrQdLJtUFNm1xoBSi573nZ1ArItd8 mwlz2PMq/CwCG90YweBnidpQsG1JjBZ/8SukoVrppp84BKlC9DzSHUq0e5Z/j2aGuKQB eOztog3lhpnB7HhIA41ZDol9CbK9b19TK0dvkru831eETyOZH4TDOvDpr+4MMGJlPwiS a0Klt8Nk2nGpuW9r2TrSH1I7USrADEDv5/Fe0L5kKfdifAEMFfX5Y4LDXQ/6/KmfHl7n Sq1E6BPTv56SlC3TJLwRkOzB9lihAmulOFBlYcfhPIeujJyhYjZbBERM+swBy7fJ2wQX wBJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence:cc :to:content-transfer-encoding:message-id:date:subject:from :dkim-signature; bh=nntzXGt8yqjv0gN1EveBDQ1zwyEtVWF2t5bBClYRUgY=; fh=+Q60hITjurjyuq7oi0rNdhv8T5W6hWGHOX2R7Ha3aAM=; b=cPJkOHEQz42ooI/XC6+cAGpnuGDNJ1MfrESoaesYB7UBxqhPcqNS+m9n6dHl/uXmgQ Uc1jKi7PUNHpp0cnA/dQpjGLZvMEeD8Icfd9v1JHLqlYmGtcQQ5LNFzeEzknssizyVTQ /SeSAaVvBKZNKsKNPphqL8ed6CRKvJ6l2z3SEKjfynx3YqzHbi3jj7zh//GtrWwuuIW5 Ikva3XKymCqHO9qfeulAA4jzKjEB4D2sdAJVLjzTnYeeznrfPw3SpEvi5GKEErCg2YHG 2BUOm2FuK06rjk9lF/eZCE1tXSwbFAMfOr0zCum7q9FHxfy+3RNQRnxKRAZeZTQ7w+R1 4vmQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b="Zcmv/0xM"; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-15443-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15443-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q13-20020a17090311cd00b001d381d2ea60si8053139plh.433.2024.01.03.03.28.10 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 03:28:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15443-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b="Zcmv/0xM"; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-15443-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15443-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 918D3285822 for <ouuuleilei@gmail.com>; Wed, 3 Jan 2024 11:28:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7704A19443; Wed, 3 Jan 2024 11:27:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="Zcmv/0xM" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2068.outbound.protection.outlook.com [40.107.249.68]) (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 5713A18E21; Wed, 3 Jan 2024 11:27:24 +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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HwPLIkp/hAIuqOm88YJDQia0Low8vj0oE/4+M3JEbkiAqn3MS92Rf5Ov9xPdNHE3wvNpJe498mgpzW7wobNOdx8ejF7nPQX9qnJp4SKikXrz6763IIo16bSl6lqxK0fGdl5/++SylSaAWatVGZLzxbaK/sV0JjZKwzE8nHh2vRmexf9FZvFWR/a7mvtDmdzp87BEGNZqsO2v20SaM4b3Eaac3BKdodheBz0pRo99eB0XUaFebaP+LPK954jUS01VqgcXdqljimOWyFFRUvih2RspwSHk2qdPutlabNlnghCEenz1GgWiQhyrQZsQmB1ZfnxuV1sriFT6v2s4EnNq2g== 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=nntzXGt8yqjv0gN1EveBDQ1zwyEtVWF2t5bBClYRUgY=; b=ZcDLuVOOLIiCTxupKVaWM+Ee6QZE7LQOrxqU4ihMwMhe4kfWIPrncNQCLer2nEhNcatfy+IKvXmIIJbTXBi2mTGS+ERzzT1RSqiz4JjHa98KYyxF2aPPYMZfnw2wizBAv4xBvoW2HpdoAzhYmt1vJ4CSbDXy3+7d5AbBoA+C4sDELfgZYhEBwIaj3GEf289igT80MkJ21v3xBnvN51YZMREgzHfPpM6G6oGhqVskpdY0LJnQpYRnbVbRXjhMN4S5NEtgLaxnLoDb10FEnMMS6r5twpjsGuh+EgK9gM/8gDy6+K6qCg0RUpJeVNVL45SDY7xXP91y2oM8EYxMwkgZfg== 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=nntzXGt8yqjv0gN1EveBDQ1zwyEtVWF2t5bBClYRUgY=; b=Zcmv/0xM4UbM7mkJSP/SCoJwTzoGdg7U+F+TVzKXt/81jImse4rFx/lJIepqdlvwXaN77WMvSCeEX0SWNxynjVASRo4Gl+TEoFAr8F5f2Fdu9uooM89lo3unEqTYs/HDCafX56EXpqb2Phy9Cr23ryHHIgf/VJVrTQG6ueuiisU= 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 AM7PR04MB6902.eurprd04.prod.outlook.com (2603:10a6:20b:107::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.25; Wed, 3 Jan 2024 11:27:19 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73%6]) with mapi id 15.20.7135.023; Wed, 3 Jan 2024 11:27:19 +0000 From: Josua Mayer <josua@solid-run.com> Subject: [PATCH 0/5] arm64: dts: add description for solidrun am642 som and hummingboard evb Date: Wed, 03 Jan 2024 12:27:10 +0100 Message-Id: <20240103-add-am64-som-v1-0-dda1f9227aef@solid-run.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAI5ElWUC/x3MMQqAMAxA0atIZgONVgWvIg6hTTWDVVoQQXp3i +Mb/n8hS1LJMDcvJLk16xkrqG3A7Rw3QfXV0JnOGjKE7D3yMVrM54EDMTm2k/jQQ02uJEGff7e spXwh2ZQGXgAAAA== To: Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>, Tero Kristo <kristo@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer <josua@solid-run.com>, Suman Anna <s-anna@ti.com>, Grygorii Strashko <grygorii.strashko@ti.com>, MD Danish Anwar <danishanwar@ti.com> X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0232.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b2::16) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|AM7PR04MB6902:EE_ X-MS-Office365-Filtering-Correlation-Id: d6d396b9-d772-456d-3f7b-08dc0c4ef211 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9Ont+zSyHjpeScVV1cQaoq5BTopwHSjMtcf581lomufY/C5PIjUg+e/rx9+KOdRLmUvC/eO4ZdAYpC/bIhL8qEf90o+IABQATkkyYajGvKwMbrhxlIHc9TmKZkWodU3sf1mM9vahIrsY2vQd2AqZiUObzIfOFLYCqsGZBYj1cKcsH0aQ9WjJm6scFpDfYMxQolyhroj4KkLVq9ynJ8bqcEuoxRqe7LUTfRyrCDtgfk3nGhnogdGpHO2smuEk+iojBTNGqZNkr/QJYZfNFbMc9E+jjQihr52cb8pw4tWuZY9PFQziNTZGgcAkycn1olx33OvWCCXpj7tOf8kR1mcCHUs3OWA1D1aG2rJQHZ7J1rGFYKTjFRbL4nE+miHt+TKy3qAMszvMnnFdLkzvGAx19/DYxPG6OMLvLx5dqjL80HPK1861M/nfigQlDASAQZLzF3oL+iWUkCCMFFAYUVcM4AfdrdYlZ/BKM6imtohX/vE3bfGX11Z3AskDsKqE1QUs/MaCmMyUla8BH7NkGgog11OPAeqGQwyetBHzT3JVBqqZ9HR+Yr/dgZpIgDbMcoms1dwJNFoP+48Fa+B3iQ6heyYhaOIl/svFF67DFfICFvU= 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)(396003)(136003)(346002)(39840400004)(376002)(366004)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(66556008)(66476007)(4326008)(6486002)(66946007)(316002)(478600001)(110136005)(8676002)(966005)(54906003)(8936002)(6506007)(52116002)(6666004)(6512007)(26005)(2616005)(5660300002)(2906002)(7416002)(41300700001)(38350700005)(36756003)(38100700002)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?EApiQ/bkEaC5Ty1Kpvu1Gc21Swzc?= =?utf-8?q?Vqmmh9Igkw/N46VNyix0Z57k3uVTsjo+iMiZcxcCfv0TyQS7B9Ofm0TSJf/S42QMf?= =?utf-8?q?xJ6+hdNdBLSYDS/UXhInVuCejWjy0pmXlAZRQWhPh29lBjRx46E6H38iU1p1MhsIf?= =?utf-8?q?XrZ7PizRjvwbhOPVrROhzoNlGjvxEf4KvwNR3U3yDAp87RjpkDy13A6NlDi1db2Rb?= =?utf-8?q?K1WPfvoxuoyM7oyn4OLAd146QBX76aNNuXIOenLOpHSL1Gsj6bWNpg7FOkExZSWQd?= =?utf-8?q?9EN5PAJmUhQJiZHW8DvqUWFYUbIidwevBY8VTmVRj74RfG5Y7WcjlAId0IVPWyWav?= =?utf-8?q?2oxAoSmhTcpWmxQae4Jth3IbaU7T+Mfxz2bZlEPoGDhVTfkLK2i+yxj/T6eDBF0jJ?= =?utf-8?q?sPpMNg2L/9s9KCNsaB8z97ZrKR+ppIHcEzLFdN8PEACHEplRX5Bk4O3pkQkHJ2oPd?= =?utf-8?q?AQABgEiniwhZKZwXb3/Qf9s1v3wv2SSZRP7W53tlh2cCw/cntYy85V05kp63wVcoM?= =?utf-8?q?cbdOdyvPtFOTQcnDKPvgFpcdi0Yl1VJEkuRkI1tCrekuN4tuCDJ3Won02mpQYTPur?= =?utf-8?q?ijAXFTApA0sDTi0n/5S2CReacuWjQzSMKxuGFSo35e883xCZFSHh39Kbp5pFoUuD/?= =?utf-8?q?+kldMG0A6UIs3vpSC+vd9vysdMdv4mfaV6QwODQ3BDaNUl8qWEmoDhn14rhhOgZtH?= =?utf-8?q?N/3abwCv1WrrGj6cL0Dkbz89u1WgxZd4KAKXoCShp3YDJKj9YAcmbN1B7+hxqEgUo?= =?utf-8?q?oXBmphil257Sn86XufT8KOitCfZgUmyvOXrhT2o26sjJ5b7f28QivIm7RC2lWLfv9?= =?utf-8?q?Wp7TwraAbm5MbZRfc6n8JbY0yU/ATTfV3dPv4GTkzzmA/KsmbXGKSdrvnZCXi71kY?= =?utf-8?q?GiiniR+ktkkBF6ZThhJoO+8l1jya+LIQ/Qj/iufEQVrsT3LVTZerrUlRJXvOYvKhX?= =?utf-8?q?ymlz4KQvelmYEmiYSNFZo+wwQxQVaTE1PCwU8ezLK8YTTIDEoJcuOhqf6CQV5mDjk?= =?utf-8?q?FF1AshGZQxoaCjn9/8/ZZ+RxoqkBAn5D7xtramPLOYqdZX85aa21asQ4NhiQ8esDG?= =?utf-8?q?1p7DdO9YD9QWxByIOukbLrpveNXcT5lYuCplIrxYoSWinmjAAJy/3eddYyVPoItvK?= =?utf-8?q?qsG1Y4g77Ja5vScm1MLqUYSn8R5+zeRzMKomDYzeD/UgfA1YxPeodxaPyU7e12QgZ?= =?utf-8?q?EBX8f7iogVefSaMylsyxgco74F8GWBOM5EJ80WK30eIkXVjcpLXEMuwD5lJVR8zia?= =?utf-8?q?DIh4KgC5qwV3oOykvkmpmY2dWOcsSYvXy/jx5sbzOO5GGqbkelYiChs8sLZc8DNL0?= =?utf-8?q?Rj1vBVJpLlJbGtvOvZXMY0k7k4J3sv0U9sC8N2C6GB0OGPueC+CrSXDtja7IfPh9u?= =?utf-8?q?7V9UFrtAHvhS8mfyGBYe8Hzi47fkLKf2oTRncSJjA1L3aNFp1UOcUX1Y7S5/FsEEX?= =?utf-8?q?7ymwJhj7SXFr0xzp1NBrt+MRCsAS+XDUBjBNgXmocGwo8ljrrngQet2rx5NFkiko3?= =?utf-8?q?/KXYCDvqYSav?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6d396b9-d772-456d-3f7b-08dc0c4ef211 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2024 11:27:19.1397 (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: btPMFjhhTRrEokyYecOUcFxd0LwwJHOJ0MpcbXS/r69MUxD7dfF5nMG6nh0R9V/LYa2taiLbAmD/potWJORw0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6902 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787068458433496215 X-GMAIL-MSGID: 1787068458433496215 |
Series |
arm64: dts: add description for solidrun am642 som and hummingboard evb
|
|
Message
Josua Mayer
Jan. 3, 2024, 11:27 a.m. UTC
This series adds DT bindings and dts descriptions for SolidRun AM642
based SoM and Hummingboard EVB.
Additionally a commit from downstream vendor kernel are included,
enhancing support for pru based ethernet.
I wasn't sure how to properly annotate it in commit description /
signed-off area ...:
1. add description for "Industrial Ethernet Peripherals" (IEP) to am64
https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/arch/arm64/boot/dts/ti/k3-am64-main.dtsi?h=ti-linux-6.1.y-cicd&id=5afb73d82a014b59462162d960b350b8c58e5ae6
IEP is already supported in-tree by a driver, and used in
k3-am65-main.dtsi.
Unfortunately dtbs_check reported many problems, I put them up as rfc in
the commit description of patch #2.
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
Josua Mayer (4):
dt-bindings: arm: ti: Add bindings for SolidRun AM642 HummingBoard-T
arm64: dts: add description for solidrun am642 som and evaluation board
arm64: dts: ti: hummingboard-t: add descriptions for m.2 pci-e and usb-3
arm64: dts: ti: am642-sr-som: enable iep for pru ethernet ports
Suman Anna (1):
arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes
Documentation/devicetree/bindings/arm/ti/k3.yaml | 7 +
arch/arm64/boot/dts/ti/Makefile | 3 +
arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 24 +
.../boot/dts/ti/k3-am642-hummingboard-t-pcie.dts | 31 +
.../boot/dts/ti/k3-am642-hummingboard-t-usb3.dts | 37 ++
arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 333 +++++++++++
arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi | 639 +++++++++++++++++++++
7 files changed, 1074 insertions(+)
---
base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86
change-id: 20240101-add-am64-som-51a1ca47edf3
Sincerely,
Comments
On 03/01/2024 12:27, Josua Mayer wrote: > Add bindings for SolidRun AM642 HummingBoard-T Board, which is the > evaluation board for SolidRun AM642 SoM. > > Signed-off-by: Josua Mayer <josua@solid-run.com> > --- Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On 03/01/2024 12:27, Josua Mayer wrote: > 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. > > RFC: dtbs_check reports: > > - error in pru ethernet: > > arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dtb: icssg1-eth: dmas: [[12, 49664, 15], [12, 49665, 15], [12, 49666, 15], [12, 49667, 15], [12, 49668, 15], [12, 49669, 15], [12, 49670, 15], [12, 49671, 15], [12, 16896, 15], [12, 16897, 15], [12, 16898, 0], [12, 16899, 0]] is too long > from schema $id: http://devicetree.org/schemas/net/ti,icssg-prueth.yaml# > arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dtb: icssg1-eth: Unevaluated properties are not allowed ('dmas' was unexpected) > from schema $id: http://devicetree.org/schemas/net/ti,icssg-prueth.yaml# > > It is caused by definint 12 dmas, when ti,icssg-prueth.yaml specifies a > maximum of 10. The pru ethernet on am64 mostly identical to am65 - see > e.g. arch/arm64/boot/dts/ti/k3-am654-idk.dtso which also defines 12 dma. > > At least for this revision I am skipping fixing the bindings, because > aside from raising the maximum to 12, dma-names also has just 10 entries > - and don't know which names would be correct to add. > > - undocumented compatible ti,bq25713 (battery charger) > > arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dtb: /bus@f4000/i2c@20000000/battery-charger@6a: failed to match any schema with compatible: ['ti,bq25713'] > > This specific charger has no linux support yet, I am not sure where > (or whether) to document the new compatible. > The reference could also be dropped completely, since the charger is > not assebled by default. > > - undocumented compatible for rtc: "abracon,abx80x" > > arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dtb: /bus@f4000/i2c@20010000/am1805aq@69: failed to match any schema with compatible: ['abracon,abx80x'] > > It is actually documented in text format: > Documentation/devicetree/bindings/rtc/abracon,abx80x.txt > > - phy@0:cdns,phy-type:0:0: 0 is less than the minimum of 1 > > arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dtb: serdes@f000000: phy@0:cdns,phy-type:0:0: 0 is less than the minimum of 1 > from schema $id: http://devicetree.org/schemas/phy/phy-cadence-torrent.yaml# > > I used value 0 here on purpose (phy.h: #define PHY_NONE 0), however > maybe better to choose a specific protocol? > Or better to update binding and allow 0? > > - interrupt properties not allowed for spi flash > > arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dtb: flash@0: Unevaluated properties are not allowed ('interrupt-parent', 'interrupts' were unexpected) > from schema $id: http://devicetree.org/schemas/mtd/jedec,spi-nor.yaml# > > The assembled flash memory "sh28hs512t" definitely has an interrupt > pin wired to a cpu gpio. Should interrupts be added to spi flash > binding? > > - wrong names for pinctrl nodes > > arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dtb: pinctrl@f4000: 'ethernet-phy-pins-default', 'ethernet-phy0-pins-default', 'ethernet-phy1-pins-default', 'ethernet-phy2-pins-default', 'leds-pins-default', 'main-i2c0-pins-default', 'main-i2c0-pins-int-default', 'main-i2c1-int-pins-default', 'main-i2c1-pins-default', 'main-mcan0-pins-default', 'main-mcan1-pins-default', 'main-mmc1-pins-default', 'main-uart0-pins-default', 'main-uart3-pins-default', 'mdio0-pins-default', 'ospi0-flash0-pins-default', 'ospi0-pins-default', 'pcie0-pins-default', 'pru-rgmii1-pins-default', 'pru-rgmii2-pins-default', 'pru1-mdio0-pins-default', 'regulator-pcie-3v3-pins-default', 'regulator-vpp-1v8-pins-default', 'rgmii1-pins-default', 'serdes-mux-pins-default', 'usb0-pins-default' do not match any of the regexes: '-pins(-[0-9]+)?$|-pin$', 'pinctrl-[0-9]+' > > Other TI DTSs consistently end with *-pins-default. Should a different > naming convention be used? > > Signed-off-by: Josua Mayer <josua@solid-run.com> > --- > arch/arm64/boot/dts/ti/Makefile | 1 + > arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 333 +++++++++++ > arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi | 638 +++++++++++++++++++++ > 3 files changed, 972 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..f7b48ada8ef3 > --- /dev/null > +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts > @@ -0,0 +1,333 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright (C) 2023 Josua Mayer <josua@solid-run.com> > + * > + * DTS for SolidRun AM642 HummingBoard-T, > + * running on Cortex A53. > + * > + */ > + > +/dts-v1/; > + > +#include <dt-bindings/phy/phy.h> > + > +#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>; > + status = "okay"; Where was it disabled? > + > + /* D24 */ > + led1: led-1 { > + label = "led1:green"; Use function and color instead. > + gpios = <&main_gpio0 29 GPIO_ACTIVE_HIGH>; > + }; > + ... > + > +&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>; > + status = "okay"; Where was it disabled? > + }; > + > + light-sensor@44 { > + compatible = "ti,opt3001"; > + reg = <0x44>; > + interrupt-parent = <&main_gpio0>; > + interrupts = <37 IRQ_TYPE_EDGE_FALLING>; > + status = "okay"; Where was it disabled? > + }; > + > + battery-charger@6a { charger@ > + compatible = "ti,bq25713"; > + reg = <0x6a>; > + status = "okay"; Where was it disabled? > + }; > +}; > + > +&main_i2c1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&main_i2c1_pins_default>, <&main_i2c1_int_pins_default>; > + status = "okay"; > + > + rtc: am1805aq@69 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "abracon,abx80x"; > + reg = <0x69>; > + abracon,tc-diode = "schottky"; > + abracon,tc-resistor = <3>; > + interrupt-parent = <&main_gpio0>; > + interrupts = <44 IRQ_TYPE_EDGE_FALLING>; > + status = "okay"; Where was it disabled? > + }; > +}; > + ... > + > +&serdes0 { > + /* > + * Serdes Signals are routed via mux to either m.2 connectors: > + * - M1: USB-3.1 > + * - M2: PCI-E > + */ > + status = "okay"; > + > + serdes0_link: phy@0 { > + reg = <0>; > + cdns,num-lanes = <1>; > + #phy-cells = <0>; > + cdns,phy-type = <PHY_NONE>; > + resets = <&serdes_wiz0 1>; > + status = "okay"; Where was it disabled? > + }; > +}; > + > +&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..952a262d6874 > --- /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 <josua@solid-run.com> > + * > + */ > + > +#include <dt-bindings/net/ti-dp83869.h> > + > +/ { > + 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"; > + bootargs = "earlycon=ns16550a,mmio32,0x02800000"; Drop bootargs. earlycon is for debugging. Best regards, Krzysztof