From patchwork Wed Feb 28 18:14:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 130037 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp1846226edc; Wed, 28 Feb 2018 10:16:08 -0800 (PST) X-Google-Smtp-Source: AH8x224zoOGKsekR3gPHVJfaOAyvQwIaM00dF6yBNKqCss9yCSWie7P7SyQnruC9QhyPfhSw774J X-Received: by 2002:a17:902:b942:: with SMTP id h2-v6mr18882900pls.45.1519841768400; Wed, 28 Feb 2018 10:16:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519841768; cv=none; d=google.com; s=arc-20160816; b=juurEIND8JFBvjmz76suw28R3eomqJCpqFhqux0bNhMjsZLp5cBHChRpH6QnN2G8Q8 oYoiabizTBRlIp76VWGvU4GuHaDaTGuu5OyGVtYXZmYrQUkvJV2juStYPVu6hINPwujy y7YP6cw5kDjVOZrF6eD9bRJWUWidQpp4aQFEhBscNWWeclMiI5wRZ0EB0T2B+dm99KlN KJFlmxKQ2guW28gElcsZcPAha9WSEE7BWPL4fqVt+e8sngqz4Q38W/19j3r294aY4mi2 b0BasrQ4smZPa/Aith1Zd82xSxx9keL+v/b2dFX8hkgVpUy7i+PFlgz0YNsibkI4j+Pf gmRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=6CqUckjYS7O8EF7xwExzhoSvaRw/iLA8xf8apd41Hyg=; b=LGDXPJ51hbUi854Ty3pSWelK5VbAlDbEiMa9P3y95DJujh+N7dujapGzwCiyqBm3q3 IagzcTuN070gZM60aAm7kh8Tv7voEuxWw8mh005TYH84y22Y5sbUCM+JKiFcEZVQja0b Oz/pjOvnuApgZp2gle3GtXGGvnAE4xiQ3BSUs7v/dhZIdCZNW87bNk8L8bnsYJnsf+23 4j9JvGRc/FmlfJfFCqrgpm3XzJgdKxo5C8K/PkYj+D/bauYy3W0ZThy5UFjkkYH98pp5 lHeOQkzmI+K3E/epNgO1QCZDzxwW1zElGmY17yB9QxfXi7FJOoyx+2D2eS3qMfDiSCfS Tc7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=c6YshcXm; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id az8-v6si1596585plb.723.2018.02.28.10.16.08; Wed, 28 Feb 2018 10:16:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=c6YshcXm; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932542AbeB1SQG (ORCPT + 5 others); Wed, 28 Feb 2018 13:16:06 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:45771 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932467AbeB1SQD (ORCPT ); Wed, 28 Feb 2018 13:16:03 -0500 Received: by mail-pg0-f65.google.com with SMTP id i133so1238306pgc.12 for ; Wed, 28 Feb 2018 10:16:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OcyYPtrWHA8VQyhnM9ez88EcS2soOXuB7xEhbdWAWl0=; b=c6YshcXmhZb4Rzt9vL9eDhMtp0tIZuyY1LP4O6/sFLZnaa7wk8XtEHGDYaIgWwzqgj osRt5PEXGrHiMkjY3HLkcSPRQuh9iJJpyEMXBBS+L+rB8Y+HsNkXaz3oO3ZQQRkmuGbQ fCdjj3P38yOwDAscUB7pRRTacH6n1zesFeuB4= 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; bh=OcyYPtrWHA8VQyhnM9ez88EcS2soOXuB7xEhbdWAWl0=; b=sQ5l32cfXp73M0mWqPn/FOVzFT0gnvmRbuLh+pbouiBx3POgM+OU7pOPZ4Tq/k2zu5 6W8USlze7mHQvBRsEXHGhdzjI3DiPOfIxJWomfCjRjfWciVoiNl3V4hgTFcKwYuGM5nJ kWUAkvBUdeN4ME1NWs7dgXT34SgqW8OAKCxLn9bCsOSaWMsl+YZpXbQfnu+ELIUrd3QZ W8+mNqcq5eUwcDdV+lcRQbEyZclEeDHv4juiGDpIjahmjOt1KQhK+60DqXqXQ68lkRaF JV8xHucMxKHnckddHuDYkPymg2+Xn4VfaPvlWB5KDx9Wq174L0QjRnf0Ft1qmOmQjsfT NRZQ== X-Gm-Message-State: APf1xPA9DW16AkWG6rg7WTPIUa3g6iqU74hgjMcoPTA2ZRtFFlNlYtZD rzpiAFuntDz5VKMURP4PNlAZ X-Received: by 10.98.75.129 with SMTP id d1mr16969993pfj.19.1519841762066; Wed, 28 Feb 2018 10:16:02 -0800 (PST) Received: from localhost.localdomain ([2405:204:7380:867e:a4dd:d27b:1244:f453]) by smtp.gmail.com with ESMTPSA id u27sm4980258pfk.172.2018.02.28.10.15.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 10:16:01 -0800 (PST) From: Manivannan Sadhasivam To: linus.walleij@linaro.org, robh+dt@kernel.org, afaerber@suse.de Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH v3 06/10] arm64: dts: actions: Add S900 gpio nodes Date: Wed, 28 Feb 2018 23:44:28 +0530 Message-Id: <20180228181432.26847-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180228181432.26847-1-manivannan.sadhasivam@linaro.org> References: <20180228181432.26847-1-manivannan.sadhasivam@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add gpio nodes for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 6 +++ arch/arm64/boot/dts/actions/s900.dtsi | 48 +++++++++++++++++++++++ 2 files changed, 54 insertions(+) -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts index ff043c961d75..60ddaf98401b 100644 --- a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts +++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts @@ -14,6 +14,12 @@ aliases { serial5 = &uart5; + gpio0 = &gpioa; + gpio1 = &gpiob; + gpio2 = &gpioc; + gpio3 = &gpiod; + gpio4 = &gpioe; + gpio5 = &gpiof; }; chosen { diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 0156483f0f4d..9c7843045850 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -180,6 +180,54 @@ clocks = <&cmu CLK_GPIO>; }; + gpioa: gpioa@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 32>; + }; + + gpiob: gpiob@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 32 32>; + }; + + gpioc: gpioc@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 64 12>; + }; + + gpiod: gpiod@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 76 30>; + }; + + gpioe: gpioe@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 106 32>; + }; + + gpiof: gpiof@e01b0000 { + compatible = "actions,s900-gpio"; + reg = <0x0 0xe01b0000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 138 8>; + }; + timer: timer@e0228000 { compatible = "actions,s900-timer"; reg = <0x0 0xe0228000 0x0 0x8000>; From patchwork Wed Feb 28 18:14:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 130038 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp1846335edc; Wed, 28 Feb 2018 10:16:14 -0800 (PST) X-Google-Smtp-Source: AH8x226IpQYaAAX2FdcbPab4j/2qFPEUAPd7KoJFqH0yxAcydPIRH4rxOx36IJgB0ahJ7AYlI3Wn X-Received: by 2002:a17:902:5819:: with SMTP id m25-v6mr18722558pli.248.1519841774867; Wed, 28 Feb 2018 10:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519841774; cv=none; d=google.com; s=arc-20160816; b=jqCQwwEMxmEt82398KOz88hZzb3+bbONUIZGnQ3uPwwBeJZCn5FrHTPyHgejwipqUr h2BMgItazp8jTXeWBNatlnc8OdbqoDBTtkTgSR+SE9ej5EnCBqqLFJiA7Cr6ePPCPwSa rz5e9tSO2o6RzAhN4pBd75EoeXiEyLWKG9E8ws86QHHYjoKI2Mnn1GoJ4QBSoeiXmx/n xL9ntrwfZO4+OPaMxTI0Jw/4tv9EKtud+NIVA6nO6etnaS6ldOJ6pf/3rV5zSWzT0ZOQ jGqFChNY375I02xeaPwzeS7SEsmvDdooia/HyQQPD57jX5+dH9AU39NVANVgNBkc7+nA z2Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Z8PGiSalbTrWWqy8ruAzuSkUWIH84Q+5PilekOE0rpo=; b=XpjBJnmf2YXkoorIAcMCd7dVLzzjMB/ZSZYNiG23Q8xfVuNrHrQBN5kUcLvEWfHwvf FeCmYqB4CQDEUK/HeEqau/yF5P8+qtRpmoF6kfdnu+YCuP528Ba8vkEK5qrwCh3nV/Bo hYDnQHh1LSTezR4KEkAv2gX73XVEzWTeH+DVoUl9IHlITo/qf8gb4tEkKaPQTq2K0jHh th2sYJNKk3wEnsjAloyNbx0G656YYlJ8u0FPUOVhDDyBbffSbXYnDBmw1FDUoI4N9S1W VZgNg2TAGtLXB7XEWJBO8lR6eqNvMQAlc4pbGVfPW5BAzd0TMm7VEbdtrBHjV8d+wnpb Of4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SxeP5lkN; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2-v6si1691638pln.115.2018.02.28.10.16.14; Wed, 28 Feb 2018 10:16:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SxeP5lkN; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932624AbeB1SQN (ORCPT + 5 others); Wed, 28 Feb 2018 13:16:13 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:46696 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932613AbeB1SQK (ORCPT ); Wed, 28 Feb 2018 13:16:10 -0500 Received: by mail-pl0-f66.google.com with SMTP id y8-v6so1981688pll.13 for ; Wed, 28 Feb 2018 10:16:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=z41RaKBzuvSJeIjeVsevqD4u+8Ezh8Bio+6EAvkX8kc=; b=SxeP5lkN1Ufyz3jwLmbB05fSdRN3F29P/o19wJLXuPJRBLF0QBfT3d+PsebMoRVqaH dbYeQ8igBUSn0RvsiN8woR4UJ+wXZDd1A7RDXh/ZdvFa6XfRvYGev2Eu4fkg1FH/ioiB 3WM2+L0zX/59xhJcMQRds+UQQV3LSbC4/RCi0= 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; bh=z41RaKBzuvSJeIjeVsevqD4u+8Ezh8Bio+6EAvkX8kc=; b=JJ+ujQHLAMW/dLEvedJsAWQFaHpl9CkJAhknzU82aexvHH4I+OfN+LGuOT8aIl87aQ 5INs/01cGpg0rH4DZnyvENUuNBO6rhXD0tBtclmsSwWDgjEiSxEOxJCCIbnSRQKRgQin 7Qq+vNDb4YOZ4r0TOLoaC7qxJJO38M4D6KdjIxJ4Q1Cs6fnLglwzEV7VPPhwdxlCjc44 R1eP75VGo8GnEp4eOyLpfpT7Xx7kINsr28V4bSZ45DnXyK3Lu2THObPmJekziVmYcF9K /zVpZ0H8I4w18kr257pcwnw8kBCLPQVilcofKSJUGvlgQiJvoirc8IE4ofY9F32g/lnP xIfw== X-Gm-Message-State: APf1xPAiNhR6R++5FpnhWR+4a+vq4AmjFsui9Q2IMpl+zYUWKnmmo8Lh DF8l3wU2IwUOW+lXkfAAh5qY X-Received: by 2002:a17:902:8349:: with SMTP id z9-v6mr18533308pln.163.1519841770134; Wed, 28 Feb 2018 10:16:10 -0800 (PST) Received: from localhost.localdomain ([2405:204:7380:867e:a4dd:d27b:1244:f453]) by smtp.gmail.com with ESMTPSA id u27sm4980258pfk.172.2018.02.28.10.16.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 10:16:09 -0800 (PST) From: Manivannan Sadhasivam To: linus.walleij@linaro.org, robh+dt@kernel.org, afaerber@suse.de Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH v3 07/10] arm64: dts: actions: Add gpio line names to Bubblegum-96 board Date: Wed, 28 Feb 2018 23:44:29 +0530 Message-Id: <20180228181432.26847-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180228181432.26847-1-manivannan.sadhasivam@linaro.org> References: <20180228181432.26847-1-manivannan.sadhasivam@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add gpio line names to Actions Semi S900 based Bubblegum-96 board. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 195 ++++++++++++++++++++++ 1 file changed, 195 insertions(+) -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts index 60ddaf98401b..05ec8a7e924d 100644 --- a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts +++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts @@ -40,3 +40,198 @@ status = "okay"; clocks = <&cmu CLK_UART5>; }; + +/* + * GPIO name legend: proper name = the GPIO line is used as GPIO + * NC = not connected (pin out but not routed from the chip to + * anything the board) + * "[PER]" = pin is muxed for [peripheral] (not GPIO) + * LSEC = Low Speed External Connector + * HSEC = High Speed External Connector + * + * Line names are taken from the schematic "Schematics Bubblegum96" + * version v1.0 + * + * For the lines routed to the external connectors the + * lines are named after the 96Boards CE Specification 1.0, + * Appendix "Expansion Connector Signal Description". + * + * When the 96Boards naming of a line and the schematic name of + * the same line are in conflict, the 96Boards specification + * takes precedence, which means that the external UART on the + * LSEC is named UART0 while the schematic and SoC names this + * UART2. Only exception is the I2C lines for which the schematic + * naming has been preferred. This is only for the informational + * lines i.e. "[FOO]", the GPIO named lines "GPIO-A" thru "GPIO-L" + * are the only ones actually used for GPIO. + */ + +&gpioa { + gpio-line-names = + "GPIO-A", /* GPIO_0, LSEC pin 23 */ + "GPIO-B", /* GPIO_1, LSEC pin 24 */ + "GPIO-C", /* GPIO_2, LSEC pin 25 */ + "GPIO-D", /* GPIO_3, LSEC pin 26 */ + "GPIO-E", /* GPIO_4, LSEC pin 27 */ + "GPIO-F", /* GPIO_5, LSEC pin 28 */ + "GPIO-G", /* GPIO_6, LSEC pin 29 */ + "GPIO-H", /* GPIO_7, LSEC pin 30 */ + "GPIO-I", /* GPIO_8, LSEC pin 31 */ + "GPIO-J", /* GPIO_9, LSEC pin 32 */ + "NC", /* GPIO_10 */ + "NC", /* GPIO_11 */ + "SIRQ2_1V8", /* GPIO_12 */ + "PCM0_OUT", /* GPIO_13 */ + "WIFI_LED", /* GPIO_14 */ + "PCM0_SYNC", /* GPIO_15 */ + "PCM0_CLK", /* GPIO_16 */ + "PCM0_IN", /* GPIO_17 */ + "BT_LED", /* GPIO_18 */ + "LED0", /* GPIO_19 */ + "LED1", /* GPIO_20 */ + "JTAG_TCK", /* GPIO_21 */ + "JTAG_TMS", /* GPIO_22 */ + "JTAG_TDI", /* GPIO_23 */ + "JTAG_TDO", /* GPIO_24 */ + "[UART1_RxD]", /* GPIO_25, LSEC pin 13 */ + "NC", /* GPIO_26 */ + "[UART1_TxD]", /* GPIO_27, LSEC pin 11 */ + "SD0_D0", /* GPIO_28 */ + "SD0_D1", /* GPIO_29 */ + "SD0_D2", /* GPIO_30 */ + "SD0_D3"; /* GPIO_31 */ +}; + +&gpiob { + gpio-line-names = + "SD1_D0", /* GPIO_32 */ + "SD1_D1", /* GPIO_33 */ + "SD1_D2", /* GPIO_34 */ + "SD1_D3", /* GPIO_35 */ + "SD0_CMD", /* GPIO_36 */ + "SD0_CLK", /* GPIO_37 */ + "SD1_CMD", /* GPIO_38 */ + "SD1_CLK", /* GPIO_39 */ + "SPI0_SCLK", /* GPIO_40, LSEC pin 8 */ + "SPI0_CS", /* GPIO_41, LSEC pin 12 */ + "SPI0_DIN", /* GPIO_42, LSEC pin 10 */ + "SPI0_DOUT", /* GPIO_43, LSEC pin 14 */ + "I2C5_SDATA", /* GPIO_44, HSEC pin 36 */ + "I2C5_SCLK", /* GPIO_45, HSEC pin 38 */ + "UART0_RX", /* GPIO_46, LSEC pin 7 */ + "UART0_TX", /* GPIO_47, LSEC pin 5 */ + "UART0_RTSB", /* GPIO_48, LSEC pin 9 */ + "UART0_CTSB", /* GPIO_49, LSEC pin 3 */ + "I2C4_SCLK", /* GPIO_50, HSEC pin 32 */ + "I2C4_SDATA", /* GPIO_51, HSEC pin 34 */ + "I2C0_SCLK", /* GPIO_52 */ + "I2C0_SDATA", /* GPIO_53 */ + "I2C1_SCLK", /* GPIO_54, LSEC pin 15 */ + "I2C1_SDATA", /* GPIO_55, LSEC pin 17 */ + "I2C2_SCLK", /* GPIO_56, LSEC pin 19 */ + "I2C2_SDATA", /* GPIO_57, LSEC pin 21 */ + "CSI0_DN0", /* GPIO_58, HSEC pin 10 */ + "CSI0_DP0", /* GPIO_59, HSEC pin 8 */ + "CSI0_DN1", /* GPIO_60, HSEC pin 16 */ + "CSI0_DP1", /* GPIO_61, HSEC pin 14 */ + "CSI0_CN", /* GPIO_62, HSEC pin 4 */ + "CSI0_CP"; /* GPIO_63, HSEC pin 2 */ +}; + +&gpioc { + gpio-line-names = + "CSI0_DN2", /* GPIO_64, HSEC pin 22 */ + "CSI0_DP2", /* GPIO_65, HSEC pin 20 */ + "CSI0_DN3", /* GPIO_66, HSEC pin 28 */ + "CSI0_DP3", /* GPIO_67, HSEC pin 26 */ + "[CLK0]", /* GPIO_68, HSEC pin 15 */ + "CSI1_DN0", /* GPIO_69, HSEC pin 44 */ + "CSI1_DP0", /* GPIO_70, HSEC pin 42 */ + "CSI1_DN1", /* GPIO_71, HSEC pin 50 */ + "CSI1_DP1", /* GPIO_72, HSEC pin 48 */ + "CSI1_CN", /* GPIO_73, HSEC pin 56 */ + "CSI1_CP", /* GPIO_74, HSEC pin 54 */ + "[CLK1]"; /* GPIO_75, HSEC pin 17 */ +}; + +&gpiod { + gpio-line-names = + "[GPIOD0]", /* GPIO_76 */ + "[GPIOD1]", /* GPIO_77 */ + "BT_RST_N", /* GPIO_78 */ + "EXT_DC_EN", /* GPIO_79 */ + "[PCM_DI]", /* GPIO_80, LSEC pin 22 */ + "[PCM_DO]", /* GPIO_81, LSEC pin 20 */ + "[PCM_CLK]", /* GPIO_82, LSEC pin 18 */ + "[PCM_FS]", /* GPIO_83, LSEC pin 16 */ + "WAKE_BT", /* GPIO_84 */ + "WL_REG_ON", /* GPIO_85 */ + "NC", /* GPIO_86 */ + "NC", /* GPIO_87 */ + "NC", /* GPIO_88 */ + "NC", /* GPIO_89 */ + "NC", /* GPIO_90 */ + "WIFI_WAKE", /* GPIO_91 */ + "BT_WAKE", /* GPIO_92 */ + "NC", /* GPIO_93 */ + "OTG_EN2", /* GPIO_94 */ + "OTG_EN", /* GPIO_95 */ + "DSI_DP3", /* GPIO_96, HSEC pin 45 */ + "DSI_DN3", /* GPIO_97, HSEC pin 47 */ + "DSI_DP1", /* GPIO_98, HSEC pin 33 */ + "DSI_DN1", /* GPIO_99, HSEC pin 35 */ + "DSI_CP", /* GPIO_100, HSEC pin 21 */ + "DSI_CN", /* GPIO_101, HSEC pin 23 */ + "DSI_DP0", /* GPIO_102, HSEC pin 27 */ + "DSI_DN0", /* GPIO_103, HSEC pin 29 */ + "DSI_DP2", /* GPIO_104, HSEC pin 39 */ + "DSI_DN2"; /* GPIO_105, HSEC pin 41 */ +}; + +&gpioe { + gpio-line-names = + "N0_D0", /* GPIO_106 */ + "N0_D1", /* GPIO_107 */ + "N0_D2", /* GPIO_108 */ + "N0_D3", /* GPIO_109 */ + "N0_D4", /* GPIO_110 */ + "N0_D5", /* GPIO_111 */ + "N0_D6", /* GPIO_112 */ + "N0_D7", /* GPIO_113 */ + "N0_DQS", /* GPIO_114 */ + "N0_DQSN", /* GPIO_115 */ + "NC", /* GPIO_116 */ + "NC", /* GPIO_117 */ + "NC", /* GPIO_118 */ + "N0_CEB1", /* GPIO_119 */ + "CARD_DT", /* GPIO_120 */ + "N0_CEB3", /* GPIO_121 */ + "SD_DAT0", /* GPIO_122, HSEC pin 1 */ + "SD_DAT1", /* GPIO_123, HSEC pin 3 */ + "SD_DAT2", /* GPIO_124, HSEC pin 5 */ + "SD_DAT3", /* GPIO_125, HSEC pin 7 */ + "NC", /* GPIO_126 */ + "NC", /* GPIO_127 */ + "[PWR_BTN_N]", /* GPIO_128, LSEC pin 4 */ + "[RST_BTN_N]", /* GPIO_129, LSEC pin 6 */ + "NC", /* GPIO_130 */ + "SD_CMD", /* GPIO_131 */ + "GPIO-L", /* GPIO_132, LSEC pin 34 */ + "GPIO-K", /* GPIO_133, LSEC pin 33 */ + "NC", /* GPIO_134 */ + "SD_SCLK", /* GPIO_135 */ + "NC", /* GPIO_136 */ + "JTAG_TRST"; /* GPIO_137 */ +}; + +&gpiof { + gpio-line-names = + "I2C3_SCLK", /* GPIO_138 */ + "LED2", /* GPIO_139 */ + "LED3", /* GPIO_140 */ + "I2C3_SDATA", /* GPIO_141 */ + "UART3_RX", /* GPIO_142 */ + "UART3_TX", /* GPIO_143 */ + "UART3_RTSB", /* GPIO_144 */ + "UART3_CTSB"; /* GPIO_145 */ +};