Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6249243imu; Sun, 2 Dec 2018 13:28:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/WptOVRVgWK4TJ7lV7+X/N+g+9hB+UsYjChBsS2+1tagcnDUmVjYGjxgxGLIKKKXNNNV/oR X-Received: by 2002:a63:3546:: with SMTP id c67mr11498343pga.284.1543786134139; Sun, 02 Dec 2018 13:28:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543786134; cv=none; d=google.com; s=arc-20160816; b=nJwzYfZ+CVEcfjkq8n0e/35jcrI7jrW9+REPZ7bE+pI4TvFiIGDmpB//+whsZQTQaN 2i6KxVC9KKZCTNxUHL4zUXxm5p7Y15Mh78/MJb6pG7z3mDYErRRlp2x9Yg9EBqzX82ce SbWknLHFsuZJpzpy7nozuHpp6UtMi/b5bjlKKHLLzl7TAer6k6RWuepCJRUVdHVsqMGe 0PCTCXMsTa/8Ypuw6KgCf6EYDoVIqM9m2iYX59K+5qeAFPtPGbgJOZtLX2waxiyAk0nl LZErfYFUiqekE9onstKuBBz5kP2lppUMmbfdKKX5WRaJTjOuPFeH5sx/XE1OWrm/t9Bc V9lA== 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=6+EbYhMNCoRKxIlDp8uCMOsfP2XKpOLu0mPsX2uEr0Y=; b=aX86eZDAZFFe3SiowcYthgE/1i0ttoH3WismqCVzbDxpZE/CFJtrGEdWeOpeIFoXyD brG+Si18He1hiJenGHP3zc7wihEv6BPHL6IgCv0TOOLgFNDR9MRmlr1ARg4wRZu7cM8L v5BcavTzj3K4OW7x17PY1n0mZpQ8f3JGhpYt5lxlXM6WXz8bVGdrbZjxiOE4X18RSClJ Cdkr20J8tfjzOqJhUaPPDelxUytvrdtJJ+05TpngExp1JWzpKvIkIOe/lxKHMJIjnuG8 FJ9C/8nb2kcJr9sIw+447uJk+X6jC32lvYwEG7SipQGhLhyz8a6h+BBsqVP4UtfVccTW z/Jw== 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 t10si10423403pgn.551.2018.12.02.13.28.39; Sun, 02 Dec 2018 13:28:54 -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 S1726043AbeLBV0c (ORCPT + 99 others); Sun, 2 Dec 2018 16:26:32 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:39052 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbeLBV0b (ORCPT ); Sun, 2 Dec 2018 16:26:31 -0500 Received: by mail-qt1-f194.google.com with SMTP id n21so11654056qtl.6; Sun, 02 Dec 2018 13:26:27 -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=6+EbYhMNCoRKxIlDp8uCMOsfP2XKpOLu0mPsX2uEr0Y=; b=ie/rUb9gV16dyHv3M/4oGy+IZ9Al8rfcqvMegomtogdm4FofgTiA2yIAI5pX6Yt6C9 PxgIrEpfaCj79zxtJR4ruLfInwK1bVdRJAWbmN0Y7/7aRlV2cAs9Zl1vzyYrvzAWOKrP WqHt5T6OccEV2JMtfJ+GfPTYG82V8OjtN6uaidrIrBN4ofiFdt/H8XwQuXfoMMGMR3bs w8FUJcjAnxueU54GnTg7zJdcY3NpqsP/GLRZRKJGBfCC1P04s6zQzCImqXuDpCArmRV0 5Hqqtk8xL03CSsh4rzAoEC4C1JBKOw/PuenPh5mrZP3he4eDhVsxDYuoFgfuY1ot9R7C j6VA== X-Gm-Message-State: AA+aEWZVQ42L05i09EPnoYeD0SJncxRho+0ilMdaq2qGMq6JpqYM8GKx 0PytW0ZCNGn8l89UzODeikQ= X-Received: by 2002:ac8:208a:: with SMTP id 10mr13176419qtd.79.1543785987524; Sun, 02 Dec 2018 13:26:27 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id f19sm7804498qtf.1.2018.12.02.13.26.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 Dec 2018 13:26:26 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 02 Dec 2018 19:26:20 -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 8/9] ARM: dts: imx7d-pico-pi: Extend peripherals support Date: Sun, 2 Dec 2018 19:25:19 -0200 Message-Id: <20181202212520.16650-9-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181202212520.16650-1-otavio@ossystems.com.br> References: <20181202212520.16650-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 --- 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