Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5104519ybe; Tue, 17 Sep 2019 02:41:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8ONogLFFT9RYPKpEk3dniGuIYNtsNvODtpF0GSTlL7w3jISpVwENiwer4XFsfleOI8QyM X-Received: by 2002:a50:acc1:: with SMTP id x59mr3665881edc.278.1568713272367; Tue, 17 Sep 2019 02:41:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568713272; cv=none; d=google.com; s=arc-20160816; b=DVMxphSBWkMoMpPJHjFeILOtdFyRI1ZdwVHhus3dxiAHkmyk2oxAiKmJa1nS92qS+Y HYAlLrSWDFY7RtvZru9nQID55ea6oAURoJjRGSs05kSaZZSstv/ZuN3pqhWsFhxKdtYc 3KK7omeaMiq2tgCwe0waP4JqoFwxl9IufwMs0nzbOKFVe1QKKsdM1ghRbkOhJL4VcNtd TwwczSXVyuUahrHxCiLUQ0sJAkf0EPn/gR/9fCXGKtYjs1J/fIpjyWkn/tlThuqVzZ2E shrbIt14yBe/EwxOpFdfe/y9hm+tQ7pKeWyw57lddtwbuXzYndDWmXgJKVzW/luVwht8 c3uQ== 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=X4Bf/FNClmreerPSLzgZYyY9uPUXsqmWEGMW/8RCgZM=; b=qjBhRzfbiyE8Bg6MbD8BryuMHLTITibponNznE7zdmR/VmHFrNoHPptizfXwrsYIRm oITE+RS71y6ec4GU413hhfNsykPjuQiHEpIQcXeVhQuviIAD9/DAOStRKjEkTmLkEJ9T 6eHuV1BVQQF9PtPm/vy3y7IAUTdjZ9SrBWg+mxTYZhWdOTZ1VRgZpnCQWO4RNHxc0SWO ZdwY4caC9mK+/Rhhg6MpO6n0yifT2fFWw73Err7eMYdBz/VMKmK10rpdb1pz8Km4u5HS ufeEJAQfwtRKNXlnUUVH1Vjw+JJMP36kQBzNFJHptsE67oZN0OATTDckEs5jGwg4XUxw 3W5Q== 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 j14si994345eda.181.2019.09.17.02.40.49; Tue, 17 Sep 2019 02:41:12 -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 S2404255AbfIQGWt (ORCPT + 99 others); Tue, 17 Sep 2019 02:22:49 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:11520 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404225AbfIQGWs (ORCPT ); Tue, 17 Sep 2019 02:22:48 -0400 X-Greylist: delayed 904 seconds by postgrey-1.27 at vger.kernel.org; Tue, 17 Sep 2019 02:22:35 EDT 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, 17 Sep 2019 14:08:27 +0800 From: Qianggui Song To: Linus Walleij , CC: Qianggui Song , Xingyu Chen , Jianxin Pan , Neil Armstrong , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , Carlo Caione , Rob Herring , Hanjie Lin , Mark Rutland , , , , Subject: [PATCH 3/3] arm64: dts: meson: a1: add pinctrl controller support Date: Tue, 17 Sep 2019 14:07:22 +0800 Message-ID: <1568700442-18540-4-git-send-email-qianggui.song@amlogic.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1568700442-18540-1-git-send-email-qianggui.song@amlogic.com> References: <1568700442-18540-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 Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan --- 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 7210ad0..0965259 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