Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10504867imu; Thu, 6 Dec 2018 02:11:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/X6zJ3d6BcgqB1UG4eJOYBZFERH6sblMjOCK/Qi+LO9h0Tw3oZyPV7XiDfK3IITKz8RBOwL X-Received: by 2002:a17:902:380c:: with SMTP id l12mr26946094plc.326.1544091110167; Thu, 06 Dec 2018 02:11:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544091110; cv=none; d=google.com; s=arc-20160816; b=cKYJXpQFu6p0TJttCqTBedZ9V+M3bEmsgeui5zT3Clp+Rrzsv6HVys63w+q70Ognq3 5q362KCaG+PYJ100kxBzIYssVOU9uhNBHiZKZRAZDughH6qH4rj1MFLGAXK9DfxzvEnX 4VtpaqbBsw+m7F418M68YYWT1p7EJkpdV95ZDoU0qW5TqaPjH+5CG+1uecBEtjupBTrb E6Nk68bSlH4Y+OxdsooM5C9VGQXnJqH7keTopDcfQRp5qcsck7sea//IgMuL6FVWo/s1 yX6ezE+ls7m2LRob39z6rD18VTv7r3Snr64OgAt8x6b/WU470T+hIV8ZY14g2gva7z8T E2MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:organization :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=BXcoAYV0VGEgzVpj2DLs9vLGGu6/9WBGwYXVxCkYZTI=; b=xQ4k6ESR0gY4JL3vuvRUki/TGXrhtLsM9OveFDL8fq0sOE8OI7aOkot1Qwx5V2DSh9 eqAS8J3x3KhT+Sge5aNWT8KFZy4BgIZEm17+slKSGQuA6Z0vKiKjKCaFevm+I/zC17xE +kpA5zIqRHZEtj5N46RiPVhOgjYWh+Gk9P022fYzAOuFjv+siBUJgzZpByg+ZjR6HRrO j3R8yRh7JY8rDyCj/SNTdvNCK1/SSz4wjyEzNBxMz8woUiOVp9zXpqZo7Mcb/ZwZNIA1 uYqTByz5/iB3UO6/ErfAvn+bkTq5UWYSLSYSQF4p+GJG8GG3IQS4tmZ5I7qCX4LdorAn vqgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si864572pgd.326.2018.12.06.02.11.34; Thu, 06 Dec 2018 02:11:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729492AbeLFKKR (ORCPT + 99 others); Thu, 6 Dec 2018 05:10:17 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:46395 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727575AbeLFKKR (ORCPT ); Thu, 6 Dec 2018 05:10:17 -0500 Received: by mail-qt1-f195.google.com with SMTP id y20so25605347qtm.13; Thu, 06 Dec 2018 02:10:16 -0800 (PST) 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:organization:content-transfer-encoding; bh=BXcoAYV0VGEgzVpj2DLs9vLGGu6/9WBGwYXVxCkYZTI=; b=CJSYKETJ/+4438eFk19k+Uf/OKvGXpwFMNFFPQ5TyJUF/Uzmu7qZvHh15zvK0KZgI3 kG7xLMlsWQnMGvfNSsuQQ5ronxb8hDIDP65Wuvhwuv/LNE+ZokzmrINTgnT7jxfh/G7N 9HtXbxnPZn1f4XKtm4PsA/UMKCGkrMdbkuyO7w3+x0K8S3RPje3Yb7AHSO3DNCabj9kt JM+mAzfW5NluACzQjieRDxMiR+AzFWy9MEbbXz3Jw1rPHcxE+5r7+z+CI10NJpY/v0s6 ssqj96wLN8zDUNKRWOtV9/Q1zJOer9Q2FFdLqsXpfyjCbtvuJ5jCXQhcNBYkxrSj5ZuO ZWWA== X-Gm-Message-State: AA+aEWb1fxSwt2eIGD6lg2k8L/Pp2X18p42uR0eHcPi1FfZ6oKq+vqjJ yhU1kAqaNkQrT/XGwjWuYA8= X-Received: by 2002:a0c:a045:: with SMTP id b63mr27160920qva.164.1544091015573; Thu, 06 Dec 2018 02:10:15 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id 5sm14552824qtw.50.2018.12.06.02.10.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Dec 2018 02:10:14 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Thu, 06 Dec 2018 08:10:08 -0200 From: Otavio Salvador To: linux-arm-kernel@lists.infradead.org Cc: Fabio Estevam , Otavio Salvador , Fabio Estevam , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Pengutronix Kernel Team , Mark Rutland , Sascha Hauer , Shawn Guo , NXP Linux Team Subject: [PATCH v2 8/9] ARM: dts: imx7d-pico-pi: Extend peripherals support Date: Thu, 6 Dec 2018 08:09:04 -0200 Message-Id: <20181206100905.15053-9-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181206100905.15053-1-otavio@ossystems.com.br> References: <20181206100905.15053-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam This adds following peripherals for the imx7d-pico-pi as: - LED - Touchscreen - GPIO Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/boot/dts/imx7d-pico-pi.dts | 56 +++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-pico-pi.dts b/arch/arm/boot/dts/imx7d-pico-pi.dts index 039c17066fe0..70bea95c06d8 100644 --- a/arch/arm/boot/dts/imx7d-pico-pi.dts +++ b/arch/arm/boot/dts/imx7d-pico-pi.dts @@ -8,6 +8,17 @@ model = "TechNexion PICO-IMX7D Board and PI baseboard"; compatible = "technexion,imx7d-pico-pi", "fsl,imx7d"; + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_leds>; + + led { + label = "gpio-led"; + gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>; + }; + }; + sound { compatible = "simple-audio-card"; simple-audio-card,name = "imx7-sgtl5000"; @@ -35,3 +46,48 @@ VDDIO-supply = <®_vref_1v8>; }; }; + +&i2c4 { + polytouch: touchscreen@38 { + compatible = "edt,edt-ft5x06"; + reg = <0x38>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_touchscreen>; + interrupt-parent = <&gpio2>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; + touchscreen-size-x = <800>; + touchscreen-size-y = <480>; + }; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog>; + + pinctrl_hog: hoggrp { + fsl,pins = < + MX7D_PAD_EPDC_DATA00__GPIO2_IO0 0x14 + MX7D_PAD_EPDC_DATA01__GPIO2_IO1 0x14 + MX7D_PAD_EPDC_DATA02__GPIO2_IO2 0x14 + MX7D_PAD_EPDC_DATA03__GPIO2_IO3 0x14 + MX7D_PAD_EPDC_DATA05__GPIO2_IO5 0x14 + MX7D_PAD_EPDC_DATA12__GPIO2_IO12 0x14 + MX7D_PAD_EPDC_DATA07__GPIO2_IO7 0x14 + >; + }; + + pinctrl_gpio_leds: gpioledsgrp { + fsl,pins = < + MX7D_PAD_EPDC_DATA06__GPIO2_IO6 0x14 + >; + }; + + pinctrl_touchscreen: touchscreengrp { + fsl,pins = < + MX7D_PAD_EPDC_DATA04__GPIO2_IO4 0x14 + MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x14 + >; + }; + +}; -- 2.19.2