From patchwork Wed Jan 12 21:16:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 12711953 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 B0649C433EF for ; Wed, 12 Jan 2022 21:18:28 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5Lt82dsHe6wkdnX7AbF43KhpKrMk+8T/dtymhUQemTI=; b=zbjG16I+XG9wdH 7OtrSIIu29aLB2/ETMWLYlBTyMOHAuA2sIznsxvpgu0AThtJ4OslqfdvKKyhCQZbtf0eQYMfJZ4sJ YXiNardZiHxJNpUT1mOZSErabpo0RkTtGbOBiNYzVIkz6w00Wqaw3QMTbaF/4lPF3awtSTrasQ6Je GYjszVYYhvtg8tOHKX5JGeY3aIQWw0Rqbr+r8MIYdrcZNfKddJnYf7NH9ME3Xg9FsKe0IEgYA1NH1 6dT6bcDSSQfKAQhvrtLakf+vePhI1Uu4BrdWkcpXoYx49DYFcK3jLEWs+jGB46fKOyf57NpMcB8ZW LTrmT3hAUHeOo1cofTpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7kzk-003plc-1S; Wed, 12 Jan 2022 21:17:24 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7kzN-003pco-Q2 for linux-arm-kernel@lists.infradead.org; Wed, 12 Jan 2022 21:17:03 +0000 Received: by mail-pj1-x1031.google.com with SMTP id r16-20020a17090a0ad000b001b276aa3aabso14945188pje.0 for ; Wed, 12 Jan 2022 13:17:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=P0OpirpLo3lFPzhXuxtbh2WjLoHGGYMgIKLuMYWDySQ=; b=Nex77jCtujyu/JYrJVhh4VSI3QRugHS/8QUW03cirP3xG0d+h0WH5uL/kfJz8OD25w X9vKtrk0BED2tqKug1kk50kdAJBQroPulaajtEo6EBVDocXTMnaO1gpsgGo4BP1HaLza OPbQfVL+WH8aIdzOa//C5wHZHjs4CSjMHwNP0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=P0OpirpLo3lFPzhXuxtbh2WjLoHGGYMgIKLuMYWDySQ=; b=ZQO7mEdPg9fK/dopo/Bhhbweu33qE+fmGPl3+SsROAR4oB7C3xrWs54ucdflZIJzn/ 7YgGWkCZOIk12h2BCr2PLgL3ID1cMm/oLM/fucFdilMmOI1rPBPq6s4rIbO7puPNOuI3 GvgkXIn5zBW5R2ZIz9tUm+sHZ458uWJaWSVGHW691IPi5V3Wz7HI1nE04MBcoNiYZFw7 vuHJqDCeWBX4Pyju5nZPF5i4aKOPEGnLzLoweFAnVzEcP3qPYJ+kvwoe08J4NM34poeh 9CisaCU9jRydHZE3EE0LBJ9enTT1+znQGtgy4cB8fyHnh3d7rPmpI5kDDXv8+5wzVEgk y0rg== X-Gm-Message-State: AOAM531GnJDbYSCc5uxDgttCu6PO8VvvDw6WEMscCYhsQ66YyU+Rxs9k OUWWrUowRKj9zQy+/HsU/lX4mw== X-Google-Smtp-Source: ABdhPJwbJwaH/Q4KmjeX+oL9vPN/RCYvtu1ji5uNMCH/GhuM3e2/kYW/rA9QUcuITjN8PNtNNsSrUw== X-Received: by 2002:a63:a745:: with SMTP id w5mr1310352pgo.374.1642022221052; Wed, 12 Jan 2022 13:17:01 -0800 (PST) Received: from localhost.localdomain (2a01cb000f5a8200e371e4a5048c8b22.ipv6.abo.wanadoo.fr. [2a01:cb00:f5a:8200:e371:e4a5:48c:8b22]) by smtp.gmail.com with ESMTPSA id h15sm507192pfc.89.2022.01.12.13.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 13:17:00 -0800 (PST) From: Gary Bisson To: linux-amlogic@lists.infradead.org Cc: Gary Bisson , Rob Herring , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] arm64: dts: meson-g12-common: add uart_ao_b pins muxing Date: Wed, 12 Jan 2022 22:16:42 +0100 Message-Id: <20220112211642.2248901-4-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220112211642.2248901-1-gary.bisson@boundarydevices.com> References: <20220103154616.308376-1-gary.bisson@boundarydevices.com> <20220112211642.2248901-1-gary.bisson@boundarydevices.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220112_131701_880951_177663A0 X-CRM114-Status: GOOD ( 11.82 ) 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 - RX/TX signals can be mapped on 2 different pairs of pins so supporting both options - RTS/CTS signals however only have 1 option available Signed-off-by: Gary Bisson Reviewed-by: Neil Armstrong --- Changes v1->v2: - renamed nodes as suggested by Neil Cc: Rob Herring Cc: Neil Armstrong Cc: Kevin Hilman Cc: Jerome Brunet Cc: Martin Blumenstingl Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- .../boot/dts/amlogic/meson-g12-common.dtsi | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index af1357c48bee..62350c408e16 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -1952,6 +1952,33 @@ mux { }; }; + uart_ao_b_2_3_pins: uart-ao-b-2-3 { + mux { + groups = "uart_ao_b_tx_2", + "uart_ao_b_rx_3"; + function = "uart_ao_b"; + bias-disable; + }; + }; + + uart_ao_b_8_9_pins: uart-ao-b-8-9 { + mux { + groups = "uart_ao_b_tx_8", + "uart_ao_b_rx_9"; + function = "uart_ao_b"; + bias-disable; + }; + }; + + uart_ao_b_cts_rts_pins: uart-ao-b-cts-rts { + mux { + groups = "uart_ao_b_cts", + "uart_ao_b_rts"; + function = "uart_ao_b"; + bias-disable; + }; + }; + pwm_a_e_pins: pwm-a-e { mux { groups = "pwm_a_e";