Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4079417ybg; Fri, 25 Oct 2019 13:01:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWwlfLUW+YXIyikL0tcaXdHCIpEljlrGqUxMTIkncOAG9/qQpGDAnvzk4pJhdUJV0ExqMn X-Received: by 2002:a17:906:418:: with SMTP id d24mr5178781eja.305.1572033716630; Fri, 25 Oct 2019 13:01:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572033716; cv=none; d=google.com; s=arc-20160816; b=wpUqeduAyAPaosEKfGWLxx3XSzY0HlFzQFrkznn6Ak2g0H1i0Qrrvv3hIJIPtHZ0xm KGXdye2/8/9sO6Y2+kwBeaoBzh46GFJYe7xPqYAYbPfRMJxZzLX3SOefcfVqYjqdbJPL eRkmvcPWe75oV43N4crShosZUzpm07kK/TgxpmlvLwyHacz7wqVWl9KBu66yONirJFQ1 uSAGdiobwUKXGXjMgqKg9KvmbCDPXuIQRq4HfNWqv5u3aUaabNnJ+6klnZl1ti/kRFRT Dwr9AG2R2U19+bGwiQxNRSrgiDZYWxqB9Fu5HJwQctf5n3AG0Vpj2myci+k4sUyILz0Q ybhA== 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=Tc0C7pP3cYYkdgXwr73tLefjk6s9SftiwwPLxVKbcmh1XKK0koXCsJxZS/HRbqsv6T eZlGm/+SO/guW4VGJstavWjVm5rt0185sp7LuxnoWYBpntW6un6GHu/alzSburpnII7i v4SQtkzOkr1aP0JRowY6GND8EAa2b+IbdrsvQe1CZ9xahHp05aVBSokjfXShEgOXoFa1 9L+OSDD8tr/gyBRv6UFZzvmR7Q59cf9zWwEpAAMh3UBitczYUzHtNwwYAnO51cqk461Z z+BOeoHoTzKW2OuU6Hi5CV6p/WEgUrKEnhGKMVo6J/aDs+EAnQNUKXOPbrECxZi7eM0H 9pcg== 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 p22si1712700ejf.278.2019.10.25.13.01.33; Fri, 25 Oct 2019 13:01:56 -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 S2502256AbfJYLtq (ORCPT + 99 others); Fri, 25 Oct 2019 07:49:46 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:17053 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730867AbfJYLtn (ORCPT ); Fri, 25 Oct 2019 07:49:43 -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; Fri, 25 Oct 2019 19:49:48 +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 v4 4/4] arm64: dts: meson: a1: add pinctrl controller support Date: Fri, 25 Oct 2019 19:49:27 +0800 Message-ID: <1572004167-24150-5-git-send-email-qianggui.song@amlogic.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1572004167-24150-1-git-send-email-qianggui.song@amlogic.com> References: <1572004167-24150-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