From patchwork Fri Jan 18 23:43:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10771835 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE4091390 for ; Fri, 18 Jan 2019 23:44:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8F1F2FBBB for ; Fri, 18 Jan 2019 23:44:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA2122FC9F; Fri, 18 Jan 2019 23:44:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UPPERCASE_50_75 autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5061F2FBBB for ; Fri, 18 Jan 2019 23:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IT+lXFw2sJDW+cXr+XkEKn/dk57WzPcbuOAIe05Kj8Y=; b=fASmQ5VBLwy8CO h/GufMrBYuKXy4X8Vd3fEFER+ym5hiewV+jECYxZIdeHfc1ZbV8c7tQLroUvF6N/nHOsIoIMvxeyM pENGg3YZUq9pA2XqD95y5P65IlL2sTPsl8X+/JrDuKW/lsCJzvrOJJPakQQmWX/Lk/iRrPQxTgTFO bIZyMsVOCAfyO4K1WadUJuZudTec9rh2kjAf78wgXFCs6cs9Ow/jcM1+PgmVqtGV8gyigJUlbdkNP LJefgHoB/IY1JPAa5i3bwdNgHclwIIsCZTPdUhnGVtRH9takLzgwM+D5WkjWpKo7FCfWoEMackSwf 7fwbzacX83q9QXumhjkA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkdoW-0005gt-C5; Fri, 18 Jan 2019 23:44:40 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkdnj-0004tA-Sx; Fri, 18 Jan 2019 23:43:53 +0000 Received: by mail-wr1-x441.google.com with SMTP id t6so17000368wrr.12; Fri, 18 Jan 2019 15:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JrTHYLjAfqH/LuOKfXauzd+5MsTXoqD9khhUxUFncuc=; b=BPYg7qpaZFjAc7NNQRxZmfxiV+7x0dKNUqPiB26iok4tLYZJhmO1Yk2HRcBEN60mob Ox4YXc3CgEXxW+2PbZFOoOhhiU+5OOIKQDb9M/o7XkpsZBrKQaomMsriqrKU6RMdC2jl FqusnfMbQ+czsDrxJZPMrjndv7cnmAF0fDJSt2stmZiZwMBfKAnTH5pAkhhzVwMMNrkM 9Bx1huBitgYtq1TQhO07fJYU84xRDaLjdCfj5JdRVz56gSUrAKxXkc2tSFw0V7kh0zUR ez/6B5xOCVMQUsijwZvmsPOhr1ZVviKwIBp+PFO/TLlzAXxXSJfj84cvQx4byEBCpFJ3 lO7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JrTHYLjAfqH/LuOKfXauzd+5MsTXoqD9khhUxUFncuc=; b=kzQZgkqExZTr09GcANDACitc1ALnnyZYyTt1BRHnuq5+oX4svZKOVew+i7DrU85zrV H4OaGQ1XI6Dt92fOsayl+Zdg6h0Wb7uEgSc4WYno3R1UOrp6akbZ8P7BH9v6TW8nDMOn +VmjIa6LOFpcIzBMAaSjJ0n/LcI8Lxr2vR7u7t0+nfsame/0zzf6rQ4ktElJp4CJ90iO w3iIpVQCogAXmsbk34Z4Kq/BkNhrCa13Uq5JUsySsKS296X0RPMDNXp0hTdwDYs1h5d2 Hj84Hzmc4JexV/Rt9fxdakBDOC4ugoZatJ4SZcpF3PPZhrFNUDm4n9Z4pm5fwz8BobLC IbzA== X-Gm-Message-State: AJcUukdGnTi3aL1QctGr9VVnFJr8G+ObVF1OZkBWRsLOz2GPlIqpjQyC svYoGTMgKdxqpnN0X+s+SPmPaaG/ X-Google-Smtp-Source: ALg8bN4RVl5PElSfM/oj+M/ToPesknq8DM7ILVmATxDEfk0+W0FQ7TMHx58BvnX1ctSqh2vdTao+8Q== X-Received: by 2002:adf:9246:: with SMTP id 64mr19635198wrj.130.1547855030195; Fri, 18 Jan 2019 15:43:50 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73A810039E290CB771389D7.dip0.t-ipconnect.de. [2003:dc:d73a:8100:39e2:90cb:7713:89d7]) by smtp.googlemail.com with ESMTPSA id j8sm108970024wmd.0.2019.01.18.15.43.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 15:43:49 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 3/3] ARM: dts: meson8b: ec100: add the GPIO line names Date: Sat, 19 Jan 2019 00:43:39 +0100 Message-Id: <20190118234339.16050-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118234339.16050-1-martin.blumenstingl@googlemail.com> References: <20190118234339.16050-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190118_154351_928378_B753A1B7 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the GPIO line names from the schematics to get them displayed in the debugfs output of each GPIO controller. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b-ec100.dts | 50 +++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts index 5ecd787e9265..b35b1c6b8fdc 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -288,6 +288,56 @@ }; }; +&gpio_ao { + gpio-line-names = "Linux_TX", "Linux_RX", + "SLP_S5_N", "USB2_OC_FLAG#", + "HUB_RST", "USB_PWR_EN", + "I2S_IN", "SLP_S1_N", + "TCK", "TMS", "TDI", "TDO", + "HDMI_CEC", "5640_IRQ", + "MUTE", "S805_TEST#"; +}; + +&gpio { + gpio-line-names = /* Bank GPIOX */ + "WIFI_SD_D0", "WIFI_SD_D1", "WIFI_SD_D2", + "WIFI_SD_D3", "BTPCM_DOUT", "BTPCM_DIN", + "BTPCM_SYNC", "BTPCM_CLK", "WIFI_SD_CLK", + "WIFI_SD_CMD", "WIFI_32K", "WIFI_PWREN", + "UART_B_TX", "UART_B_RX", "UART_B_CTS_N", + "UART_B_RTS_N", "BT_EN", "WIFI_WAKE_HOST", + /* Bank GPIOY */ + "", "", "", "", "", "", "", "", "", "", + "", "", + /* Bank GPIODV */ + "VCCK_PWM_C", "I2C_SDA_A", "I2C_SCL_A", + "I2C_SDA_B", "I2C_SCL_B", "VDDEE_PWM_D", + "VDDEE_PWM 3V3_5V_EN", + /* Bank GPIOH */ + "HDMI_HPD", "HDMI_I2C_SDA", "HDMI_I2C_SCL", + "RMII_IRQ", "RMII_RST#", "RMII_TXD1", + "RMII_TXD0", "AV_select_1", "AV_select_2", + "MCU_Control_S", + /* Bank CARD */ + "SD_D1_B", "SD_D0_B", "SD_CLK_8726MX", + "SD_CMD_8726MX", "SD_D3_B", "SD_D2_B", + "CARD_EN_DET (CARD_DET)", + /* Bank BOOT */ + "NAND_D0 (EMMC)", "NAND_D1 (EMMC)", + "NAND_D2 (EMMC)", "NAND_D3 (EMMC)", + "NAND_D4 (EMMC)", "NAND_D5 (EMMC)", + "NAND_D6 (EMMC)", "NAND_D7 (EMMC)", + "NAND_CS1 (EMMC)", "NAND_CS2 iNAND_RS1 (EMMC)", + "NAND_nR/B iNAND_CMD (EMMC)", "NAND_ALE (EMMC)", + "NAND_CLE (EMMC)", "nRE_S1 NAND_nRE (EMMC)", + "nWE_S1 NAND_nWE (EMMC)", "", "", "SPI_CS", + /* Bank DIF */ + "RMII_RXD1", "RMII_RXD0", "RMII_CRS_DV", + "RMII_50M_IN", "GPIODIF_4", "GPIODIF_5", + "RMII_TXEN", "CPUETH_25MOUT", "RMII_MDC", + "RMII_MDIO"; +}; + &pwm_cd { status = "okay"; pinctrl-0 = <&pwm_c1_pins>;