From patchwork Wed Jun 7 20:16:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Rokosov X-Patchwork-Id: 104700 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp456904vqr; Wed, 7 Jun 2023 13:19:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7qEgOgDIKzknFsAcDMve17TuRwCYd/PzDtUKvANnoOao7/02YWIpcXlnrxCfUM9TM5Szz/ X-Received: by 2002:a17:903:41c6:b0:1b1:ac87:b47a with SMTP id u6-20020a17090341c600b001b1ac87b47amr7395517ple.65.1686169181415; Wed, 07 Jun 2023 13:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686169181; cv=none; d=google.com; s=arc-20160816; b=ZOWS/Cl0OFGyHr1nEV/NqwOByIFcJzM+6JL8dtZDKwzNhUgk3umvNChV7tQe0TyMyz IWA6jFOArciPvtKNrcOLVXOPtT/2IPWCp8Rijk6f3j6eTJZoItd2FNS8+buG0GOZDn75 zWU3XDJ6XX+6PcAg4c5LAmtRqMHWzwZDMysEs6enVGX8Jjza+6gZw7FNJE4hd1yVZbv7 WZp21qydHRqyTuxi0Nl01d/eMpQxB9Ypy4o8BsBC3PSroQCPMdAu1IVnArnGNpnOJlc9 uX4EbcGFmofmzoI7ESRU5CxjMU6L4ayeCfC6bZPDNnC/KCONnfVbA3SoBPExbWRm755w L/fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VVBMghSaus7SwxMO0wG80S4bhkxc+XRBu1rkfi7iaek=; b=XlHFHsWEom5YKw+lPmXUs/Y4MsmB+nPgmX2pEpCQmXYyKmIZi3dKLQtgf+7/hoMYUS osDqe1Q0A50RUj9ydRmIGbxAwDtASNhsRFohTaowTcNjOrMW2diotJ0/ErAYPppLQg3k RIqL1v+M5ITnY50f/SYQToZU7HByKQ2/lIhaIHqcqpnsoYeL6DNYc9HGGI5fgAReZgqn pWsItl7HITFZ/166Ri5oOI7KEejznrtRkC+JiLUQdhD8ZNYJzAOApaoYb9OcMxoQIB6U d/TMss4gnWpI0x1X6V+PYZ+pnM55yZsFfVtI4iVud0qH5zPqBODDN+uJvaCjvbg1yvrG o/UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=JQWIpvSK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e12-20020a17090301cc00b001ae82f13a0fsi9363456plh.643.2023.06.07.13.19.25; Wed, 07 Jun 2023 13:19:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=JQWIpvSK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232477AbjFGURO (ORCPT + 99 others); Wed, 7 Jun 2023 16:17:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232147AbjFGUQ7 (ORCPT ); Wed, 7 Jun 2023 16:16:59 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1640B1BD6; Wed, 7 Jun 2023 13:16:58 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id 41FBB5FD72; Wed, 7 Jun 2023 23:16:55 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1686169015; bh=VVBMghSaus7SwxMO0wG80S4bhkxc+XRBu1rkfi7iaek=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=JQWIpvSKAFcRo6IIvAjvdO8J7/Ya+0jKxIgsqQg9Uc/du+xHwEowEhFWpdQOD+HEo rSyLukb8CnrPavC81nW184oBvm31UDuIVyrNj3FBUtE7StbzXfsBBGurN5HAGfKYQn JWsSPEquJ6U80ZlBiHOn5QG05gatTbRwbMbCZIfOHYo61sdxlwcWlFoSJusfNNWjzS VFONoP7hQRFLNfTSNZTxLUReT3rvpyqSSRkLWj8FQyfCZYmFCOwP5bbOzrAkwQy48Y 8tTSVaJuZS6Rk1/as5nUJS6biROPJJ5fkiHA2AAApHFmXn/abtbJb3+w5Hn/dAdnFP JQutt8zKfos3g== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Wed, 7 Jun 2023 23:16:55 +0300 (MSK) From: Dmitry Rokosov To: , , , , , , , , CC: , , , , , , , , Oleg Lyovin , Dmitry Rokosov Subject: [PATCH v1 5/6] arm64: dts: meson: a1: introduce UART_AO mux definitions Date: Wed, 7 Jun 2023 23:16:40 +0300 Message-ID: <20230607201641.20982-6-ddrokosov@sberdevices.ru> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20230607201641.20982-1-ddrokosov@sberdevices.ru> References: <20230607201641.20982-1-ddrokosov@sberdevices.ru> MIME-Version: 1.0 X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH01.sberdevices.ru (172.16.1.4) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/06/07 16:55:00 #21454472 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768076535429207037?= X-GMAIL-MSGID: =?utf-8?q?1768076535429207037?= From: Oleg Lyovin The Amlogic A1 has a UART_AO port, which can be used, for example, for BT HCI H4 connection. This patch adds mux definitions for it. Signed-off-by: Oleg Lyovin Signed-off-by: Dmitry Rokosov --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index 0efd922ca7e1..3eb6aa9c00e0 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -118,6 +118,22 @@ gpio: bank@400 { gpio-ranges = <&periphs_pinctrl 0 0 62>; }; + uart_a_pins: uart_a { + mux { + groups = "uart_a_tx", + "uart_a_rx"; + function = "uart_a"; + }; + }; + + uart_a_cts_rts_pins: uart_a_cts_rts { + mux { + groups = "uart_a_cts", + "uart_a_rts"; + function = "uart_a"; + bias-pull-down; + }; + }; }; uart_AO: serial@1c00 {