Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2704383pxb; Sun, 15 Nov 2020 14:57:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGoytpW+oh0tSGn51nUjly0OaekSBNQhp6myPVTjojpj4AOGCLqudjeV1nDVoATmQuP3mk X-Received: by 2002:a17:906:1f86:: with SMTP id t6mr11764275ejr.325.1605481039693; Sun, 15 Nov 2020 14:57:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605481039; cv=none; d=google.com; s=arc-20160816; b=Lf8apgdM6EFKTFg6V98ZTTFyM0uUJqgnIx1ic6iQe8BHJnciL/l55N5QUZKo6kWlX/ +8LV4FSioRrERG136fN8Dla9v9+FsktAve5cFB56EpaK6AtoZj0pov0cZktqXuvwz3+z P0NEydnMDZHJvRfOw0L2VvHMTDcNwPUBkkhSpQTBZeYAgJssI7DJuv5imWQtfWQorksq 9RI1PHBno3NdIPF6ceEQE+sqXVCU4BAHEMn5ldqUQ8irdB5Uz8vGVoDwWLrD+jFGx9HA +PY+ujVI57awbSuAPizYJ+x7pA8ViA5CCvlQaj8QQtO7Cs/KNeUYSZk4I647D3D/IThQ E9hw== 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:dkim-signature; bh=UXrol0Nf+O38g5VUogjJgV1Nuqd8cWJwbt/lFiKvDZI=; b=uT1mqqEZKAWFySztRBftF1CQdHLZh/tfyLslRzyD5kWD6By3XkXshQNOjk1sv2kvDu tb5ner4gNPYTg1sMZZHXCQRBHvDT21C58lGLmfkNNfkgNxuIdziw+UJ/bjqkqF4g1sPX R1KArwJ4VJq6ND3R20rHsAWH1WoH3kCzsrcwi/rj8EMMN8WY94KnWq6Lxb00c4TF+sgF LjXDWE2USgx/VQWja0MbYOezv7EPJ7jmjPRjrJ1TEkh5A9p30aKfQztVoQYTqfd0c5s/ FqjdrR2uPqmro7B8i/pOFXbVaMO6QC2ZHxfgTm16cAMWmaj6S0/S2Ouq7/Pd1bgzDgFC KEBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fossekall.de header.s=strato-dkim-0002 header.b=OMJng3di; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q20si11060613edv.517.2020.11.15.14.56.57; Sun, 15 Nov 2020 14:57:19 -0800 (PST) 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=pass header.i=@fossekall.de header.s=strato-dkim-0002 header.b=OMJng3di; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728012AbgKOWcT (ORCPT + 99 others); Sun, 15 Nov 2020 17:32:19 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.221]:15548 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728003AbgKOWcT (ORCPT ); Sun, 15 Nov 2020 17:32:19 -0500 X-Greylist: delayed 354 seconds by postgrey-1.27 at vger.kernel.org; Sun, 15 Nov 2020 17:32:18 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1605479533; s=strato-dkim-0002; d=fossekall.de; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=UXrol0Nf+O38g5VUogjJgV1Nuqd8cWJwbt/lFiKvDZI=; b=OMJng3ditxjlxeFahYTNxlug/kVZxDNdNv7Tv3AG9aRaTSP9Bnsp2ZqNWEIvSobeGm 5sVmHDlG0150VcVRfTdbIcslMtVk6qR6z5t+m61GWSSSsCL4pJP+AFZ8zaMSwNKQ8Ddh m5TSmmyQyJl3zPFlW6DNT7XtF2uWGNZwLddQOrIDaOWcgaFdrUxGSPTTw/FnAByzcBew qRxTCxsRZ7OR2Zn58RvbZleClt2p53aSI0AEZ26jDjVzv9yw6jXw89jK2D+TGsnvsGsY 2UhocJMW4xbQ0JIZogviJOHBh8L6pCG4TsfwxB8WVUZZ9wJwaecr+Q1yT7oeE2FuXchN Xiyw== X-RZG-AUTH: ":O2kGeEG7b/pS1EzgE2y7nF0STYsSLflpbjNKxx7cGrBOdI6BL9pkS3QW19mO7I+/JwRspuzJFZuRzQ==" X-RZG-CLASS-ID: mo00 Received: from aerfugl by smtp.strato.de (RZmta 47.3.4 AUTH) with ESMTPSA id g02087wAFMQANyt (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sun, 15 Nov 2020 23:26:10 +0100 (CET) Received: from koltrast.a98shuttle.de ([192.168.1.27] helo=a98shuttle.de) by aerfugl with smtp (Exim 4.89) (envelope-from ) id 1keQTH-0003GW-9a; Sun, 15 Nov 2020 23:26:07 +0100 Received: (nullmailer pid 2885986 invoked by uid 502); Sun, 15 Nov 2020 22:26:07 -0000 From: Michael Klein To: Rob Herring , Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Michael Klein Subject: [PATCH] ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add gpio-line-names Date: Sun, 15 Nov 2020 23:24:25 +0100 Message-Id: <20201115222425.2885427-1-michael@fossekall.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add gpio-line-names as documented in the Banana Pi wiki [1] and in the schematics [2]. [1]: http://wiki.banana-pi.org/Banana_Pi_BPI-M2_ZERO#GPIO_PIN_define [2]: https://drive.google.com/file/d/0B4PAo2nW2KfnMW5sVkxWSW9qa28/view Signed-off-by: Michael Klein --- .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts index 4c6704e4c57e..b4ddfaf01b45 100644 --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts @@ -136,6 +136,70 @@ bluetooth { }; +&pio { + gpio-line-names = + /* PA */ + "UART2-TX", "UART2-RX", "UART2-RTS", "UART2-CTS", + "UART0-TXD", "UART0-RXD", "PWM1", "PA7-EINT7", + "PA8-EINT8", "PA9-EINT9", "PA10-EINT10", "TWI0-SCK", + "TWI0-SDA", "UART3-TX", "UART3-RX", "UART3-RTS", + "UART3-CTS", "PA17-EINT17", "TWI1-SCK", "TWI1-SDA", + "PA20-EINT20", "PA21-EINT21", "", "", + "", "", "", "", "", "", "", "", + + /* PB */ + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + + /* PC */ + "SPI0-MOSI", "SPI0-MISO", "SPI0-CLK", "SPI0-CS", "PC4", "", "", + "PC7", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + + /* PD */ + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "CSI-PWR-EN", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + + /* PE */ + "CSI0-PCLK", "CSI0-MCLK", "CSI0-HSYNC", "CSI0-VSYNC", + "CSI0-D0", "CSI0-D1", "CSI0-D2", "CSI0-D3", + "CSI0-D4", "CSI0-D5", "CSI0-D6", "CSI0-D7", + "CSI0-SCK", "CSI0-SDA", "CSI0-RST#", "CSI0-PWDN", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + + /* PF */ + "SDC0-D1", "SDC0-D0", "SDC0-CLK", "SDC0-CMD", "SDC0-D3", + "SDC0-D2", "SDC0-DET", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + + /* PG */ + "WL-SDIO-CLK", "WL-SDIO-CMD", "WL-SDIO-D0", "WL-SDIO-D1", + "WL-SDIO-D2", "WL-SDIO-D3", "UART1-TX", "UART1-RX", + "UART1-RTS", "UART1-CTS", "WL-WAKE-AP", "BT-WAKE-AP", + "BT-RST-N", "AP-WAKE-BT", "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", ""; +}; + +&r_pio { + gpio-line-names = + /* PL */ + "", "CPUX-SET", "PL2-S-EINT2", "POWER-KEY", "PL4-S-EINT4", + "VCC-IO-EN", "USB0-ID", "WIFI-EN", + "PWR-STB", "PWR-DRAM", "PWR-LED", "IR-RX", "", "", "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", ""; +}; + &usb_otg { dr_mode = "otg"; status = "okay"; -- 2.28.0