Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1239386pxp; Thu, 10 Mar 2022 01:18:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxiNtwAHNUzpo3sa/bERuiYXEyIRqBBer16bJEGCKOxrYg6WpkLCVsU4fXmPV2fGTKMLZtL X-Received: by 2002:a50:d79d:0:b0:415:d5a1:2a13 with SMTP id w29-20020a50d79d000000b00415d5a12a13mr3334857edi.375.1646903887853; Thu, 10 Mar 2022 01:18:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646903887; cv=none; d=google.com; s=arc-20160816; b=H9defNiTle0XYzCE0QXzqDo67254lvVN6alQ4QffUxN70WeFMkXWl+PKvVv0VKpNxe mh5CsQUd57yZcZV3f3v4d3uGv15wltUdmZeXcUGIXAHKZ6hSQwCESNQ+ushRWyMOjZ6A lMX/AreM89yEl+DoxEsE3gycksZbQPf9NfflVDVhPI8GvjPt1fUdzZ7rqk80XzRrkgOP EMGT8wtYwIL1i9XfFmN/ZycFcKeW+rLETv/aGKMNbgrNuM5Fre1nS5/7nyB64YyAXepY Gsvl8bb9OFI8c0f+C44t0V3jgBrmQM1cIvvAfhw7CBvLJyQO+xIdeBS+7f79siGea0wI 5Y/g== 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 :message-id:date:subject:cc:to:from; bh=+skZ1zWpyKuQ+kIpFDaRKaW51Y4ZcMh893w9mXL9/cQ=; b=NlOtwqnKKEF8CrncAlOHfKaiIlvj9sYkLBuf+8azFN1a7rGyg26rGfRagTfaOqtP/s 9zTKPSvOg7H1H54LWH6An34ewfX6WBJa9l/LjaT2b9IK1Z8gRzxnBgU0C40GOq1rTZPW x726DmnsBuGvx2UD5TaJY1lSbdl0MWljqlq1T5Qybd9g4u4/rQU9QDLodWEWUs/pbDq5 OeUn4zhmjyLOgZQ2rH+yicSVtKIyJUomDIkH3Nc2UavuibPGMEHZ1vk0VPyuCzjP6JkK ytsgCd9SqxihCP1m1cJia37I514SNx2W+BRWAHqKSuMCRCSHr7eoMsWlkuL1+AhkhDlP DrzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y10-20020a056402270a00b00416b4e7bf2dsi698025edd.312.2022.03.10.01.17.43; Thu, 10 Mar 2022 01:18:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234324AbiCJDFR (ORCPT + 99 others); Wed, 9 Mar 2022 22:05:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229625AbiCJDFO (ORCPT ); Wed, 9 Mar 2022 22:05:14 -0500 Received: from mail-sz.amlogic.com (mail-sz.amlogic.com [211.162.65.117]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3ABF127555 for ; Wed, 9 Mar 2022 19:04:14 -0800 (PST) Received: from droid09-sz.software.amlogic (10.28.8.19) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.2176.2; Thu, 10 Mar 2022 11:04:12 +0800 From: Qianggui Song To: Rob Herring CC: Qianggui Song , Neil Armstrong , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , , , Subject: [PATCH] arm64: dts: meson-s4: add pinctrl node Date: Thu, 10 Mar 2022 11:04:10 +0800 Message-ID: <20220310030410.718-1-qianggui.song@amlogic.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.28.8.19] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add pinctrl node for mesonn-s4 Signed-off-by: Qianggui Song --- arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi index bf9ae1e1016b..e440efcf7a92 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -5,6 +5,7 @@ #include #include +#include / { cpus { @@ -85,6 +86,22 @@ apb4: apb4@fe000000 { #size-cells = <2>; ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; + periphs_pinctrl: pinctrl@4000 { + compatible = "amlogic,meson-s4-periphs-pinctrl"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gpio: bank@4000 { + reg = <0x0 0x4000 0x0 0x004c>, + <0x0 0x40c0 0x0 0x0220>; + reg-names = "mux", "gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&periphs_pinctrl 0 0 82>; + }; + }; + uart_B: serial@7a000 { compatible = "amlogic,meson-s4-uart", "amlogic,meson-ao-uart"; -- 2.34.1