From patchwork Mon Jul 25 13:48:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 593395 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A131C43334 for ; Mon, 25 Jul 2022 13:49:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233500AbiGYNtI (ORCPT ); Mon, 25 Jul 2022 09:49:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234269AbiGYNtH (ORCPT ); Mon, 25 Jul 2022 09:49:07 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8A5510550 for ; Mon, 25 Jul 2022 06:49:05 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id oy13so20694265ejb.1 for ; Mon, 25 Jul 2022 06:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=iNR+8bvTtJ1JNm1FULwRyfWVRLu7ziA8GWYkRRVOTEo=; b=DUSEaBTHhagj+Phydg9/Xbc7brln6S/EzSeTT2gghFyGr7B4AA2LYEV9oWgw9WagzP d7JIpd8Dw97cfQvTps8U1ztvddETpwyE0QMEWiwTRmgz0AKnK1JJNv5euJ1bkic2XY/1 851mcrnwcCmGN10utIHAa4wP6R08zTeQKRdHh5R0K94Phj48cR6Msu4RVF/e3jjCDCD+ nkgTUpTRwatjiq0cUtJ9ciJXUiEWmhYBRKQzgXAnuwwMrdwi43P+idHeF/7WiVNo8IJF 95HbA7MTO2Dk/WLIfKNaMqNNXf/omIWBBB/NNqjvvzyfc1AM9jNIQVU2JnrAuRGZC3F4 L9Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=iNR+8bvTtJ1JNm1FULwRyfWVRLu7ziA8GWYkRRVOTEo=; b=eeqdCJ0a2+LLZAiB5eMR65LwMUt+azfW6eps6iaMUBkaYCip0lMLqCrqRx/XoibJp6 vJU0RYRR5ZrdqVbgqnZrGhcwYF7tYYhp0UUEemuBQf5spOTIKd79iw6VvXqck16XN5DM bsGJs7m1A1a83JPQnVRS/v0q3M29YGAhjw+ctnm1sm9xqTynpMzUfDofvWeRehJKeJ9N d4hHSVJhzU6EhOEA2SPBDyiLPoeWdDxdj+8vl3R6hDaaPtG/V1LOUidKTEG3+gew/0Va xpPRCCOIYyAPO7uj5TEYfGXFD7I5RwYT9L1Wr3UPPzGmg0jT5uY0k5huUQsfFf7wm8KQ dv5Q== X-Gm-Message-State: AJIora98jggLDIalsOfRK4c3vrjvxtyJBgasTbRfmSknN+DuA4VQllGF mHnwFDwl3QcsjmyzBn/0GKu1QQWbLzI= X-Google-Smtp-Source: AGRyM1sZpTwTaMLDpNLbUOYy4UOUJYroWLYRd7nqkQVbZZ4SouXcpUYsI5gjzRZLMRxbt1UsrSG/zg== X-Received: by 2002:a17:907:160c:b0:72f:1031:2184 with SMTP id hb12-20020a170907160c00b0072f10312184mr9947870ejc.355.1658756944043; Mon, 25 Jul 2022 06:49:04 -0700 (PDT) Received: from development1.visionsystems.de (mail.visionsystems.de. [213.209.99.202]) by smtp.gmail.com with ESMTPSA id k20-20020a17090632d400b006fee7b5dff2sm5404670ejk.143.2022.07.25.06.49.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2022 06:49:03 -0700 (PDT) From: yegorslists@googlemail.com To: linux-omap@vger.kernel.org Cc: tony@atomide.com, robh+dt@kernel.org, Yegor Yefremov Subject: [PATCH 1/5] ARM: dts: am335x-baltos: add GPIO names for ir3220 and ir5221 devices Date: Mon, 25 Jul 2022 15:48:53 +0200 Message-Id: <20220725134857.855-1-yegorslists@googlemail.com> X-Mailer: git-send-email 2.17.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Yegor Yefremov Add GPIO names for both SoC and TCA6416 lines. Signed-off-by: Yegor Yefremov --- arch/arm/boot/dts/am335x-baltos-ir3220.dts | 148 +++++++++++++++++++++ arch/arm/boot/dts/am335x-baltos-ir5221.dts | 148 +++++++++++++++++++++ 2 files changed, 296 insertions(+) diff --git a/arch/arm/boot/dts/am335x-baltos-ir3220.dts b/arch/arm/boot/dts/am335x-baltos-ir3220.dts index 2123bd589484..087e084506d2 100644 --- a/arch/arm/boot/dts/am335x-baltos-ir3220.dts +++ b/arch/arm/boot/dts/am335x-baltos-ir3220.dts @@ -91,6 +91,10 @@ interrupts = <20 IRQ_TYPE_EDGE_RISING>; pinctrl-names = "default"; pinctrl-0 = <&tca6416_pins>; + gpio-line-names = "GP_IN0", "GP_IN1", "GP_IN2", "GP_IN3", + "GP_OUT0", "GP_OUT1", "GP_OUT2", "GP_OUT3", + "ModeA0", "ModeA1", "ModeA2", "ModeA3", + "ModeB0", "ModeB1", "ModeB2", "ModeB3"; }; }; @@ -123,3 +127,147 @@ pinctrl-0 = <&mmc1_pins>; cd-gpios = <&gpio2 18 GPIO_ACTIVE_LOW>; }; + +&gpio0 { + gpio-line-names = + "MDIO", + "MDC", + "UART2_RX", + "UART2_TX", + "I2C1_SDA", + "I2C1_SCL", + "WLAN_BTN", + "W_DISABLE", + "NC", + "NC", + "NC", + "NC", + "UART1_CTSN", + "UART1_RTSN", + "UART1_RX", + "UART1_TX", + "onrisc:blue:wlan", + "onrisc:green:app", + "USB0_DRVVBUS", + "ETH2_INT", + "TCA6416_INT", + "RMII1_TXD1", + "MMC1_DAT0", + "MMC1_DAT1", + "NC", + "NC", + "MMC1_DAT2", + "MMC1_DAT3", + "RMII1_TXD0", + "NC", + "GPMC_WAIT0", + "GPMC_WP_N"; +}; + +&gpio1 { + gpio-line-names = + "GPMC_AD0", + "GPMC_AD1", + "GPMC_AD2", + "GPMC_AD3", + "GPMC_AD4", + "GPMC_AD5", + "GPMC_AD6", + "GPMC_AD7", + "NC", + "NC", + "CONSOLE_RX", + "CONSOLE_TX", + "UART2_DTR", + "UART2_DSR", + "UART2_DCD", + "UART2_RI", + "RGMII2_TCTL", + "RGMII2_RCTL", + "RGMII2_TD3", + "RGMII2_TD2", + "RGMII2_TD1", + "RGMII2_TD0", + "RGMII2_TCLK", + "RGMII2_RCLK", + "RGMII2_RD3", + "RGMII2_RD2", + "RGMII2_RD1", + "RGMII2_RD0", + "PMIC_INT1", + "GPMC_CSN0_Flash", + "MMC1_CLK", + "MMC1_CMD"; +}; + +&gpio2 { + gpio-line-names = + "GPMC_CSN3_BUS", + "GPMC_CLK", + "GPMC_ADVN_ALE", + "GPMC_OEN_RE_N", + "GPMC_WE_N", + "GPMC_BEN0_CLE", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "SD_CD", + "SD_WP", + "RMII1_RXD1", + "RMII1_RXD0", + "UART1_DTR", + "UART1_DSR", + "UART1_DCD", + "UART1_RI", + "MMC0_DAT3", + "MMC0_DAT2", + "MMC0_DAT1", + "MMC0_DAT0", + "MMC0_CLK", + "MMC0_CMD"; +}; + +&gpio3 { + gpio-line-names = + "onrisc:red:power", + "RMII1_CRS_DV", + "RMII1_RXER", + "RMII1_TXEN", + "3G_PWR_EN", + "UART2_CTSN", + "UART2_RTSN", + "WLAN_IRQ", + "WLAN_EN", + "NC", + "NC", + "NC", + "NC", + "USB1_DRVVBUS", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC"; +}; diff --git a/arch/arm/boot/dts/am335x-baltos-ir5221.dts b/arch/arm/boot/dts/am335x-baltos-ir5221.dts index 2f3872dbf4f4..faeb39aab60a 100644 --- a/arch/arm/boot/dts/am335x-baltos-ir5221.dts +++ b/arch/arm/boot/dts/am335x-baltos-ir5221.dts @@ -99,6 +99,10 @@ interrupts = <20 IRQ_TYPE_EDGE_RISING>; pinctrl-names = "default"; pinctrl-0 = <&tca6416_pins>; + gpio-line-names = "GP_IN0", "GP_IN1", "GP_IN2", "GP_IN3", + "GP_OUT0", "GP_OUT1", "GP_OUT2", "GP_OUT3", + "ModeA0", "ModeA1", "ModeA2", "ModeA3", + "ModeB0", "ModeB1", "ModeB2", "ModeB3"; }; }; @@ -147,3 +151,147 @@ pinctrl-0 = <&mmc1_pins>; cd-gpios = <&gpio2 18 GPIO_ACTIVE_LOW>; }; + +&gpio0 { + gpio-line-names = + "MDIO", + "MDC", + "UART2_RX", + "UART2_TX", + "I2C1_SDA", + "I2C1_SCL", + "WLAN_BTN", + "W_DISABLE", + "NC", + "NC", + "NC", + "NC", + "UART1_CTSN", + "UART1_RTSN", + "UART1_RX", + "UART1_TX", + "onrisc:blue:wlan", + "onrisc:green:app", + "USB0_DRVVBUS", + "ETH2_INT", + "TCA6416_INT", + "RMII1_TXD1", + "MMC1_DAT0", + "MMC1_DAT1", + "NC", + "NC", + "MMC1_DAT2", + "MMC1_DAT3", + "RMII1_TXD0", + "NC", + "GPMC_WAIT0", + "GPMC_WP_N"; +}; + +&gpio1 { + gpio-line-names = + "GPMC_AD0", + "GPMC_AD1", + "GPMC_AD2", + "GPMC_AD3", + "GPMC_AD4", + "GPMC_AD5", + "GPMC_AD6", + "GPMC_AD7", + "DCAN1_TX", + "DCAN1_RX", + "CONSOLE_RX", + "CONSOLE_TX", + "UART2_DTR", + "UART2_DSR", + "UART2_DCD", + "UART2_RI", + "RGMII2_TCTL", + "RGMII2_RCTL", + "RGMII2_TD3", + "RGMII2_TD2", + "RGMII2_TD1", + "RGMII2_TD0", + "RGMII2_TCLK", + "RGMII2_RCLK", + "RGMII2_RD3", + "RGMII2_RD2", + "RGMII2_RD1", + "RGMII2_RD0", + "PMIC_INT1", + "GPMC_CSN0_Flash", + "MMC1_CLK", + "MMC1_CMD"; +}; + +&gpio2 { + gpio-line-names = + "GPMC_CSN3_BUS", + "GPMC_CLK", + "GPMC_ADVN_ALE", + "GPMC_OEN_RE_N", + "GPMC_WE_N", + "GPMC_BEN0_CLE", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "SD_CD", + "SD_WP", + "RMII1_RXD1", + "RMII1_RXD0", + "UART1_DTR", + "UART1_DSR", + "UART1_DCD", + "UART1_RI", + "MMC0_DAT3", + "MMC0_DAT2", + "MMC0_DAT1", + "MMC0_DAT0", + "MMC0_CLK", + "MMC0_CMD"; +}; + +&gpio3 { + gpio-line-names = + "onrisc:red:power", + "RMII1_CRS_DV", + "RMII1_RXER", + "RMII1_TXEN", + "3G_PWR_EN", + "UART2_CTSN", + "UART2_RTSN", + "WLAN_IRQ", + "WLAN_EN", + "NC", + "NC", + "NC", + "NC", + "USB1_DRVVBUS", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC"; +}; From patchwork Mon Jul 25 13:48:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 593394 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5675ACCA473 for ; Mon, 25 Jul 2022 13:49:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233197AbiGYNtL (ORCPT ); Mon, 25 Jul 2022 09:49:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232047AbiGYNtK (ORCPT ); Mon, 25 Jul 2022 09:49:10 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49E2514083 for ; Mon, 25 Jul 2022 06:49:07 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id z23so20521964eju.8 for ; Mon, 25 Jul 2022 06:49:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2/9wAkGl/F7U4Q3bTlnbSaDZIotaoUUqFKE8YOdHq98=; b=UHHFGCFwfbA2LKr77r6QlaJTp1npBIgIcBBMTBPKZ2wTZFaWQ85ceJ+bo9p80Nv8XE +13hIIdLIv8Zxr2tmWqS3hnej8bxHKM3vklDSmTTbM7co/oSghamcaEKSL9ckR2kDyyd PAV48B9iWgbbASOyZLDddSa5Q5pO0JFufs6JBvtL+GizhEkSlCMpTm3pBdZJ3ifEuIUW dezy4t7EehZTzGdeQGOm7B1qmUN2pRtxIDHO+t++js1mhFEhDS8ha6ki4wIyFqhJktI+ BKYI9Mpnnjm51XkFbqf0foBL4ZyGTGrZ/kb7qvvkGRPp6NOhaIF0OCU0JxENvT9Pw7lZ 0AEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2/9wAkGl/F7U4Q3bTlnbSaDZIotaoUUqFKE8YOdHq98=; b=t+lAhb2GQoexS+HQ7AE4jRDII//7ZEVsPVpMufYLPLhLIoi0McC0H/byDbAZVDzG0I HaiY0shmYoOb4VJPY84QltChZnoxgTuW10dAZUeCF0SJljc0Xepy2luxxogP2eJiJgHB jn9GufiWFK4zlygLns9ux5GtZTFLpZ1DofLPMgDl7rQ/Qz/yz5CcCGJlAVod812d3oPk Fy4MdqdztBrvba0JlANRMS6KwHxCbIX2R1P4n/FD3DCm52pCoCDV9s1c+j9CJQ9W907R IUNmi36fNnIU3wFhm/1iAlMh65XZOtESkhtaynVnwpxpg+gz1RCEZ5rv3sPr6r4xFKLP qgfQ== X-Gm-Message-State: AJIora97hzhnKA2qx3ho8IpdMqYPfFJpv2jGDfsz6dT+xj6bjafjMZH+ 93PH2iv16kmdqhdfpogcx4PRGibWM1M= X-Google-Smtp-Source: AGRyM1tgbaqoh4Hq9ZnV4awgt+uskybRLepVCZSuXztzlTyeAk0SF/1YZZSWd5IH5eOH+mp+XQjrjA== X-Received: by 2002:a17:907:2c54:b0:72b:64bd:cbf7 with SMTP id hf20-20020a1709072c5400b0072b64bdcbf7mr10205516ejc.116.1658756945598; Mon, 25 Jul 2022 06:49:05 -0700 (PDT) Received: from development1.visionsystems.de (mail.visionsystems.de. [213.209.99.202]) by smtp.gmail.com with ESMTPSA id k20-20020a17090632d400b006fee7b5dff2sm5404670ejk.143.2022.07.25.06.49.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2022 06:49:05 -0700 (PDT) From: yegorslists@googlemail.com To: linux-omap@vger.kernel.org Cc: tony@atomide.com, robh+dt@kernel.org, Yegor Yefremov Subject: [PATCH 2/5] ARM: dts: am335x-baltos: add GPIO names for ir2110 device Date: Mon, 25 Jul 2022 15:48:54 +0200 Message-Id: <20220725134857.855-2-yegorslists@googlemail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20220725134857.855-1-yegorslists@googlemail.com> References: <20220725134857.855-1-yegorslists@googlemail.com> Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Yegor Yefremov Add GPIO names for SoC lines. Signed-off-by: Yegor Yefremov --- arch/arm/boot/dts/am335x-baltos-ir2110.dts | 146 ++++++++++++++++++++- 1 file changed, 145 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-baltos-ir2110.dts b/arch/arm/boot/dts/am335x-baltos-ir2110.dts index daf4cb398070..133fbe48109c 100644 --- a/arch/arm/boot/dts/am335x-baltos-ir2110.dts +++ b/arch/arm/boot/dts/am335x-baltos-ir2110.dts @@ -79,5 +79,149 @@ &mmc1 { pinctrl-names = "default"; pinctrl-0 = <&mmc1_pins>; - cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; + /*cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;*/ +}; + +&gpio0 { + gpio-line-names = + "MDIO", + "MDC", + "NC", + "NC", + "I2C1_SDA", + "I2C1_SCL", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "UART1_CTSN", + "UART1_RTSN", + "UART1_RX", + "UART1_TX", + "onrisc:blue:wlan", + "onrisc:green:app", + "USB0_DRVVBUS", + "ETH2_INT", + "NC", + "RMII1_TXD1", + "MMC1_DAT0", + "MMC1_DAT1", + "NC", + "NC", + "MMC1_DAT2", + "MMC1_DAT3", + "RMII1_TXD0", + "NC", + "GPMC_WAIT0", + "GPMC_WP_N"; +}; + +&gpio1 { + gpio-line-names = + "GPMC_AD0", + "GPMC_AD1", + "GPMC_AD2", + "GPMC_AD3", + "GPMC_AD4", + "GPMC_AD5", + "GPMC_AD6", + "GPMC_AD7", + "NC", + "NC", + "CONSOLE_RX", + "CONSOLE_TX", + "NC", + "NC", + "NC", + "SD_CD", + "RGMII2_TCTL", + "RGMII2_RCTL", + "RGMII2_TD3", + "RGMII2_TD2", + "RGMII2_TD1", + "RGMII2_TD0", + "RGMII2_TCLK", + "RGMII2_RCLK", + "RGMII2_RD3", + "RGMII2_RD2", + "RGMII2_RD1", + "RGMII2_RD0", + "PMIC_INT1", + "GPMC_CSN0_Flash", + "MMC1_CLK", + "MMC1_CMD"; +}; + +&gpio2 { + gpio-line-names = + "GPMC_CSN3_BUS", + "GPMC_CLK", + "GPMC_ADVN_ALE", + "GPMC_OEN_RE_N", + "GPMC_WE_N", + "GPMC_BEN0_CLE", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "SW2_0", + "SW2_1", + "RMII1_RXD1", + "RMII1_RXD0", + "UART1_DTR", + "UART1_DSR", + "UART1_DCD", + "UART1_RI", + "MMC0_DAT3", + "MMC0_DAT2", + "MMC0_DAT1", + "MMC0_DAT0", + "MMC0_CLK", + "MMC0_CMD"; +}; + +&gpio3 { + gpio-line-names = + "onrisc:red:power", + "RMII1_CRS_DV", + "RMII1_RXER", + "RMII1_TXEN", + "NC", + "NC", + "NC", + "WLAN_IRQ", + "WLAN_EN", + "SW2_2", + "SW2_3", + "NC", + "NC", + "NC", + "ModeA0", + "ModeA1", + "ModeA2", + "ModeA3", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC"; }; From patchwork Mon Jul 25 13:48:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 593959 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5049C43334 for ; Mon, 25 Jul 2022 13:49:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229514AbiGYNtK (ORCPT ); Mon, 25 Jul 2022 09:49:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233197AbiGYNtK (ORCPT ); Mon, 25 Jul 2022 09:49:10 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9094010550 for ; Mon, 25 Jul 2022 06:49:08 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id c12so6641382ede.3 for ; Mon, 25 Jul 2022 06:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2+u7zJquGGX3GWaMzTOtc0Wrja94pxh3wsth/2j2g2k=; b=qBHqiuWClcb82Mvul1SVwd1/mXcvGtBNfQJHAmWH/JYdjFYY3soXPO772faw0nRBUn k7FJZPvd+HHJcvYoTcnqtmQTe56Yi7nfdkW7xT6/eVU3lPqgYogZ9TbubEXRElYAXQr1 gtR0A4d/zmmYP0o5+qdJ8FvHB5A7ojfnZsECNF9xZ9XNDvkAcuPWNx5WvX5cK6vHXbJb DvwNHca36iYkooiiuCIWc+Jtlj6Ta9itL5tk28n+j6dMWCeDtT5+xUhh5gCL/nLbUSNl FsQrhFrufj0UUm3KWDsxThc70aMDb9YjRo/WFykqgJ6HBoHdQjJDox/O9iRqr2S5hMtY gXvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2+u7zJquGGX3GWaMzTOtc0Wrja94pxh3wsth/2j2g2k=; b=09ul7B6wXwZiRa2fqaHXlf5k7kpDfC/p+DDC2ckQE2kuXyLlbNDiC061e/79g6CAUu WQSAwJHLYh6TqwXd8qTbIaQkGdj8Y1AGCJwImZi+tCH6OAX9BVHAvTWM8UqjMmRm5vLn 1fdM/5nilVF6bGUdUl1AwCoKKVmdOyhFpk3qCksUCDYBcIc8iz4BQn7p8221UDJl9vbY w8xPA/UKJH5885Aj3FkDxXnE7kVHQ5dsRPreK1j9dUm/oFNzP++sJXjB0XZv4CCQqBks UnxNOMABJQdpptCB5+E/ScdATIXvIhd2TCdYCIiRlec4hFa7EYM4+p0A+mo5XvsfGF4c KNHw== X-Gm-Message-State: AJIora/WjVC1TaXva7Oi6GAGk/MDoGF00RKIRESNvdQe/0z9cWAFwvwl BY/1noG0V/Hozptgb+Nz8/aKXZL6OzM= X-Google-Smtp-Source: AGRyM1vl2GSWuC19bn4yvlqUJaGQAwZGAPpko91X8SOTPPzJ5lGMb8XXGCT2/k+1jc2Nbhr1Hs89Dg== X-Received: by 2002:a05:6402:35c1:b0:43b:e079:83be with SMTP id z1-20020a05640235c100b0043be07983bemr10593209edc.80.1658756946761; Mon, 25 Jul 2022 06:49:06 -0700 (PDT) Received: from development1.visionsystems.de (mail.visionsystems.de. [213.209.99.202]) by smtp.gmail.com with ESMTPSA id k20-20020a17090632d400b006fee7b5dff2sm5404670ejk.143.2022.07.25.06.49.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2022 06:49:06 -0700 (PDT) From: yegorslists@googlemail.com To: linux-omap@vger.kernel.org Cc: tony@atomide.com, robh+dt@kernel.org, Yegor Yefremov Subject: [PATCH 3/5] ARM: dts: am335x-netcan: add GPIO names for NetCAN Plus device Date: Mon, 25 Jul 2022 15:48:55 +0200 Message-Id: <20220725134857.855-3-yegorslists@googlemail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20220725134857.855-1-yegorslists@googlemail.com> References: <20220725134857.855-1-yegorslists@googlemail.com> Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Yegor Yefremov Add GPIO names for SoC lines. Signed-off-by: Yegor Yefremov --- arch/arm/boot/dts/am335x-netcan-plus-1xx.dts | 144 +++++++++++++++++++ 1 file changed, 144 insertions(+) diff --git a/arch/arm/boot/dts/am335x-netcan-plus-1xx.dts b/arch/arm/boot/dts/am335x-netcan-plus-1xx.dts index 57e756b0f192..2e049489ac06 100644 --- a/arch/arm/boot/dts/am335x-netcan-plus-1xx.dts +++ b/arch/arm/boot/dts/am335x-netcan-plus-1xx.dts @@ -85,3 +85,147 @@ status = "okay"; }; + +&gpio0 { + gpio-line-names = + "MDIO", + "MDC", + "NC", + "NC", + "I2C1_SDA", + "I2C1_SCL", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "can_data", + "can_error", + "onrisc:blue:wlan", + "onrisc:green:app", + "USB0_DRVVBUS", + "ETH2_INT", + "NC", + "NC", + "MMC1_DAT0", + "MMC1_DAT1", + "NC", + "NC", + "MMC1_DAT2", + "MMC1_DAT3", + "NC", + "NC", + "GPMC_WAIT0", + "GPMC_WP_N"; +}; + +&gpio1 { + gpio-line-names = + "GPMC_AD0", + "GPMC_AD1", + "GPMC_AD2", + "GPMC_AD3", + "GPMC_AD4", + "GPMC_AD5", + "GPMC_AD6", + "GPMC_AD7", + "DCAN1_TX", + "DCAN1_RX", + "CONSOLE_RX", + "CONSOLE_TX", + "NC", + "NC", + "NC", + "NC", + "RGMII2_TCTL", + "RGMII2_RCTL", + "RGMII2_TD3", + "RGMII2_TD2", + "RGMII2_TD1", + "RGMII2_TD0", + "RGMII2_TCLK", + "RGMII2_RCLK", + "RGMII2_RD3", + "RGMII2_RD2", + "RGMII2_RD1", + "RGMII2_RD0", + "PMIC_INT1", + "GPMC_CSN0_Flash", + "MMC1_CLK", + "MMC1_CMD"; +}; + +&gpio2 { + gpio-line-names = + "GPMC_CSN3_BUS", + "GPMC_CLK", + "GPMC_ADVN_ALE", + "GPMC_OEN_RE_N", + "GPMC_WE_N", + "GPMC_BEN0_CLE", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "SW2_0", + "SW2_1", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "MMC0_DAT3", + "MMC0_DAT2", + "MMC0_DAT1", + "MMC0_DAT0", + "MMC0_CLK", + "MMC0_CMD"; +}; + +&gpio3 { + gpio-line-names = + "onrisc:red:power", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "WLAN_IRQ", + "WLAN_EN", + "SW2_2", + "SW2_3", + "NC", + "NC", + "NC", + "ModeA0", + "ModeA1", + "ModeA2", + "ModeA3", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC"; +}; From patchwork Mon Jul 25 13:48:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 593393 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0434FC433EF for ; Mon, 25 Jul 2022 13:49:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234269AbiGYNtM (ORCPT ); Mon, 25 Jul 2022 09:49:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233546AbiGYNtL (ORCPT ); Mon, 25 Jul 2022 09:49:11 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C90D3140F9 for ; Mon, 25 Jul 2022 06:49:09 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id ss3so20579758ejc.11 for ; Mon, 25 Jul 2022 06:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CdWPqVHzX025sp18UvcY3B5vaZmFmggRjX5EUVNfDZs=; b=m2F6GC2Au5VZDTZwZ0YR6F5a0UQqr8cVa77sMG4vva0OvTrb+leKLE6N3rnMU6y4BY e/ORGjZ1vUt4j8tXMmb1B1fpgwYzn9LgedtJnPITIFKZENAiyVVSeCJIUh3xt5wqGWvn n1K75vyEuToazUJ7J7cmRiTwZzAdCVBlqNJuyePpnPcH3CKioNnlzJnw/wnJP7bB8O3B H2f9W5Xa0DRzlb8lltoUD2VPD5EnAZ60kr9ikZEZC6kqfiXfWNCyTcdRFIG6+uZoDeLX jLcHuz+xB7gNFk960I5rMgOasWJkMXTkdDzwWy0YThC21GlqVxIHfprgcrfHYy2sJmTj aFOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CdWPqVHzX025sp18UvcY3B5vaZmFmggRjX5EUVNfDZs=; b=1do3kl6madUJzOkoJlhkXE1qy1c5tLeROwWL0+WMKXjETVY0paz2Dx40k8yFY8Yjin W7xKHIpc45N/UtOdCM9XPsv/rVbij6fTeOjBs546U6Xf+o21+qkvSi9XMk6QHOSkIzye BjxZRL9MgtZDngx9aTLbYJnHqftrobcNKP4lFPNN7lUeUVTYSqHZZSLNmmIPkjcjd6wL JZ8tAl30VSKlr7HgsSvKNI9yh4MXhELhKIGfxKvva33vLgITldSootiFiPk6xzSYediI c6DUJfbLL9H2Ux0mPZg0+NarfCBcENGMf8+u0pDJ3emYsGsY5gHIlUYEc47JocT/ciR0 TqWg== X-Gm-Message-State: AJIora+Rt2tHGKtLWK+opGvdFgEgL7UmBxOUy+k8UbCd/QZvXWrR6cxY sRW4gKjtJ+z8aHdndsK41IliX9bGvEE= X-Google-Smtp-Source: AGRyM1tIMW4w9aeHp+7HQylp/5CF6mo70pI1FjwAf7kTIC77gPVJyDPC4Ya/QFaOBzJ+qIjLhxiSHw== X-Received: by 2002:a17:906:93f0:b0:72e:d01f:b882 with SMTP id yl16-20020a17090693f000b0072ed01fb882mr10344279ejb.273.1658756947900; Mon, 25 Jul 2022 06:49:07 -0700 (PDT) Received: from development1.visionsystems.de (mail.visionsystems.de. [213.209.99.202]) by smtp.gmail.com with ESMTPSA id k20-20020a17090632d400b006fee7b5dff2sm5404670ejk.143.2022.07.25.06.49.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2022 06:49:07 -0700 (PDT) From: yegorslists@googlemail.com To: linux-omap@vger.kernel.org Cc: tony@atomide.com, robh+dt@kernel.org, Yegor Yefremov Subject: [PATCH 4/5] ARM: dts: am335x-netcom: add GPIO names for NetCom Plus 8-port devices Date: Mon, 25 Jul 2022 15:48:56 +0200 Message-Id: <20220725134857.855-4-yegorslists@googlemail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20220725134857.855-1-yegorslists@googlemail.com> References: <20220725134857.855-1-yegorslists@googlemail.com> Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Yegor Yefremov Add GPIO names for both SoC and TCA6416 lines. Signed-off-by: Yegor Yefremov --- arch/arm/boot/dts/am335x-netcom-plus-8xx.dts | 156 +++++++++++++++++++ 1 file changed, 156 insertions(+) diff --git a/arch/arm/boot/dts/am335x-netcom-plus-8xx.dts b/arch/arm/boot/dts/am335x-netcom-plus-8xx.dts index 96dffd3ffd85..ad3adc7679f9 100644 --- a/arch/arm/boot/dts/am335x-netcom-plus-8xx.dts +++ b/arch/arm/boot/dts/am335x-netcom-plus-8xx.dts @@ -71,6 +71,10 @@ interrupts = <20 IRQ_TYPE_EDGE_RISING>; pinctrl-names = "default"; pinctrl-0 = <&tca6416_pins>; + gpio-line-names = "GP_IN0", "GP_IN1", "GP_IN2", "GP_IN3", + "GP_IN4", "GP_IN5", "GP_IN6", "GP_IN7", + "GP_OUT0", "GP_OUT1", "GP_OUT2", "GP_OUT3", + "GP_OUT4", "GP_OUT5", "GP_OUT6", "GP_OUT7"; }; }; @@ -86,6 +90,10 @@ reg = <0x20>; gpio-controller; #gpio-cells = <2>; + gpio-line-names = "CH1_M0", "CH1_M1", "CH1_M2", "CH1_M3", + "CH2_M0", "CH2_M1", "CH2_M2", "CH2_M3", + "CH3_M0", "CH3_M1", "CH3_M2", "CH3_M3", + "CH4_M0", "CH4_M1", "CH4_M2", "CH4_M3"; }; tca6416c: gpio@21 { @@ -93,6 +101,10 @@ reg = <0x21>; gpio-controller; #gpio-cells = <2>; + gpio-line-names = "CH5_M0", "CH5_M1", "CH5_M2", "CH5_M3", + "CH6_M0", "CH6_M1", "CH6_M2", "CH6_M3", + "CH7_M0", "CH7_M1", "CH7_M2", "CH7_M3", + "CH8_M0", "CH8_M1", "CH8_M2", "CH8_M3"; }; }; @@ -113,3 +125,147 @@ ti,dual-emac-pvid = <2>; phy-handle = <&phy1>; }; + +&gpio0 { + gpio-line-names = + "MDIO", + "MDC", + "NC", + "NC", + "I2C1_SDA", + "I2C1_SCL", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "I2C2_SDA", + "I2C2_SCL", + "NC", + "NC", + "onrisc:blue:wlan", + "onrisc:green:app", + "USB0_DRVVBUS", + "ETH2_INT", + "NC", + "NC", + "MMC1_DAT0", + "MMC1_DAT1", + "NC", + "NC", + "MMC1_DAT2", + "MMC1_DAT3", + "NC", + "NC", + "GPMC_WAIT0", + "GPMC_WP_N"; +}; + +&gpio1 { + gpio-line-names = + "GPMC_AD0", + "GPMC_AD1", + "GPMC_AD2", + "GPMC_AD3", + "GPMC_AD4", + "GPMC_AD5", + "GPMC_AD6", + "GPMC_AD7", + "NC", + "NC", + "CONSOLE_RX", + "CONSOLE_TX", + "SW2_0_alt", + "SW2_1_alt", + "SW2_2_alt", + "SW2_3_alt", + "RGMII2_TCTL", + "RGMII2_RCTL", + "RGMII2_TD3", + "RGMII2_TD2", + "RGMII2_TD1", + "RGMII2_TD0", + "RGMII2_TCLK", + "RGMII2_RCLK", + "RGMII2_RD3", + "RGMII2_RD2", + "RGMII2_RD1", + "RGMII2_RD0", + "PMIC_INT1", + "GPMC_CSN0_Flash", + "MMC1_CLK", + "MMC1_CMD"; +}; + +&gpio2 { + gpio-line-names = + "GPMC_CSN3_BUS", + "GPMC_CLK", + "GPMC_ADVN_ALE", + "GPMC_OEN_RE_N", + "GPMC_WE_N", + "GPMC_BEN0_CLE", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "SW2_0", + "SW2_1", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "MMC0_DAT3", + "MMC0_DAT2", + "MMC0_DAT1", + "MMC0_DAT0", + "MMC0_CLK", + "MMC0_CMD"; +}; + +&gpio3 { + gpio-line-names = + "onrisc:red:power", + "NC", + "NC", + "NC", + "3G_PWR_EN", + "NC", + "NC", + "WLAN_IRQ", + "WLAN_EN", + "SW2_2", + "SW2_3", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC"; +}; From patchwork Mon Jul 25 13:48:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 593958 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D179CCA48B for ; Mon, 25 Jul 2022 13:49:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233546AbiGYNtM (ORCPT ); Mon, 25 Jul 2022 09:49:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232047AbiGYNtL (ORCPT ); Mon, 25 Jul 2022 09:49:11 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B153910550 for ; Mon, 25 Jul 2022 06:49:10 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id z15so2196295edc.7 for ; Mon, 25 Jul 2022 06:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9vJpwipY3BsRrzaFEj+/uk1v1T6Ymir/45Mc/TW17jQ=; b=Zrk4DjmXQTknFjAxYcGDNsypVTNITiirI2wEfc5M9STGUvh7ZL2kIqptaSdhJutvOk xvm5jXZ2881Aw9Enbl/bo7yIHTfn1wAIV1mP8sQuzK2bUFWCi/0TbU1xfQA5v/sBkvYV Bu0Vvi8/slYCPqgOwD/3DsIKcNmL1dLYlmYWLED+b8tTeqPulZY2gayC208yF+kQlvXG XKXOQqPzt0866EjmEVvUj/lYhAudS2kOXpyxRJ5/TtX4aAG+mEBDU+SsK27dUo9T4x90 vdGCZiHP3eHYqgQaefeegJvnBpN6fqRV7qG1tOUxSBcCnde2j8yDQjoFLr9Fz0jk6NXu QJCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9vJpwipY3BsRrzaFEj+/uk1v1T6Ymir/45Mc/TW17jQ=; b=jYW9EFwyPXblIxDD1IuiL7b1+jrRg+rNyJjmYyqexiwcHlcp41JZ2o7Z7tr+EMuYfx xNSig2QSAEcvfSTLYKpwN21fffLUXi/t/AS2iCaIHTadp+DSNYBV/DsfHSax1LeNUKBQ VDQg2XBIBIwAHd0Q8dEw8wkioG85n8GbyDCmkVL8/nDAQuIFw+nh8U8tU5082Jepuca+ cQwZ58HDKKmKZ2kPjee+2BcUepSIp2HtwXaVjvDAuomOXrLcEz2vIHEZPvklWRzdBs0o zcHM/4j82EosHb+39KDUrLf2rh43tDrdhO2974bvAl9J0QZkgMgFK4oKfhEPo/DHycRM 9TLQ== X-Gm-Message-State: AJIora9c/KgymLJgjmAGR7MWfDtjxqUPq+x2joG/MriNzr3Jxmv773U4 /T9xc6qjHc/LLHo6lwmnUgPzPvfRln4= X-Google-Smtp-Source: AGRyM1t3StXF3xcSUgoO0RkL58RxmD+ztNVFepPoIaFJmd73kq1qxJ+nZiqWy2nK2epJM2juAbPPFA== X-Received: by 2002:a05:6402:189:b0:437:8a8a:d08a with SMTP id r9-20020a056402018900b004378a8ad08amr13100562edv.241.1658756949018; Mon, 25 Jul 2022 06:49:09 -0700 (PDT) Received: from development1.visionsystems.de (mail.visionsystems.de. [213.209.99.202]) by smtp.gmail.com with ESMTPSA id k20-20020a17090632d400b006fee7b5dff2sm5404670ejk.143.2022.07.25.06.49.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2022 06:49:08 -0700 (PDT) From: yegorslists@googlemail.com To: linux-omap@vger.kernel.org Cc: tony@atomide.com, robh+dt@kernel.org, Yegor Yefremov Subject: [PATCH 5/5] ARM: dts: am335x-netcom: add GPIO names for NetCom Plus 2-port devices Date: Mon, 25 Jul 2022 15:48:57 +0200 Message-Id: <20220725134857.855-5-yegorslists@googlemail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20220725134857.855-1-yegorslists@googlemail.com> References: <20220725134857.855-1-yegorslists@googlemail.com> Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Yegor Yefremov Add GPIO names for SoC lines. Signed-off-by: Yegor Yefremov --- arch/arm/boot/dts/am335x-netcom-plus-2xx.dts | 144 +++++++++++++++++++ 1 file changed, 144 insertions(+) diff --git a/arch/arm/boot/dts/am335x-netcom-plus-2xx.dts b/arch/arm/boot/dts/am335x-netcom-plus-2xx.dts index c6cc1c6218a9..6ed886c3306b 100644 --- a/arch/arm/boot/dts/am335x-netcom-plus-2xx.dts +++ b/arch/arm/boot/dts/am335x-netcom-plus-2xx.dts @@ -93,3 +93,147 @@ ti,dual-emac-pvid = <2>; phy-handle = <&phy1>; }; + +&gpio0 { + gpio-line-names = + "MDIO", + "MDC", + "UART2_RX", + "UART2_TX", + "I2C1_SDA", + "I2C1_SCL", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "UART1_CTSN", + "UART1_RTSN", + "UART1_RX", + "UART1_TX", + "onrisc:blue:wlan", + "onrisc:green:app", + "USB0_DRVVBUS", + "ETH2_INT", + "NC", + "NC", + "MMC1_DAT0", + "MMC1_DAT1", + "NC", + "NC", + "MMC1_DAT2", + "MMC1_DAT3", + "NC", + "NC", + "GPMC_WAIT0", + "GPMC_WP_N"; +}; + +&gpio1 { + gpio-line-names = + "GPMC_AD0", + "GPMC_AD1", + "GPMC_AD2", + "GPMC_AD3", + "GPMC_AD4", + "GPMC_AD5", + "GPMC_AD6", + "GPMC_AD7", + "NC", + "NC", + "CONSOLE_RX", + "CONSOLE_TX", + "UART2_DTR", + "UART2_DSR", + "UART2_DCD", + "UART2_RI", + "RGMII2_TCTL", + "RGMII2_RCTL", + "RGMII2_TD3", + "RGMII2_TD2", + "RGMII2_TD1", + "RGMII2_TD0", + "RGMII2_TCLK", + "RGMII2_RCLK", + "RGMII2_RD3", + "RGMII2_RD2", + "RGMII2_RD1", + "RGMII2_RD0", + "PMIC_INT1", + "GPMC_CSN0_Flash", + "MMC1_CLK", + "MMC1_CMD"; +}; + +&gpio2 { + gpio-line-names = + "GPMC_CSN3_BUS", + "GPMC_CLK", + "GPMC_ADVN_ALE", + "GPMC_OEN_RE_N", + "GPMC_WE_N", + "GPMC_BEN0_CLE", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "SW2_0", + "SW2_1", + "NC", + "NC", + "UART1_DTR", + "UART1_DSR", + "UART1_DCD", + "UART1_RI", + "MMC0_DAT3", + "MMC0_DAT2", + "MMC0_DAT1", + "MMC0_DAT0", + "MMC0_CLK", + "MMC0_CMD"; +}; + +&gpio3 { + gpio-line-names = + "onrisc:red:power", + "NC", + "NC", + "NC", + "NC", + "UART2_CTSN", + "UART2_RTSN", + "WLAN_IRQ", + "WLAN_EN", + "SW2_2", + "SW2_3", + "NC", + "NC", + "NC", + "ModeA0", + "ModeA1", + "ModeA2", + "ModeA3", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC", + "NC"; +};