Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1140120pxu; Wed, 2 Dec 2020 12:04:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHVDzZwAeDk4C4DWM0ndJN3O6K4QZ4m/NXMlDIcLimhoYRBN+cs6DMJv94uxfrsuSAHt/O X-Received: by 2002:a17:906:8693:: with SMTP id g19mr1494509ejx.111.1606939475631; Wed, 02 Dec 2020 12:04:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606939475; cv=none; d=google.com; s=arc-20160816; b=uzfzv72Sx5y+GPiRbZ6V2gdufTMPFZ8v9lI5Pz9RPUCGRPAsKgZRcVmDU2P5OBuSCo Vp1YG+Gw7qMFzctG+mvzZxh0BAA9dir5R92w/5/sln4X6DOF/c/hfH+1fUjvHam+cs0l F5jxtWEPFbBMKFYvej1qkuQSt8WXOi5sCdWf4wXu6c+9lyczFZW6Oo/2eB6vDFGCsuhE 4Ed3hNAckjCJQcsR7Dd1EqHwbZ7WCEca8K/ffdgIeY6faYJNUd0CBbtgc+xa3dj8ipxg zu3ujMVNG5XFjEUfGj3bETe9sgjl4Qan/rIpPPd1+KuhHq6YkLJ8cynF4Zt9wY+3sgmv r/MQ== 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=MiOFrh5z1GYfS5zmDo4vnLbWqldZvc9i8hAPAYbemNM=; b=co76OgvCFub6RoeLaqCvhGNKhgmb2cEGs6pAehROSCqHnmv+Nfm5NXJtdxhTzy/TwM XjZrV1ZJi9rosncO3ZrGU6vq5FDGYqcsgDILRjVvdpNbOVqlNzTJh0kDG2D2ypQIHL3E tUY3Oqbs7Iibw8UkRMtpW2LIzVmsjxKDjY+r/NC3S1NOmMdJ6teLyVJzvupEsrZK63B+ 7fKKjddjMV2LVJ8ZXELonJ7qgpaP4F7K6Dg5YuVj9AQBwghatCZwUjPBXFUfA4P7WSAp YuuJwkATuH5mqHxiTPtodcyl0fxJsuyaZEOE7D0Mw1xMxqqei6pu1kuyE6mlQQoWPZ6a hCsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fossekall.de header.s=strato-dkim-0002 header.b=SfAQsNsK; 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 a3si694665ejd.440.2020.12.02.12.04.12; Wed, 02 Dec 2020 12:04:35 -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=SfAQsNsK; 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 S2389874AbgLBUBi (ORCPT + 99 others); Wed, 2 Dec 2020 15:01:38 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.54]:19098 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389621AbgLBUBh (ORCPT ); Wed, 2 Dec 2020 15:01:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1606939124; 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=MiOFrh5z1GYfS5zmDo4vnLbWqldZvc9i8hAPAYbemNM=; b=SfAQsNsKFcIWY1gTPLupt2pMWQlKHVtHdgBk2k1wDyzqrImdlmkF8fcLsbOSebefle s+Mho5v8aQqtymo3TYsytexf8yQ0P8WopNdyEE9yUISwhjIEqQrbfjLLQ2/NcxNJt3u8 23DH/xwJVil2UI+ZDdlGNtGCQDJYaEXMJ0vvSfhP7zRENxN3A8TLerI4CBbLwbK1FWLv gErmGOlxNkN+0qvj50pFcCG+DBHvHh7vF1lnXKk/xYu0rZ6DUW6wEP209jaOWOU6X/J7 IXhXEBDm1zI0DHO6ogY4HX8dGrgvuup8d0wJIMPCEin5ts0nP1OoegjjeVI7cM+yMWUo ISRQ== 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 g02087wB2Jwh2CU (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); Wed, 2 Dec 2020 20:58:43 +0100 (CET) Received: from koltrast.a98shuttle.de ([192.168.1.27] helo=a98shuttle.de) by aerfugl with smtp (Exim 4.89) (envelope-from ) id 1kkYGt-0007iD-QL; Wed, 02 Dec 2020 20:58:39 +0100 Received: (nullmailer pid 2105638 invoked by uid 502); Wed, 02 Dec 2020 19:58:39 -0000 From: Michael Klein To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Cc: Michael Klein , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: sun6i-a31s-sinovoip-bpi-m2: add gpio-line-names Date: Wed, 2 Dec 2020 20:51:47 +0100 Message-Id: <20201202195144.2105036-1-michael@fossekall.de> X-Mailer: git-send-email 2.29.2 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 on gitbooks [1] and in the schematics [2]. [1]: https://bananapi.gitbook.io/bpi-m2/en/bpi-m2_gpio_pin_define [2]: https://drive.google.com/file/d/0B4PAo2nW2KfnRERWNnJGSGxJbmM/view Signed-off-by: Michael Klein --- .../boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts b/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts index 708caee52425..367006fb280d 100644 --- a/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts +++ b/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts @@ -261,3 +261,74 @@ &uart0 { &usbphy { status = "okay"; }; + +&pio { + gpio-line-names = + /* PA */ + "ETXD0", "ETXD1", "ETXD2", "ETXD3", "SDC0-DET", "", "", + "", "ETXCLK", "ETXEN", "EGTXCLK", "ERXD0", "ERXD1", + "ERXD2", "ERXD3", "", "", "", "", "ERXDV", "ERXCK", + "ETXERR", "ERXERR", "ECOL", "ECRS", "ECLKIN", "EMDC", + "EMDIO", "", "", "", "", + + /* PB */ + "CN7-P29", "CN7-P31", "CN7-P33", "CN7-P35", "CN7-P37", + "CN7-P28", "CN7-P27", "CN7-P32", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", "", "", "", "", "", "", + "", "", "", "", + + /* PC */ + "", "", "", "", "", "", "WL-SDIO-CMD", "WL-SDIO-CLK", + "WL-SDIO-D0", "WL-SDIO-D2", "WL-SDIO-D2", "WL-SDIO-D3", + "", "", "", "", "", "", "", "", "", "", "", "", "", "", + "", "USB-DRV", "", "", "", "", + + /* PD */ + "CN9-P09", "CN9-P11", "CN9-P13", "CN9-P15", "CN9-P17", + "CN9-P19", "CN9-P21", "CN9-P23", "CN9-P25", "CN9-P27", + "CN9-P29", "CN9-P31", "CN9-P33", "CN9-P35", "CN9-P37", + "CN9-P39", "CN9-P40", "CN9-P38", "CN9-P36", "CN9-P34", + "CN9-P32", "CN9-P30", "CN9-P28", "CN9-P26", "CN9-P22", + "CN9-P14", "CN9-P18", "CN9-P16", "", "", "", "", + + /* PE */ + "CN6-P20", "CN6-P24", "CN6-P30", "CN6-P28", "CN7-P08", + "CN7-P10", "CN7-P36", "CN7-P38", "CN6-P17", "CN6-P19", + "CN6-P21", "CN6-P23", "CN6-P25", "CN6-P27", "CN6-P29", + "CN6-P31", "", "", "", "", "", "", "", "", "", "", "", + "", "", "", "", "", + + /* PF */ + "SDC0-D1", "SDC0-D0", "SDC0-CLK", "SDC0-CMD", "SDC0-D3", + "SDC0-D2", "", "", "", "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", "", "", "", "", "", "", + "", + + /* PG */ + "CN9-P06", "CN9-P08", "CN9-P20", "CN9-P12", "CN9-P07", + "LED-PWR", "CN7-P13", "CN7-P11", "CN7-P22", "CN7-P15", + "LED-G", "LED-B", "CN7-P26", "CN7-P24", "CN7-P23", + "CN7-P19", "CN7-P21", "HCEC", "CN6-P22", "", "", "", "", + "", "", "", "", "", "", "", "", "", + + /* PH */ + "", "", "", "", "", "", "", "", "", "CN7-P07", + "CN7-P12", "CN7-P16", "CN7-P18", "CN9-P10", "CN6-P16", + "CN6-P14", "CN9-P04", "CN9-P02", "CN7-P05", "CN7-P03", + "CN8-P03", "CN8-P02", "", "", "CN6-P34", "CN6-P32", + "CN6-P26", "CN6-P18", "", "", "", ""; +}; + +&r_pio { + gpio-line-names = + /* PL */ + "PMU-SCK", "PMU-SDA", "VBAT-EN", "", "IR-RX", + "WL-WAKE-HOST", "BT-WAKE_HOST", "BT-ENABLE", + "WL-PMU-EN", "", "", "", "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", "", "", "", "", + + /* PM */ + "CN6-P12", "CN6-P35", "CN7-P40", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", ""; +}; -- 2.29.2