From patchwork Mon Feb 12 17:38:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13553815 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3FA96C4829E for ; Mon, 12 Feb 2024 17:39:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rZS0HGolsPpHwVFxbmaEF4BGiv+jltwP5ZPJUIEXyaw=; b=zsK8ljQUOY5LKojIbkgM6wueab uLBuQHPU/AJXQ0RwqS2fYRkNg+PBq4yDgZTqecJZZdqnDzUbGkz0kbpWLOfhmHxVwY4S2q8GnvmLi RNCIOBnKUBBrm+TlznPw7QViYSEVYHoopVgOCunZh9l2HyXhnIFKXHKjQWcXosvY2kzJMhLbkDTAd qY77/Jtc6+WFa6o+6xFz0txhX6hkE02xpIlTVtSmFE7HNUaXLWSz5yPrMwf4PVkZQT13JuIyP2Gou 7kGDbXnN1z46hAmPvMLTUxgOLXYuJXe1dCCtwp1oavCsnaewQ1Ge22rUaehliaPkcpKMFZEE0TFXR HuybCI2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaGg-00000006TYU-0fLN; Mon, 12 Feb 2024 17:38:58 +0000 Received: from mail-ve1eur01on072e.outbound.protection.outlook.com ([2a01:111:f400:fe1f::72e] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaGF-00000006TCR-4Bf7; Mon, 12 Feb 2024 17:38:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JqNi1GrVeAIahdUv/tFmw9FDheR6Xv2h8w2nGIRDEdMaL6KEMfYUj4XZewMXAhNO3beWnCd52rI9zJTMwGunfitJ6FYfpGsjbbwJT9eD2YRN36h2BvqTNtcPDkC2VElRS5g4RDNj8MfOIMYrstQ9+/0NuDfj4muKCZuDPXDra9rLCVgD+ngaZOAxajWRrf80dEEzhyhCD1lF7Vb+Rr+HMe/ri2hwTyDqXCVgUH23v8al4+BJXLtq2t8K7Wk28Q1Tt2P9ha9BsfiHHYgGHLpf1wUqoyOzcam6NAx7oEJQrq6Z9bSZqQMLxl0kUDeAu/hGs2CHJmva2cEHYSsEXC/E8A== 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=DVxPmi2eYokNgwgRMfWZLMrATkmf6SNKFaT5hWZTTKk=; b=NF5sYM1l5gR1eB1WefuOxPXyB+P1WEsh6nJIBq24F8uNKWPcOjEaR2DEi3PcIDP+fkf7cSrE9KlecgR7/D5u0Y6Ecdj7taH1n7pN31EzhEA6FGXJzSgeYFObgR4/60/IH+mXr0hLdgjRwUPpcW0P0fOU1j5C4rHfNM4pCupx0dLLPjjOMztS40aVnjQiXOhKTY+9ooLokczfoeDZ0mG5EFAJ5Hz4AMedHbtH7qhwFp470pfdtSkT7YsPAOUNRofbEgL0ZFb6VtQVJgk9T89EpHH1oYL4OwCTzykOAwCuqb+Uyg6X8f0vBriCBDm1X1e76YaJucFX9HSGBxrEFvOGvQ== 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=DVxPmi2eYokNgwgRMfWZLMrATkmf6SNKFaT5hWZTTKk=; b=dWJqdG0cT05stbdof8sJky5nPzxjfhFuM00KRhUz0BDJ8bz3fYxO6VnAfq8+HhcoMrfb4UoHYPVM8zeN0mLwHAnkN1yngFSwyF4nbTS2aMEgvr/6nNf8tfzeiFtNgT1rZTmura2cKHzd+GB+Q9/D/Rry8v/DdVHsTavXqif0TCY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7909.eurprd04.prod.outlook.com (2603:10a6:20b:2a2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.24; Mon, 12 Feb 2024 17:38:17 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.039; Mon, 12 Feb 2024 17:38:17 +0000 From: Josua Mayer Date: Mon, 12 Feb 2024 18:38:08 +0100 Subject: [PATCH v6 1/7] dt-bindings: arm: ti: Add bindings for SolidRun AM642 HummingBoard-T Message-Id: <20240212-add-am64-som-v6-1-b59edb2bc8c3@solid-run.com> References: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> In-Reply-To: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni , Jonathan Cameron , Lars-Peter Clausen , Eugene Zaikonnikov , Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-iio@vger.kernel.org, Rob Herring , linux-mtd@lists.infradead.org, Josua Mayer , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0027.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::14) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7909:EE_ X-MS-Office365-Filtering-Correlation-Id: cb066ff4-86f6-4285-7f61-08dc2bf165d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Vwo8B4MdGxZ/P2zTxkTTdrKYb6hExkpwMx+ZUG5tWEN1OGBNyPYU21Hh4sW/MF1QnIMlVTYjBfogXM3OTSe4+V8loWK+JrVdoxu0332KY2rvcHgz3TIZm+1au59xM7nWjC3gbHwXQkzwi7dV47/u6Ww4XRw0tjnYopbygE5bdpXdBItiSKDXT9TXHxDvyJHPMFJw5ujtmIzr6kKHxkwCxz6HhREpdKHN3sVdPypvQ6K3ZHeUWxa7xtaen+offW5fXUUQO04mJbNkfSsccwxghU2crlHqaFbylM6hq4f3/fXGj/CL0U/8AL9MAKxuL89oz/K4iZ0CrZkXqinD5n/tlWvMS0NwufdpcGvSJJZkjf3KsbW7IhKPIUQt9lya6TLX8yxIQd8bk+imZfI41J2/lUBlFbsIE9nIHdB3Rp7yYsmRVlzPb5VycgUPnvclEnRiBhzzvMKB0SPgXlxuDyNDLFK+wyJN3oIwMZxnPAOFRXhzF0kfH6i0oRltQsvaDoKV0769aWLZxzjvfBBBsve9NY8qYfNR61xNCzC68utYS+e55oozUh22zuqvEOS42UJTwKmRAHgn8P2djvKuzoEnEwIt4NhNpU2p9XHVahNAYQTMybg6SsnBKtAwvNj3k7F5 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(396003)(366004)(376002)(39840400004)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(8936002)(7416002)(66946007)(4326008)(66476007)(8676002)(66556008)(5660300002)(4744005)(2906002)(41300700001)(26005)(2616005)(38350700005)(36756003)(38100700002)(86362001)(110136005)(54906003)(52116002)(6512007)(6666004)(6506007)(316002)(921011)(6486002)(478600001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?rTjPhjdkQ7kHJdgGfc4tuodPXPcE?= =?utf-8?q?awr50RIw+HR4ABDANCBkrtBsNaO3o2yOnuO7OGzVfXCAv7Q7LAmFv31xf2QCNBwtS?= =?utf-8?q?CbgmaQe0R6Bez6goTBOohcdpq89+0y5B97bifyXanpwQ1a1p0bBGqLg70iB/BGsD9?= =?utf-8?q?KninwNqMqKyRy8qVtx2/dQk+yMNhJuufvz8ZlzY0CrVC4EVCeUT5YZxIyJmTazEKZ?= =?utf-8?q?LNBQ7pP7UgDL3rWU984EGS27L3n4RAjmkIAXzIgJzyOCR3GWZSeCwmxQiGPv4hCtV?= =?utf-8?q?zOMjXV3V37hzsu3dZx8XMb13wNlVw3iLGB4Q796CpS2lM4agumngb1ZpQYgAjHFe1?= =?utf-8?q?NKbFQHbBMgRTKAcL46t82Fs5tmZUT3dSp8gtVObiuI0hIH/51+z4hziG4t30UhCod?= =?utf-8?q?lfBb3OGgjsaKUbhQJgGNPNRgUYgexpp4yrbnqKSRwkqbWVJ3b7LZgtuUIF4LwN//I?= =?utf-8?q?gFqJIqDqktSRSEzpfzqHd2gNFrDMp3KjNoUE/5ea+lVoBu9br94f5OFe0bkiytyt9?= =?utf-8?q?px4mBFOKhlmbHCVWqHpYyg+aBFJGVoS5syohNAIfjwwMURyaobjKBDhW9aaX8YjoP?= =?utf-8?q?2/k2rVewYyRMcxcZucRHZp7+1MKpABGCiVV1aERjPLvd8CaAuP9TweBy1MWpAqkIg?= =?utf-8?q?uRYbPQb7bETTWSPLUG2feaXFY2fnq+f9l0dabWyIHB546aWb1HEuD7r4JCrsy0n36?= =?utf-8?q?lzxihGj3PoIj+6mVnVisS/r4padF8a5U0xNUcGOK4dHwvWH7GItsTKl7zf3f49brl?= =?utf-8?q?z96Pq+GhdhBEiGVdgPWlPxJ3Lhv3I3DQQUk53gX9bv9HLmoLukcBXw+FBWETsKk3+?= =?utf-8?q?LcddDZ98XNkt85/VTDVNblw78Be7PiHT6GUpaf3evrTj0935s2Lnyn+LFHpeDKDEq?= =?utf-8?q?RFoX2pobIopxG7tmEwf9BTJzB90ZbK+vaieb2WzMrpz+Tv8cdmfR/8IkAPFMTQ7Ym?= =?utf-8?q?R/LW9Fcq+5U29936eWhuMDn6d+W/d+4+8SH8br3I+sWXycqgfmnbESNtMeouLtbqU?= =?utf-8?q?ZM80PkBCxTf6FxrTh5n8EWDsulqtRIC7XXF3mBkgBbmKf6UV2TY3P8G8kdQsRw8cO?= =?utf-8?q?PjGySAQ3fBzoYDfCB6kScnCzVQm5fW+mox+aKZXnIb9I4jM1ULXKEbo8+aqeaKRxW?= =?utf-8?q?6tsWvoy9bhwu8ZFHgmKJOjkfSASRlrKDr84+sazxccrZDg7Hf0nFJCEoVSeZLTzxb?= =?utf-8?q?LnH07qZ+4WkmKRT3gdkLBSRCqmCxa64nDDYWtSCFfSyawwN6vWnyJuyv1JdhTIRq/?= =?utf-8?q?hJRPFNYg3gTbiEL00IzJIkjtHMIPkbZld5D1eUScp3AQxWdY4yjHQowvz28ItN+47?= =?utf-8?q?o8GobRqOwf5OI8FNM4r4KBd4s5e1C58XQNQLn3yNPbT5+fLwPTjFOY78X4eYlO950?= =?utf-8?q?3p0w4h0O9Ipv2B6wO5WBC0qvWGvhUfcpHchin3Wit7RzuMVObGlQerxZ4c0feEgGc?= =?utf-8?q?dGFuoiwJuPQ8+80uSZ1UcHyxxwIxTPRrAWYJsKMnroHAQu0mA/wBfnyP4tzGwHwNA?= =?utf-8?q?2fpArt+dwimY?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb066ff4-86f6-4285-7f61-08dc2bf165d8 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2024 17:38:17.6511 (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: mdphCWSIj8p4/W69ZMut33rAVkmUu8oL5rMfb8FI2NIVcuCccsCODW53fq90I8xARLqjOwgD5hRcRxa+HNuh5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_093832_185640_13F38F50 X-CRM114-Status: UNSURE ( 7.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add 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 c6506bccfe88..0233a8b0b6fc 100644 --- a/Documentation/devicetree/bindings/arm/ti/k3.yaml +++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml @@ -87,6 +87,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 Mon Feb 12 17:38:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13553812 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B9A1EC48297 for ; Mon, 12 Feb 2024 17:38:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ZMgSQHOntCGiGkm4MW/NvGmLbr01gMsE0SDMZxV0uKg=; b=wRY274h6Aqhqu7iCCvhddUTz5h zGZkIYwY/XAB0sBXLX5QlL3IoLhni0NcRybYx6J7RY3TeLcwazQrm9nv5n3a3FLZUttrDWe8fBPx6 /mexwlrx2BuLou9F5CuS+bL8YEqWWpVpWfgwYcfKffpKY/GrTPgDS22X6XCpiU51edVaeJ61vcKzH M5noW4Akxo2FFCMGjnPAh/UGLTqea6Q+xuRbDo6g3SADbvWEcY+627fxyWAi00hLXJkoI1g78PgH0 M7sc941HgPTStE7b5dasJrJ6csRzYATIFwgH9dCayW/1cIXpc5vnRaomAC418pUdkaqR584rQjovr plmWWu8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaGE-00000006TCm-3aqn; Mon, 12 Feb 2024 17:38:30 +0000 Received: from mail-ve1eur01on070e.outbound.protection.outlook.com ([2a01:111:f400:fe1f::70e] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaG9-00000006TAP-34Ba; Mon, 12 Feb 2024 17:38:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DywiRzYqj+ObkYH9Xqy/iRoPmgESlpUvU0UYVV9SCAYalJmpjUv4jOPiCOG0uJPMRBNYvl9k8850ivcAs8AYU4Xk457p2mmEmZXDPj5tC6B1nHaYKOzyeG21U6qTfS/9EViwO+7NCuROpy7hiKfY0yPs8jBhP7YW+Pvw/341j3odNmINRoyjXmkJlkFWZUAvx2+8ZpXGSIkHwu7X7KZimISInPDdtOn+R9h/htPVrGqcoSaTTe0gfPhLAgFTk4Flm1DVeqPuwAtMIo/5t6EI9UvmDcATVbni5cOz2eStIXP6fCR9p8wNRDHddXKmV6MKY0OMXa6CJ69LQjh0/A+oBg== 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=l0XoBzrV9zt+MatjMdVkn4QnoLKpYCLDHZz8+OlQ+a8=; b=nhzlt9iw1ZJqM+Kbs7rTGtfNSpwiS2z7muUX9C39UjsFXATK2A6B0iEKesCze2w7bmDOLXEKdSXzlltVlgphTH+I/+nimrC7DINtv86w3xg3n6Ty3Q67W0SnK2Pmul/j9TgQG09TT+ZbuAnke2U8xrgBnrf9/Z49NiYuiUW9sgSfH9x05Lj3cMC1ws0iXQM0gDgwDV6j3LCemgqRv3HrTIldvTFWYZcxN3Wr8Ym8mHBfb28/NuVe+S2cFAyx/QvJS+crR1KA5KhRJJwL6UMlvhCeYrE2/p8AMDzmh37pBDjIStlBErdbemS6XuBckU+gKqtzAvjPxdOoKZRWgsxktg== 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=l0XoBzrV9zt+MatjMdVkn4QnoLKpYCLDHZz8+OlQ+a8=; b=fUkviDPQy4NLbxwGLHdiKqzlrOPdqpcvvNEIgCr8BE0hoHC1Eq44YyQAI9aHsIvFVvJODO5/Rp4j1u4C1JlDJUS7JDFLDcfrhSyHERnvE7GhxIi3WNwAmS7gAY3KfDQJyyxO98Awjj+2hOz6gJ96poNiexg2dnThNWhTG8qKfD4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7909.eurprd04.prod.outlook.com (2603:10a6:20b:2a2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.24; Mon, 12 Feb 2024 17:38:18 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.039; Mon, 12 Feb 2024 17:38:18 +0000 From: Josua Mayer Date: Mon, 12 Feb 2024 18:38:09 +0100 Subject: [PATCH v6 2/7] dt-bindings: rtc: abx80x: convert to yaml Message-Id: <20240212-add-am64-som-v6-2-b59edb2bc8c3@solid-run.com> References: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> In-Reply-To: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni , Jonathan Cameron , Lars-Peter Clausen , Eugene Zaikonnikov , Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-iio@vger.kernel.org, Rob Herring , linux-mtd@lists.infradead.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0027.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::14) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7909:EE_ X-MS-Office365-Filtering-Correlation-Id: 93756232-5b37-47da-1d82-08dc2bf16660 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fIQkMdKo+qbovxF593Om5yJo+RLNYSCzlJoCg4PsW/kT51FJYbY73zGKyByy3HaqUZgGhc5suba70R+BFFUzKYiwkhoJdx+sAF04qrpQHe/sEYrhaIDgt5BOJYp21bcoBOiLvVzl5/9NKaRQEVr/awYTrx8tMHtr2eYx3X7AlpU5nrEUGkowdl5ChWTcF86owpoZtR6hjdJ+jOEhRE8W+QxmVp3P8Ul3zV8A4+04kDxK7B5xQWeyLb5xmDa6KGZk2Ml8AkkwrDnq5UiDXTvzGVfvN554FrEPntAbNsMrnNfNV0CvlEPFFtdiGRdcSeTlArWCEN9x/ZOB7ApvTa+CDRctCcvFdz2QARh49vVFGEZ9dPRVWamWBKvIkP/VM2jJTx5HPBmmH68G1+vZU/De7fbmxjJVHE/eJLZPqenyAZCdArh7uw5tya9EE1ahYRSunhTDvbnzu7hrQKJzre72fzE/OX+lghWhKkqKzk4m4+iHnPQLNxr8/T73cKQ8lEkhiQN8CpqhvbqmkYJyWjsjRMCQakjw4hZHtUWBTFDTPsnv/Md+3AOd4IQxDgpy//F48XHslPzdgZYjLuo7/xI1PTrAZLfEKmG25bK8n+fUv2560VDZrP0x2LD/Am8Xbx5S X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(396003)(366004)(376002)(39840400004)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(8936002)(7416002)(66946007)(4326008)(66476007)(8676002)(66556008)(5660300002)(2906002)(41300700001)(26005)(2616005)(38350700005)(36756003)(107886003)(38100700002)(86362001)(83380400001)(110136005)(54906003)(52116002)(966005)(6512007)(6666004)(6506007)(316002)(921011)(6486002)(478600001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?NhlShV3twSA9n4CZq56gZrniwfzu?= =?utf-8?q?MJLLC/qLNBw0n/+WjWYYIdCyEer8Kq5H1s7grMC1bYq54r5FUVwq53supk09pSbBR?= =?utf-8?q?KKH/yCWoaR3MkTvVoyMtdKThuMwfHFY+OdFZkAFxbk/AQepovw3jLyEXAUmcopeb2?= =?utf-8?q?BeGg2vNp4JD2k/pU9tkUywZuGtDBvsGvDY54Vw+OkZEzAtr2wJd9gNhS4vgEZzfxP?= =?utf-8?q?7aTDS2D+n4g/Oer3bUFpt6S7eBhKFH+VOOTjBwbDj3TPKM4rgjMIdKQgWv7I+ODTH?= =?utf-8?q?nOMA/BaPzyqIEOCLw0fa27ofZ2kA2zROodMj0E5/wToQu2go+vRRI/2eLb6lz+bqe?= =?utf-8?q?5xVMvhsGWB5ugZGnbovtpNGCpzy+18zyZYT8oqmhHYzWJm7lVZxW0XAcE9jz7JpM4?= =?utf-8?q?WN2Xvhw6L+WJIrsP1irlLUzpG1jpEa4QOQWDHOfF4TS2A1+ZwkvzsdSAYzfm4941h?= =?utf-8?q?9SWDXZfAUeNy+zqWK7XQLTaqgPT4I7gqDrokiPTH7LDhGU0P45K5O2yd4SpwfSgNM?= =?utf-8?q?sViBaMWD92MgJYJLq5MjOp5phkwklQCdS9nChz9/u4wgw3lbgTggFqT2NqUGPFpTE?= =?utf-8?q?v+nfZVbSjdZUg3kmfe4g3e+b57nbjAEVb2A9A6rnUFLx6lTXbyVrfvn5mGa2mfIG6?= =?utf-8?q?mGMa7cVCKO6iM7TfPpd14npDbBSn+V6yxCIJ1uIJnCh5Eoq2J9214jX6pjsG9Ac5G?= =?utf-8?q?j1pE2ddquxnEUNc6n6X9EmOhrcZpMNdZv2Pz9RS/eYMj3Pb4wlY/oH/HVAFr+Frhh?= =?utf-8?q?TGFA65XB7P7BBc0+Wp3+xqsBN4LV8FFMnIfBjO4wxQ5UL5o1vu/HTqzrLbENzF2hW?= =?utf-8?q?GBsmekjQ56+UXh/e8KqFoznac5q2WC5glumb3F6sGAGfB4L5BFk/8H0xp1QYPHKuS?= =?utf-8?q?sJplbohenbAdF53tnYEmBNVhhZwiUIqprP/Ci9suePBOm5LA1Y01JwN9+PDVLejGz?= =?utf-8?q?D2+e0gHv9s/QOznTfXv2TnniJmCZtmyctI/kRjP2q6y0/N5VBzk4Ob8rtmTUXfj/R?= =?utf-8?q?cw/9dIUc+8Uz633ZxlUcrEH6FTXuEGpswHfyMS8FcheKK2NhgQMNJkG0XWKtrCaxF?= =?utf-8?q?ROhrRnU/mz0Vu29kTcIFBpGrOBBkT0H5shEw+YRO0q5XHgDkkteMVsd0nq5ziZ8V+?= =?utf-8?q?47XKsaChdu+GE/MONVavEHFqS0xt5f6PLkxIFt/9iIz6/0h32nd9pJiXT8nFpogMb?= =?utf-8?q?UGyvxhkk9FZPJ+Tpz9TXD6ylHb32P4VP12LsFRWACUNqkJF8syPWBosdEKjtHgS+l?= =?utf-8?q?wAOyc/xBaIUq5IR1ysKwHuSTSa99oh6pLVoVVFyYJ3FGX5DODsY1Zy7SfWUDydFJH?= =?utf-8?q?LLZYPt0vQ95BBZk4gpRihE0tKf3k2dUe9BnQhRSiFswIAArrhTLPgCKwj0PSt1ErM?= =?utf-8?q?tIW8LUe0NeaePjOpG70A+9XZQ+WFtuqOrFWFuYabLnxPjWTrhC4J+wvFvLx9BXRZg?= =?utf-8?q?vSCQcVpZXWjmU32fze4dthACEcqDm9P46SapfBztcraLt2xhfZawoM1OR/VYYg8jY?= =?utf-8?q?fIkY0i+khMPm?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 93756232-5b37-47da-1d82-08dc2bf16660 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2024 17:38:18.5420 (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: hZImlCPxW21CH2dc7HtIc3wexXot8NHPcXwsls8ZdkvDjYLCOSJteJAl3SfsuyPwmtgebj77MtJgx1e1KjUA7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_093825_785283_7FA9DD20 X-CRM114-Status: GOOD ( 14.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert the abracon abx80x rtc text bindings to dt-schema format. In addition to the text description reference generic interrupts properties and add an example. Signed-off-by: Josua Mayer Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/rtc/abracon,abx80x.txt | 31 --------- .../devicetree/bindings/rtc/abracon,abx80x.yaml | 79 ++++++++++++++++++++++ 2 files changed, 79 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..58dbbca27deb --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml @@ -0,0 +1,79 @@ +# 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: + - linux-rtc@vger.kernel.org + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + description: + The wildcard 'abracon,abx80x' may be used to support a mix + of different abracon rtc`s. In this case the driver + must perform auto-detection from ID register. + enum: + - abracon,abx80x + - abracon,ab0801 + - abracon,ab0803 + - abracon,ab0804 + - abracon,ab0805 + - abracon,ab1801 + - abracon,ab1803 + - abracon,ab1804 + - abracon,ab1805 + - microcrystal,rv1805 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + abracon,tc-diode: + description: + Trickle-charge diode type. + Required to enable charging backup battery. + + Supported are 'standard' diodes with a 0.6V drop + and 'schottky' diodes with a 0.3V drop. + $ref: /schemas/types.yaml#/definitions/string + enum: + - standard + - 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 + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@69 { + compatible = "abracon,abx80x"; + reg = <0x69>; + abracon,tc-diode = "schottky"; + abracon,tc-resistor = <3>; + interrupts = <44 IRQ_TYPE_EDGE_FALLING>; + }; + }; From patchwork Mon Feb 12 17:38:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13553813 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E180CC48BC1 for ; Mon, 12 Feb 2024 17:38:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=u5jc33Y9ThyokabuEVaE2rlDGM3mwgxMVpqRTehyB5M=; b=dHEiq5ngLOUtnhAO0BxUxg5/CE iMQqqaXNoM1ayogauXcpw2z7EonAoS3mS7VNMLdmMnF3NhXtP/YYqCyc5t2TEojhoY58hgkEMgxNT mLLng/Cc9k5mXca2c/O8dXYBGDN5AXX8dWW1ro7PQCj4P4rORtTigtwR6CVB0PIHKtWm7PXJ1TSiP qFCg22Q1+mbsA9EmVO3SZjUyNxByH3DOBJ8Vs8uA0WBTjSk1+8tpN1mXfXSHVy4TLPoxX5m17jhW2 OqobM0LKXhwVuH9rNgZNGGhiR6nYzzc6e15V5YUS0QP+CNGSYMcIaDWjbL/N1/Lfxx2rGsU4NdeIU m5aUMTYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaGG-00000006TE8-23gn; Mon, 12 Feb 2024 17:38:32 +0000 Received: from mail-ve1eur01on070e.outbound.protection.outlook.com ([2a01:111:f400:fe1f::70e] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaGB-00000006TAP-3206; Mon, 12 Feb 2024 17:38:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AlzKQuxLa6Mf5uiTQ0DyVzfidlyvi0UVFosOHrUs9NXcPesxmDmhxedwZw0iVNuwmBC5vkkwRVVsP+ntLlnZGtk5Ee8z1CGzElmOtNkm42GKx1UVjTFezHevZYPUvCTklzVssad310jk8fokLziymkKPct/U3dqq/kVq/9OCfKmUxXNMiIRVKlngaYc31YnADO0S2T+bMEA85i4V1ZjDgNPlQqaIduWjLn7VXXqj6UUODGjcLn905+qb+QbQbOdvg4EagM+S9W974MKKov3N3BP8CBK5nGM+/hrcnLcp5Tcumw1HtJnb1qVCzgiaJiDllODbRl6tx9OlBoyLyL4oPg== 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=j9Jyr5lvMsW/PDnX/iJIgv8Rk7hcQ2oITDvhDHbCycw=; b=I9y6Pp4Sn4xVFyVj1gCc7w2wghchYkETUgRX3jWRsTHjs9kS6M0HDqKg8zJgFv+j5ZToN3+rhpuT4fZ07XOqQx4TdTRZL6rb/7rQ9zGg9cr61qRDTXhJHJoCX4DMeXlJq2/EYML/TTy3g4KuHTCO+ZRRBiFDq7bZ3ytk5p/1jKlMN/ZXG8LbKDkDM9MBvgDwema6olnjuHtcccYoKz+cnoQ4g7NZrYkznfsAz1nW4cA0v6MbJFU28T1B2UQXdCbigZ0quhnGWG64YxJ+RHYKtgeRbHhq+wsLN9rCZNyn/tsPM8TNqUTLPapHK3VcXx557OGUk0v25Bd01KVYEhjvsw== 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=j9Jyr5lvMsW/PDnX/iJIgv8Rk7hcQ2oITDvhDHbCycw=; b=NaWZv98AiNeqwNeTXopypoVzq6ClTjFbe/RqVbabOSxeg6u8pUmJIe3wRU/pVJk7/6JW0PS327DfXfC+v5UtQ0CTdoXQOT1FxU+ck21SRLW3DydTT8WN5TdINbIzh5e6ZeII18SWvL7PRdHgh70IKBMYP24dnhy9iUBCrW5nUIc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7909.eurprd04.prod.outlook.com (2603:10a6:20b:2a2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.24; Mon, 12 Feb 2024 17:38:19 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.039; Mon, 12 Feb 2024 17:38:19 +0000 From: Josua Mayer Date: Mon, 12 Feb 2024 18:38:10 +0100 Subject: [PATCH v6 3/7] dt-bindings: iio: humidity: hdc20x0: add optional interrupts property Message-Id: <20240212-add-am64-som-v6-3-b59edb2bc8c3@solid-run.com> References: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> In-Reply-To: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni , Jonathan Cameron , Lars-Peter Clausen , Eugene Zaikonnikov , Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-iio@vger.kernel.org, Rob Herring , linux-mtd@lists.infradead.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0027.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::14) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7909:EE_ X-MS-Office365-Filtering-Correlation-Id: fede1b32-5137-43b3-d09b-08dc2bf166d0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GEk55DRonMQjlyeTcLjUMh+3GeTnFiSuBHQP3VCIfx3uDjL2BFw1rrTiGF7OUllXpGHP+fhP3BMGnvuc8kBpq0cVBFbQHjeQmAD6O4xgVDyXayXoF5ZpZS4xSW4iUBvjU4t+9ECac9x/xl6/KyF34L3NPrl27sWIgO1h7rGTSLj7p/UgD+/4n/pY25aFdtEqtGUVlPHgWF54ESBCxK80YUZnYO5LtmUjhG7ID3I96zvRAgBDzYPQ9ZHNy9LdBFmdnGXbXy23seoYu5QN6kArGzxJnDYtFiqQc4PjmH2Auj3i2vsK6nyddhboQZbhRKj4o8RuwnRlWoT3i2ApXw30y52onxz8gBu67C+FzGySNGXDSstC70TIm2p0xMljY1Vvz8ob7+1XQcqoaFUUrXTktraMaCC41hXOJoj9GmadSP2ZkP6oggoTORq7UH94T5Yb8djgy+9maztP/2s3i+Yx8IBit5KX/u9jEzTfo29GDOwiLmDVpxi+ZBhsPzhMc8oTI2rAIieXPDtoIEnTywxAAlhIfTp+dhwRWnD6LVyEuWEO18GxX44/+IhgX5keDyCPcZph/P+pxDGni2n4vkoaUO+PP/l8YMtiTxycDQXup9gbMpP2AbJG+v2NdXjMC8mtEclduaeSNorczaSbpZfa7A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(396003)(366004)(376002)(39840400004)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(8936002)(7416002)(66946007)(4326008)(66476007)(8676002)(66556008)(5660300002)(4744005)(2906002)(41300700001)(26005)(2616005)(38350700005)(36756003)(107886003)(38100700002)(86362001)(110136005)(54906003)(52116002)(6512007)(6666004)(6506007)(316002)(921011)(6486002)(478600001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?wWfNuhZtV/stK9790NL7C9Nb0Yb9?= =?utf-8?q?fDNHTIoEhHteNix1thjtzcfTIukdOSZTHV2Z6AvbgjtFMIeRoD8O4HswSnIkR+RAA?= =?utf-8?q?Vrf/wh1nw5kJC17twnCFzuQNUp1fQRMRN6zTLX64bRZZuZj99g4dE9JXSAqdai1nk?= =?utf-8?q?PSKFsQBAqucQ1EgyGJIUY5lnmQwkyvH4vUrlDPVx4rgVcLOr/S8rdN2g9NGsrWtKG?= =?utf-8?q?LCw81m5x19SQ2iukw+XFTobRFZh879PSqVlq4An91Mx6KTkZ/53p/0qtsvXGB7c9H?= =?utf-8?q?WWAPowPKbB9gII3ihQ3QD1YIzYMJWlrAip0nlo0H41Z3bd0WTBQRCbuGkNoqKGZwJ?= =?utf-8?q?jvOZ32NNwbixHcFojq5yqmnNynUvBCpFOMi6vd+M+6frMV16b8hWNt3HXaiqZ3CYW?= =?utf-8?q?chdK2TROsh5B5jYE3Sot+sjjt2Zj8pM7rJjDyN14rABN9T+hI8/32Tff1HkDXP8yD?= =?utf-8?q?mjyz+YDO02b7jfMDt7KkWKB6ogQm5xQP/62lV7BsjSA8aiI2Yl1Gr3GsRvB4TJN5L?= =?utf-8?q?G91rO9364SIdqdYTS2D/sHfK8S+BZZ4Ko57p9ewpQIwSXZaOefNBGxgQG3uBd/Eh2?= =?utf-8?q?ONKBF5G4vZuVM90XSFrLQUYuA6WGXTgic9JD/5T4dAP0g8y2tb8uIF7cfYxSKYADP?= =?utf-8?q?6nxBjoDWfMn4kJ0/fmna3nONxnuqslK1TcABnDzOvMRM7HkExImqIxb1xk0kbGUHq?= =?utf-8?q?A7YpwJ6OaFosYL/cINByUxNw3v/skh9O45Fm+gehU4bgAhDe1G7CgGiubHydhhxZp?= =?utf-8?q?l3F5KCheXFsR2yqxTLhcMoD/uqW4quoNPZObgK0rAqRc6dZN8y4UWSSuZvzRUi16T?= =?utf-8?q?b5lOHsgPF9bBvPNZ2COee7BzihpG54RkPgjq56wXvWEMeT2QwANpnByhZV4E3Rpqg?= =?utf-8?q?aRhsa6vWukKQGfieIrHQ2g65XcYCHfRKVwylm5g7xnaeaA8HHZcOu8vVVshf+a8Bt?= =?utf-8?q?lNR31VqPQvQGb+k27GtM8mufVP7UAy04PRyhzVlpML2sCesPWyPSJTJB20U4RxgGc?= =?utf-8?q?y4OzgY2JPBIlsSwlM0ArGJrsUqeAyeMSaoB53bDdTkbOCkWChDZnF7rDdAEUh6R71?= =?utf-8?q?a+nRyu/oAmA3c7MzSZIY9uVeFawd15u6neTovzK4fOp6cUdk2DZGxnj7Xl/Z3EHQU?= =?utf-8?q?vtZ5ad0w4BZ1aEDhWePSkzQzTMELgCKJn1z9zJ8Kr5rxo18MgNFOj7BMzQ3P5NIrP?= =?utf-8?q?wVZC+PTRRszma8tztSmQ8ieFZLorObplGsM0DZrQP3+C62gfcwcpAbVxFzF814YhO?= =?utf-8?q?LcJvQar91Dxbbm6vm4aY1BAhd4sEKd2PEGn/Ebsi+8L3SEg2VV2UzKHRiwHTHbIYt?= =?utf-8?q?kYgEj83GEEvmBl3VYBj7e6pY96zZFOb/w62MZQYeVjrD9oxSXh7c3xYG1vpMsSrhi?= =?utf-8?q?O3FEZZfrSxKxgRK5dbRNGb1zq//TL0FlKDyEOR4mmL2Edy8rnhkftzkquk8L3dMVq?= =?utf-8?q?+nIeeRP3y/oqwHp3BNg+YSsWWOBjrrMaliFDHnZiCb9PZPmftU8v5JsdJgzZCqFig?= =?utf-8?q?KCfFhiFULqeU?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: fede1b32-5137-43b3-d09b-08dc2bf166d0 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2024 17:38:19.2581 (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: MjsRFMn+6jaF9+6+592HuUuECx8978dvaLgAmrAimMWTrQj3PTWhvEsBWTjuL6IBFEzWPKVdsdpp0i0fwJjbhw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_093827_844361_D78C542B X-CRM114-Status: UNSURE ( 8.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org HDC2010 and HDC2080 humidity sensors both have an interrupt / data-ready signal which can be used for signaling to the host. Add binding for "interrupts" property so that boards wiring this signal may describe the connection. Signed-off-by: Josua Mayer Acked-by: Rob Herring --- Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml b/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml index 79e75a8675cb..e3eca8917517 100644 --- a/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml +++ b/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml @@ -27,6 +27,9 @@ properties: reg: maxItems: 1 + interrupts: + maxItems: 1 + required: - compatible - reg From patchwork Mon Feb 12 17:38:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13553814 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 91720C48297 for ; Mon, 12 Feb 2024 17:38:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=lvHN5O+3mMRA27GhRM+pbDpUJVZiNo3Nkw3xzm0JkHM=; b=wz+9yCxZvWN+hlh7Ikr7R/R3+R OmAyfm2l2yeAXTg3b1L208XG8Dr6tQw+xuvv0oEYYnaT0HY5zR19pFf/ftwbJlzdlxhNRJTlg7QSn iQAaQwZueqqsZRtYdV+ZcQxrXZ74vPdPiOswgbNM6Cpikmmf3B2YcHHQEP+eduDiHo2l1hrbJK4sN aq2KN9G/wnULThNxjCK+jI/4NLhQyxe5xhzmvUTyGH7dPrjoP+lz3jty8j7Hhc0h6Rc4V319fOnW7 DX7BWeQoV4jI3FFlcKBsQcwmmFPxXPCXzjEuRKPPx8YgbX3ZFLhPh4ME+/1znPyE9fsgu9AcDzUsN 5MrClX5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaGN-00000006TK7-396I; Mon, 12 Feb 2024 17:38:39 +0000 Received: from mail-ve1eur01on070e.outbound.protection.outlook.com ([2a01:111:f400:fe1f::70e] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaGD-00000006TAP-2KhM; Mon, 12 Feb 2024 17:38:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ko469qENXWFf/9ys73pf0dOrAavPA3yZ3OoH2JSxBMwjCR5ixO6qYh2+cioejgZ+odZac06DBCiT621dGLfSg6Y4MaCMm4w7Yj10X025hn4bN3Q9r8ja8NA/morDgn/fOgAj9JJPam2wrgo9bWzwZgzBdKtviymvx3MLxPfMuLwF5Rh1dEtE5xbcYRPnhZCCzOHIOUA7WjUXzfk5rHbsMKqU6uxgsGSQ3LuC62HYb7PqEXG/X3QdM5W9fML0xyNVLBDNY0AMpjuq+XLuyB6Qsxa2EQPw7u15UeJBFIHLTMcmYUUjZPjJuw78SClSbbks+nHLRYitPS0w+IlzLQZ/jg== 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=BSTAg3pXNs+pSA8Sup4jwt9X8bfv6C1rlfEygpHfR6s=; b=Z6eLAfybSNjoMlx4y7rno859B6QEJXEigZKlKvcGgpUooiaYy2t4w8VcrtQcNYSUSJD68WduLcpH6g2CPn5UwNQgcJ4dYguWwzT7ATCkHCMxdaNz6OheBDrHC9dA5L9Q9LP76pABtjhqbobgOsQvBR4+gAcUKv1oC4acMFT2Io7or92LRahLt53dLnY3XbZuOb9HdIMomPE1JymjxrqCk0UMabmefbvIU9oaHyzg3EMAIHgq22uSC06/r4OZ+SfZRga02NAOHlKz9nXzQtv4RVHI0sKq0kWP/WsZLTt8zxN+hEr4219EQe9sNhfNmk7O9ANzJ8BIhJn9py9o0ZHqfQ== 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=BSTAg3pXNs+pSA8Sup4jwt9X8bfv6C1rlfEygpHfR6s=; b=WRCid0IggaNUOUeOVeWMjEfG5bvbV53FShfXCy8hxWvB6FdLqt/ukn0rN0yQS+ED1kD5B12+tPwua1/N34+M6VU5xBTrSubM3C2AU/Xt4SkVUo3r8QIJ4mimr0g0IKsU6DA2X3IVLXo2ecD0MvTrOSKRK5SWXieQjHWihdHXss8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7909.eurprd04.prod.outlook.com (2603:10a6:20b:2a2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.24; Mon, 12 Feb 2024 17:38:20 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.039; Mon, 12 Feb 2024 17:38:20 +0000 From: Josua Mayer Date: Mon, 12 Feb 2024 18:38:11 +0100 Subject: [PATCH v6 4/7] dt-bindings: mtd: spi-nor: add optional interrupts property Message-Id: <20240212-add-am64-som-v6-4-b59edb2bc8c3@solid-run.com> References: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> In-Reply-To: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni , Jonathan Cameron , Lars-Peter Clausen , Eugene Zaikonnikov , Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-iio@vger.kernel.org, Rob Herring , linux-mtd@lists.infradead.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0027.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::14) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7909:EE_ X-MS-Office365-Filtering-Correlation-Id: 18db9227-0368-4427-0e98-08dc2bf16745 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ty/ppsvlQKTAdohh/hWuPCZbXQhzevfK3Z0yZdoVBCR3VZc0b4J39RCKV44JM7SIoQXaMBUf5DOqOKuuYH/0oBlNor5uPldh5FqIRtA6aSYkaFvOFDzcahpC3tiQh4S5q5nQtVnH0MgyI6F81UgKGWVEyHcANXHNeLLrnxELYC8kqqHpFc+GqlbFFiAhMmQiIqQbVP9VAeROPOxLxCJHb8VbfGCZcU4Tx8qE+/ko4ktH6vaDUhzsCrNwECCjEYq4/0oGPVpUiZlAH0BV/BPLeiyq4C7CbK+ZRcFFutNd/H36UIErRmQYysIVf41dR783ZRPOmxpv0L/M12orsruhBgXDyPQ3zH1xQVMmBiE/cLMbxuG1BlN0F1iI3T2j65uXI/Cba+3rxlfm1TikqKyovJEDI9ndofwA0qaYvgi4OxiGeLs90Yiqu0D/ctkks8O1vMbeM/tDEd4QS2Bn7DzodVTYadhqwv3SzS//43kVEvRcRFVcLXsBu36np2AswRj8OrGnOtS7ln8BuMwB4Z+lyDAnVaCgEHgSrDd210zF0awHjGyvI+slJ0C1AnN3njlX/wAoHT95eQdXH5gjfMTwVzuCehRGMGK70vLVcG0gkPVlKR0vPaOc9+CmiNrcGP/Cidjd6ZSW4Gf0pXNQcW9tqg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(396003)(366004)(376002)(39840400004)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(8936002)(7416002)(66946007)(4326008)(66476007)(8676002)(66556008)(5660300002)(4744005)(2906002)(41300700001)(26005)(2616005)(38350700005)(36756003)(107886003)(38100700002)(86362001)(110136005)(54906003)(52116002)(6512007)(6666004)(6506007)(316002)(921011)(6486002)(478600001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?AIO2WRQSmks8XlJoKmiswloPWWcL?= =?utf-8?q?RhTaMukSCLAZc3GqLsaFwEuIpO4LaMT1IvYJaj2d7ZLiavte9pcxXeH9XeEXvItEr?= =?utf-8?q?CRmjNMBMTTwhDKdzRxJUWw962p6lLZkdZJpuZUz5gcBPanQ4g/sTPGGngslET9T1H?= =?utf-8?q?gcElNjVsXTwUM0hKzxpY6yIt+mex3v635jGdYStgBDpitQOX7czxnNdC2/BxrJrBJ?= =?utf-8?q?47Y7qcdkEEVNE5k05R/uKY0QkSSvoKQnczWLW/jjvQWu/I8hB4r5H3NobSV0FyS+m?= =?utf-8?q?YpjH6x6ip1fsgfZXk2OED3WNuV+0+Dh3IPDoJRfjBpqGJsH4fZ9uOq1E+uh2sRjWb?= =?utf-8?q?+1s305AsJoK0+bXVOsI7ggRYPsv+28XSZcuGg5BxHM8o1/kD6BP1EfJVUck1q+NQO?= =?utf-8?q?15NsKTl67hGtSw6QORmrAJ9QliU3cpVIvxYRHNbUOe4ftE/Z3lea3WA779fYAYh/C?= =?utf-8?q?TgEJDmXKYYFxafOV+2mJ/LZp/1Bv/S7fqDuPLpk4FW0UNWjyCZ3dAAM9zOc6t+CXa?= =?utf-8?q?KXVqtfpAT0aUm8AgV+USPn7kxEbz8AjyQxQP4fIPmQDaAm/iS6JEwYHT/c1PshmtD?= =?utf-8?q?KU5043WfIJVqEg/Jz9C+LtlrkFeam9w4cizkoSo/CsENcTFuxmTaqPwPVTOdfRPG9?= =?utf-8?q?+K4vnaHflPVT+GOjBdl+QyHlt5BpInzFdLIK3wg31jKuIqus/Akw0VfVY9YKVpobT?= =?utf-8?q?zUJncHoGx85kCsto0Ow99SexwuuJY4XaYLkbykcg2/Sj2u06ECaPgPNvv7U3PYCIy?= =?utf-8?q?NxiKwqfxbmwoj26LyCdaTPlJ5i+5vCvhG16X41YzS4NUgYwcR6akLAtC1DcghF/wz?= =?utf-8?q?nXxvgWqUNAKrRyg3eXGZjynPxvgn6sMW7r7Rr5d+At2vKMb9XTJ62Zbj3UKrpWDkQ?= =?utf-8?q?WfN5VTVW8CArUY1JbgRTWSaGL3zeX6lWrqltjXuRpBj2gXqRL92BhRTQ2vr1+yL57?= =?utf-8?q?no2tdHcvOMQ5xx48wPyYR7hYA7Emjc648PsAdTxr27lnqo43+sfOreoKRuGvz0o1u?= =?utf-8?q?RsN7WURgip1wAfo4nksL9Bp+mP+VuoAVpSO8R9i8woJiVM28QJWGmyJM3zZsCz+R+?= =?utf-8?q?WxU8NN+eSKuFmm1BA2+bpl3MsrrBbaLt+oYZqoAxsgDNO5WWZmEk3jKVw5G4cqc4e?= =?utf-8?q?1Mzcr0fAlo9/ADUEGy6gDPt0P0/AcqbsP/t3yJ7Yhf2UIm8XeKBdROX/okrRO3SHh?= =?utf-8?q?RCL9utI4Y90S9FlxrYsFgKmSqZaQcoFP5JEKmqI4pHKRVehTAHGX/lkWej5ChY/ot?= =?utf-8?q?QlqQBq98TF2DkcIofHTOnBddDFujeoLSc87Asm1Z7V8bJuRZ/sbhFLcM99B76RIWJ?= =?utf-8?q?NuK2hgLXsulmOaflNbqofJ7dDbEU8cmUdtzoiBo3FICGrQz1ANNolEtE4yR6FmXX2?= =?utf-8?q?eBJArnz5nh76ajaOHHdztcV1NydOaVMAf0tzWgkSac1WGIJRZT73uBNdrVaa6Rk4k?= =?utf-8?q?Y+ZRXg+R+jg4TflHoNYjwat0jhABPtNr+xsiHuaBv6tm1S7sHpNYErH9qOyel+VM8?= =?utf-8?q?jYCiuGOBU0ei?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 18db9227-0368-4427-0e98-08dc2bf16745 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2024 17:38:20.0240 (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: SO5Ik+gtFdUtT/9RfZ1biglLtwy2u3dmeQrxU1hwZP015sizBUarf4cS4rX/LDPe4xZHrKvaiSam++woLUkryA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_093829_641044_BB61CBAC X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Some spi flash memories have an interrupt signal which can be used for signalling on-chip events such as busy status or ecc errors to the host. Add binding for "interrupts" property so that boards wiring this signal may describe the connection. Signed-off-by: Josua Mayer Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index 58f0cea160ef..6e3afb42926e 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml @@ -52,6 +52,9 @@ properties: minItems: 1 maxItems: 2 + interrupts: + maxItems: 1 + m25p,fast-read: type: boolean description: From patchwork Mon Feb 12 17:38:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13553827 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A977BC48297 for ; Mon, 12 Feb 2024 17:39:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:To:In-Reply-To:References: Message-Id:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eH4KWCbfa8D19fVKg/4ky7TgHtySYLlcxJk5XAU5p7Y=; b=2yHXDhsBTX2hdM btNjfscodRHxNxdTkR1J0ZqiTe564el1+tRMlViutBI1D60TNhDVydwcDC0ncnSJGEiRa7xSt4Gqg 7/xv2mJm92XgCAJKomYmLDfE1JWuhkgOtbmE+rakEQBPXyaP6TDHDMCyRY1pA1e9/l6h7Ssbwwo1M QcxINnrQThhVIgYVsmvpK5UHihjn3AH/xQVok4/72USSzCCV6rCmgickET1CsIevyvjPNhUxPWHlh TJTM5W0XsVigvos+0TtltmwY/8/FL2zof/g/a2Rs3gY6Bi6GfxoE/0CSBBs1YLk8Am7XVeRhpISAg xo3Ist7THytYGDj1C2hg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaHL-00000006U2g-377d; Mon, 12 Feb 2024 17:39:39 +0000 Received: from mail-ve1eur01on070e.outbound.protection.outlook.com ([2a01:111:f400:fe1f::70e] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaGF-00000006TAP-1JSy; Mon, 12 Feb 2024 17:38:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CaSGICG+B62e+xmskiToteYm9UQhs1RTsS0WWUQZM5gDR1x/D18/t/qWX9QG9tr2dR+gb/qiI4lrkdMuaAy2+gXvdO9YgqHI/u9wYYGUD70eMPqHp6+N8icFNovuwZURMtDSTSSFZEQpba7ns//qLjIcDyjwpQgL+QK5RN596gTvC4cTMwxur34w/CDeU2aykClwdEgBYerwfN6iMh/luPIovwlY5qOW5BIzYQZtdJ/HxJbMYpNXoHcx+vsvhROdNoSkt4BE8tLLhKIaHFJpMEuQZUau23yPXLE5tPoRFIjv9aEbnI4N06KQmATTp00sHV6GNQ/BvgRUvfKX3yDK0g== 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=MfPS2lRGdbZjmZYgpFzRBxBvjVvEdGtlPClZeNFE1lA=; b=bs3veHCjNS9gOcUo9LoKys301/DHCmJg3iNdBddCChDBShlIEq8MzoTa0ddSFCFPUMFwsw3NG6C72yr7B5tgVh/hDHpd0mwi9wiEfLirfS7dYq977bBABc0AWWb1C1bTnlqY3xqu1ltFHAB1wXWPBPmxWLURVZjFkjilkYj1X5naADqx4lMGhrwBxNnUJ9SPdhAmJBjbrNNx+jcjnCkViIM0xFpXJrsmBul1X0lsZsUwTGJdzrBTbPEtwkwk3kigqj7J/8uO7mu0/Zy94WUZp/VqOJ3PXI7ZynXbXeM6Qe7C3mLN4PvuVfI79nUSIapgwOMOfNw5c2R4go1Vs/CcJg== 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=MfPS2lRGdbZjmZYgpFzRBxBvjVvEdGtlPClZeNFE1lA=; b=BhfT9vr5Adpd1alrLQkUdGXMDXNhCD0Eiqr+k1A88qtDH65u7eHRqSHNRegfiZnL/0L9fb6FcFwNagZftaPRCfeoruug2dFUu/ttErBNijHajDVkEaNbtS//Iw84ZRw5ajKFabYz4fYi31knezIfPBRaA23P3l26yegeCGZ/CYo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7909.eurprd04.prod.outlook.com (2603:10a6:20b:2a2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.24; Mon, 12 Feb 2024 17:38:20 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.039; Mon, 12 Feb 2024 17:38:20 +0000 From: Josua Mayer Date: Mon, 12 Feb 2024 18:38:12 +0100 Subject: [PATCH v6 5/7] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Message-Id: <20240212-add-am64-som-v6-5-b59edb2bc8c3@solid-run.com> References: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> In-Reply-To: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni , Jonathan Cameron , Lars-Peter Clausen , Eugene Zaikonnikov , Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0027.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::14) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7909:EE_ X-MS-Office365-Filtering-Correlation-Id: 1233cbb1-0a45-4821-6c93-08dc2bf167b8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9jf3Td+TfW4YEkFT7sGnWnc4jrHKQnmmz026GAUc/uDUfcjgcvRF5ponz9teWO5wRQZlhnqSKDDlPE9wEMPoUq4rPb1VbPivbjbURxk7VhuGSIdwmbW/cnqF+JLXUHs+hTwrqy4EWCTyNKa379jLo9nHBUmvsGU38WD9r5kL7Rk4I3na9UKDTBwcQ8+5+l44AQOQCG1MJvJyUrI9HlE0ZbxITuHkb7DwJHBlBh9g522XdJ91di+pRMunhq9c0hxf4pWexTa3q4IizigP+laPF3D1QEwTCLG0bhRhRjDtVeOXKKzVcB2ORhUzfSh3CEUsQ5Sn4q+ldCm/KsWlSflrbWe/HFnRJ18o/GRZVyI+FstnDSB+RG5VeAxk/Z4owYFUVJguj7TgHerZxe9fKJtIWUFHD+E8Mqh3b+VrKLSoDO3Wn2tn8WEuQyENjO/7mwXRobLxld3Cktrmpp5KEGMfx9psU1krYoNObNGqjI8LSeqZzAH/917Ad09THHWToRYWLBo3MirvOdYK7uWLl0vjXdhvbzfAo9TnpBrMRB3RMFa6PKZDo9+Zt1STCB4xqZIycCuBWd5lsV9SaN4Ojvv5C5tr3uT123YURP6Hf9r+Pl4JqWJ//4egVD3syWQrc2ILqFxAu2yY3224vK91mViWBw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(396003)(366004)(376002)(39840400004)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(8936002)(7416002)(66946007)(4326008)(66476007)(8676002)(66556008)(5660300002)(2906002)(41300700001)(26005)(2616005)(38350700005)(36756003)(38100700002)(86362001)(83380400001)(110136005)(54906003)(52116002)(6512007)(6666004)(6506007)(316002)(921011)(6486002)(478600001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?qPIiiLP3kuKkdKCOXwhiRhYOw1Pb?= =?utf-8?q?aVVBJVgFymLSYzrtJSDulT2XLGrjDfjH1ZcKzWFZwn8AIcTKIj1noTy9VvbIfutg/?= =?utf-8?q?kAoyGOeEqD9TptXo4rcBWw9zOQ5NGRvuQRhnpT87Wo6VrF1Mp79/t/DNMQorPHbUW?= =?utf-8?q?n3X7Id2aPSkQCEpxe65JzrPgPvkhEelp7V7Qcc7AmloZtr8vRWGdfT7nnJrECj/vf?= =?utf-8?q?VaJxvEUDQti+qyUsOQmsBhppPRye3BgjJ5b7FRSKx5CUnYt9h+zJWGVchxoitue8a?= =?utf-8?q?W7KZbfPGyJ1bea4Z/25EimG3zdOqJCf5xrxCQKAe5e63qfWkDjFApC1CGuS+jMJcT?= =?utf-8?q?traSy0E9YtoVzF7KGwMuPEeoViQHcj1c5HGs0a7uWfHCFVbdrWGmCOqgOcRWxorMh?= =?utf-8?q?kiESBwq3jwKWSniPe7h/9rvOXMmozdx+4DlY0hqJjNfkepkJHub4dcKVe2w95c17l?= =?utf-8?q?gfSB/eHKqyJqP9QSQ0s9JkNNJxQwb1Wp5FStyDom5rnhFFAXC7RZek9V8h22vlWVn?= =?utf-8?q?j7PZc7gCLiik4Ng9SVD8HtZDw/H8nocGtrTxeNYyGcQJbiNbWn/TlavQAfU78/TDe?= =?utf-8?q?DjVJWFACDg/oEUC2OrVldmpr7O8gWSD/mUR7F2upNEbXxr/tHfgDS5ohLH2TpEGsw?= =?utf-8?q?SAvWuYcJnSiOSB91GV6EtcXu39csybckPIBavx6erzkiCrHC08qxsQ8ycto7SWs3L?= =?utf-8?q?a+AS8HcqGxK85Oo4Hag97Oj3Cjgp9QzjlWA+FqKSYb4dKK6gGTf28RsGUfIOOniys?= =?utf-8?q?4kKNiCMuPmqgoe9R3xbhYu4SNpCBxYuaJ4/qXRZAhSyhy+nmZHcJgyuF/Hb+dFEV4?= =?utf-8?q?2822OU0VD1PX9tuR/yNq4no1cLOj1WyPqUj/U/YRavBCejiexz+y9eHHZLmzjfG4H?= =?utf-8?q?uDB2WLYtfi9XyghxLiWRFmHe6unNUNsV6TMbEAiOvYmHxAkCx1aDSM6xTF8CwHk5C?= =?utf-8?q?Ep5W93/IocEUPsKWX+q2VIqpAo9PIIGwmBnPgcxLbO25gGPlVkd03Z1uLETpA6AA5?= =?utf-8?q?Lw+6alLKQVVEJG0Z1WqroKzeixExu9+YUJcooZ1R+rBlpA3ahqAhftwrl02fZkoPX?= =?utf-8?q?hvaN+AjlGW4nd7Q3/P9r6ka7OpwDOMYF9oJlz1B9L5BSDWo+NrrnmPtTQ9injyhgr?= =?utf-8?q?R6zbC6pGbvvneosfNIN5Mn7350rpGTubHtvWvq+QIlYRmCgjSC5Soeyj+043s+VSo?= =?utf-8?q?DYo0iFwKR9w+l29ymiCn5Uzrkn0Cze2XDQxk3qVaPdkeX9AQRJzPK60se3Nef4kFS?= =?utf-8?q?eAvhpC7jyc3umEBDAo/eESilEBaPto9iUKouBQAYWIoRYpHjyMEd9I8jc5n/oB62X?= =?utf-8?q?eNWY2vP5+OARxp/t+iUyxiYsJpsXvDaH7UkeMRdl8Wuf42CxkTZCxhCFpBbRMINxB?= =?utf-8?q?sNL2XiEKzDnLqDluaMIlB5v6ZVR/wVH1kN88BgzOWQ285BpAVyehfSIfyeTTajgQ9?= =?utf-8?q?/eEs65fvvFBl58fKhXP5+TojmTfVclrZAZaEMejg5Lw1C0EqG9BMJtch/R+l/pXvt?= =?utf-8?q?+tHKltt5LuOQ?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1233cbb1-0a45-4821-6c93-08dc2bf167b8 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2024 17:38:20.8003 (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: 4TUgESycoFYK2HFkK2bjXtHQiUEAJKfo2GNkzbdy2bkscjSYOlrj2eZSBMbAESPxBFTsNaRB0ENqoplYBO8Uog== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_093831_425478_06567B29 X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, Grygorii Strashko , Rob Herring , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, MD Danish Anwar , Josua Mayer , linux-mtd@lists.infradead.org, Yazan Shhady , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 e348114f42e0..9d2dad8ae8df 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1244,6 +1244,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>; @@ -1385,6 +1397,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 Mon Feb 12 17:38:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13553889 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F075AC4829E for ; Mon, 12 Feb 2024 18:45:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=L3EOIoqcAeb9nSpk41ZWG4kcLtC7p4Sa36E/sc8nkKE=; b=WXj69OmdCeUJFh2W/MdNgwEzvT GAGRzSjbYEW5XI7vEMcpO0PAlEEihP4XJdCTwkWENBzkJrl9Q9aZyF3WRy7n72AkR1cREJsROns6d pLN7ZdamUtA7SjcO20LJxNPzPZL60MNXXUhmxshk/lrbLPbGgTwBcokgqvlXyr5VxK+NNS9PuiogX oX+CWDUSWDCobF7qxYK0YRTF7s9wbaGVqFrVrovGcEMUzTREwh8t1GxpiDTjEROFjFPrHUpN3L/Ug W19LFbphlkfz0vcRssP280Fax4MwnUdm7qVGELMC9ccBao+ofd9IVHpbXT4ipLZBb8SrzugEpCWFV 2roCO3RA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZbJ0-00000006eyY-345K; Mon, 12 Feb 2024 18:45:26 +0000 Received: from mail-ve1eur01on070e.outbound.protection.outlook.com ([2a01:111:f400:fe1f::70e] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaGH-00000006TAP-1CZM; Mon, 12 Feb 2024 17:38:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QZXCIXPD7ZbIrZiYXoqSlbZIz39hBYpeWq8caOzmjk2SoEpZ6IeczX/5e83yNcA8leUcNq1fpsrMQpmUskVQSg7wb4QVeNYM19FYDRb3IFpBcm7q4+GREIEZLQOw7UQhna5d5EIZ2deUPd8WwUe0QauCL/95IQ+L4RC2jfmsrhKHsqX18g8HZqPz8b6YXXtpi8NT6akxa32UKlL4Ozc/X96qJgflTDqaoEzpX/mo8yH+jSZsrlnogX+8tWDgFlSg1djPmWgPjt4aZ4gVhK7ewxe6HeiTnDx4WyKPrVVCw2d3m6obwKnZL0dSGOcGOU3/rBY8JBHZdD6hK3DWU1abJQ== 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=rqV3jsVhpUcT1f5kpUjJ7BvVT6gZfARPAtp9a2c4V6A=; b=ckazdolJlo72729rAWMTMVFDx88UZrF81amWTv4BcuBnbBzQT0hMzmhus8UX67qbyozwMaYnHA4W5NYdttqVzNthJxLOIKpwkshPJ2+S7Yk8ZEhBrJ420Ox0KZJ5wlXkRjnWxGXoGHK8a+ddGJ9oe7HbSTTA8E+oIvF6E8oUt0UwjicHKt9gOCHTkMnSaQ3zNxguThbCvH74xPO+qPaTEIdOCrh1v+uCnzTf2itMmka5QShHBjOMabY5RINmyAOUtExtvRbQkwSNCf3E8aDaUN8CRqS+4O8LDQUoaay4wysHVIvDXHhbNqdpwlDqKW4soRLeDIqzICc2maG/6Niyzg== 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=rqV3jsVhpUcT1f5kpUjJ7BvVT6gZfARPAtp9a2c4V6A=; b=qVH2jWhqIUIriMNxkvSEO8l1xqt5AuXG43R4G4/OD9+IiKPw+BjXfpnKHhco3Uy7JMhrpFln2bQk4z99lnFunBVHPjtMCBqpOWlLjzsEPDaHSKFbUr+QW4OpNZqmGDAwrBfQjc3V41a7HLrlfNygC13biFSAj0jUdqKd/cJHhWk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7909.eurprd04.prod.outlook.com (2603:10a6:20b:2a2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.24; Mon, 12 Feb 2024 17:38:21 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.039; Mon, 12 Feb 2024 17:38:21 +0000 From: Josua Mayer Date: Mon, 12 Feb 2024 18:38:13 +0100 Subject: [PATCH v6 6/7] arm64: dts: add description for solidrun am642 som and evaluation board Message-Id: <20240212-add-am64-som-v6-6-b59edb2bc8c3@solid-run.com> References: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> In-Reply-To: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni , Jonathan Cameron , Lars-Peter Clausen , Eugene Zaikonnikov , Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-iio@vger.kernel.org, Rob Herring , linux-mtd@lists.infradead.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0027.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::14) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7909:EE_ X-MS-Office365-Filtering-Correlation-Id: 4de04dfc-69a5-46b2-21a1-08dc2bf1682a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KukAfgStOx19KLQ2mTlGrS+jWNu3vlV27fVHwLINqG8FOOvs+2DVadA/uoIVJkdXw5Ss7fiCPVvi5tPvCYfxnjTJ4DkzLOEz9/fORZFVnQRm1oc7VZvg9y9cQBQGEku2FGVnYk8uU7PuYLLBvaQ1odipTDB4GJn+tOCTyfXoCQtVlHQRxzjwMOwXyQeJEef55QPIyEGhpW8R0XR3vdOzJ5t2SPpmb4I4RAUsgVeahzVQrjicdvAhMj0pW+PG9yZERybM+egjh8msM7p++S7+zRsKzUYXvSxDJe8pfMB88KctbebUky4tjodp18JpxOc3W9cm7paXPjMW+MrmCqaO/tT4APgpW8olBuZJXtc08cTaOHtjwnORieMi2pVagmb/e29SQyY8KwfsjRFyiGSe9yVbO2Y8dGCfjU8FPcU8p9LjJEaqpquIXQwN7z1ol3SDyVKm/OImo0OLP7rPzl1b1/GJjvmP48H5RWQUel37h4oLR9HusE4TMj8LPwJRoWso3xHlP2ACX3zRKpxW6NEXuy3Qv7fWk1kJcgd5wcnfNPQFttFRUakM7Up779reDtA5Y9Iec4lqCjdXSkIeumaOxhrNshPf4m6kwROO9bl/cI0OzEJkaxlrmDPmSiBXKpW1lpwe3Xnx+f3nbM1FrbjXzQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(396003)(366004)(376002)(39840400004)(230922051799003)(230273577357003)(64100799003)(1800799012)(451199024)(186009)(8936002)(7416002)(66946007)(4326008)(66476007)(8676002)(66556008)(5660300002)(30864003)(2906002)(41300700001)(26005)(2616005)(38350700005)(36756003)(107886003)(38100700002)(86362001)(19627235002)(83380400001)(110136005)(54906003)(52116002)(6512007)(6666004)(6506007)(316002)(921011)(6486002)(478600001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0MaypcLdTlGLj2Rdk5n5ti8dl0fj?= =?utf-8?q?WMSbxe/znwL2mP6fxFW8zsGD9BWB5ujLUnyQMCjIXAgL3uUhtwWRs7HqDZiz67k8V?= =?utf-8?q?TyUf8CT885qHVXzRAEYY5ZnmAbXn6gwycindCnQDvJAS8R3O0y8qPnKM0Snf1msoM?= =?utf-8?q?DTbDtWiBzt+JQmEU+SXsiHmv8NzxHYx55Kw61ZZbJSZsnJeo/yGK1w1FldhMggfHq?= =?utf-8?q?YYhhfLDS40lGEMHx9QF2yIO/YmIG5PrPjRl2zmQd6JCb4YFw40asGlH+4OHau1GIs?= =?utf-8?q?9VX8iSt9zi+ZyNdwMAaEGlsD/D0p/2cLE6DtY9oN+nZ8vdHZi5wd7MwHXOcjuYW76?= =?utf-8?q?KAF+MZ298QfwshSS+yYY7tT8HJYLcQBuxAa5VHAxpFNQphCQynxLkB+Q+XplKrPeU?= =?utf-8?q?/79TYo6aHVVeeWxsGJ5GJTW0uaVmFdTXAnQDMzb25y3b/tG13wLsg68AZXiBULmiZ?= =?utf-8?q?a2RRvkadNy4HW9C0NXw8ETfLRTAGiOJIiyELH+LT/Qgi+E0dQ7Fg57Ohlp4gLvOrY?= =?utf-8?q?jd+u6oGPmYQuF6tMqEp8zuBViqwSaCXC3ip4loq4EgadGXyUC375zXLgUlcBZIJEl?= =?utf-8?q?+iEiJm8TLSwS1vkInjd1ivQn4jEvfZTtjhqUsndK3oOydDgw76U9VJCvXR+LUrFus?= =?utf-8?q?1FdID7S3Uo/Jqg5IPR9PpmW0E2Bl0N7fWKfwj8UwJ9TvtvBhSN2cUjui8N+QtnCpq?= =?utf-8?q?ZkuR3Qvjw60yHaQzJnQevSAiGgG9CmHWNhMpYOv7kwWvltmSy1lwbpuITRANQXl13?= =?utf-8?q?sahke7t78dY1u+MdxkbBpd+w7+3DcFhzBuLIaMJuStIxycV/CiSFzg8fNcdu6BMBv?= =?utf-8?q?XAa7LRqM9KKsLU5ur+cnZGiXXAfJg7Doj8L3ucECJpz3qxvYDdj0XJXrpWtnOgC08?= =?utf-8?q?DxKIxlyRk9UV038Ihv5mNootm8N66+wwVTR939KjtuXHJJrhfF3Mlzp/81/MX795T?= =?utf-8?q?BZVmA1B5SYrcLFGQjodbF4C3HWYVF1agNJqlWGT3wwk0H3QAq3KHv722E9WfZhpmD?= =?utf-8?q?Ftzfdsyx+heVb8Mie+XdsxDsYvb/vPVP3G8muNk3YOqLR/zsfS/aGK7qRT67hTiW3?= =?utf-8?q?/jJVP0NMrlHWsTj5bo26UAQUpVIRu08DoIC4WpNthfEhapdqstUG+Hgzqj0I1X3MX?= =?utf-8?q?Ua290NlNyM1TtqrSAe6E1Mq7AIOLZOIsZfLqjDVwbYA0zew5RQYTSGnPiMzK3ETng?= =?utf-8?q?SSPjRHzDJHONszMbA8LQFfSVsijwxEVAbfsJZiKZgThzP7CN9MUMJPBgvlH2bXEZo?= =?utf-8?q?9D6Ri7r+fJ7wzfaTsI/DP1nXQTDJd6akR+g64HeBr1dXoKKxW2l60UVjDsIwSVqR+?= =?utf-8?q?PR6Ox0Hf3NokTFbreCL+FJYMhYilamz2c/qmZusxYoAXl+A52e91rP4K+pBNRvB9G?= =?utf-8?q?zY+s8yD5/IFg4SKitvq/9BlFzT8re1kICoGK90TcxRArOL51SEjLUVH71fnouxx93?= =?utf-8?q?4bWNLGsCE5gJt2RSw7iVt8UsUw5krup4jmVh1h+e2MWMth6YEKZMkKoWkbLIgVnoQ?= =?utf-8?q?bJ5jSQ6ebaB4?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4de04dfc-69a5-46b2-21a1-08dc2bf1682a X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2024 17:38:21.5286 (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: zqchd+859zZLJ8GBZorfahttVH0tDM2n5m0v9S37yik84mZF6kTg4BJmtn2t7rN0yPPLadNhJb4gaMpIT3v4AQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_093833_519342_CD46337C X-CRM114-Status: GOOD ( 14.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add 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 | 292 ++++++++++ arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi | 594 +++++++++++++++++++++ 3 files changed, 887 insertions(+) diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 52c1dc910308..bd73ce06acba 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -38,6 +38,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-hdmi-audio.dtbo # 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..234d76e4e944 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts @@ -0,0 +1,292 @@ +// 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_default_pins>; + + /* 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_default_pins>; + 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_default_pins>; + 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_default_pins>; + #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 { + 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_default_pins>, <&main_i2c0_int_default_pins>; + + 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_default_pins>; + status = "okay"; + + rtc@69 { + compatible = "abracon,abx80x"; + reg = <0x69>; + pinctrl-names = "default"; + pinctrl-0 = <&rtc_int_default_pins>; + 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_default_pins>; + status = "okay"; + + can-transceiver { + max-bitrate = <8000000>; + }; +}; + +&main_mcan1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mcan1_default_pins>; + status = "okay"; + + can-transceiver { + max-bitrate = <8000000>; + }; +}; + +&main_pmx0 { + leds_default_pins: leds-default-pins { + 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_default_pins: main-i2c0-int-default-pins { + pinctrl-single,pins = < + /* external pull-up on Carrier */ + AM64X_IOPAD(0x0098, PIN_INPUT, 7) /* GPMC0_WAIT0.GPIO0_37 */ + >; + }; + + main_i2c1_default_pins: main-i2c1-default-pins { + 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_mcan0_default_pins: main-mcan0-default-pins { + 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_default_pins: main-mcan1-default-pins { + 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_default_pins: main-uart3-default-pins { + 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_default_pins: pcie0-default-pins { + 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_default_pins: regulator-pcie-3v3-default-pins { + pinctrl-single,pins = < + AM64X_IOPAD(0x01a4, PIN_OUTPUT, 7) /* PRG0_PRU0_GPO17.GPIO1_17 */ + >; + }; + + regulator_vpp_1v8_default_pins: regulator-vpp-1v8-default-pins { + pinctrl-single,pins = < + AM64X_IOPAD(0x029c, PIN_OUTPUT, 7) /* MMC1_SDWP.GPIO1_78 */ + >; + }; + + rtc_int_default_pins: rtc-int-default-pins { + pinctrl-single,pins = < + /* external pull-up on Carrier */ + AM64X_IOPAD(0x00b4, PIN_INPUT, 7) /* GPMC0_CSn3.GPIO0_44 */ + >; + }; + + serdes_mux_default_pins: serdes-mux-default-pins { + 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_default_pins>; + uart-has-rtscts; + rs485-rts-active-low; + linux,rs485-enabled-at-boot-time; + status = "okay"; +}; + +&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..c19d0b8bbf0f --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi @@ -0,0 +1,594 @@ +// 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 */ + ethernet { + compatible = "ti,am642-icssg-prueth"; + pinctrl-names = "default"; + pinctrl-0 = <&pru_rgmii1_default_pins>, <&pru_rgmii2_default_pins>; + + 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"; + + /* configure internal pinmux for mii mode */ + ti,pruss-gp-mux-sel = <2>, <2>, <2>, <2>, <2>, <2>; + + ti,mii-g-rt = <&icssg1_mii_g_rt>; + ti,mii-rt = <&icssg1_mii_rt>; + ti,iep = <&icssg1_iep0>, <&icssg1_iep1>; + + /* + * Configure icssg interrupt controller to map pru-internal + * interrupts 8/9 via channels 0/1 to host interrupts 0/1. + * + * For details see interrupt controller documentation: + * Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml + */ + 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 */ + dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3", + "tx1-0", "tx1-1", "tx1-2", "tx1-3", + "rx0", "rx1"; + + 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"; + }; + + 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"; + }; + }; + }; + + /* 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 */ + 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_default_pins>; +}; + +&cpsw3g_mdio { + pinctrl-names = "default"; + pinctrl-0 = <&mdio0_default_pins>; + status = "okay"; + + ethernet_phy0: ethernet-phy@0 { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy0_default_pins>; + 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>; + */ + }; +}; + +&cpsw_port1 { + phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy0>; +}; + +&cpsw_port2 { + status = "disabled"; +}; + +&icssg1_mdio { + pinctrl-names = "default"; + pinctrl-0 = <&pru1_mdio0_default_pins>; + status = "okay"; + + ethernet_phy1: ethernet-phy@3 { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <3>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy1_default_pins>; + 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>; + */ + }; + + ethernet_phy2: ethernet-phy@f { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <0xf>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy2_default_pins>; + 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>; + */ + }; +}; + +&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_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>; + }; +}; + +&main_i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c0_default_pins>; + 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_default_pins>; + + ethernet_phy_default_pins: ethernet-phy-default-pins { + pinctrl-single,pins = < + /* interrupt / power-down, external pull-up on SoM */ + AM64X_IOPAD(0x0278, PIN_INPUT, 7) /* EXTINTn.GPIO1_70 */ + >; + }; + + ethernet_phy0_default_pins: ethernet-phy0-default-pins { + 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_default_pins: ethernet-phy1-default-pins { + 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_default_pins: ethernet-phy2-default-pins { + 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_default_pins: main-i2c0-default-pins { + 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_default_pins: main-mmc0-default-pins + * + * 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_default_pins: main-mmc1-default-pins { + 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_default_pins: main-uart0-default-pins { + pinctrl-single,pins = < + AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* UART0_RXD.UART0_RXD */ + AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* UART0_TXD.UART0_TXD */ + >; + }; + + mdio0_default_pins: mdio0-default-pins { + 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_default_pins: ospi0-default-pins { + 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_default_pins: ospi0-flash0-default-pins { + 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_default_pins: pru1-mdio0-default-pins { + 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_default_pins: pru-rgmii1-default-pins { + 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_default_pins: pru-rgmii2-default-pins { + 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_default_pins: rgmii1-default-pins { + 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_default_pins: usb0-default-pins { + 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>; +}; + +&main_r5fss0_core1 { + mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>; + memory-region = <&main_r5fss0_core1_dma_memory_region>, + <&main_r5fss0_core1_memory_region>; +}; + +&main_r5fss1_core0 { + mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>; + memory-region = <&main_r5fss1_core0_dma_memory_region>, + <&main_r5fss1_core0_memory_region>; +}; + +&main_r5fss1_core1 { + mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>; + memory-region = <&main_r5fss1_core1_dma_memory_region>, + <&main_r5fss1_core1_memory_region>; +}; + +/* SoC default UART console */ +&main_uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_uart0_default_pins>; + status = "okay"; +}; + +&ospi0 { + pinctrl-names = "default"; + pinctrl-0 = <&ospi0_default_pins>; + num-cs = <1>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&ospi0_flash0_default_pins>; + 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>; + }; +}; + +&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_default_pins>; + bus-width = <4>; + ti,driver-strength-ohm = <50>; + disable-wp; + status = "okay"; +}; + +/* + * 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_default_pins>; + dr_mode = "otg"; + maximum-speed = "high-speed"; +}; + +&usbss0 { + ti,vbus-divider; + ti,usb2-only; +}; From patchwork Mon Feb 12 17:38:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13553828 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EBEBFC4829E for ; Mon, 12 Feb 2024 17:39:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=tcrhFAHeZ8Kh8nHoZSwAI3NQliFPIRRzvbVg2B8UoRE=; b=LdDP6IZE4pZslJiGqAMpAtaGMI zW36HgThfl3bMa9wzcY9efAJl4CmP/d13NvFMAbvBVV2u+tL6JgS4xLTXsXyRZ0SrhFeH36BaLYy+ vQphQIBFStThwf420WNlB6e0PgcXTnN79Le/CN8hdPZQYw2lNwrOueGB6CvSLuIbaoOrSZGPtptB6 f7kv6eoW2d50xAFoxsBAdMXq8LT9FYuKrlYA0ksnJkXz3Sin6gZpJTxDesLyaruB6dsHIpLWusbHR bveT6WvZjsYKFYg8EtXs8JdZa8Ho1K5zE7aEHxoYfJ/vYN8oHvtCKNI902dMaMDxx4y4zLT98A0G/ iuRYeo4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaHO-00000006U4J-09k1; Mon, 12 Feb 2024 17:39:42 +0000 Received: from mail-ve1eur01on072e.outbound.protection.outlook.com ([2a01:111:f400:fe1f::72e] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZaGI-00000006TCR-2jf2; Mon, 12 Feb 2024 17:38:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JD6Q2S0ptnEeMsJkbavuwcniF2PU/ScEnBrz9VahK/iH9vNH3xPFzP12l16KBQqFErLvzkX28JK0wQ1rxon+Sl+NI1r4wHa1OKHwlkLR5HaGIBWri3T/3LkQw2H9K33GkoM9dCKXZ8f51G+PMxvRaVqNnbPIgHK74kOn0byA40L5Q/XDXBXRRXR9HND84keE9DUDAysC5W2DGaho+b9ynD2axcZ5d5OGEBz/Ggdsz7OYDZq+c5LSJqpVVdRaZOisvM1QldrG1cgyNyx0DqYriMGH0FRIqzaTtikLQw3Dx6kVHmWjABDUWm3CHHdpJjxyB/vq1yBW9F6Y+S6YaOqXgw== 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=M49RPVQDRuY+V2FKFZi99jgURfuAsNCh4dhWzC7A7ko=; b=gDGiMuDrrz1Qa3c5TatNeVHGD+r9IeWI3mi9dnD/s/u43z+nv2fICmAMGftx57gMKq3nxiWxqBeD1/AVjKuxYpxiRp8St5J6UHeu7ZBdqkQQ9Cqlu8Z/64qYZmWfyPwVyKDzoRDu8R7jWSqC/hRTU3aSLPrlhDnf0g36ny66VgC1mQ8ycg8ml7QeLi6mWTIZmv/EeGpYow9KsXIE4GoLYFExX9/wD9eglfzDA2mOkryf3jpRrCzVO+Go/PfWIyus58B97mwBGsdNYy3odqQicw5CMngFE7okl3EzRIKfKI1hvDKr7HhgX98OVjgguf4yvMvPgUEq4ps6Te5Hmd6H7A== 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=M49RPVQDRuY+V2FKFZi99jgURfuAsNCh4dhWzC7A7ko=; b=hz40hF1HNoX8Gjolcz9OwiuQN8Jyyh24unmY94On98UhwLEaYRJQyX4hLPA2vfo63jfAXx2fQzhDTybX6lMzzTCoFMHHn6SnmXHwbx+4f7wuTNnUaGLDyCoAeAw7bUSCVFhHwLChwtSJSilMGzMuagzcZVd5QV5kmoqQTVqe51E= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7909.eurprd04.prod.outlook.com (2603:10a6:20b:2a2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.24; Mon, 12 Feb 2024 17:38:22 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.039; Mon, 12 Feb 2024 17:38:22 +0000 From: Josua Mayer Date: Mon, 12 Feb 2024 18:38:14 +0100 Subject: [PATCH v6 7/7] arm64: dts: ti: hummingboard-t: add overlays for m.2 pci-e and usb-3 Message-Id: <20240212-add-am64-som-v6-7-b59edb2bc8c3@solid-run.com> References: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> In-Reply-To: <20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni , Jonathan Cameron , Lars-Peter Clausen , Eugene Zaikonnikov , Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-iio@vger.kernel.org, Rob Herring , linux-mtd@lists.infradead.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0027.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::14) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7909:EE_ X-MS-Office365-Filtering-Correlation-Id: e4310427-08ae-4d48-93d2-08dc2bf16897 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qdq6OPuVv9mRpcEz7jVlQkS1ER2wmNY6wmWkXjOMqf8NTaSUJ/lP0AxQXXnoevSTmd095HD70fHRkJFSeWMvV9qriJbQg6U4kQHWHaIIbDOaO9KNL9gYRVkwICHdY3qBBssIw/ljBqBQ/HIkd6KQrE6vQ4tawQeXB1BpmtJjV3sqOzBAE/2+ohHV81QGs/tTuFmwRy3Z1w+3SQVPsrTEDb5ZaZMEJ21IPAt46Y+j/IRJgT9xrfuJ4lXCcFdE1/av1QvxHvy7N7Xj7qzFMNK1r93LMDXg3SOKCY7x+d0fNL6r070Jg63WTAdycrz+oJCRIkEAmFJiCaO9qRwBynfwYR/Q2jbNJOUo2rGSgHfDTjdChtR2yxubfdxCEkvdGRvJvavgjzaV8pTmtcVNfNvWYodzTjdsYw7m/MwTAtpTZQh7zuDnLDIgdfD37R2muwgO8ivj/JInrAJ+bXNKfnxiSNPwJ3dBwKP2o7d9Zg8ot1IbI7iw2U9AQb/+f+fwmCnYooNAvzOLQQgGVt17pXbcojplLSLea/OqX3IAwo0hsWRUcbFq018dTRwM77mSJHFTZ0VcwDFfWSYwNBJJH+YMVhvCmUGRtdkw1LpZCcSVy0Awynl/VZrF7p6zZXm/l9EW3HiJO0HSvBIkJn7rajHYZg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(396003)(366004)(376002)(39840400004)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(8936002)(7416002)(66946007)(4326008)(66476007)(8676002)(66556008)(5660300002)(2906002)(41300700001)(26005)(2616005)(38350700005)(36756003)(107886003)(38100700002)(86362001)(83380400001)(110136005)(54906003)(52116002)(6512007)(6666004)(6506007)(316002)(921011)(6486002)(478600001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0E8J7Oh7cZNy1VqruToQkQHoetgM?= =?utf-8?q?eGE8SlYedGssKTLrn2oxGO3ZW9MP+BHFimHRiVX/Fe8rsFOC26qKPVVvmqNMvF4Wb?= =?utf-8?q?CgT/AJD7iBnUeyaKzSrv34MHxJbTRLuzMVFDzGRFZe4RFDPYFFzjqnmmiPU6u/E+1?= =?utf-8?q?29uX5RmpKvDq/WhIOcP7UfpqLXUwsonuAL39qC63fzW+BQLjr+ed4LOXKtSSWUHbX?= =?utf-8?q?/u4zM8I0aZsQyA+lu85N5wueDYMY0EySUKIISZG2iP5U85lkLUzMJEACymZu+o+uz?= =?utf-8?q?nzxPqDQlCPm3glJWmh4aJ31oTkG6ghvl3hw0hpZjPry2W/UOcoGPNDWXdHswxBe9E?= =?utf-8?q?ndKuliKWbF7nHlX6nEoKQvT3W7BWTMAVRc/8F+oiDhY0iMJwaRJomaP10vyWpJpIo?= =?utf-8?q?UQKB0LGeaDyLU6CLzfwKR1NdyNwNRQd4NKFHnG7jWtVqtgd9F32goiTflfWWALUCv?= =?utf-8?q?pb7I7hfUP6ZW1/2W9Utf0fo9szP9yYHGplBfy+4ij+9qJr42NoC6KmsMSEVuUQNhp?= =?utf-8?q?ilmmQGj0xyBTD2w9IB4g9AH9hGwDngDaxsLhBGH6ybI+QcKdfAl4ykrFRHqyZp3vo?= =?utf-8?q?R//Yi7IN3fBPiiw1/bB5xSVVXi6ACWHnBdvB/pq9fUOpCpic1R/o2YmCv4uLqeNuy?= =?utf-8?q?YJuFTR5Mbr/kfKRJfzPkHMLQLhWAtjj5b7j6j/ufSXVvexRHc2OyLxFSwHpJ4XJ/v?= =?utf-8?q?8HjhVGqlV4nuIc185pr3R8led9sDs1VpgCj/VV4xbG2/HS4mB5JJMxtYLwP6To3HK?= =?utf-8?q?tKWYApEpi7JnpB/TPX/HzzLDGvVZmntoBG6i9PN4wYcWOi22bgunfn4O+Ak4CE+Wy?= =?utf-8?q?7XnG2sbsSejqavf76TelGATE0m/HcrYI6ZWTj3csA/Ku1s+dPNjLN9fDAKupdIt22?= =?utf-8?q?kZfLC5ClX1XNTJJtCdYDkTODYmNOmEaWB0WM6blJIPI+aOcQ0tbeG8GckiFWWW4hG?= =?utf-8?q?xtS9eXVNA6aQBlYp51lR+48+KAl/EYgTfwnrF7afqICWCr/m3sG2+0AETAAen/m5t?= =?utf-8?q?i/UeUh3TK97F+W8rmK7jfCL11cNdDCua61EbiURiWdunDmaIn8wTB3y1jamhyOcyQ?= =?utf-8?q?EVc3zrySTxEn1/rWy60heSHt7tDL+M+JZApyS/zw3iNYLUTwFqFVNrb/xvt6+Zc5o?= =?utf-8?q?dfc+LNYe8SXi7xXzygaSAPhm6KfXGb17RX706XPekHyv7cZUlbzGKV1n9+1rrsc1o?= =?utf-8?q?nlWEp6jJfxqqON7fjNMeZBLDgj26or+YGoadues6xc8daRxa62Am2iPKi4pLo0hFo?= =?utf-8?q?pksaELg0ttDXl9K1jcQPd0JHm5QIFb0EDiH6n8YW5R4mvEVoDi3Ng0UVl7AONwb5Z?= =?utf-8?q?tjnPs1R9qElKhZipC2SWaIu7vT5wG255U7TFY7vnR3QDiW7655EKpUbVY/GXdJXyY?= =?utf-8?q?H/30RD7UatXWWkPxm7eb1HlZ752RjI8t2MtHscakbGT+4inAcw5SmqMwzMO0kELwu?= =?utf-8?q?J809a7OctXTUAWOU0v7laocgJoGLVFYg/x0qNRrsbBb4aaiHzz9v05kYBD0nKLv2D?= =?utf-8?q?qoNVuwTp4TtL?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4310427-08ae-4d48-93d2-08dc2bf16897 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2024 17:38:22.2329 (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: ARQsICIY9HsFYbr8Vt1cvKtoecpSsTCO2L8pgJHXyJKMd3kODcOQFGXfT50xFsPjoGYTOZP5oTeg57vxoIlplg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_093834_888275_754B5FF0 X-CRM114-Status: GOOD ( 11.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 overlays for each configuration. Signed-off-by: Josua Mayer --- arch/arm64/boot/dts/ti/Makefile | 6 +++ .../boot/dts/ti/k3-am642-hummingboard-t-pcie.dtso | 45 ++++++++++++++++++++++ .../boot/dts/ti/k3-am642-hummingboard-t-usb3.dtso | 44 +++++++++++++++++++++ 3 files changed, 95 insertions(+) diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index bd73ce06acba..cd12720638c7 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -37,8 +37,14 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-imx219.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-hdmi-audio.dtbo # Boards with AM64x SoC +k3-am642-hummingboard-t-pcie-dtbs := \ + k3-am642-hummingboard-t.dtb k3-am642-hummingboard-t-pcie.dtbo +k3-am642-hummingboard-t-usb3-dtbs := \ + k3-am642-hummingboard-t.dtb k3-am642-hummingboard-t-usb3.dtbo 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.dtso b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dtso new file mode 100644 index 000000000000..bd9a5caf20da --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dtso @@ -0,0 +1,45 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + * Overlay for SolidRun AM642 HummingBoard-T to enable PCI-E. + */ + +/dts-v1/; +/plugin/; + +#include +#include + +#include "k3-serdes.h" + +&pcie0_rc { + pinctrl-names = "default"; + pinctrl-0 = <&pcie0_default_pins>; + reset-gpios = <&main_gpio1 15 GPIO_ACTIVE_HIGH>; + phys = <&serdes0_link>; + phy-names = "pcie-phy"; + num-lanes = <1>; + status = "okay"; +}; + +&serdes0 { + #address-cells = <1>; + #size-cells = <0>; + + serdes0_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + cdns,phy-type = ; + #phy-cells = <0>; + resets = <&serdes_wiz0 1>; + }; +}; + +&serdes_ln_ctrl { + idle-states = ; +}; + +&serdes_mux { + idle-state = <1>; +}; diff --git a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dtso b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dtso new file mode 100644 index 000000000000..ffcc3bd3c7bc --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dtso @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + * Overlay for SolidRun AM642 HummingBoard-T to enable USB-3.1. + */ + +/dts-v1/; +/plugin/; + +#include + +#include "k3-serdes.h" + +&serdes0 { + #address-cells = <1>; + #size-cells = <0>; + + serdes0_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + cdns,phy-type = ; + #phy-cells = <0>; + resets = <&serdes_wiz0 1>; + }; +}; + +&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"; +};