From patchwork Wed Apr 10 01:00:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10892895 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BAD8E1708 for ; Wed, 10 Apr 2019 01:00:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94254289AA for ; Wed, 10 Apr 2019 01:00:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91DD1289D8; Wed, 10 Apr 2019 01:00:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 334BB289D4 for ; Wed, 10 Apr 2019 01:00:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=4sWnOJybWTKy0JQDb3ncK8YEfGtf6+3ss/MN+71XMYg=; b=Dn8JMROyVEWS8J W6KpHWHeo9Vd+DpeaPvGPcXLihHFSXrqhVEWaJiDaSnrXny3TALj+5fBcQ7juIhIvaGfc9gFb50x2 GeOjtFsGTwLUA+W6Qfqh1Zxdkdr3fVir10PrBxagA+7cXrl7waMVGJCOgNYp/6/aOUvFGvipn2DQb 7VKqXBHd3ha5Rp3JMuQGYtWPwZUCNcXX9oVnrCh+iPtrcyh1IBrPYUx1Vj+n8jAV3gqwXR2nmxwqI UwFFIpz+jx4RLLYQF6Tl3UkX5nCW/9QLgdcV1aPJ6JSQ0jhqu7GJizrMFNWv8+MgakACHFIFpf98w UsCaeWjJ4qjAe3AVx3Rw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hE1bG-00032h-8G; Wed, 10 Apr 2019 01:00:26 +0000 Received: from mail-qt1-f193.google.com ([209.85.160.193]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hE1bD-00031y-6u for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2019 01:00:24 +0000 Received: by mail-qt1-f193.google.com with SMTP id w30so944325qta.8 for ; Tue, 09 Apr 2019 18:00:22 -0700 (PDT) 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:mime-version :organization:content-transfer-encoding; bh=yLGcc+u98VuKczPPhfSnrlkdE/sOqLgztdm+Z5rTmbc=; b=Vw1zpDf7bn8NEQ/DYheR9OW7pIfTb7a59ZmvVDZSuoPRlaP8pQ1s0c5UrCLQW9/zIy zQuVEnY0ZQKGvcCAZYm7UvWzgdY7/gwsD3bsTpVapJXoUAqyBzGD8MmxA5uTRWbZ/8ao DY7gTGhQCttK6BLD1QQ+F5SWGDIyJjJUFIklT+zul5vLuwBFHmnEO/uc8k1LLBP7KXkn 6YWm0cbSpaiBuNd8hLBoxbKMTbzXmy+briRXdgPuxmC6JtI7l91MT8G6jSEav9OugHUu BVxnKypnqU5ojSjlFAVFRhoOn/xShE/ckmVYhpzDI61WiIxoKWppKVnuSjMSgW3P3Mhu 45Vg== X-Gm-Message-State: APjAAAVgR2r9gMlrscI9BAqpdit7Anj1C+nCZcJarrTQX+qI/Nf88hKC wJVZhEuKZMZVlMH3tPrAGo4PTMIFRQ8= X-Google-Smtp-Source: APXvYqzwGdmCMeg5uWkEUbKXU4pbzAR9SUxNXGPfMticlok3Tg0kBdMKOrRDghxUf520XPU/p6ap4g== X-Received: by 2002:ac8:3782:: with SMTP id d2mr32497932qtc.170.1554858021328; Tue, 09 Apr 2019 18:00:21 -0700 (PDT) Received: from localhost.localdomain ([177.194.197.186]) by smtp.gmail.com with ESMTPSA id p27sm19864517qte.25.2019.04.09.18.00.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2019 18:00:20 -0700 (PDT) Received: by localhost.localdomain (sSMTP sendmail emulation); Tue, 09 Apr 2019 22:00:14 -0300 From: Otavio Salvador To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] dt-bindings: arm: fsl: Add support for imx6ul-pico-nymph Date: Tue, 9 Apr 2019 22:00:12 -0300 Message-Id: <20190410010013.17259-1-otavio@ossystems.com.br> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190409_180023_252960_3EA8403B X-CRM114-Status: GOOD ( 11.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Otavio Salvador , Andrey Smirnov , Shawn Guo , Manivannan Sadhasivam , linux-kernel@vger.kernel.org, Rob Herring , =?utf-8?q?U?= =?utf-8?q?we_Kleine-K=C3=B6nig?= , Fabio Estevam Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam Add support for TechNexion's imx6ul-pico-nymph board. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 944687df45b8..f19ca45a9333 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -124,6 +124,7 @@ properties: - enum: - fsl,imx6ul-14x14-evk # i.MX6 UltraLite 14x14 EVK Board - technexion,imx6ul-pico-dwarf # i.MX6 UltraLite Pico Dwarf Board + - technexion,imx6ul-pico-nymph # i.MX6 UltraLite Pico Nymph Board - const: fsl,imx6ul - description: i.MX6ULL based Boards From patchwork Wed Apr 10 01:00:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10892897 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 541E81708 for ; Wed, 10 Apr 2019 01:00:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 322D128994 for ; Wed, 10 Apr 2019 01:00:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2FB43289D2; Wed, 10 Apr 2019 01:00:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C062C289CD for ; Wed, 10 Apr 2019 01:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0dnMg2jFhHXdTlzcb1Kl7SY/248oTkDPiO/0zf4ZVio=; b=buycD68rFw1gtO rBdkWhGnMXjp3uUH0sz+qFryYJ1oxta3+/DyV8NDQNHsJM40GHN9/RmnSyypZiL0Vd4LWKXrd+FzI rKNk4Pbx46VykFKDQVixSFe9ApZj+zUwcEdmu9E5nPv9r+Uzy1Zt750/waYpMTlp5pDxBuxXhqana daXZ/s3APOgR6pIyFDWnMLEbyZQJsSuR2eTC7tMHfBXT94Jbof2MbpDRvIi7mnwDLJKMgAptkET5X X/LqSY2XJjzayVyJtGB9ZYvAUQIeg/+AZBaELauY4LXhELeTz9J3tVDfOpDvoP3M5kvwvs06Qbfkc 1PkoIdMHLq8ozFWw9nNQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hE1bP-0003Cb-6F; Wed, 10 Apr 2019 01:00:35 +0000 Received: from mail-qk1-f196.google.com ([209.85.222.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hE1bK-000363-20 for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2019 01:00:32 +0000 Received: by mail-qk1-f196.google.com with SMTP id c189so219547qke.6 for ; Tue, 09 Apr 2019 18:00:29 -0700 (PDT) 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=jq7hHP6jp0qx7y15AyPUxCIeyvtpHQfds1gjSWmikM4=; b=rq6GGHxsniXWYxunwYLlxiW6co2q+DVcmokjH8McHbJoPTFj5C4WV/Yk2r9/LjrzGf 0xWR/rGag7L5J+ywKl3rgTY2grfqnwySSBwhrlqTGmLgHW7KfR2M1Ub8mdgK/s9qQLLP IgIzgR2GLyS6o1cLjIk9yOokt+aUeU0e2B3HT3QrhArePqnL6woFN6sWdbQaMH/58ils 8ARLMUQ8SlHRGEcvzAVqZ999wWA1XsMxmhz32mrqIbmHCqRnyti0qVSgovKBBhIbaKuQ 5xznEjVTr/0IzY/LCLC9bvty2NHbYGkhwlGPYGuxZwgkNDe1yZpsg4v61/1fcIcQMASO Q38g== X-Gm-Message-State: APjAAAUPybiN2yDJGVtLMe2mP4ZQZQMwpfzuYYp28x4dLO763FwWv76h 11KATDpgQlhG66f1tK5WZ1sRjZ6X8vI= X-Google-Smtp-Source: APXvYqzjZXw8saYM5fqGbOi+yI+8dNAO6Z2elMTB0SFMoeyA83p9gganz4zRhjQRotg0wP/kbEc6uw== X-Received: by 2002:a37:a5d8:: with SMTP id o207mr31579738qke.0.1554858028423; Tue, 09 Apr 2019 18:00:28 -0700 (PDT) Received: from localhost.localdomain ([177.194.197.186]) by smtp.gmail.com with ESMTPSA id t34sm27741683qth.36.2019.04.09.18.00.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2019 18:00:27 -0700 (PDT) Received: by localhost.localdomain (sSMTP sendmail emulation); Tue, 09 Apr 2019 22:00:21 -0300 From: Otavio Salvador To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: dts: imx6ul-pico: Add support for the nymph baseboard Date: Tue, 9 Apr 2019 22:00:13 -0300 Message-Id: <20190410010013.17259-2-otavio@ossystems.com.br> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190410010013.17259-1-otavio@ossystems.com.br> References: <20190410010013.17259-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190409_180030_456624_667DD963 X-CRM114-Status: GOOD ( 16.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Otavio Salvador , Shawn Guo , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam Add support for the imx6ul pico board with nymph baseboard combination. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6ul-pico-nymph.dts | 77 +++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 arch/arm/boot/dts/imx6ul-pico-nymph.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e4a2349e130e..7b9b3d384902 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -568,6 +568,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \ imx6ul-opos6uldev.dtb \ imx6ul-pico-dwarf.dtb \ imx6ul-pico-hobbit.dtb \ + imx6ul-pico-nymph.dtb \ imx6ul-pico-pi.dtb \ imx6ul-phytec-phyboard-segin-full.dtb \ imx6ul-tx6ul-0010.dtb \ diff --git a/arch/arm/boot/dts/imx6ul-pico-nymph.dts b/arch/arm/boot/dts/imx6ul-pico-nymph.dts new file mode 100644 index 000000000000..cb5ec45341bc --- /dev/null +++ b/arch/arm/boot/dts/imx6ul-pico-nymph.dts @@ -0,0 +1,77 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright 2015 Technexion Ltd. +// +// Author: Wig Cheng +// Richard Hu +// Tapani Utriainen +/dts-v1/; + +#include "imx6ul-pico.dtsi" +/ { + model = "TechNexion PICO-IMX6UL and NYMPH baseboard"; + compatible = "technexion,imx6ul-pico-nymph", "fsl,imx6ul"; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_leds>; + + led { + label = "gpio-led"; + gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>; + }; + }; + + sound { + compatible = "fsl,imx-audio-sgtl5000"; + model = "imx6ul-sgtl5000"; + audio-cpu = <&sai1>; + audio-codec = <&sgtl5000>; + audio-routing = + "LINE_IN", "Line In Jack", + "MIC_IN", "Mic Jack", + "Mic Jack", "Mic Bias", + "Headphone Jack", "HP_OUT"; + }; + + sys_mclk: clock-sys-mclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24576000>; + }; +}; + +&i2c2 { + clock_frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; + + sgtl5000: codec@a { + reg = <0x0a>; + compatible = "fsl,sgtl5000"; + clocks = <&sys_mclk>; + VDDA-supply = <®_2p5v>; + VDDIO-supply = <®_3p3v>; + }; + + adc081c: adc@52 { + compatible = "ti,adc081c"; + reg = <0x52>; + vref-supply = <®_2p5v>; + }; + + ds1337: rtc@68 { + compatible = "dallas,ds1337"; + reg = <0x68>; + }; +}; + +&iomuxc { + pinctrl_gpio_leds: gpioledsgrp { + fsl,pins = < + MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x10b0 + >; + }; +};