Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4399193ybc; Fri, 15 Nov 2019 04:08:14 -0800 (PST) X-Google-Smtp-Source: APXvYqz0s3BCWsbD8i46xqxyt/nEdQq9b/DNnhgnOWmzliN3QdAPbzK7uq89r49cT7XsljCf46EM X-Received: by 2002:a17:906:85c8:: with SMTP id i8mr507669ejy.46.1573819694355; Fri, 15 Nov 2019 04:08:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573819694; cv=none; d=google.com; s=arc-20160816; b=y3SNlqgmUVWCRt2yoH//K4v6A2AbIJvsfLzm8D76iydlU9YCPHXoC9FlLnftvK2yz4 fTG9V7Tj/IHStOSeDt2zzTV9LQLkLzb5Ivt+/SAMucuNP4tS4MVDART518Ok/7kemwdE zG+UGDx1TFWM2EBjnKHyM7rzQ4WcYpmoYhMRNuGm6DiugU70zYZT0NMraTFtTU+CbH/J 3M73QpmegV6GXlclz0rEnnCTYVhTUpDnnM8gCRwgtw3CtZbETpPBJygwsgHVJQPyAcyQ DwsmiRCfE5Xoa7VrsAxLGEbCfPqPfTMqP4k0oaxZO5EFFWYwZ1j6rojcFzC65zr3BWkn Swfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=yyme4xF7z9KBPUqLR7oEw7YqaJyK0uY98RXkSj+tPLM=; b=NJRAWWZn2ticjRYvXfV9TPyrWPurb8So/P3fzVS2RRwHVlc7LXgKuFKcTMcQ9iVBt/ 3yqxVHvPH+G017BBgudTuI/9ZjRtQLIMYVN5B4nyUdzbButo8oLVvl8tr1tx89R4xudU 5A9qztyb9B906RO/tPYa8C9wdAz2LRoGTEgkHoQNxErl2f4F3Y7uQDA4z0gT/qz/Wa/9 00iNqU4MW3lB0knF5H5lPZZcJC2UnJ7BCTPnmBBKt5n/g55jM8DTTzZWuDwspRrybeOv FBHU5MieG1i2fNWur3drrwhGYYgiRKpvbGWJB5EfzhKQtTrZdfsF+WXnE4bz19qQ4qRP Z61g== ARC-Authentication-Results: i=1; mx.google.com; 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 c9si5434484ejm.397.2019.11.15.04.07.49; Fri, 15 Nov 2019 04:08:14 -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; 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 S1727530AbfKOMEJ (ORCPT + 99 others); Fri, 15 Nov 2019 07:04:09 -0500 Received: from mail-sz.amlogic.com ([211.162.65.117]:22340 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727344AbfKOMEH (ORCPT ); Fri, 15 Nov 2019 07:04:07 -0500 Received: from localhost.localdomain (10.28.8.19) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.1591.10; Fri, 15 Nov 2019 20:04:19 +0800 From: Qianggui Song To: Linus Walleij , CC: Qianggui Song , Neil Armstrong , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , Carlo Caione , Rob Herring , Xingyu Chen , Jianxin Pan , Hanjie Lin , Mark Rutland , , , , Subject: [PATCH v6 3/3] arm64: dts: meson: a1: add pinctrl controller support Date: Fri, 15 Nov 2019 20:03:49 +0800 Message-ID: <1573819429-6937-4-git-send-email-qianggui.song@amlogic.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1573819429-6937-1-git-send-email-qianggui.song@amlogic.com> References: <1573819429-6937-1-git-send-email-qianggui.song@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.28.8.19] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add peripheral pinctrl controller to a1 SoC Signed-off-by: Qianggui Song --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index 7210ad049d1d..0965259af869 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -5,6 +5,7 @@ #include #include +#include / { compatible = "amlogic,a1"; @@ -74,6 +75,23 @@ #size-cells = <2>; ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x1000000>; + periphs_pinctrl: pinctrl@0400 { + compatible = "amlogic,meson-a1-periphs-pinctrl"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gpio: bank@0400 { + reg = <0x0 0x0400 0x0 0x003c>, + <0x0 0x0480 0x0 0x0118>; + reg-names = "mux", "gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&periphs_pinctrl 0 0 62>; + }; + + }; + uart_AO: serial@1c00 { compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; -- 1.9.1