From patchwork Thu Jan 17 10:31:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 155818 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1791831jaa; Thu, 17 Jan 2019 02:32:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN5F9yjS+tnLxRD14CUbb3xcY8W8CG9zhL5u90WNs8IZSNMebuJZdqVn03H3Fs1sgTZdkBP5 X-Received: by 2002:a63:68c4:: with SMTP id d187mr12785905pgc.11.1547721132126; Thu, 17 Jan 2019 02:32:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547721132; cv=none; d=google.com; s=arc-20160816; b=ww1S4URb8k5vHbp/WQZVpRigH24LI5B9Iv8YRimsB1aKgWcdMf/NPt9HYejC2a3d+d nRHivXxS09ZqfytPAqfj5O1OUADRtM8mq3cZoBBcbKluKNekCA7ZhteTffOCU/eNJp81 G2YCz0yQAEx0Z18Tk06c04sblAz0eFhB1rWSZ4oJm+Vi64diiWXyqXBbCqm5EHl9uqWC qvFvtU83DzofHt3VPJ/ORpTr9rcVSvIeIESFqevrUEEd23YYned59i1uqDOgJoVoSJuQ 2lUCSYcAOWl2kG3ZeOnAEONaugjR8qXLt/Ijbo06fLVTK0A/MT23/SYW1jHVnQG7/Lxw uceg== 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=M+aR/gi/5Y1MXmA3l33o5cCv3DhvJKA6RGHAmdL+89w=; b=rYEWlkXvs3nCItCZ+f+KxulWR6QgtHQDM1CTge+6dz1fz70FVqRQFTV/GGOob4+fGb 6M2OV0R+kF2OZQtrpjvrGe/3EAO1Pla4BYG/uvsXuY28U0UljjY/iA1Ee4C/ctuC4T4y 1d65wSVehFzeBCBQbPUNVsegfvS+CCabklOcfGPCKT1Z7iuvOvW66b1szMyh5PqFfZxr Ug7gmCcCTohwCcqFia1KLp9CSMdss7abgNUHewYI0TDJWxmVDRwB28w/Gr5haehF8KqA FJ2SzWfMiBGVaG5l5F3RPJMqyFnUPqwWS0KsL7wg/2X/dCan8Uv0rEzq/rQw54r1IQeY wkNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=SY8UCb2S; 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 go3si1342763plb.97.2019.01.17.02.32.11; Thu, 17 Jan 2019 02:32:12 -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=SY8UCb2S; 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 S1728367AbfAQKcF (ORCPT + 11 others); Thu, 17 Jan 2019 05:32:05 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45765 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728324AbfAQKcD (ORCPT ); Thu, 17 Jan 2019 05:32:03 -0500 Received: by mail-wr1-f67.google.com with SMTP id t6so10335098wrr.12 for ; Thu, 17 Jan 2019 02:32:01 -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=M+aR/gi/5Y1MXmA3l33o5cCv3DhvJKA6RGHAmdL+89w=; b=SY8UCb2S0aaTYBSBMrVuMWUti2aRFjdJweUYsAczAg3S2YJp00MXuhAArZwOAZjBxd qft3/c49Rg2REcF/2R9S/TjNJTA5IfGfZqfB1ES3VWlREWlmgk0/7qtLrsNsTnKdnmJY g0+lczJRdclQGr6CJRcLx2lH6xIOyuHTsR4d8sn8QvZlBv1+mX+zRuXL3agPBvX1SuKR ZKZfKaHa5XDLr9/KqSoEN+PePn894BZV6z5cBBgc4PJPI3dXZ/vrrOqaTka+yjTBJzeT UgWpUG4NSqmMuyXMvNho7IXujzPlw6o+ACnBj3DAcb/9dkN7pxr5SdEOvby5qv+Tzyvr d2yw== 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=M+aR/gi/5Y1MXmA3l33o5cCv3DhvJKA6RGHAmdL+89w=; b=HyaX04uYeC85eDhLuQe6d1TjDgM4uolBzzI7wl3CL3vr/mUMuFUw73gACFneHd+i1E CXy33LWBkU6GxqdQBDnydVh0f8wTL7iCJVp1uZLYIQCUu23WTbRMrsJiKWXfuCm/C5Ho L98xECLScesfloH9sX/ovP67JfoJ+GIbTD6y2r0hyHDmw5+D2sVx8tdKIpvloGDmZ80e ntRyWGaWSFYq6EvVNaz19YdgqjbrOkwkonHy6+Q3RoS2F1EtojBa8Jti1V+KlWLMA82e Oz73rGHvGD2nTTiKXcbTr5rqg4/M2pGxK/bgedrcZjJOW0Kqdhu7Y2QNl0fECrFhklYV O51A== X-Gm-Message-State: AJcUukc4a+zGka9ydd4NipdIpAam8km73+hFTRj0WDx47p93kLmwCFmS mnC2pyYxV5rMA1HKiM8gVN28oQ== X-Received: by 2002:adf:e3d0:: with SMTP id k16mr11891258wrm.223.1547721120855; Thu, 17 Jan 2019 02:32:00 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id 143sm77658107wml.14.2019.01.17.02.31.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Jan 2019 02:32:00 -0800 (PST) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH 2/2] arm64: dts: meson: g12a: add uart_ao_a pinctrl Date: Thu, 17 Jan 2019 11:31:51 +0100 Message-Id: <20190117103151.3349-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190117103151.3349-1-jbrunet@baylibre.com> References: <20190117103151.3349-1-jbrunet@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 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 --- .../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 39ad2bbaa162..bd24de947a5b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -140,6 +140,24 @@ gpio-controller; #gpio-cells = <2>; }; + + 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; + }; + }; }; };