From patchwork Wed Jun 2 12:03:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 452712 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DBD9C47097 for ; Wed, 2 Jun 2021 12:04:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED504613BA for ; Wed, 2 Jun 2021 12:04:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229839AbhFBMGU (ORCPT ); Wed, 2 Jun 2021 08:06:20 -0400 Received: from mout.gmx.net ([212.227.17.21]:34719 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbhFBMGP (ORCPT ); Wed, 2 Jun 2021 08:06:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1622635467; bh=RTKzM+J9pqSrUr+vTq6pJh5Z2xpl+EIKfucHJ6Hh99I=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=G+7z3yjj689QsI+iP8aKy5EQJUAKmr8sAyAaC/Wild/lOk8KSOUv97lTksuD+WBJ2 3QUJAftA9Sy58hTi4nHwOROuFcFB+JRw2MnGpegVn3ju47n3L9A4bSXKI+44UX6ciQ HuZXGQfWqtZpQSH7jluDwFfWhZNEjKKtMKAu42Hw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.214.247]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MNsw4-1m3jXP1PjM-00OCcw; Wed, 02 Jun 2021 14:04:27 +0200 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Cc: Linus Walleij , Rob Herring , openbmc@lists.ozlabs.org, Tomer Maimon , Joel Stanley , linux-kernel@vger.kernel.org, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= Subject: [PATCH 7/8] ARM: dts: wpcm450: Add pin functions Date: Wed, 2 Jun 2021 14:03:28 +0200 Message-Id: <20210602120329.2444672-8-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210602120329.2444672-1-j.neuschaefer@gmx.net> References: <20210602120329.2444672-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:0cK/YI6AJnCyKI30NY3XUNbqcw/TZvI7OpDmGIulKErhvjg21vO l/ZZlG8okXNSK5BCkBCSLnC0Gv/nx5vChL+jFANXnNd0tz4G2cjVVl/+a7Q0BYeLNBV2iaR bIzjA3fhYtYdPzFLwtDco2GW5Eeu9twvHcjooFyrligtRES7fFeqgQeEP1zay9EWBqWIOgf E2HcaBHN5p67J/nHD+2YA== X-UI-Out-Filterresults: notjunk:1; V03:K0:66ixAULPhaI=:oQgwzf4z2efBGCfzsGtST1 kiixC4F0MVA8jDyBQDyRyt3eYEASsGP5ayzmWEiis9KqXgXYxkjGlT+UNwchYuP1GQUdgGaS4 K+91mn/jN7iHKN1UcGZ/J+VTIGB3cVepqTL/EQidXbJEIDOQ1fIQ2tjwF9OhwW/jsenK4sCyq TKjt5ic6yi6I8sza8KSMGElT12ugbzP54RsGk81mj1ZdQjSykQAKrDwGbMmVACBAtdxUGUxAG swLLUSeTEj8isDSE8CBWmiVLuG2MDuRxz3PFAJcoxU7UiWmVDBCMO8QtOKqRBW89EX+999RCF nlU1yeiT7YKXK4NImGjvh1n90/peS8YKXn+uJIkD3Wu06ngEVxvjixy64Yhc5pbrj8aDOrr/i dvSENoOPzb6OtfIiX5mabIRKJ9W5ylD4LcPfSzzIwQLl/DASH7yppd5i5dG9xPty2T7NWVBU8 qKKiBIXeQ7vL8EhLQgZqhpOKDrjzjM4hBL708d+CnK/2LBmPKnqzYSno83Hsn/mn/Jd3aD+4v I/9/5ztkHdQ12jfUb3w3fOWir1xgqbhy+iTB0+rIXbY5f9GVmQESOLCqt1G8NPsshgxoGWYvP AJBYuj31gfrgBh5nT/lJ/yRmH0ledWomJ4LnQXABqZetEf7RZWqVubfQg/aezP/lxI4Hj3sbD cZnofj7y4xquQ0pA22yh8LBUj2RuTO7vPJLMHNUZxk+lgZlKZtrnezWb1jlrg49Xv6NDsUbwp 7kwdcHkXLJO4kguChUHFhMb04YlSLDUXBcjpn4aHVlII8hnyFW7QSPOAX38I4PAgR9IVCDxEq yAdr9OCpHgayM+U00qMKojO9x/0dpwv2K1VBwcyOqdKqVhedXGSMJpA2aCsejcgGcMKJVbfJU k/MJdHaiA86ZCjUHUAl96sTE8y9FlsljJH6lDDt6xTNiV/R1igHEoPzg4A65E17+sLwNYBlKP sWJlBzLUfdvtMFlKoRFCP9fKKj4Ulzv/XuSoRx6m8VqAOg5xM/Wxv69akV1ayu8Z05NNMWQ2F rmJNTDFZjKUgF+TYI/mugAnO7dsPsN8kfIN7USmyRWNMIOUQ98K5JPUmUbsQnwhCTiS6EJpK2 Ujx+i5CUbNmEKLdP7nQHtaqLwwkjjGMoJVTCX3EI9xfx2Q3lyXde0ERug== Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org As done in nuvoton-common-npcm7xx.dtsi, this patch adds pinmux nodes for all pin functions to nuvoton-wpcm450.dtsi. Signed-off-by: Jonathan Neuschäfer --- arch/arm/boot/dts/nuvoton-wpcm450.dtsi | 305 +++++++++++++++++++++++++ 1 file changed, 305 insertions(+) -- 2.30.2 diff --git a/arch/arm/boot/dts/nuvoton-wpcm450.dtsi b/arch/arm/boot/dts/nuvoton-wpcm450.dtsi index 1b63943b2a42b..f1a1b1fdcb3e4 100644 --- a/arch/arm/boot/dts/nuvoton-wpcm450.dtsi +++ b/arch/arm/boot/dts/nuvoton-wpcm450.dtsi @@ -87,6 +87,311 @@ pinctrl: pinctrl@b8003000 { 3 IRQ_TYPE_LEVEL_HIGH 4 IRQ_TYPE_LEVEL_HIGH 5 IRQ_TYPE_LEVEL_HIGH>; + + smb3_pins: smb3-pins { + groups = "smb3"; + function = "smb3"; + }; + + smb4_pins: smb4-pins { + groups = "smb4"; + function = "smb4"; + }; + + smb5_pins: smb5-pins { + groups = "smb5"; + function = "smb5"; + }; + + scs1_pins: scs1-pins { + groups = "scs1"; + function = "scs1"; + }; + + scs2_pins: scs2-pins { + groups = "scs2"; + function = "scs2"; + }; + + scs3_pins: scs3-pins { + groups = "scs3"; + function = "scs3"; + }; + + smb0_pins: smb0-pins { + groups = "smb0"; + function = "smb0"; + }; + + smb1_pins: smb1-pins { + groups = "smb1"; + function = "smb1"; + }; + + smb2_pins: smb2-pins { + groups = "smb2"; + function = "smb2"; + }; + + bsp_pins: bsp-pins { + groups = "bsp"; + function = "bsp"; + }; + + hsp1_pins: hsp1-pins { + groups = "hsp1"; + function = "hsp1"; + }; + + hsp2_pins: hsp2-pins { + groups = "hsp2"; + function = "hsp2"; + }; + + r1err_pins: r1err-pins { + groups = "r1err"; + function = "r1err"; + }; + + r1md_pins: r1md-pins { + groups = "r1md"; + function = "r1md"; + }; + + rmii2_pins: rmii2-pins { + groups = "rmii2"; + function = "rmii2"; + }; + + r2err_pins: r2err-pins { + groups = "r2err"; + function = "r2err"; + }; + + r2md_pins: r2md-pins { + groups = "r2md"; + function = "r2md"; + }; + + kbcc_pins: kbcc-pins { + groups = "kbcc"; + function = "kbcc"; + }; + + dvo0_pins: dvo0-pins { + groups = "dvo"; + function = "dvo0"; + }; + + dvo3_pins: dvo3-pins { + groups = "dvo"; + function = "dvo3"; + }; + + clko_pins: clko-pins { + groups = "clko"; + function = "clko"; + }; + + smi_pins: smi-pins { + groups = "smi"; + function = "smi"; + }; + + uinc_pins: uinc-pins { + groups = "uinc"; + function = "uinc"; + }; + + gspi_pins: gspi-pins { + groups = "gspi"; + function = "gspi"; + }; + + mben_pins: mben-pins { + groups = "mben"; + function = "mben"; + }; + + xcs2_pins: xcs2-pins { + groups = "xcs2"; + function = "xcs2"; + }; + + xcs1_pins: xcs1-pins { + groups = "xcs1"; + function = "xcs1"; + }; + + sdio_pins: sdio-pins { + groups = "sdio"; + function = "sdio"; + }; + + sspi_pins: sspi-pins { + groups = "sspi"; + function = "sspi"; + }; + + fi0_pins: fi0-pins { + groups = "fi0"; + function = "fi0"; + }; + + fi1_pins: fi1-pins { + groups = "fi1"; + function = "fi1"; + }; + + fi2_pins: fi2-pins { + groups = "fi2"; + function = "fi2"; + }; + + fi3_pins: fi3-pins { + groups = "fi3"; + function = "fi3"; + }; + + fi4_pins: fi4-pins { + groups = "fi4"; + function = "fi4"; + }; + + fi5_pins: fi5-pins { + groups = "fi5"; + function = "fi5"; + }; + + fi6_pins: fi6-pins { + groups = "fi6"; + function = "fi6"; + }; + + fi7_pins: fi7-pins { + groups = "fi7"; + function = "fi7"; + }; + + fi8_pins: fi8-pins { + groups = "fi8"; + function = "fi8"; + }; + + fi9_pins: fi9-pins { + groups = "fi9"; + function = "fi9"; + }; + + fi10_pins: fi10-pins { + groups = "fi10"; + function = "fi10"; + }; + + fi11_pins: fi11-pins { + groups = "fi11"; + function = "fi11"; + }; + + fi12_pins: fi12-pins { + groups = "fi12"; + function = "fi12"; + }; + + fi13_pins: fi13-pins { + groups = "fi13"; + function = "fi13"; + }; + + fi14_pins: fi14-pins { + groups = "fi14"; + function = "fi14"; + }; + + fi15_pins: fi15-pins { + groups = "fi15"; + function = "fi15"; + }; + + pwm0_pins: pwm0-pins { + groups = "pwm0"; + function = "pwm0"; + }; + + pwm1_pins: pwm1-pins { + groups = "pwm1"; + function = "pwm1"; + }; + + pwm2_pins: pwm2-pins { + groups = "pwm2"; + function = "pwm2"; + }; + + pwm3_pins: pwm3-pins { + groups = "pwm3"; + function = "pwm3"; + }; + + pwm4_pins: pwm4-pins { + groups = "pwm4"; + function = "pwm4"; + }; + + pwm5_pins: pwm5-pins { + groups = "pwm5"; + function = "pwm5"; + }; + + pwm6_pins: pwm6-pins { + groups = "pwm6"; + function = "pwm6"; + }; + + pwm7_pins: pwm7-pins { + groups = "pwm7"; + function = "pwm7"; + }; + + hg0_pins: hg0-pins { + groups = "hg0"; + function = "hg0"; + }; + + hg1_pins: hg1-pins { + groups = "hg1"; + function = "hg1"; + }; + + hg2_pins: hg2-pins { + groups = "hg2"; + function = "hg2"; + }; + + hg3_pins: hg3-pins { + groups = "hg3"; + function = "hg3"; + }; + + hg4_pins: hg4-pins { + groups = "hg4"; + function = "hg4"; + }; + + hg5_pins: hg5-pins { + groups = "hg5"; + function = "hg5"; + }; + + hg6_pins: hg6-pins { + groups = "hg6"; + function = "hg6"; + }; + + hg7_pins: hg7-pins { + groups = "hg7"; + function = "hg7"; + }; }; }; };