Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4386203ybp; Mon, 14 Oct 2019 03:57:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqydV/4BtImSqsnrmPdOlkNi1+DL11WOPS5IQsOsgY0tbBJJ3ekmFC5NDfeyEQ27OBOSCe27 X-Received: by 2002:a05:6402:134e:: with SMTP id y14mr28359884edw.55.1571050650140; Mon, 14 Oct 2019 03:57:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571050650; cv=none; d=google.com; s=arc-20160816; b=OrD47dISLveqWeP+vWhTlodFehXhnVFP8fiLYnfhRv/NKH2WUKjCqBzYvQA8sbQqGB j7RF4pd7th1sb1sfJukJY62gOKTLZ8wxJDBBBi+vg4vW/tBIDpUNoj5cgn+IMmdWTt/2 lhP++7ypJa10OefO1Fmk4yHH5yxoGiWHShO+Ti1rCGQjbs4mun7t0S+kON18sz6Jysoh dRvLgamasoFntRD5l1DqjnmdGlmLl5bbaECDTYEQP3eEgHq6ocvuHTRKbbZcK5tUFCTx dsM42qqqmWu7U5aQ21m0gegfONpjo88l86mmWKka3UAmunW8nwpdUD5Rsa6lx0LIpQkG IRkQ== 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=GZiOZYEzc29FasWDltMrI+ruwN4f1UtpgL4svWmLyVE=; b=n3FSaNHDZhd/REfOpiSKpU6MQKkL1fIppOgNQd1aGXOx+n9J1sHYwJa5bSDd+MY4Fv d3doqsXE2tzBMKS9wS52kOLIR3S4FdkIYmKSwTG3Odo7qf0tsrXrcSn/0pl+qk9T3lNI lzcocYAunNuXH2ZhWRULk/QfugR+CKoMh9Nukh9EefCLy/vBRR6KR86otgoLq0mwNqg6 PM+4zGSlynzBBaXZV8NooMYn9UzmNhWtmHsHlbt2XenzC5Y6jeMhUudgvF/FYhPkOFzp KuLvshEp5Rw1TDLLDiBvvyNdpSl0/9sEXWFGMB2IX8Sxqm9kn9pWCIkjo1CDZd4GFEyl ZQyQ== 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 k6si10647253ejc.399.2019.10.14.03.57.06; Mon, 14 Oct 2019 03:57:30 -0700 (PDT) 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 S1731782AbfJNKzT (ORCPT + 99 others); Mon, 14 Oct 2019 06:55:19 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:58199 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731721AbfJNKzS (ORCPT ); Mon, 14 Oct 2019 06:55:18 -0400 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; Mon, 14 Oct 2019 18:55:05 +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 v3 4/4] arm64: dts: meson: a1: add pinctrl controller support Date: Mon, 14 Oct 2019 18:54:52 +0800 Message-ID: <1571050492-6598-5-git-send-email-qianggui.song@amlogic.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1571050492-6598-1-git-send-email-qianggui.song@amlogic.com> References: <1571050492-6598-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