Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6243460imu; Sun, 2 Dec 2018 13:19:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/WRLLprn3lUe+xuomzPPJ3SRVrijWcvDvU0VmAKSdkd3M9asi8M1nF7Uw5QZbxWhyDXDTUW X-Received: by 2002:a65:49cd:: with SMTP id t13mr11395466pgs.376.1543785588787; Sun, 02 Dec 2018 13:19:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543785588; cv=none; d=google.com; s=arc-20160816; b=huyjOHx/nydKKxS9cv0TzSSQMbEn1Nuq0rBSr/ca0lavuMSJeiYLIJn134vtnGjmvu zyOY9ybm1hmPZubTsSA24AMI97ngI21a09D4M4kFaz9uHCu8FOwZ/oF3VETTfwMDYgy0 SrrYwkk8I7vwzzAmPw1DieLeR+qbuTfzzA9e1p2u4ARtYGNAPFREX//UP5VTWSSmV+Jk mclhPKh8/aF7SNjr2DdCgReUp6SO/BvMEk0o2wMpiTv6Qj47AgQaIF/Pa8iaSfLeaeUi cypgIb7i5EkIYqwriwbL60YvdZPFMjzU3KpUVIySRAZhil9msTmy1h6yyYYmmxHK93cD DCDQ== 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=kF8o7Epwdu0dEA3UUb5PAzGLGYppW/4YWqYMcTCaLOc=; b=mlLODKeWZ1N9m6vme+gV2uReG7WDjqqWA6/dfJkl5SDCrqbdAhKyXJBCfp4EtZBwn0 MmrA/RGdJhASjOLCR9dCurvRxFSr34+s1Vmm0mteJ853Dr6UzkpjEdBQao6o5ycpsA4d WHeLc+U9GTMS6V/VcJX3V7Zhttqrj2SXKd6ztMjVzg/xzVbgiopXD+zeQFVNKpiCin5Z NtY35xyRLuD9nx8kQUU1dLiXDejeV4X6lfiyW70HwqWjck15DV3L1ATluQY7/CSpGo5H 4xTUjCvWtzXOAH44ofdVj4FtudnCCee5p0hyM7lAIP08pSSf789qWV7MygbUXTVRMa6N 2dcg== 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 a3si13046326pld.252.2018.12.02.13.19.34; Sun, 02 Dec 2018 13:19:48 -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 S1725872AbeLBVSx (ORCPT + 99 others); Sun, 2 Dec 2018 16:18:53 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:45096 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbeLBVSx (ORCPT ); Sun, 2 Dec 2018 16:18:53 -0500 Received: by mail-qk1-f195.google.com with SMTP id y78so6206704qka.12; Sun, 02 Dec 2018 13:18:51 -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=kF8o7Epwdu0dEA3UUb5PAzGLGYppW/4YWqYMcTCaLOc=; b=LcTN1UyiQxKmMgYdZXkeXh7TcVJBcnuI2afa/Z1IoLs1coKP4osYnbJ+Ya7PXxagsg 8FpBa7lmiHQ4CESt9YqEJ4nFN7YKlTHOE7LuiNdfUPyECGpCR1vkzexQ1Gu41N7Hctba KLKdPKOmLQJ2qqDXxtZ4XqUuYrZ4V4HJw1ZDeWjgQjpdJA8ZHmhPLkZblqvsvebZZVRa +o2cCf9tkGhGHM9s4Kg+CZu6c3eEovFDo9hvBhKsCrbtbk50CcVItXHpwjKj7VQ8+Gyt WRqdTiSghSATI0LUTA9kfM72Z8UZ7thqdk6ZqR4kW3ry+BwrPRzoTsuGFE2CfAkCbYKJ jfbg== X-Gm-Message-State: AA+aEWb7hS8+21hItK9EfKFyoDU8cRKhp17oHABM+k9CUiXKFCil8eah k0dSVtQizQFazRdnabppQGg= X-Received: by 2002:a37:4289:: with SMTP id p131mr12678332qka.3.1543785531314; Sun, 02 Dec 2018 13:18:51 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id j38sm10247759qtj.72.2018.12.02.13.18.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 Dec 2018 13:18:50 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 02 Dec 2018 19:18:44 -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 4/5] ARM: dts: imx6ul-pico-hobbit: Extend peripherals support Date: Sun, 2 Dec 2018 19:18:08 -0200 Message-Id: <20181202211809.11621-5-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181202211809.11621-1-otavio@ossystems.com.br> References: <20181202211809.11621-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 support: - ADC - GPIO LED - GPIOs Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts index 8656ccbb5a06..f2dd6945e98c 100644 --- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts +++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts @@ -14,6 +14,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_leds>; led { label = "gpio-led"; @@ -58,6 +60,12 @@ &i2c3 { status = "okay"; + adc081c: adc@50 { + compatible = "ti,adc081c"; + reg = <0x50>; + vref-supply = <®_3p3v>; + }; + polytouch: touchscreen@38 { compatible = "edt,edt-ft5x06"; reg = <0x38>; @@ -68,3 +76,25 @@ touchscreen-size-y = <480>; }; }; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog>; + + pinctrl_hog: hoggrp { + fsl,pins = < + MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0x10b0 + MX6UL_PAD_CSI_DATA00__GPIO4_IO21 0x10b0 + MX6UL_PAD_CSI_DATA01__GPIO4_IO22 0x10b0 + MX6UL_PAD_CSI_DATA02__GPIO4_IO23 0x10b0 + MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x10b0 + MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x10b0 + >; + }; + + pinctrl_gpio_leds: gpioledsgrp { + fsl,pins = < + MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x10b0 + >; + }; +}; -- 2.19.2