Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2590994rdb; Fri, 22 Sep 2023 03:15:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTK7VS78enhx11DulkrZZmIVTau2htkYoI11yOFbZ3XJup8E8pZ4kf1DgIvdY6pmt7F6QU X-Received: by 2002:a05:6a20:8e19:b0:15a:f7fd:dd97 with SMTP id y25-20020a056a208e1900b0015af7fddd97mr7340935pzj.2.1695377734897; Fri, 22 Sep 2023 03:15:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695377734; cv=none; d=google.com; s=arc-20160816; b=HiIU5V7Hy0tlL5+n57JI9EUyUumUhxefPYevXuNUq1xrhumGQLvgCPtZDjis5KbL0s biY70VQ6OH7sn51um3V9QB3fsu3oEIs6GRUO1vP+PZeCoDsiO7vmp4HapgxuNf4K1Oi3 dDa1D6Qt81vY6aXPo/jRwJmadL1hfY1yeF3egi+Wrrx2PYT74d3Amy0hwCNzigB+tzM6 vhjjI1azXW6LTvNAdnXOwtMjPQI7NzSO6XaEpTbJbG0HlU8NYWLiCDu1G7ljcdUfjOTZ eQWZ7kt+h7Dfz8qN4bNFf1YhKwO/hKg398oulsMbrbkSpzP0+qu47UTgCQof+obhWDai CJ+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=juSsBdzewr+vVhRCRELHSYBwKQ6Rbc5+5fVefcLtTdc=; fh=Unu24A6OtFVVWCPBK0xVewK08evrG6/FSGLBjCc1y2I=; b=0U8J2FGNqbUBAiNpYnAJ9F+P0P2W8oT7KTS/8CLQZmzGd75FDzeqRgwq64hMZeCxc/ BYuxKVv+iCsQV8bPn+8TUdIcBH9eC6SmrMFSlJ6zfJKSLTfeYviivHjXLo0ZPx0pBaxz USAePUDWsqcff1US7fnIWFuTdrLLlSQlQTMhHri5cFx4sygWPRUSpGKD4ZnH+JUemD/w WSuV+pdHL2laEiWWasis6ih3iCf3arphBc0YmuHr8N1qgM00SyeTBvwZ5+y9n8xAaEFI PxT+kyTKABdF0eglhQqPoYByD218r6Qd/ZF1+WvgMsLh981ZNM3Thf64Berz34t2JuG3 zkfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id y5-20020a056a001c8500b0068a52819fd2si3330101pfw.331.2023.09.22.03.15.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 03:15:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 5DB8283C0ED9; Fri, 22 Sep 2023 02:44:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232940AbjIVJo2 (ORCPT + 99 others); Fri, 22 Sep 2023 05:44:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231827AbjIVJoS (ORCPT ); Fri, 22 Sep 2023 05:44:18 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77C471AC; Fri, 22 Sep 2023 02:44:07 -0700 (PDT) Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Fri, 22 Sep 2023 17:43:52 +0800 From: Huqiang Qin To: , , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V3 3/3] arm64: dts: Add pinctrl node for Amlogic T7 SoCs Date: Fri, 22 Sep 2023 17:43:42 +0800 Message-ID: <20230922094342.637251-4-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230922094342.637251-1-huqiang.qin@amlogic.com> References: <20230922094342.637251-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.28.11.83] X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 22 Sep 2023 02:44:32 -0700 (PDT) Add pinctrl device. Signed-off-by: Huqiang Qin Reviewed-by: Neil Armstrong --- V1 -> V2: Unchanged. V2 -> V3: Unchanged. arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi index dae3465bd39b..a03c7667d2b6 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -155,6 +155,22 @@ watchdog@2100 { clocks = <&xtal>; }; + periphs_pinctrl: pinctrl@4000 { + compatible = "amlogic,t7-periphs-pinctrl"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gpio: bank@4000 { + reg = <0x0 0x4000 0x0 0x0064>, + <0x0 0x40c0 0x0 0x0220>; + reg-names = "mux", "gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&periphs_pinctrl 0 0 157>; + }; + }; + uart_a: serial@78000 { compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; reg = <0x0 0x78000 0x0 0x18>; -- 2.42.0