Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp505734ybk; Wed, 13 May 2020 05:59:04 -0700 (PDT) X-Google-Smtp-Source: APiQypIxo0j9fh4lHbns+aps3tKbCDk5GpIJGWbiyJL4VOg0hSvav+AVYCwUWbLHAhAM1MWJ82QV X-Received: by 2002:a17:906:404d:: with SMTP id y13mr22965075ejj.43.1589374743947; Wed, 13 May 2020 05:59:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589374743; cv=none; d=google.com; s=arc-20160816; b=NqqudCSn/qxdhIGV4VDhHxxlxL4TBgXzYxJaEYR5DM7aaECXonT1lj8f4HQat8/dHO gZZWuYH73HoPvLJNPnHfcYmrpU2LqRnpIC/CC/k/1lVFY7Ps2Au/Dx/jb8e3h/ocnpCQ bls2/oiveI3aAe+wOpxydYvLx+Tu7YKjaN/EMYBhmHd49Ujn8F4QJM2NCcwXaVbCY/tX mliIiXhlBJEk2sVXttvlf3ZolRIPj254r/toQP/oGcnNEj7pYkRa+zOv/ONtFiFGUral YyJEF/iEbGx+xm1NsbnDpZJudetiVx8ZUzYNlYJs8hKOFUpTfyagjtg/npJ9xqcxkfiK sxng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:dkim-signature; bh=5sBLI3zvVH1uS/iw8xmhCjwV6ItI980+/rQKcJp5OMg=; b=H+uz4CI78l+j1fFca60NMguOzzAmmS0whPUiAahQlFUMgwKD2AeHZRQo0UnAiqMxP6 NW3PCr+Mg/K2N0PfMksTsQzpWex713Qx6YZn/uI8evCsOYmcmfNhrBBlpt3hglsC1koB WrMfM5YNEhshV7QUobQpZTBjdTg3Y3I9MHXO9Rhuvcmae5EEpqkVCBCR4JaDnA5pwiqW vec+5oodPD4ZvSYarxhN70eWext+OpHzAYEc8DhYf7ngt6jl4htcz7YURrTg/XypB/su 0oVYVNlii7j1L5hG1k5upsYsY3/e693SeQVu5EmKRF6hKm28lQCMBjIM53+gJAQRB/rn nejw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=jWMv1SiE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si3958709ejx.94.2020.05.13.05.58.41; Wed, 13 May 2020 05:59:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=jWMv1SiE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733250AbgEMM5A (ORCPT + 99 others); Wed, 13 May 2020 08:57:00 -0400 Received: from esa3.microchip.iphmx.com ([68.232.153.233]:29599 "EHLO esa3.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733200AbgEMM45 (ORCPT ); Wed, 13 May 2020 08:56:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1589374616; x=1620910616; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tnLWmU9TG0hHNpiEsQJmeBvXg8PJsOm3nln/lwMbNII=; b=jWMv1SiElsKoLpJiDb0vND4QaEsOf5JjkWYiqsVDmZKGLDy2JO1FK26+ WGvGBEjtWZFCa+xYTmaYP+VM40rFBwKqReHNIdfXVsZnxj2wHYGdajaVR zw4O+KXZBEfqf56D5objzPvlg6Zk7Nqa7lnoPFTDO7movSsp9Y413eLpm Aa9SHTnzzcK+u7Nbk0xM0KdqeMmvdXTEJfj0ilkkfjZAaeNDX3Ia1G+jr BhoS/LZZuliSeUKsmZRaAy1kmZG4RDEHmErJd8qFzuejKWDdBP6Eruz2K S87VNLQ77kPjMj1hoAY68rdS2QMo0YkF3dtY/eOFZO3plDMZGmrT/z51V w==; IronPort-SDR: iPcmnwfvFRdYKmx9fcBuWP/43p5J+o/Hc4a9KPJnQ45OI62gYQOywxkAutC2Lxc7aN6VKmbdQL C2romUuZo8OLj5ePxprebSXup3EIm2IxT467FjHmpBibuXw4O5t/lLOAMF2oijchUKNYVdYxgx de2mmO/IDSBNmxot12YgHkFtgxLmatdkOmeSHLg6u6cP1ktNiIZ0gYtSGEur/x6MBjKuhNBNxX 7hbb9JM2e1M5PqbaYX2TiRVSkMANTEgGHXfmQxgxJR3QK6R+T018jvB0OUR4mJy7YnxQfJEU+B wgU= X-IronPort-AV: E=Sophos;i="5.73,387,1583218800"; d="scan'208";a="76494636" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 May 2020 05:56:55 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 13 May 2020 05:56:58 -0700 Received: from soft-dev15.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Wed, 13 May 2020 05:56:52 -0700 From: Lars Povlsen To: SoC Team , Arnd Bergmann , Stephen Boyd , Linus Walleij CC: Lars Povlsen , Steen Hegelund , Microchip Linux Driver Support , Olof Johansson , "Michael Turquette" , , , , , , Alexandre Belloni Subject: [PATCH 08/14] arm64: dts: sparx5: Add pinctrl support Date: Wed, 13 May 2020 14:55:26 +0200 Message-ID: <20200513125532.24585-9-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200513125532.24585-1-lars.povlsen@microchip.com> References: <20200513125532.24585-1-lars.povlsen@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This add pinctrl support to the Microchip Sparx5 SoC. Reviewed-by: Alexandre Belloni Signed-off-by: Lars Povlsen --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi index 3136b4369f507..45a60993789c8 100644 --- a/arch/arm64/boot/dts/microchip/sparx5.dtsi +++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi @@ -102,6 +102,8 @@ gic: interrupt-controller@600300000 { }; uart0: serial@600100000 { + pinctrl-0 = <&uart_pins>; + pinctrl-names = "default"; compatible = "ns16550a"; reg = <0x6 0x00100000 0x20>; clocks = <&ahb_clk>; @@ -113,6 +115,8 @@ uart0: serial@600100000 { }; uart1: serial@600102000 { + pinctrl-0 = <&uart2_pins>; + pinctrl-names = "default"; compatible = "ns16550a"; reg = <0x6 0x00102000 0x20>; clocks = <&ahb_clk>; @@ -131,5 +135,27 @@ timer1: timer@600105000 { interrupts = ; }; + gpio: pinctrl@6110101e0 { + compatible = "microchip,sparx5-pinctrl"; + reg = <0x6 0x110101e0 0x90>, <0x6 0x10508010 0x100>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&gpio 0 0 64>; + interrupt-controller; + interrupts = ; + #interrupt-cells = <2>; + + uart_pins: uart-pins { + pins = "GPIO_10", "GPIO_11"; + function = "uart"; + }; + + uart2_pins: uart2-pins { + pins = "GPIO_26", "GPIO_27"; + function = "uart2"; + }; + + }; + }; }; -- 2.26.2