From patchwork Thu Mar 7 15:13:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 159858 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp7550197jad; Thu, 7 Mar 2019 07:14:31 -0800 (PST) X-Google-Smtp-Source: APXvYqzs5Kz8Wga4G5GvhY+1swIliqZkeh1dWwoD/lIH7hdpk9FyMINWm50RPEu1Srz8soNhywZ8 X-Received: by 2002:aa7:8849:: with SMTP id k9mr13224797pfo.149.1551971671141; Thu, 07 Mar 2019 07:14:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551971671; cv=none; d=google.com; s=arc-20160816; b=h06FarWp3rZ+a/ckpPz0cq+RFyWkrFFqN48PMmzTRJCDEqeMZTicJf+6KK3qYAs35v EhVtayhGxYKtP00Gu0DvPMhCollP5L+5TmqZnqi5/sPAzr8Gnx/A8/eZefX0r5QbWRU8 JQVV5T4eJYeZfzCsQKHsWc2iZd0KOy34bf+zzSR9GkzNX1uuqLKrr5KzZyzcPUPMUq9f DbTKBFKEwMZE7dmcTxxhE0PWcqyqnI6TqWBNorJtnfXaho4tkjRpFtXDxxFud5gBapBv ZWlZP7PVteMHK+MFdxVFQ3XjM6wBRvMbPleGvBwSHfDNEr01pSQCIfawjqgaijQ9+iL6 qNxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pTKXutykj7vwY0VfsJAxh3ulcw4nav4DaRakY0rdQgM=; b=1IROdDJ8lw3z5P0nA+jPUn1e2u7Wu1CSoofgCCqvxZ4wOj/bL73CsxGbo+5gcULQF8 bMUlQk0CdfefrnotaJEvTB7Wv3t6B9H/XR8U6WV8Nac13/3CYsBoC9CyUrma6AkkOTL6 cilIANXVQSrrq3OMdAuhUSN9f0fbJvHcQCk16glRY38gOipcfc7xez8/L0wfKkH9tvwp V47V+/uKjQTOQ6NcchiojSWarOFGmmyvM+wCpx1WyPMAuIJkcrRRrYbv5CNu0J0SCAtU 5oGEpT0Qd4uH9PfBGwQbb1lRTYEtKFr3CN9ZoLmtwQcG0qlhmqUNYq/urT6SDhdyGwwt cv7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=x05kA46l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z31si1799336pga.227.2019.03.07.07.14.30; Thu, 07 Mar 2019 07:14:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=x05kA46l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726585AbfCGPOY (ORCPT + 31 others); Thu, 7 Mar 2019 10:14:24 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34375 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbfCGPNt (ORCPT ); Thu, 7 Mar 2019 10:13:49 -0500 Received: by mail-wr1-f66.google.com with SMTP id f14so17854081wrg.1 for ; Thu, 07 Mar 2019 07:13:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pTKXutykj7vwY0VfsJAxh3ulcw4nav4DaRakY0rdQgM=; b=x05kA46l6Ub4SgMg1oVMBKRlw00P7ZOno653ZCbKjWvjaDW16/H9sw2Dll+a2S1WJG nay07eixuRsFC7gSdhiytqqDHI1n7wNlZGm5NIeeTOg2oCywv1YYaZFp2ifDLZg0GZJf HHLcrrgpjniUmnTKjbHYO7541ksgK5V7UzI9BdLl3+T6PpbtDT13uk4qkrkvqKpZXLTe CeRHB58iXswzThnyVz24DkXSDsDAHXYAerJyFmkeAeS5BalCu1Gfwu4tyYFzZQqsanzl cw7Y1aaea2Py1muGyTOapWwmBWgxOWZQnGabDE+e3xOagxNMBJaNdbvLkm/G3sOC9Tsz KBYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pTKXutykj7vwY0VfsJAxh3ulcw4nav4DaRakY0rdQgM=; b=NJW7Ck7w1O+tBC42fZoqqFf7H4LVdmRg0nDa67zMmWpgo0BiB3mAA0KKoWTq3RhzoZ fIGNr9QD2lbzCMHyxvLjxEuiUu/P02MAwVLoLec1T+CoFY/jUGJizPM/20mGd08e0Po7 e/f+ecZD8sWLRZbKbhdVgEUeOzjSuA1v5eHIgx4BTGxcxZgyBaKVie3Z96nSJwrLxdnf 8ymvL0iApC0BGlbGkBHSV2GYlllWZDmYavSX2v9HUChDysOCbN9ijVoI6PigP1iPigpq xpf9eUEPnCHetKuIfk/AryfYpWSvqhuB0EKpMoo5Cn+dSdgOUIqyLFSJ+6+6WZsUMJuP k95A== X-Gm-Message-State: APjAAAUIo7w5njnF0k+8ijXsmeUGTtdwHwkF7NaVKdEXvXYdjGqWxVcv bR5qaekAzLdMbvqlb0XpvB/rI8ueiYwHrg== X-Received: by 2002:adf:cd04:: with SMTP id w4mr7310512wrm.25.1551971627071; Thu, 07 Mar 2019 07:13:47 -0800 (PST) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id r15sm5756563wrt.37.2019.03.07.07.13.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 07:13:46 -0800 (PST) From: Neil Armstrong To: khilman@baylibre.com Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH 4/9] arm64: dts: meson: g12a: add uart_ao_a pinctrl Date: Thu, 7 Mar 2019 16:13:36 +0100 Message-Id: <20190307151342.7381-5-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307151342.7381-1-narmstrong@baylibre.com> References: <20190307151342.7381-1-narmstrong@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet Add the always on UART pinctrl setting to the g12a soc DT and use it for the u200 reference design Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- .../arm64/boot/dts/amlogic/meson-g12a-u200.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts index c44dbdddf2cf..f2afd0bf3e28 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts @@ -25,5 +25,7 @@ &uart_AO { status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index c141cc7f6b09..f8f055c49f9a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -177,6 +177,24 @@ #gpio-cells = <2>; gpio-ranges = <&ao_pinctrl 0 0 15>; }; + + uart_ao_a_pins: uart_a_ao { + mux { + groups = "uart_ao_a_tx", + "uart_ao_a_rx"; + function = "uart_ao_a"; + bias-disable; + }; + }; + + uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts { + mux { + groups = "uart_ao_a_cts", + "uart_ao_a_rts"; + function = "uart_ao_a"; + bias-disable; + }; + }; }; };