Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5515798ybp; Tue, 8 Oct 2019 04:12:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/w8KIYPL5npgQ84C5QOiwaM6f374MOAtorAA6DJraH+AH9oefwsWxxEe/ILOpTHw87hdX X-Received: by 2002:a05:6402:383:: with SMTP id o3mr19196442edv.205.1570533171772; Tue, 08 Oct 2019 04:12:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570533171; cv=none; d=google.com; s=arc-20160816; b=xuvXK5Oo+RpEWdX9WIQUjT6Q/9E7nC9l4HPIlinnNZnOq1X4WJai4bkSBGGIRnV/eg 05A9o/6dc7oxfWUVECxs5+MSqnhPbH6hTvv7Ww/uzu/C5cOplayV2KiIsXhMmE/iZAzn zUmTs0wRPDZJGUflYuIft3x6UOhjcB19u4f3xioh/Esu9nfi8X1xhg8G6VEaFpzQlBII 1RNXUmKJ6Oyqj5vhs3pEml/xPF/Qh2GyNCDaMDtx0LdR3Ttw06o3afvOUxMsqmUlpB/U ly3sGsg6qy1g0pDQ0RB89DCkxVAeemANp8BrYR+QY+aCw4HDT6ARqQpiq0VmfD7sgJU/ 9Unw== 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=sIBlu1powuMAJWw94YnVHAmQojmwkr7D+79IfKhKC4vhbH5/bVc5GRJIEzj7pb3RsY 3qj0B1ZMmMBDTcQWTOLCsxDKYPJYySE3+UpglINIXB+53UmsX66JRXR39laYEps+icU1 L8kQKyU45y8z8GpbqNEjJElTlDOh5XQxSp0mX3eQiVT1imli9aM92vjoeZ8BFFVgNm5h o3HBrt2aRzXj8kHkqJ0hWJUMZWOrSwTJQgaz76aN5BJZ5T7kEc9G2Uk43rpSKc5lHBOA OTPJ9u6LJzEd5PIF7Zwqk2Z68/hV+s5ti8dOcPtFMimFhbOhclIy14Kyd/FH+W1L/9B5 6oiQ== 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 i16si10828421ede.86.2019.10.08.04.12.27; Tue, 08 Oct 2019 04:12:51 -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 S1730651AbfJHLKp (ORCPT + 99 others); Tue, 8 Oct 2019 07:10:45 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:48486 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730516AbfJHLKo (ORCPT ); Tue, 8 Oct 2019 07:10:44 -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; Tue, 8 Oct 2019 19:10:38 +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 v2 3/3] arm64: dts: meson: a1: add pinctrl controller support Date: Tue, 8 Oct 2019 19:09:59 +0800 Message-ID: <1570532999-23302-4-git-send-email-qianggui.song@amlogic.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1570532999-23302-1-git-send-email-qianggui.song@amlogic.com> References: <1570532999-23302-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