Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4002472rdb; Thu, 14 Sep 2023 08:58:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESzWwSNh1FHVaWqNPE4CbVJOCIRnwU9+7VD329mZmWyrhXoSE39LCQw8hJMrYmBc2iUfOc X-Received: by 2002:a05:6a00:4803:b0:68f:c8b3:3077 with SMTP id di3-20020a056a00480300b0068fc8b33077mr6091204pfb.1.1694707097605; Thu, 14 Sep 2023 08:58:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694707097; cv=none; d=google.com; s=arc-20160816; b=PsVzg1WcIwgJuwKnR72syeXYJkV4F1XKmYiGJHjbuzEH1Ohl4zTzW506eVtaR6Nykb GowK7chFM0JgtPhZqjfdgbpwtebNsC8+FWD/I5EN+GnG2yOomCYP6fBKnaSwT6RW8iLI zjDDnJmLlWbcmzRHv9IVuV8N2d9nKHRoBW7lPugdHmZSTNinccmtUXOnl4VUuXNENU3l QAHJoUqnugNHjfQxLBKgYuD+EZXSrLgleyzjP4/sufUE8ZsEm2kj8lEZ+BL3hotoSISG raUSvumTXx1sfyJv7hJ0zROYa9Hbt6sUdXmDeBvMKEcZafj3zP5hIG+8aDk/g6HfR+hi 2bRQ== 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=ZLGtSfYe5moasE4eFc9E1LWA8512ZMg5flYqjgZ6UoY=; fh=Unu24A6OtFVVWCPBK0xVewK08evrG6/FSGLBjCc1y2I=; b=b12kawbnFW+olTu4eBHgIUz7EEFooJc2g7fZwPE6bxNWMBmEFwcsSpu1/+mDT4LY1U y3LAMheMKlKfQ0uPGgcx+9Zv+vBbXcUzeTbiNC/CoizZGimukmhtQ/lDABtR1rrAETAX qRhQFRYiQHmrDrUVDC74MUzUlU/0W+W3mmSDGFZIDLR7TYl74c3YOlU7cjlbVFBhKWhu hLgFbRHfFXZwJO/RYbHwZXyC3iA/0a7zWJVhQTRuFqYNAxG2fKRozbSA7xxy4f+W9h0w Vg5fmKja1rDTYz1mLzytNojyFhtN0lgEQCIZq1o7ZxCkEt4mZm//tFXP6kNFama8oLPO GStA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z11-20020a6553cb000000b0055379a7131csi1708196pgr.721.2023.09.14.08.58.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 08:58:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id F1B0E812AD39; Wed, 13 Sep 2023 22:47:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234978AbjINFrF (ORCPT + 99 others); Thu, 14 Sep 2023 01:47:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234984AbjINFrA (ORCPT ); Thu, 14 Sep 2023 01:47:00 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4E51269F; Wed, 13 Sep 2023 22:45:41 -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; Thu, 14 Sep 2023 13:45:38 +0800 From: Huqiang Qin To: , , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH 3/3] arm64: dts: Add pinctrl node for Amlogic T7 SoCs Date: Thu, 14 Sep 2023 13:45:25 +0800 Message-ID: <20230914054525.1180595-4-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230914054525.1180595-1-huqiang.qin@amlogic.com> References: <20230914054525.1180595-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] 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 (snail.vger.email [0.0.0.0]); Wed, 13 Sep 2023 22:47:08 -0700 (PDT) Add pinctrl device. Signed-off-by: Huqiang Qin --- 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.37.1