Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1026279rdb; Wed, 6 Dec 2023 06:50:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFSvtzgnM8nfbUZJVSS50EN2BcPauVhMb/Faj9+KRBZ1rxilZbjYQmhm3YreLoj7OAvll+L X-Received: by 2002:aa7:9849:0:b0:6cb:903a:b064 with SMTP id n9-20020aa79849000000b006cb903ab064mr997118pfq.22.1701874204370; Wed, 06 Dec 2023 06:50:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701874204; cv=pass; d=google.com; s=arc-20160816; b=nodTLqd4to9+elhXlaGcNd9c3rniXLo5sc6PGiQzLfrnWiEAAMN4WBpW0zDhD6YGl9 sVJIQQKsKQjZQRhgPigeLcQgn9tRs6KRH+2K+owLvbxPTiaSXiHfAcX7d5okrCBMKU77 TxahVW4jqRWiNOv9Bw3zomsyJg1yOp9LQEmhNLSmF8jMVM9CgHOCCt/3bbMpa2t8MG90 c9FJVW5V/HgW+6i2kbQP4bZm/87b4bmlMEcqKxzTiIYEzoCPoOCN0fkpqfLkRvpWChIo X+mwhTSX4CVRy0iIE1dF/NymkOtVPAKIfxBm+EHhT5tZvrgIYu8mTrqlzzM5bw/KRIQo U+Mw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=lcWkivpnG0FmjHmjK3FPmIT2FCllrr3GBztEbR1jcbM=; fh=hxWT/jW1V9Z6yt1GslDe8k631KBM9dC9UE0zIoTxeEI=; b=HDMBWjM3Q4bu+vw/VtaVPkW728LBmpVlKxHIdNjhtnCIss703F4QAANoNC4ASuL2e2 X8Z13/rzp+RWvXbAJ8jT4UoaEzmZDybX2AyqYi3KS4kj2qNfmcGr9jMRdGpx2zb7ikLk pdHRRwZ64tE+D3nt7+HrIZk7g6qKqWW7tkdxfzGlugVPV0ESoH2gue9gka/sa2ED2eMc aKwHrqoqhWtsS8hS65Zt06m9DKWYcsIrV+VJBNNy3S8G+aKWgraMMU62ovqjD/hqcjl/ hZBZoZVkosWnAIuJaVuhLvlLmPGiWUgTLnw5U7haZrxajPccsrNm8W9TgwThMc0VBznY cKHw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mysnt.onmicrosoft.com header.s=selector2-mysnt-onmicrosoft-com header.b=EY46YqWj; arc=pass (i=1 spf=pass spfdomain=kontron.de dkim=pass dkdomain=kontron.de dmarc=pass fromdomain=kontron.de); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id 22-20020a631256000000b005c16f26b1b4si11165pgs.440.2023.12.06.06.50.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:50:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@mysnt.onmicrosoft.com header.s=selector2-mysnt-onmicrosoft-com header.b=EY46YqWj; arc=pass (i=1 spf=pass spfdomain=kontron.de dkim=pass dkdomain=kontron.de dmarc=pass fromdomain=kontron.de); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id E1BB88029567; Wed, 6 Dec 2023 06:49:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442161AbjLFOte (ORCPT + 99 others); Wed, 6 Dec 2023 09:49:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379076AbjLFOtc (ORCPT ); Wed, 6 Dec 2023 09:49:32 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2120.outbound.protection.outlook.com [40.107.6.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AF82D4D; Wed, 6 Dec 2023 06:49:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OqUXeLA2Ta/uv3oPfx85AzRjFm6pSDNwQR8PdffsPvZDe4yiBBm7dhX4SgzUCvY1cNTYXDXazKJVcp97rdc2mGnOzT4Y+BMDvq5hgPNa9SfAgP7itZLajCikB5e/hk/29aqRRxQdPf79gKNi3iWSlN29PmbcFh319h17uFB/SvvPVwmEs2gtI3sCJilDqc3bKREcSxsoXTa9pVct+YphhFdMCixdo0EplIvDsgtr4lORD81uJPlDoF50Z6EdTRKM7kH+53nf4OsCmP6hCa46XWGMYIyjqJioBdfjZuysAwgnggCmhVbA/Jpu+rNSmRG9IYTT4+6wLc6atvSWrDhdBA== 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=lcWkivpnG0FmjHmjK3FPmIT2FCllrr3GBztEbR1jcbM=; b=bP1/4mmauuDulefkkgIw20/u2jRJDxLeMCqmpMYSReC2WfYZ9zkWavAkC2F8cKgfdpukVVdKJYP5cFL2qsVb2MsFE7/iUWEuN1+YIIaczzDvD7QU2j88stf0jk8I8+jyPPxBrGIIi7bEmwDi3vawZKOeG6B7uAmZa68K7guIWV9RynV21oN9ELkTsOPQSB0OdeAH/E53q2KFkdG1zOAu6r5xDy9rSFkKgAMzUyc/UKXwq2GcS1A4QQXyXbjjahy2H+WQxy4moB3JCsUaw8e0sPaKn7loo/KiJkX/+86crCpsSwHS8Mo2RJgghIacihp9K4wZtEqIztbtveYkd7vYEw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=kontron.de; dmarc=pass action=none header.from=kontron.de; dkim=pass header.d=kontron.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mysnt.onmicrosoft.com; s=selector2-mysnt-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lcWkivpnG0FmjHmjK3FPmIT2FCllrr3GBztEbR1jcbM=; b=EY46YqWjLTsut9ce4wd1Uo4rwbwtD+TvLmZL0+JQY+YS0LOw1fGPpy0IDON/Gl1QOiiDg68yLcy/Jc4q11/a4K+2JJyT+iq7XaRPU/a9awa53XPl+q/hR4R/6ogM+un4oPQLq9gyFbDbLbvWD7jMSJNeT1zPk3yAq/EZ1+/TMwg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=kontron.de; Received: from PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:263::10) by DB8PR10MB3258.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:118::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.34; Wed, 6 Dec 2023 14:49:32 +0000 Received: from PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM ([fe80::27ba:9922:8d12:7b3d]) by PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM ([fe80::27ba:9922:8d12:7b3d%5]) with mapi id 15.20.7068.025; Wed, 6 Dec 2023 14:49:32 +0000 Message-ID: Date: Wed, 6 Dec 2023 15:49:31 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 14/14] arm64: dts: imx8mm-kontron: Refactor devicetree for OSM-S module and board Content-Language: en-US, de-DE To: Shawn Guo , Frieder Schrempf Cc: Conor Dooley , devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team References: <20231130161657.556483-1-frieder@fris.de> <20231130161657.556483-15-frieder@fris.de> <20231206030125.GN236001@dragon> From: Frieder Schrempf In-Reply-To: <20231206030125.GN236001@dragon> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0163.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b3::17) To PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:263::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR10MB5681:EE_|DB8PR10MB3258:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c56bb35-dd6c-4ecf-dc69-08dbf66a8e76 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cIQpVBGogy6fnqDW4GrfOSblu2bdNi0hkIg+sBtcb4qQaWROykx6eWbew/OCdsl8bjM/F/RuszAofCmmWMObSAH1GEDHCnqaMHz6pKGcdS+20wumyJOiYxAzmzj8yRyXjZmMqBow0VMm28QTD0QqA03sdXnQo4FCpBnoxUIk/JCWHqVbH9qT3IlqNCfvsNmEl4TXTD6R3s4GsQifXdtE2znzWIoudqirQ8F1tm32uJ6JCHcL9U/vd5xCkhSM5wj1ZA9ndJLIZJe75egPJN+BZ59rSG94/2bwxxQSbncoDFnECjRKSGYjkJ25rOePJfMQwysgt3RA+HrBxquZSoTbGBbuvzLxqvl2URFYP6SoqVhCWnDVUqpf5lIcy6uOjUDG6rsQa8wT1b7JsW9bATVwQaiG+cFfoG1xVxbmpsvlj3kh4dkhPgqAlXa4ajJ5QvohEdhtqPp3DgTvr9cgAJREAoKYJDyMrX7pUDM/9B1ORf+CqtgNdDkapPSFv4hm27hp+OpIYmCxtNf3MaZc5GFDI5+QN0AxgBzOCYQv15ivSH1Ps0u1eXPYA+X+5JemhbtRc3zFgwpGtrw54VTftaMZdQEW+EwMi78iPPNWDzBYVovjOtO/aUqxf3wKX3jZZXDItFx/mD9kG9+R3/grqmQoByCvckKh+gBjJRh2OXnZeoS1ETdF3y2dQpD5NGLSLvTLr2ZN3uJIr+jrQ75RzCS4K9Hf/BgGo/ZopKqqDdMd3pg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(346002)(396003)(366004)(39860400002)(136003)(376002)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(31686004)(6506007)(26005)(2616005)(36756003)(86362001)(31696002)(38100700002)(53546011)(83380400001)(7416002)(5660300002)(6512007)(8936002)(8676002)(66556008)(110136005)(4326008)(54906003)(66476007)(6486002)(44832011)(316002)(41300700001)(30864003)(66946007)(2906002)(478600001)(32563001)(43740500002)(45980500001)(473944003)(414714003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RUR3UUU5N25WWEtpT0NZV0pPbUFJSENBWXIza1N6bUZCNU5qdWprVGsyNVla?= =?utf-8?B?aGNRN3hUY1FHeFhUbjY1NUk0c0tEUEEzV2xXOUp5amZKZ21FTTZBVnYxY0J5?= =?utf-8?B?aW5CMGVrUkRZcFk0c0hMSkdGUlp5WWpjeWVXZFJvVUY2T1hQTHFJL210cUhx?= =?utf-8?B?Nk14bDFDaFlWSGF4NWRTb0k4ckhqNDZBRmdFMlVTVDZOdEx4elVSUWJxdlFK?= =?utf-8?B?OFVBWENDcnVicGhLQXFwRDhYUi8zdUFzMGtuRFp1WEhkbitaM2liN3RGZ2xJ?= =?utf-8?B?VGFzcU8vbXVZYkQ3YjdSaUYrQkNiN1VJYTRLYmZUT0ZkUkZqTTliRllOU1RH?= =?utf-8?B?d2dncWpCUmFJVmNGSEpCQXc3NmlTTVNSV1hiSTcyLy9ORzJZSk9zVlFrMkE3?= =?utf-8?B?eS9qY2NoWEpXemZQSER4RWlldHk0MGxScFJWQ3RIOVJCZnZkZm81WS9mSUZX?= =?utf-8?B?c0xIalNEajdVSWxYTCtFTlF4UjdpdUZLbHZlc3pIZ3NFT2o1RkRQWWxzQWxN?= =?utf-8?B?TjNkaEhNMER0d2VXOEVaU3g5SVp4aTIzVllCZFNkUkI2VS96MzlCVE9VTVZi?= =?utf-8?B?cDFtTElaVGhSV3VEVmN0UU00eTE5VE11UTh3bVpGZlJjbWQ0ZFFqRDVsYUtE?= =?utf-8?B?VzFvbENvWHBiRkdneFNuTUZUODlBSGQxNFMycGN4eFNscEk1WW1heUhOLzZ2?= =?utf-8?B?RjR2bngwLzhFN1dManBCdUFOSjJ2ZnJhRGpGOFgrRWZRak41TG01bmZ3ZVdn?= =?utf-8?B?SVE0SGJsejhhM3M0YnUrTFd5V0paLzFiWTZTZGRWS2pndFBQK3BNZnVNTmh3?= =?utf-8?B?bk43Q1FEekJxWmt0ZHR3Z3p0ZzJvd0x6dDYzd29Bd2RnV3VoWjE3L2c4Z1JK?= =?utf-8?B?Rm02VGRjUzI4cVI5ODdLZjZ3RXR4TEYwK0d6UzR3MTd6NE9kd1pmK0plN0xY?= =?utf-8?B?T3dEWkRsYkFkV0hhQktVZm1HTCtRbTM4MGQxMXdpTmZQNVNnc2xDRHFjNzNC?= =?utf-8?B?YmNxQU15ZWFhOFR2OUdpMmFKVmNIL3ZvTUhUejkxUWR0OFMzaWlSdHVHNS9y?= =?utf-8?B?UVcyN0dXNERSclFvR3ZVbUhNL2swQXhqL1FLZXlEMmFDR24xZmRHWEVUemVw?= =?utf-8?B?enpTeW55NW9DWWFKSDVhank1UEFzNnQ2N0wySU9vOHo5RHpoT1JzRE1jaG1Z?= =?utf-8?B?ckFlSDAwTEJSaFZlUUJrWHVReDNjbnhsRGdoNVFaaGROdG1EYWRsWVhPb1Yy?= =?utf-8?B?QVlobnZnU1FQU3hxeitWdGkvUWVoZEcxL1BpamZyRWNxTWhTWUN5WG1ESmll?= =?utf-8?B?U05NWkJmejd5blB2VkxVMzZRZ2JFQkF5T2ZlaG92SXVTN04yL25SMmI1Mk5S?= =?utf-8?B?cXAyU0R6UStKZERJUmdvaWVUbVRBZ1NRT0lsSWE4VEJmdmlCRlpQOXVVa0xo?= =?utf-8?B?TUgwb29hWTVxNkxqMjNmZzllcndWWWZ5SWpxdEJ3WC80QUNwVkVqbXpEb0Fm?= =?utf-8?B?VXp2N1JJRmloVCt5SGJrUmlkYnpVWWxwN2RIYXdlZWlzS3Q0UTlpYmUyNERE?= =?utf-8?B?RlpJTjVUSU5wS2VDQUZ4eVcwbjJLTnBCLzBCYlBUTGFnUlhGeGNiM09QdXlF?= =?utf-8?B?eHlJNWlQTFJ5cGpKNHRDdnBUOWp1ZVJWYXJvRXNuMGNBZ3YxSVdoSnMzeTFS?= =?utf-8?B?blhvT0hORXZGSCtvZkF1YTNtYWMwNTV0VXI3OGwrTmdndHpNQ0dyaFFLMm9V?= =?utf-8?B?Q2xHNkdiNDNVdG5TcmNSTkZDSWx0NXVUVFNyYlRCWlk0YXcwYS9oQ0p1Nmd0?= =?utf-8?B?WVB4SWVwN3RUcEZEYWxXMW5UcmNmV0srTHZCeGllUDkzbHloWGZwYW5oeEdv?= =?utf-8?B?NzllaWRZd0xzV2pMdTZFUlFOQU96aFYvZ3NEeFkxV2wzNUtMSlI0cnk4QkFj?= =?utf-8?B?Rm9tU3hZRmpFOWQvSnpFMlNqMXhFbmx0WHNFS0sydGxmeWdMTFVONXlLbTVa?= =?utf-8?B?c09sdFlGUHN1R25IdWdIeklLOUNwS1RMSEdaTUFJdnRZR24rcnRjaWxNeXZo?= =?utf-8?B?emVxMUZ2YnRBRjRKZkVRK1NRWEF6Q1hCNFJpcHhLN3BnYzdacm5jUm9ZQVg5?= =?utf-8?B?TDNPVk8wVVJEVUlEUm9PbVhrdGx6K0xac3VKTnAwL3lWOVc2ODQwdy8rdVFp?= =?utf-8?B?UEE9PQ==?= X-OriginatorOrg: kontron.de X-MS-Exchange-CrossTenant-Network-Message-Id: 2c56bb35-dd6c-4ecf-dc69-08dbf66a8e76 X-MS-Exchange-CrossTenant-AuthSource: PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2023 14:49:32.1335 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8c9d3c97-3fd9-41c8-a2b1-646f3942daf1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yBcOD13CoDobIOUqc1Q3TQbf9eXfCX4VomhWk6JcJ2eo+iTgNodhTwZwstN8Y6IKWrbt6sQxNpxjsQHp6GxmpKY9sj+7PM0UvsPR3ACX5R4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB3258 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:49:59 -0800 (PST) On 06.12.23 04:01, Shawn Guo wrote: > On Thu, Nov 30, 2023 at 05:16:14PM +0100, Frieder Schrempf wrote: >> From: Frieder Schrempf >> >> The OSM spec defines dedicated functions for all pads of the SoM. >> Therefore we can assume that carrier board designs stick to these >> definitions and extend the SoM devicetree include with matching >> default nodes and pinmux settings. >> >> This way we can reduce the overhead and redundancy in the carrier >> board devicetrees while still sticking to the policy of separating >> board and module description. >> >> Even if the carrier board design deviates slightly from the spec it >> can define its own pinmux definitions and use them as necessary or >> even disable unused nodes from the SoM devicetree. >> >> Signed-off-by: Frieder Schrempf >> --- >> Changes for v2: >> * none >> --- >> .../dts/freescale/imx8mm-kontron-bl-osm-s.dts | 269 +++------ >> .../dts/freescale/imx8mm-kontron-osm-s.dtsi | 552 +++++++++++++++++- >> 2 files changed, 616 insertions(+), 205 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts >> index 12f786a72fbd5..efadfdff00af1 100644 >> --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts >> +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts >> @@ -25,8 +25,6 @@ osc_can: clock-osc-can { >> >> leds { >> compatible = "gpio-leds"; >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_gpio_led>; >> >> led1 { >> label = "led1"; >> @@ -52,24 +50,12 @@ pwm-beeper { >> >> reg_rst_eth2: regulator-rst-eth2 { >> compatible = "regulator-fixed"; >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_usb_eth2>; >> gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>; >> enable-active-high; >> regulator-always-on; >> regulator-name = "rst-usb-eth2"; >> }; >> >> - reg_usb1_vbus: regulator-usb1-vbus { >> - compatible = "regulator-fixed"; >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_reg_usb1_vbus>; >> - gpio = <&gpio3 25 GPIO_ACTIVE_LOW>; >> - regulator-min-microvolt = <5000000>; >> - regulator-max-microvolt = <5000000>; >> - regulator-name = "usb1-vbus"; >> - }; >> - >> reg_vdd_5v: regulator-5v { >> compatible = "regulator-fixed"; >> regulator-always-on; >> @@ -80,9 +66,6 @@ reg_vdd_5v: regulator-5v { >> }; >> >> &ecspi2 { >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_ecspi2>; >> - cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; >> status = "okay"; >> >> can@0 { >> @@ -103,9 +86,6 @@ can@0 { >> }; >> >> &ecspi3 { >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_ecspi3>; >> - cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; >> status = "okay"; >> >> eeram@0 { >> @@ -117,7 +97,7 @@ eeram@0 { >> >> &fec1 { >> pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_enet>; >> + pinctrl-0 = <&pinctrl_enet_rgmii>; >> phy-connection-type = "rgmii-id"; >> phy-handle = <ðphy>; >> status = "okay"; >> @@ -136,27 +116,59 @@ ethphy: ethernet-phy@0 { >> }; >> }; >> >> +/* >> + * Rename SoM signals according to board usage: >> + * GPIO_B_0 -> DIO1_OUT >> + * GPIO_B_1 -> DIO2_OUT >> + */ >> &gpio1 { >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_gpio1>; >> - gpio-line-names = "", "", "", "dio1-out", "", "", "dio1-in", "dio2-out", >> - "dio2-in", "dio3-out", "dio3-in", "dio4-out", "", "", "", "", >> - "", "", "", "", "", "", "", "", >> - "", "", "", "", "", "", "", ""; >> + gpio-line-names = "", "GPIO_A_0", "", "GPIO_A_1", >> + "", "GPIO_A_2", "GPIO_A_3", "GPIO_A_4", >> + "GPIO_A_5", "GPIO_A_6", "GPIO_A_7", "DIO1_OUT", >> + "DIO2_OUT", "USB_A_OC#", "CAM_MCK", "USB_B_OC#", >> + "ETH_MDC", "ETH_MDIO", "ETH_A_(S)(R)(G)MII_TXD3", >> + "ETH_A_(S)(R)(G)MII_TXD2", "ETH_A_(S)(R)(G)MII_TXD1", >> + "ETH_A_(S)(R)(G)MII_TXD0", "ETH_A_(R)(G)MII_TX_EN(_ER)", >> + "ETH_A_(R)(G)MII_TX_CLK", "ETH_A_(R)(G)MII_RX_DV(_ER)", >> + "ETH_A_(R)(G)MII_RX_CLK", "ETH_A_(S)(R)(G)MII_RXD0", >> + "ETH_A_(S)(R)(G)MII_RXD1", "ETH_A_(R)(G)MII_RXD2", >> + "ETH_A_(R)(G)MII_RXD3"; >> }; >> >> -&gpio5 { >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_gpio5>; >> - gpio-line-names = "", "", "dio4-in", "", "", "", "", "", >> - "", "", "", "", "", "", "", "", >> - "", "", "", "", "", "", "", "", >> - "", "", "", "", "", "", "", ""; >> +/* >> + * Rename SoM signals according to board usage: >> + * GPIO_B_2 -> DIO3_OUT >> + * GPIO_B_3 -> DIO4_OUT >> + */ >> +&gpio3 { >> + gpio-line-names = "GPIO_C_5", "GPIO_C_4", "SDIO_B_CD#", "SDIO_B_D5", >> + "SDIO_B_D6", "SDIO_B_D7", "GPIO_C_0", "GPIO_C_1", >> + "GPIO_C_2", "GPIO_C_3", "SDIO_B_D0", "SDIO_B_D1", >> + "SDIO_B_D2", "SDIO_B_D3", "", "SDIO_B_D4", >> + "CARRIER_PWR_EN", "SDIO_B_CLK", "SDIO_B_CMD", "DIO3_OUT", >> + "USB_B_EN", "DIO4_OUT", "PCIe_CLKREQ#", "PCIe_A_PERST#", >> + "PCIe_WAKE#", "USB_A_EN"; >> +}; >> + >> +/* >> + * Rename SoM signals according to board usage: >> + * GPIO_B_4 -> DIO1_IN >> + * GPIO_B_5 -> DIO2_IN >> + * GPIO_B_6 -> DIO3_IN >> + * GPIO_B_7 -> DIO4_IN >> + */ >> +&gpio4 { >> + gpio-line-names = "GPIO_C_7", "", "I2S_A_DATA_IN", "I2S_B_DATA_IN", >> + "DIO1_IN", "BOOT_SEL0#", "BOOT_SEL1#", "", >> + "", "", "I2S_LRCLK", "I2S_BITCLK", >> + "I2S_A_DATA_OUT", "I2S_B_DATA_OUT", "DIO2_IN", "DIO3_IN", >> + "DIO4_IN", "SPI_A_/WP_(IO2)", "SPI_A_/HOLD_(IO3)", "GPIO_C_6", >> + "I2S_MCLK", "UART_A_TX", "UART_A_RX", "UART_A_CTS", >> + "UART_A_RTS", "", "", "", >> + "PCIe_SM_ALERT", "UART_B_RTS", "UART_B_CTS", "UART_B_RX"; >> }; >> >> &i2c3 { >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_i2c3>; >> status = "okay"; >> >> usb-hub@2c { >> @@ -169,27 +181,28 @@ usb-hub@2c { >> }; >> }; >> >> -&i2c4 { >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_i2c4>; >> -}; >> - >> &pwm2 { >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_pwm2>; >> status = "okay"; >> }; >> >> +®_usb2_vbus { >> + status = "disabled"; >> +}; >> + >> +®_usdhc2_vcc { >> + status = "disabled"; >> +}; >> + >> +®_usdhc3_vcc { >> + status = "disabled"; >> +}; >> + >> &uart1 { >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_uart1>; >> uart-has-rtscts; >> status = "okay"; >> }; >> >> &uart2 { >> - pinctrl-names = "default"; >> - pinctrl-0 = <&pinctrl_uart2>; >> linux,rs485-enabled-at-boot-time; >> uart-has-rtscts; >> status = "okay"; >> @@ -197,8 +210,6 @@ &uart2 { >> >> &usbotg1 { >> dr_mode = "otg"; >> - disable-over-current; >> - vbus-supply = <®_usb1_vbus>; >> status = "okay"; >> }; >> >> @@ -209,6 +220,9 @@ &usbotg2 { >> #size-cells = <0>; >> status = "okay"; >> >> + /* VBUS is controlled by the hub */ >> + /delete-property/ vbus-supply; >> + >> usb1@1 { >> compatible = "usb424,2514"; >> reg = <1>; >> @@ -224,171 +238,20 @@ usbnet: ethernet@1 { >> }; >> >> &usdhc2 { >> - pinctrl-names = "default", "state_100mhz", "state_200mhz"; >> - pinctrl-0 = <&pinctrl_usdhc2>; >> - pinctrl-1 = <&pinctrl_usdhc2_100mhz>; >> - pinctrl-2 = <&pinctrl_usdhc2_200mhz>; >> vmmc-supply = <®_vdd_3v3>; >> - vqmmc-supply = <®_nvcc_sd>; >> - cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; >> status = "okay"; >> }; >> >> &iomuxc { >> pinctrl_can: cangrp { >> fsl,pins = < >> - MX8MM_IOMUXC_SAI3_TXD_GPIO5_IO1 0x19 >> - >; >> - }; >> - >> - pinctrl_ecspi2: ecspi2grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x82 >> - MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x82 >> - MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x82 >> - MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0x19 >> - >; >> - }; >> - >> - pinctrl_ecspi3: ecspi3grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_UART2_RXD_ECSPI3_MISO 0x82 >> - MX8MM_IOMUXC_UART1_TXD_ECSPI3_MOSI 0x82 >> - MX8MM_IOMUXC_UART1_RXD_ECSPI3_SCLK 0x82 >> - MX8MM_IOMUXC_UART2_TXD_GPIO5_IO25 0x19 >> - >; >> - }; >> - >> - pinctrl_enet: enetgrp { >> - fsl,pins = < >> - MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3 >> - MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3 >> - MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f >> - MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f >> - MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f >> - MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f >> - MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 >> - MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 >> - MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 >> - MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 >> - MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f >> - MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 >> - MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 >> - MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f >> - MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x19 /* PHY RST */ >> - >; >> - }; >> - >> - pinctrl_gpio_led: gpioledgrp { >> - fsl,pins = < >> - MX8MM_IOMUXC_GPIO1_IO05_GPIO1_IO5 0x19 >> - MX8MM_IOMUXC_GPIO1_IO07_GPIO1_IO7 0x19 >> - MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x19 >> - >; >> - }; >> - >> - pinctrl_gpio1: gpio1grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x19 >> - MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x19 >> - MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x19 >> - MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x19 >> - MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x19 >> - >; >> - }; >> - >> - pinctrl_gpio5: gpio5grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2 0x19 >> - >; >> - }; >> - >> - pinctrl_i2c3: i2c3grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x40000083 >> - MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x40000083 >> - >; >> - }; >> - >> - pinctrl_i2c4: i2c4grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x40000083 >> - MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x40000083 >> - >; >> - }; >> - >> - pinctrl_pwm2: pwm2grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_SPDIF_RX_PWM2_OUT 0x19 >> - >; >> - }; >> - >> - pinctrl_reg_usb1_vbus: regusb1vbusgrp { >> - fsl,pins = < >> - MX8MM_IOMUXC_SAI5_MCLK_GPIO3_IO25 0x19 >> - >; >> - }; >> - >> - pinctrl_uart1: uart1grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_RX 0x0 >> - MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_TX 0x0 >> - MX8MM_IOMUXC_SAI2_RXD0_UART1_DCE_RTS_B 0x0 >> - MX8MM_IOMUXC_SAI2_TXFS_UART1_DCE_CTS_B 0x0 >> - >; >> - }; >> - >> - pinctrl_uart2: uart2grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_SAI3_TXFS_UART2_DCE_RX 0x0 >> - MX8MM_IOMUXC_SAI3_TXC_UART2_DCE_TX 0x0 >> - MX8MM_IOMUXC_SAI3_RXD_UART2_DCE_RTS_B 0x0 >> - MX8MM_IOMUXC_SAI3_RXC_UART2_DCE_CTS_B 0x0 >> - >; >> - }; >> - >> - pinctrl_usb_eth2: usbeth2grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x19 >> - >; >> - }; >> - >> - pinctrl_usdhc2: usdhc2grp { >> - fsl,pins = < >> - MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x90 >> - MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0 >> - MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0 >> - MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0 >> - MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0 >> - MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0 >> - MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x19 >> - MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x90 >> - >; >> - }; >> - >> - pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { >> - fsl,pins = < >> - MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x94 >> - MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d4 >> - MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4 >> - MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4 >> - MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4 >> - MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4 >> - MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x19 >> - MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x90 >> + MX8MM_IOMUXC_SAI3_TXD_GPIO5_IO1 0x19 /* SDIO_B_PWR_EN */ >> >; >> }; >> >> - pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { >> + pinctrl_usb_hub: usbhubgrp { >> fsl,pins = < >> - MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x96 >> - MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d6 >> - MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d6 >> - MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6 >> - MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6 >> - MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6 >> - MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x19 >> - MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x90 >> + MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2 0x19 /* SDIO_B_WP */ >> >; >> }; >> }; >> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi >> index 6b9058fc53332..1a5c29565e7fe 100644 >> --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi >> +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi >> @@ -3,6 +3,7 @@ >> * Copyright (C) 2022 Kontron Electronics GmbH >> */ >> >> +#include >> #include >> #include "imx8mm.dtsi" >> >> @@ -28,6 +29,73 @@ memory@40000000 { >> chosen { >> stdout-path = &uart3; >> }; >> + >> + reg_vdd_carrier: regulator-vdd-carrier { >> + compatible = "regulator-fixed"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_reg_vdd_carrier>; >> + enable-active-high; >> + gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>; > > Can we flip the order of these two properties? enable-active-high is a > further description to GPIO_ACTIVE_HIGH. Sure, done in v3 >> + regulator-always-on; >> + regulator-boot-on; >> + regulator-name = "VDD_CARRIER"; >> + >> + regulator-state-standby { >> + regulator-on-in-suspend; >> + }; >> + >> + regulator-state-mem { >> + regulator-off-in-suspend; >> + }; >> + >> + regulator-state-disk { >> + regulator-off-in-suspend; >> + }; >> + }; >> + >> + reg_usb1_vbus: regulator-usb1-vbus { >> + compatible = "regulator-fixed"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_reg_usb1_vbus>; >> + enable-active-high; >> + gpio = <&gpio3 25 GPIO_ACTIVE_HIGH>; >> + regulator-min-microvolt = <5000000>; >> + regulator-max-microvolt = <5000000>; >> + regulator-name = "VBUS_USB1"; >> + }; >> + >> + reg_usb2_vbus: regulator-usb2-vbus { >> + compatible = "regulator-fixed"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_reg_usb2_vbus>; >> + enable-active-high; >> + gpio = <&gpio3 20 GPIO_ACTIVE_HIGH>; >> + regulator-min-microvolt = <5000000>; >> + regulator-max-microvolt = <5000000>; >> + regulator-name = "VBUS_USB2"; >> + }; >> + >> + reg_usdhc2_vcc: regulator-usdhc2-vcc { >> + compatible = "regulator-fixed"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_reg_usdhc2_vcc>; >> + enable-active-high; >> + gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; >> + regulator-min-microvolt = <3300000>; >> + regulator-max-microvolt = <3300000>; >> + regulator-name = "VCC_SDIO_A"; >> + }; >> + >> + reg_usdhc3_vcc: regulator-usdhc3-vcc { >> + compatible = "regulator-fixed"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_reg_usdhc3_vcc>; >> + enable-active-high; >> + gpio = <&gpio5 1 GPIO_ACTIVE_HIGH>; >> + regulator-min-microvolt = <3300000>; >> + regulator-max-microvolt = <3300000>; >> + regulator-name = "VCC_SDIO_B"; >> + }; >> }; >> >> &A53_0 { >> @@ -96,6 +164,79 @@ partition@1f0000 { >> }; >> }; >> >> +&ecspi2 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_ecspi2>, <&pinctrl_ecspi2_gpio>; >> + cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; >> +}; >> + >> +&ecspi3 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_ecspi3>; >> + cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; >> +}; >> + >> +&gpio1 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_gpio1>; >> + gpio-line-names = "", "GPIO_A_0", "", "GPIO_A_1", >> + "", "GPIO_A_2", "GPIO_A_3", "GPIO_A_4", >> + "GPIO_A_5", "GPIO_A_6", "GPIO_A_7", "GPIO_B_0", >> + "GPIO_B_1", "USB_A_OC#", "CAM_MCK", "USB_B_OC#", >> + "ETH_MDC", "ETH_MDIO", "ETH_A_(S)(R)(G)MII_TXD3", >> + "ETH_A_(S)(R)(G)MII_TXD2", "ETH_A_(S)(R)(G)MII_TXD1", >> + "ETH_A_(S)(R)(G)MII_TXD0", "ETH_A_(R)(G)MII_TX_EN(_ER)", >> + "ETH_A_(R)(G)MII_TX_CLK", "ETH_A_(R)(G)MII_RX_DV(_ER)", >> + "ETH_A_(R)(G)MII_RX_CLK", "ETH_A_(S)(R)(G)MII_RXD0", >> + "ETH_A_(S)(R)(G)MII_RXD1", "ETH_A_(R)(G)MII_RXD2", >> + "ETH_A_(R)(G)MII_RXD3"; >> +}; >> + >> +&gpio2 { >> + gpio-line-names = "", "", "", "", >> + "", "", "", "", >> + "", "", "", "", >> + "SDIO_A_CD#", "SDIO_A_CLK", "SDIO_A_CMD", "SDIO_A_D0", >> + "SDIO_A_D1", "SDIO_A_D2", "SDIO_A_D3", "SDIO_A_PWR_EN", >> + "SDIO_A_WP"; >> +}; >> + >> +&gpio3 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_gpio3>; >> + gpio-line-names = "GPIO_C_5", "GPIO_C_4", "SDIO_B_CD#", "SDIO_B_D5", >> + "SDIO_B_D6", "SDIO_B_D7", "GPIO_C_0", "GPIO_C_1", >> + "GPIO_C_2", "GPIO_C_3", "SDIO_B_D0", "SDIO_B_D1", >> + "SDIO_B_D2", "SDIO_B_D3", "", "SDIO_B_D4", >> + "CARRIER_PWR_EN", "SDIO_B_CLK", "SDIO_B_CMD", "GPIO_B_2", >> + "USB_B_EN", "GPIO_B_3", "PCIe_CLKREQ#", "PCIe_A_PERST#", >> + "PCIe_WAKE#", "USB_A_EN"; >> +}; >> + >> +&gpio4 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_gpio4>; >> + gpio-line-names = "GPIO_C_7", "", "I2S_A_DATA_IN", "I2S_B_DATA_IN", >> + "GPIO_B_4", "BOOT_SEL0#", "BOOT_SEL1#", "", >> + "", "", "I2S_LRCLK", "I2S_BITCLK", >> + "I2S_A_DATA_OUT", "I2S_B_DATA_OUT", "GPIO_B_5", "GPIO_B_6", >> + "GPIO_B_7", "SPI_A_/WP_(IO2)", "SPI_A_/HOLD_(IO3)", "GPIO_C_6", >> + "I2S_MCLK", "UART_A_TX", "UART_A_RX", "UART_A_CTS", >> + "UART_A_RTS", "", "", "", >> + "PCIe_SM_ALERT", "UART_B_RTS", "UART_B_CTS", "UART_B_RX"; >> +}; >> + >> +&gpio5 { >> + gpio-line-names = "UART_B_TX", "SDIO_B_PWR_EN", "SDIO_B_WP", "PWM_2", >> + "PWM_1", "PWM_0", "", "", >> + "", "", "SPI_A_SCK", "SPI_A_SDO_(IO1)", >> + "SPI_A_SCK", "SPI_A_CS0#", "", "", >> + "I2C_A_SCL", "I2C_A_SDA", "I2C_B_SCL", "I2C_B_SDA", >> + "PCIe_SMCLK", "PCIe_SMDAT", "SPI_B_SCK", "SPI_B_SDO", >> + "SPI_B_SDI", "SPI_B_CS0#", "UART_CON_RX", "UART_CON_TX", >> + "UART_C_RX", "UART_C_TX"; >> +}; >> + >> &i2c1 { >> clock-frequency = <400000>; >> pinctrl-names = "default"; >> @@ -222,12 +363,69 @@ rv3028: rtc@52 { >> }; >> }; >> >> +&i2c2 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_i2c2>; >> +}; >> + >> +&i2c3 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_i2c3>; >> +}; >> + >> +&i2c4 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_i2c4>; >> +}; >> + >> +&pwm1 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_pwm1>; >> +}; >> + >> +&pwm2 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_pwm2>; >> +}; >> + >> +&pwm3 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_pwm3>; >> +}; >> + >> +&uart1 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_uart1>; >> +}; >> + >> +&uart2 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_uart2>; >> +}; >> + >> &uart3 { /* console */ >> pinctrl-names = "default"; >> pinctrl-0 = <&pinctrl_uart3>; >> status = "okay"; >> }; >> >> +&uart4 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_uart4>; >> +}; >> + >> +&usbotg1 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_usb1>; >> + vbus-supply = <®_usb1_vbus>; >> +}; >> + >> +&usbotg2 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_usb2>; >> + vbus-supply = <®_usb2_vbus>; >> +}; >> + >> &usdhc1 { >> pinctrl-names = "default", "state_100mhz", "state_200mhz"; >> pinctrl-0 = <&pinctrl_usdhc1>; >> @@ -240,6 +438,26 @@ &usdhc1 { >> status = "okay"; >> }; >> >> +&usdhc2 { >> + pinctrl-names = "default", "state_100mhz", "state_200mhz"; >> + pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; >> + pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; >> + pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; >> + vmmc-supply = <®_usdhc2_vcc>; >> + vqmmc-supply = <®_nvcc_sd>; >> + cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; >> +}; >> + >> +&usdhc3 { >> + pinctrl-names = "default", "state_100mhz", "state_200mhz"; >> + pinctrl-0 = <&pinctrl_usdhc3>, <&pinctrl_usdhc3_gpio>; >> + pinctrl-1 = <&pinctrl_usdhc3_100mhz>, <&pinctrl_usdhc3_gpio>; >> + pinctrl-2 = <&pinctrl_usdhc3_200mhz>, <&pinctrl_usdhc3_gpio>; >> + vmmc-supply = <®_usdhc3_vcc>; >> + vqmmc-supply = <®_nvcc_sd>; >> + cd-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>; >> +}; >> + >> &wdog1 { >> pinctrl-names = "default"; >> pinctrl-0 = <&pinctrl_wdog>; >> @@ -248,6 +466,12 @@ &wdog1 { >> }; >> >> &iomuxc { >> + pinctrl_csi_mck: csimckgrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_GPIO1_IO14_CCMSRCGPCMIX_CLKO1 0x59 /* CAM_MCK */ >> + >; >> + }; >> + >> pinctrl_ecspi1: ecspi1grp { >> fsl,pins = < >> MX8MM_IOMUXC_ECSPI1_MISO_ECSPI1_MISO 0x82 >> @@ -257,6 +481,106 @@ MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9 0x19 >> >; >> }; >> >> + pinctrl_ecspi2: ecspi2grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x82 /* SPI_A_SDI_(IO0) */ >> + MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x82 /* SPI_A_SDO_(IO1) */ >> + MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x82 /* SPI_A_SCK */ >> + MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0x19 /* SPI_A_CS0# */ >> + >; >> + }; >> + >> + pinctrl_ecspi2_gpio: ecspi2gpiogrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SAI1_TXD5_GPIO4_IO17 0x19 /* SPI_A_/WP_(IO2) */ >> + MX8MM_IOMUXC_SAI1_TXD6_GPIO4_IO18 0x19 /* SPI_A_/HOLD_(IO3) */ >> + >; >> + }; >> + >> + pinctrl_ecspi3: ecspi3grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_UART2_RXD_ECSPI3_MISO 0x82 /* SPI_B_SDI */ >> + MX8MM_IOMUXC_UART1_TXD_ECSPI3_MOSI 0x82 /* SPI_B_SDO */ >> + MX8MM_IOMUXC_UART1_RXD_ECSPI3_SCLK 0x82 /* SPI_B_SCK */ >> + MX8MM_IOMUXC_UART2_TXD_GPIO5_IO25 0x19 /* SPI_B_CS0# */ >> + >; >> + }; >> + >> + pinctrl_enet_rgmii: enetrgmiigrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x03 /* ETH_MDC */ >> + MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x03 /* ETH_MDIO */ >> + MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f /* ETH_A_(S)(R)(G)MII_TXD3 */ >> + MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f /* ETH_A_(S)(R)(G)MII_TXD2 */ >> + MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f /* ETH_A_(S)(R)(G)MII_TXD1 */ >> + MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f /* ETH_A_(S)(R)(G)MII_TXD0 */ >> + MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 /* ETH_A_(R)(G)MII_RXD3 */ >> + MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 /* ETH_A_(R)(G)MII_RXD2 */ >> + MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 /* ETH_A_(S)(R)(G)MII_RXD1 */ >> + MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 /* ETH_A_(S)(R)(G)MII_RXD0 */ >> + MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f /* ETH_A_(R)(G)MII_TX_CLK */ >> + MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 /* ETH_A_(R)(G)MII_RX_CLK */ >> + MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 /* ETH_A_(R)(G)MII_RX_DV(_ER) */ >> + MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f /* ETH_A_(R)(G)MII_TX_EN(_ER) */ >> + >; >> + }; >> + >> + pinctrl_enet_rmii: enetrmiigrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x03 /* ETH_MDC */ >> + MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x03 /* ETH_MDIO */ >> + MX8MM_IOMUXC_ENET_TD2_ENET1_TX_CLK 0x4000001f /* ETH_A_(S)(R)(G)MII_TXD2 */ >> + MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x56 /* ETH_A_(S)(R)(G)MII_TXD1 */ >> + MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x56 /* ETH_A_(S)(R)(G)MII_TXD0 */ >> + MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x56 /* ETH_A_(S)(R)(G)MII_RXD1 */ >> + MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x56 /* ETH_A_(S)(R)(G)MII_RXD0 */ >> + MX8MM_IOMUXC_ENET_RXC_ENET1_RX_ER 0x56 /* ETH_A_(R)(G)MII_RX_CLK */ >> + MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x56 /* ETH_A_(R)(G)MII_RX_DV(_ER) */ >> + MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x56 /* ETH_A_(R)(G)MII_TX_EN(_ER) */ >> + >; >> + }; >> + >> + pinctrl_gpio1: gpio1grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x19 /* GPIO_A_0 */ >> + MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x19 /* GPIO_A_1 */ >> + MX8MM_IOMUXC_GPIO1_IO05_GPIO1_IO5 0x19 /* GPIO_A_2 */ >> + MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x19 /* GPIO_A_3 */ >> + MX8MM_IOMUXC_GPIO1_IO07_GPIO1_IO7 0x19 /* GPIO_A_4 */ >> + MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x19 /* GPIO_A_5 */ >> + MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x19 /* GPIO_A_6 */ >> + MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x19 /* GPIO_A_7 */ >> + MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x19 /* GPIO_B_0 */ >> + MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x19 /* GPIO_B_1 */ >> + >; >> + }; >> + >> + pinctrl_gpio3: gpio3grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_NAND_ALE_GPIO3_IO0 0x19 /* GPIO_C_5 */ >> + MX8MM_IOMUXC_NAND_CE0_B_GPIO3_IO1 0x19 /* GPIO_C_4 */ >> + MX8MM_IOMUXC_NAND_DATA00_GPIO3_IO6 0x19 /* GPIO_C_0 */ >> + MX8MM_IOMUXC_NAND_DATA01_GPIO3_IO7 0x19 /* GPIO_C_1 */ >> + MX8MM_IOMUXC_NAND_DATA02_GPIO3_IO8 0x19 /* GPIO_C_2 */ >> + MX8MM_IOMUXC_NAND_DATA03_GPIO3_IO9 0x19 /* GPIO_C_3 */ >> + MX8MM_IOMUXC_SAI5_RXFS_GPIO3_IO19 0x19 /* GPIO_B_2 */ >> + MX8MM_IOMUXC_SAI5_RXD0_GPIO3_IO21 0x19 /* GPIO_B_3 */ >> + >; >> + }; >> + >> + pinctrl_gpio4: gpio4grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SAI1_RXFS_GPIO4_IO0 0x19 /* GPIO_C_7 */ >> + MX8MM_IOMUXC_SAI1_RXD2_GPIO4_IO4 0x19 /* GPIO_B_4 */ >> + MX8MM_IOMUXC_SAI1_RXD3_GPIO4_IO5 0x19 /* BOOT_SEL0# */ >> + MX8MM_IOMUXC_SAI1_RXD4_GPIO4_IO6 0x19 /* BOOT_SEL1# */ >> + MX8MM_IOMUXC_SAI1_TXD2_GPIO4_IO14 0x19 /* GPIO_B_5 */ >> + MX8MM_IOMUXC_SAI1_TXD3_GPIO4_IO15 0x19 /* GPIO_B_6 */ >> + MX8MM_IOMUXC_SAI1_TXD4_GPIO4_IO16 0x19 /* GPIO_B_7 */ >> + MX8MM_IOMUXC_SAI1_TXD7_GPIO4_IO19 0x19 /* GPIO_C_6 */ >> + >; >> + }; >> + >> pinctrl_i2c1: i2c1grp { >> fsl,pins = < >> MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x40000083 >> @@ -264,22 +588,149 @@ MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x40000083 >> >; >> }; >> >> + pinctrl_i2c2: i2c2grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x40000083 /* I2C_A_SCL */ >> + MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x40000083 /* I2C_A_SDA */ >> + >; >> + }; >> + >> + pinctrl_i2c3: i2c3grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x40000083 /* I2C_B_SCL */ >> + MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x40000083 /* I2C_B_SDA */ >> + >; >> + }; >> + >> + pinctrl_i2c4: i2c4grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x40000083 /* PCIe_SMCLK and I2C_CAM_SCL/CSI_TX_P */ >> + MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x40000083 /* PCIe_SMDAT and I2C_CAM_SDA/CSI_TX_N */ >> + >; >> + }; >> + >> + pinctrl_pcie: pciegrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SAI5_RXD1_GPIO3_IO22 0x19 /* PCIe_CLKREQ# */ >> + MX8MM_IOMUXC_SAI5_RXD2_GPIO3_IO23 0x19 /* PCIe_A_PERST# */ >> + MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24 0x19 /* PCIe_WAKE# */ >> + MX8MM_IOMUXC_SAI3_RXFS_GPIO4_IO28 0x19 /* PCIe_SM_ALERT */ >> + >; >> + }; >> + >> pinctrl_pmic: pmicgrp { >> fsl,pins = < >> MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 >> >; >> }; >> >> + pinctrl_pwm1: pwm1grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SPDIF_EXT_CLK_PWM1_OUT 0x19 /* PWM_0 */ >> + >; >> + }; >> + >> + pinctrl_pwm2: pwm2grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SPDIF_RX_PWM2_OUT 0x19 /* PWM_1 */ >> + >; >> + }; >> + >> + pinctrl_pwm3: pwm3grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SPDIF_TX_PWM3_OUT 0x19 /* PWM_2 */ >> + >; >> + }; >> + >> + pinctrl_reg_usb1_vbus: regusb1vbusgrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SAI5_MCLK_GPIO3_IO25 0x19 /* USB_A_EN */ >> + >; >> + }; >> + >> + pinctrl_reg_usb2_vbus: regusb2vbusgrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SAI5_RXC_GPIO3_IO20 0x19 /* USB_B_EN */ >> + >; >> + }; >> + >> + pinctrl_reg_usdhc2_vcc: regusdhc2vccgrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x19 /* SDIO_A_PWR_EN */ >> + >; >> + }; >> + >> + pinctrl_reg_usdhc3_vcc: regusdhc3vccgrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SAI3_TXD_GPIO5_IO1 0x19 /* SDIO_B_PWR_EN */ >> + >; >> + }; >> + >> + pinctrl_reg_vdd_carrier: regvddcarriergrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19 /* CARRIER_PWR_EN */ >> + >; >> + }; >> + >> pinctrl_rtc: rtcgrp { >> fsl,pins = < >> MX8MM_IOMUXC_SAI1_RXC_GPIO4_IO1 0x19 >> >; >> }; >> >> + pinctrl_sai1: sai1grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SAI1_RXD0_SAI1_RX_DATA0 0xd6 /* I2S_A_DATA_IN */ >> + MX8MM_IOMUXC_SAI1_TXD0_SAI1_TX_DATA0 0xd6 /* I2S_A_DATA_OUT */ >> + MX8MM_IOMUXC_SAI1_RXD1_SAI1_RX_DATA1 0xd6 /* I2S_B_DATA_IN */ >> + MX8MM_IOMUXC_SAI1_TXD1_SAI1_TX_DATA1 0xd6 /* I2S_B_DATA_OUT */ >> + MX8MM_IOMUXC_SAI1_MCLK_SAI1_MCLK 0xd6 /* I2S_MCLK */ >> + MX8MM_IOMUXC_SAI1_TXFS_SAI1_TX_SYNC 0xd6 /* I2S_LRCLK */ >> + MX8MM_IOMUXC_SAI1_TXC_SAI1_TX_BCLK 0xd6 /* I2S_BITCLK */ >> + >; >> + }; >> + >> + pinctrl_uart1: uart1grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_RX 0x0 /* UART_A_RX */ >> + MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_TX 0x0 /* UART_A_TX */ >> + MX8MM_IOMUXC_SAI2_RXD0_UART1_DCE_RTS_B 0x0 /* UART_A_CTS */ >> + MX8MM_IOMUXC_SAI2_TXFS_UART1_DCE_CTS_B 0x0 /* UART_A_RTS */ >> + >; >> + }; >> + >> + pinctrl_uart2: uart2grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SAI3_TXFS_UART2_DCE_RX 0x0 /* UART_B_RX */ >> + MX8MM_IOMUXC_SAI3_TXC_UART2_DCE_TX 0x0 /* UART_B_TX */ >> + MX8MM_IOMUXC_SAI3_RXD_UART2_DCE_RTS_B 0x0 /* UART_B_CTS */ >> + MX8MM_IOMUXC_SAI3_RXC_UART2_DCE_CTS_B 0x0 /* UART_B_RTS */ >> + >; >> + }; >> + >> pinctrl_uart3: uart3grp { >> fsl,pins = < >> - MX8MM_IOMUXC_UART3_RXD_UART3_DCE_RX 0x140 >> - MX8MM_IOMUXC_UART3_TXD_UART3_DCE_TX 0x140 >> + MX8MM_IOMUXC_UART3_RXD_UART3_DCE_RX 0x140 /* UART_CON_RX */ >> + MX8MM_IOMUXC_UART3_TXD_UART3_DCE_TX 0x140 /* UART_CON_TX */ >> + >; >> + }; >> + >> + pinctrl_uart4: uart4grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_UART4_RXD_UART4_DCE_RX 0x0 /* UART_C_RX */ >> + MX8MM_IOMUXC_UART4_TXD_UART4_DCE_TX 0x0 /* UART_C_TX */ >> + >; >> + }; >> + >> + pinctrl_usb1: usb1grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_GPIO1_IO13_USB1_OTG_OC 0x19 /* USB_A_OC# */ >> + >; >> + }; >> + >> + pinctrl_usb2: usb2grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_GPIO1_IO15_USB2_OTG_OC 0x19 /* USB_B_OC# */ >> >; >> }; >> >> @@ -334,6 +785,103 @@ MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE 0x196 >> >; >> }; >> >> + pinctrl_usdhc2: usdhc2grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x90 /* SDIO_A_CLK */ >> + MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0 /* SDIO_A_CMD */ >> + MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0 /* SDIO_A_D0 */ >> + MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0 /* SDIO_A_D1 */ >> + MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0 /* SDIO_A_D2 */ >> + MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0 /* SDIO_A_D3 */ >> + MX8MM_IOMUXC_SD2_WP_USDHC2_WP 0x400000d6 /* SDIO_A_WP */ >> + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x90 >> + >; >> + }; >> + >> + pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x94 /* SDIO_A_CLK */ >> + MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d4 /* SDIO_A_CMD */ >> + MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4 /* SDIO_A_D0 */ >> + MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4 /* SDIO_A_D1 */ >> + MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4 /* SDIO_A_D2 */ >> + MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4 /* SDIO_A_D3 */ >> + MX8MM_IOMUXC_SD2_WP_USDHC2_WP 0x400000d6 /* SDIO_A_WP */ >> + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x90 >> + >; >> + }; >> + >> + pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x96 /* SDIO_A_CLK */ >> + MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d6 /* SDIO_A_CMD */ >> + MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d6 /* SDIO_A_D0 */ >> + MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6 /* SDIO_A_D1 */ >> + MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6 /* SDIO_A_D2 */ >> + MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6 /* SDIO_A_D3 */ >> + MX8MM_IOMUXC_SD2_WP_USDHC2_WP 0x400000d6 /* SDIO_A_WP */ >> + MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x90 >> + >; >> + }; >> + >> + pinctrl_usdhc2_gpio: usdhc2gpiogrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x19 /* SDIO_A_CD# */ >> + >; >> + }; >> + >> + pinctrl_usdhc3: usdhc3grp { >> + fsl,pins = < >> + MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x90 /* SDIO_B_CLK */ >> + MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x90 /* SDIO_B_CMD */ >> + MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x90 /* SDIO_B_D0 */ >> + MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x90 /* SDIO_B_D1 */ >> + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x90 /* SDIO_B_D2 */ >> + MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x90 /* SDIO_B_D3 */ >> + MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x90 /* SDIO_B_D4 */ >> + MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x90 /* SDIO_B_D5 */ >> + MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x90 /* SDIO_B_D6 */ >> + MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x90 /* SDIO_B_D7 */ >> + >; >> + }; >> + >> + pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x94 /* SDIO_B_CLK */ >> + MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x94 /* SDIO_B_CMD */ >> + MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x94 /* SDIO_B_D0 */ >> + MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x94 /* SDIO_B_D1 */ >> + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x94 /* SDIO_B_D2 */ >> + MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x94 /* SDIO_B_D3 */ >> + MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x94 /* SDIO_B_D4 */ >> + MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x94 /* SDIO_B_D5 */ >> + MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x94 /* SDIO_B_D6 */ >> + MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x94 /* SDIO_B_D7 */ >> + >; >> + }; >> + >> + pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x96 /* SDIO_B_CLK */ >> + MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x96 /* SDIO_B_CMD */ >> + MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x96 /* SDIO_B_D0 */ >> + MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x96 /* SDIO_B_D1 */ >> + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x96 /* SDIO_B_D2 */ >> + MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x96 /* SDIO_B_D3 */ >> + MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x96 /* SDIO_B_D4 */ >> + MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x96 /* SDIO_B_D5 */ >> + MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x96 /* SDIO_B_D6 */ >> + MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x96 /* SDIO_B_D7 */ >> + >; >> + }; >> + >> + pinctrl_usdhc3_gpio: usdhc3gpiogrp { >> + fsl,pins = < >> + MX8MM_IOMUXC_NAND_CE1_B_GPIO3_IO2 0x19 /* SDIO_B_CD# */ >> + MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2 0x19 /* SDIO_B_WP */ >> + >; >> + }; >> + >> pinctrl_wdog: wdoggrp { >> fsl,pins = < >> MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6 >> -- >> 2.43.0 >>