From patchwork Thu Sep 13 20:21:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10600033 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 45FD9112B for ; Thu, 13 Sep 2018 20:23:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3278628627 for ; Thu, 13 Sep 2018 20:23:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22C37287BE; Thu, 13 Sep 2018 20:23:08 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 A784C28627 for ; Thu, 13 Sep 2018 20:23:07 +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=VsRYTbs6BIwhBHlZmidMv+uIVZbtUOFHN6Bh7QOGzcY=; b=T6z8E/EPcoHOK7 b8L+Ow16kE2hMFgdeqaCV20VPZSCjcZgRrnycQNavI0MTFp+6vnysUKYBVUMHu60r6VerQauRAdJm KlSOZkLe9FxE7B3FlOJj0VKPOxmvn4Pl+lNJ+zTUZhnn37AeFu3EH+LrdmO8Ge98UthCWPHTxseuO r3nUk1sOWeGXlmbpPKuJkuhyIQRoFbqdsObqCx1vaNLnYTf8nrdYr3L1Zlj+hWMAvimJ0/4gRfXiL fXBsPgHAYP68rxEB/AiLbOhR2KCqf9AM4u50pvKk1xbk/Tr5uy9748qlfGjhVX905IdDyjLgA+wOu BKcBbvvbskpJYeC40yKA==; 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 1g0Y8Y-0002RS-OS; Thu, 13 Sep 2018 20:22:50 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0Y8J-0002ME-8F; Thu, 13 Sep 2018 20:22:36 +0000 Received: by mail-wm1-x343.google.com with SMTP id y2-v6so89267wma.1; Thu, 13 Sep 2018 13:22:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6X0C6Bwgssi8LLg+20RFsnihdk1C52NhLJqqDvsIsvA=; b=SfrVaJggk1b5Jnuzj/xa80q2X8tO2DN2Z3D6bAQgE/cA4XAgKSSkNvOU36GnjoSVPY Dtxk2woTzQUlLKDkDsZtb4yOijZXyP4AIAaU0N5rUREricz3l2Fy23wUOEkxUHed3Qrm sXvs8Wes08E5qwujtnfcepw7gh1vF0lZsRqwt8/+yXi+XnjQhNt6ZdFLYiPI0K4gj40x b+zxI6EwRWvxdzWvHnvkBxDyLjmHg+Yq7Yl2xUAE4iApxx77jeo3rR9EsV2fP9wLkyfk 6XbwqEmIbXrk5Y2z0RUZvrzUlOGxMR5aM3Ki8ZKd1US9Ntr0u476JtAPIqBrncW3yHTW m4kg== 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:content-transfer-encoding; bh=6X0C6Bwgssi8LLg+20RFsnihdk1C52NhLJqqDvsIsvA=; b=Vatb7FCIUgiPGbl8vPuipDJJGDCAQqErDfJ+meAs7Li9VDpPNFGqiEsLLGTZT4jJ4A N0dBGsSi0BbdCRwF+8rLlCgklee6TjFbkW2f/AZASebZ1np4F1zqEzGe9FSVTyhELd94 gUYtMR3r6ZuLBqnTyphobhd8pF+cRUqeyD2NAeUUnqr7+AhKuJmzwT1U5KxE53ruy7ye nyy/0ijncwvOW6FCIaqBrZci4d5w872f3YR2uyjp3Gf0eYifTsnJUrdxKV8ajdWJfWhS Ithqjg29AtfBQukls7LZYxpsZwrlXlcbWmP6Ja+VONmAmhENWF6un7pb43RHdA3Dz0CK QjEQ== X-Gm-Message-State: APzg51DBoqGo1XrQXN2DGeUwu8ByGby2aysX5Hh/gAqAcPWbqIu/pi2z HXLMk7HKqpp9Y8KOaeasJrieAG3A X-Google-Smtp-Source: ANB0VdZf0Q5FWKfhVzLP8bwBL74NTFK44BFOS6QmlBCjA33rvtdOTr9lmie8b3OI4jRYsngpLKFyhg== X-Received: by 2002:a1c:ac04:: with SMTP id v4-v6mr6668195wme.51.1536870142991; Thu, 13 Sep 2018 13:22:22 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD72E2B00B426A3A246F82EA8.dip0.t-ipconnect.de. [2003:dc:d72e:2b00:b426:a3a2:46f8:2ea8]) by smtp.googlemail.com with ESMTPSA id b124-v6sm3648835wmg.47.2018.09.13.13.22.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 13:22:22 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com, carlo@caione.org, robh+dt@kernel.org Subject: [PATCH 1/5] dt-bindings: add vendor prefix for "Endless Mobile, Inc." Date: Thu, 13 Sep 2018 22:21:59 +0200 Message-Id: <20180913202203.19636-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> References: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_132235_297430_2765280C X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. 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: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org 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 Endless Mobile, Inc. started selling (small) computers in 2015. Signed-off-by: Martin Blumenstingl Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 2c3fc512e746..1c63d2c2d48f 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -114,6 +114,7 @@ elan Elan Microelectronic Corp. embest Shenzhen Embest Technology Co., Ltd. emmicro EM Microelectronic emtrion emtrion GmbH +endless Endless Mobile, Inc. energymicro Silicon Laboratories (formerly Energy Micro AS) engicam Engicam S.r.l. epcos EPCOS AG From patchwork Thu Sep 13 20:22:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10600047 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 384D814F9 for ; Thu, 13 Sep 2018 20:26:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 269B72B4F2 for ; Thu, 13 Sep 2018 20:26:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A8002B4F8; Thu, 13 Sep 2018 20:26:00 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 AA8E42B4F2 for ; Thu, 13 Sep 2018 20:25:59 +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=vhFFQDT9c67XeXHGD4mGhMV2E/UscVkrBiorAW8LAD8=; b=mP50/rzRFvgCaK 46Sh88c52mRkf99nOkg29tyylHcazk6Qb450UYfLvDFrFBmd/eDK1nbgP5zN0gp33WUfcOPo5dcRW RfZpc+Vnvg9eagueqkydoyzMoe3iGCexeaugZ4Tnb3hg5fVtGcjKezuBCoZW5WmNmnM8xYg5bXZaN WrsnTTq1/FUIeDEbriMHAl7W6ChutgNm6MmDIBc7fJjuHU8puuX4nxnWSlnk1yZKocpxiTSLjdEYQ MhGClAmbejofoJP/ku1cRtb9hOAo4nHtFjhoGrHro3ZJBZlFh/X27TbWHxwWV4+Qzsy9PAO0fmdy5 fwfcyEgC0k+q9Xp9g9ag==; 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 1g0YBN-0004lU-I3; Thu, 13 Sep 2018 20:25:45 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0Y8L-0002MF-5J; Thu, 13 Sep 2018 20:22:39 +0000 Received: by mail-wm1-x341.google.com with SMTP id t25-v6so89006wmi.3; Thu, 13 Sep 2018 13:22:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hNz7EFFaZq3B5guCCJCi/UhDPZtfpK8bEmYkVKlK1EM=; b=Lv4F38HpglhI1vuqnvF/Cqs2/lf6TjiopIrIHFmxdCEGcgoewCIjWGQvKiTtWqAB+D Tg432GmNTfVbN8D2fMDSoLOxkBNcGfsE7eZZUtWTb3siLQPutmZfu6tgE1tFAPE7Yiuo KD8DJCyvnRwJkNz3rz4bRiHxELgUsMNI1ZKdP3Jr7+165/axEzlqmJ66ykvmYrOtjFXG 5D6+ZA60bzd/BnCXoE1PzBBCkOmLqoGeP75yay+qYV5wE6GimYdexfHIHAXmsEEsAD9m 7AqVSoF3QrdJboK9q/BFW9avqV4fOXic8NPEQ4QmGTpJXXwek2Fyo/TRxICfs5Ik1Q5P sWkQ== 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:content-transfer-encoding; bh=hNz7EFFaZq3B5guCCJCi/UhDPZtfpK8bEmYkVKlK1EM=; b=L0ajyW25roFx0hN1qOilfJPs/Oanaf6JPtmvqtnZm094oxoI1eYiCkWnhQAqNyJ3gR bw4ShVxTOfhJnSIwBzWaJDvdDUJr3usNvbxyyPfIwdsTkxBrFUQ0Ahidl5s/w+nsLYya x0BJIWq0swWYF8k/5cbLdUbD0qUux3x5vS1y53RRkYuUaVoCVnCGF1ZqVnchSca5y1oA +6g9LQokPINZJPSz0WZPDTIsOV1ZUPTPEoCV2q4S3vlewxhZgDwggE2TlmMnPHs6WO2h 0t2jbM6nVEa2a3K/n5hI0WTu69aHjWr4NIl+/PSqgjtT6v+8uA5ehHQnPc11VduKNjOV zVVQ== X-Gm-Message-State: APzg51C6pOv80X49tU2WyLDgf6rgZBCL7/CrX53wPQ/zdR8toOExVQ8E k5+bGY9h6ZP+6P3PKTv2F5iGMdcC X-Google-Smtp-Source: ANB0VdZVVudJ+NbMXJbLq93d6OV7gh+iB2Sd4PKdNH9LhxyKFosw5tvahumNNiiS2NWr/KOpAZnt/A== X-Received: by 2002:a1c:a507:: with SMTP id o7-v6mr3326128wme.45.1536870144103; Thu, 13 Sep 2018 13:22:24 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD72E2B00B426A3A246F82EA8.dip0.t-ipconnect.de. [2003:dc:d72e:2b00:b426:a3a2:46f8:2ea8]) by smtp.googlemail.com with ESMTPSA id b124-v6sm3648835wmg.47.2018.09.13.13.22.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 13:22:23 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com, carlo@caione.org, robh+dt@kernel.org Subject: [PATCH 2/5] dt-bindings: arm: amlogic: Add the Endless Mobile Endless Mini (EC-100) Date: Thu, 13 Sep 2018 22:22:00 +0200 Message-Id: <20180913202203.19636-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> References: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_132237_242074_D51945FB X-CRM114-Status: GOOD ( 10.06 ) 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: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org 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 Add bindings documentation for the Endless Mini (EC-100) from Endless Mobile. Signed-off-by: Martin Blumenstingl Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt index b5c2b5c35766..99ca80d87aad 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -63,6 +63,7 @@ Board compatible values (alphabetically, grouped by SoC): - "minix,neo-x8" (Meson8) + - "endless,ec-100" (Meson8b) - "hardkernel,odroid-c1" (Meson8b) - "tronfy,mxq" (Meson8b) From patchwork Thu Sep 13 20:22:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10600053 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 E00ED14F9 for ; Thu, 13 Sep 2018 20:28:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF85E297DF for ; Thu, 13 Sep 2018 20:28:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C3B032B50F; Thu, 13 Sep 2018 20:28:07 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 52EA5297DF for ; Thu, 13 Sep 2018 20:28:07 +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=B+0xp2HqlbbHGtKgkoC92CyVU0F9Ry/oac0OnCNS5HE=; b=GMUQuPkyaB37+Q VLeTIsLTopzcFr/iBzMoOXRhAsT4t+7Iqu1+St76IjMOIydVFyrHnCKqDAXTPfCFsjtRGe0SeDa+1 LUysRGD29efMaDNCGikL4upLtxRkDICbsnztbo9SlXubxngPAH7B0VhcKvpsIC2e9TX0uPCNV/VbJ C58QixQ/NSpFDbpKQeFyIcE+0UNdDt75WRya+TM6sJ0Gv6IIiF/iuevu/VMqafSJi3CppQ3N1jgIP ZPuDv8+KW5jXF+BSH/gYgvx07GVTBCNFe3iQc09Gl9j0Diy59+cEqj5Hb7z56slvb35PTDURjB1Kb tByBQSO7td3OdzPEOrUg==; 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 1g0YDQ-0005sU-A2; Thu, 13 Sep 2018 20:27:52 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0Y8L-0002MK-9k; Thu, 13 Sep 2018 20:22:40 +0000 Received: by mail-wr1-x444.google.com with SMTP id v17-v6so7941839wrr.9; Thu, 13 Sep 2018 13:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6ya8qJvSor3779YBI1P6gnRmZJsVeLKld7LXqTmiK18=; b=Hr2svq4tLh8qNO3BP694lf/XFX+RV6bvUtAGjhB5cTgzmF9+URHBf2uh9IM5btQKL+ 68NTHfiENvxb93lZzGpWYFke+UlPzs8djGqwHJaPToMIYWxHOCjE9vJP/AfY+VZksbfL hrLtij+JyL3fobvkfO6tb44YjAG/o6w2BZ9qIrTqz5EiGEbFca/MdcuSrY/bskddRcqn DaM8/Us+X63e1golPoHctst9H5SuHK5AosI9xHpAZa2e9BFaeEsQ2R352FNtBnkRSblY 0tIlQoO+RqA/BfRBkGruim/m0BCQRYFMM1t3mCTMFuG64G0yrVSrNiNIg11EbLsiOoGF R1fA== 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:content-transfer-encoding; bh=6ya8qJvSor3779YBI1P6gnRmZJsVeLKld7LXqTmiK18=; b=WionX0v8EirOPnaLhToXoRmWiufCeK0ip65N3MEyMVo+I0v9M8Dskh+7nAwyWljkBb LuKl3xQBvJF0yutU8KNPpQipqji1weva435zDkGndQtYI2KowJSzj/bxQoosLxHS6gH5 VtP/i8qiK7txBROV0RyE+ea0KtDTczO0J6KZ8yBofpP8iy19vnMvmRFvucREmob4fX0W iuw6C1ONutpIsvI5w/fr+4Qqk84Bh8Qu0spkf3irGGxvtCLBLGiiV8YVji4Y5B4Nm8A8 JVB7wjCEHZdjoTF+ahoT3ShTaAELxSJk9wAEbEu+DQ7Nlq7aMdea1pWT5Y5OS1Dr9UKz l/WQ== X-Gm-Message-State: APzg51DLBwgGssTmKALKcsJAE+Ro1fWdqbFhUJt0JqLsTh1OEqbTBKZG d70q6qDjjhBk3N0QARYkNTnyInAK X-Google-Smtp-Source: ANB0VdZWVA5UjNYP+5if5k6/TVp6LivaFnDw5oKuVtXxaxG4jTjCjn2DFzW29/swtQ4LoSjw+jGKAg== X-Received: by 2002:a1c:3743:: with SMTP id e64-v6mr6285977wma.63.1536870145273; Thu, 13 Sep 2018 13:22:25 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD72E2B00B426A3A246F82EA8.dip0.t-ipconnect.de. [2003:dc:d72e:2b00:b426:a3a2:46f8:2ea8]) by smtp.googlemail.com with ESMTPSA id b124-v6sm3648835wmg.47.2018.09.13.13.22.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 13:22:24 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com, carlo@caione.org, robh+dt@kernel.org Subject: [PATCH 3/5] ARM: dts: meson8b: add the I2C_A, PWM_C and UART_B pins Date: Thu, 13 Sep 2018 22:22:01 +0200 Message-Id: <20180913202203.19636-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> References: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_132237_382689_FC735A8D X-CRM114-Status: GOOD ( 10.97 ) 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: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org 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 These are used for example on the Endless Mini (EC-100): - I2C_A is connected to the Realtek RT5640 audio codec - PWM_C (GPIODV_9) is connected to a PWM regulator which is used for VCCK (CPU voltage supply) - UART_B is connected to the Bluetooth module (of the RTL8723BS SDIO wifi and Bluetooth combo chip) Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index f77e419c1c65..4bbbbc6bea83 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -223,6 +223,13 @@ }; }; + i2c_a_pins: i2c-a { + mux { + groups = "i2c_sda_a", "i2c_sck_a"; + function = "i2c_a"; + }; + }; + sd_b_pins: sd-b { mux { groups = "sd_d0_b", "sd_d1_b", "sd_d2_b", @@ -230,6 +237,29 @@ function = "sd_b"; }; }; + + pwm_c1_pins: pwm-c1 { + mux { + groups = "pwm_c1"; + function = "pwm_c"; + }; + }; + + uart_b0_pins: uart-b0 { + mux { + groups = "uart_tx_b0", + "uart_rx_b0"; + function = "uart_b"; + }; + }; + + uart_b0_cts_rts_pins: uart-b0-cts-rts { + mux { + groups = "uart_cts_b0", + "uart_rts_b0"; + function = "uart_b"; + }; + }; }; }; From patchwork Thu Sep 13 20:22:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10600049 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 5DA5C112B for ; Thu, 13 Sep 2018 20:26:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C48F2B4F2 for ; Thu, 13 Sep 2018 20:26:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F3F72B4F8; Thu, 13 Sep 2018 20:26:42 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 CDCDD2B4F2 for ; Thu, 13 Sep 2018 20:26:41 +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=ieNOpXn2tp9v99QLrbTgXvJGRJ8YE8+XZhMl5OQSxDI=; b=JsfwGC08EkMVXa DL5FueudpZ0QkjEQOv1w4lePiho3rwfw8KMt9gm+mbjgyi9jOt/8FTgb2prn6YEmHxtrLrJ95n+mo txVvcIS+z5cMafG2SJAKL7ZnRy/yCl9o4hWzvrdRV0Cp4D2+qNg4qX333SjINldnmOHrhPQNCvJc2 OU6GcpyaJcGd3W0Y8ax13PdldiiypZGWZ4F4aR1PkCB243AqotLAqx1uvYfqJqtax4p9WpHGnoa38 qeUb/SwR0ajcu8ZYM+i6OvfV35FWiApi7kq1R04tAQy/UWElO2H3bhHvnusjucZOh7X/qoMU3uXuD cyyfE6H68cvr+lgbEFpA==; 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 1g0YC2-0005JS-RN; Thu, 13 Sep 2018 20:26:26 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0Y8L-0002MR-9f; Thu, 13 Sep 2018 20:22:39 +0000 Received: by mail-wr1-x444.google.com with SMTP id j26-v6so7971627wre.2; Thu, 13 Sep 2018 13:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SMIxpF/PYKwPUIGVkHZ2x5o7w8WplDmrM2vTDIEZxNc=; b=vIv3BQN4i3+2chJeng7Z5eeEO0Mi77v3x8EXtCoJle2GFgJr2L65pV0MgWCWk79ktW tO1rd6KGzXPrPp49NnaWIMKYoJvmyDJXEFvAWd2ZapGBxR9RKC9MHSJwYkoQEIsGMyV/ 0BYhuxy4aVNGGBAHjXx6lSc2bnB57tmG6T9PgcQD62eYVYQctk8Y2Kh6eEf1pJ2AI5Uq 7GctOKFb4GAFqBU2feyKfSJ3nak3dqa+35IOFx6yelYxAS9UAeg0Z5lkxV+YrFDVGhxV zupH7n6tf4n3UPeiPE3f1KTPPNWM+95ghCYPOv061MBwgq5a1z2kCSoyFzyxNyMAtK1I zZXQ== 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:content-transfer-encoding; bh=SMIxpF/PYKwPUIGVkHZ2x5o7w8WplDmrM2vTDIEZxNc=; b=BwOtM3x7+NB0p1DgeCawlQczOL5Q1H+PQiZSVW1NTHdASmvEg6ifjMCpnjWTpOYAh2 yHcgUwDJ11rf0f7JHhHDhT4SjQqw9MmN3BUnHmPhjCdRZLa3MkInI/94fT2fchhSGrmr j29xNq6qchKvs1dM6jUSy50dejHDe9e8EcU1xbgUUyuT4bxGGrOlCAHRWb423II6grVV U6oAj8gGF5LVVEsNebbI/RYoET7b4IlWNUG1JhAbjrnZeyTAv0elTPOWj1QYoP7cHABL OkeU72XDtPJKN7UN4aSotso5PHcl4zJ1JYWnQNYWCSs9hLzytDzDhVhq8jnbRNZPiNec ZAJw== X-Gm-Message-State: APzg51C/pYTDYRxFKWwZy/xqiDc9n7dOTtMid0qNSfZ1GjxdTStVi5fd tHrj5ufhAOiuFvDlwWNHuBQ7En7g X-Google-Smtp-Source: ANB0VdZJqRlIPP2gU1/55+LAJM6PLBT0yg5oy9QJ/ZzJvryc3i4bKV7TzKJR2l3rs0GvL4Rjtk0QIQ== X-Received: by 2002:adf:f24e:: with SMTP id b14-v6mr6461423wrp.184.1536870146380; Thu, 13 Sep 2018 13:22:26 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD72E2B00B426A3A246F82EA8.dip0.t-ipconnect.de. [2003:dc:d72e:2b00:b426:a3a2:46f8:2ea8]) by smtp.googlemail.com with ESMTPSA id b124-v6sm3648835wmg.47.2018.09.13.13.22.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 13:22:25 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com, carlo@caione.org, robh+dt@kernel.org Subject: [PATCH 4/5] ARM: dts: meson8b: add the RMII pins Date: Thu, 13 Sep 2018 22:22:02 +0200 Message-Id: <20180913202203.19636-5-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> References: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_132237_353108_CFEEEB5A X-CRM114-Status: GOOD ( 10.59 ) 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: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org 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 Some boards use an RMII Ethernet PHY which requires fewer pins than the RGMII PHYs. Add a separate eth_rmii_pins node which does not include the pins which are only required for RGMII (but not for RMII) PHYs. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 4bbbbc6bea83..cd1ca9dda126 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -223,6 +223,21 @@ }; }; + eth_rmii_pins: eth-rmii { + mux { + groups = "eth_tx_en", + "eth_txd1_0", + "eth_txd0_0", + "eth_rx_clk", + "eth_rx_dv", + "eth_rxd1", + "eth_rxd0", + "eth_mdio_en", + "eth_mdc"; + function = "ethernet"; + }; + }; + i2c_a_pins: i2c-a { mux { groups = "i2c_sda_a", "i2c_sck_a"; From patchwork Thu Sep 13 20:22:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10600051 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 5058A112B for ; Thu, 13 Sep 2018 20:27:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3EC4A2B4F2 for ; Thu, 13 Sep 2018 20:27:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30D3B2B4F8; Thu, 13 Sep 2018 20:27:23 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable 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 8B6912B4F2 for ; Thu, 13 Sep 2018 20:27:22 +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=Cei+IuyTCZuEtL/gs5XjuPNVH7fZnGo4q5toGCG3hmA=; b=i8nA/Gtbp8Cchq Q9p/QR73M0AUOYSqc/0giNQzjltT4dQ3tAbvTCEK2BkrQwihosQEY9hzzs8zExdwr0l+L/vV1DK4M CSvVrlIn15TBOhjISKHyg56ayQzbLTEOaoZ9F8xNr/+l/sQYdLjcgQL6gVAXQx7jszDAr8xZaejTs uR26pkPrbZIHAOGbBvHCPyoCSo8zJEsCkYfGRraLgdE0UTOKC497iznkexjloKPviy8z5cJlRYxgS 5HZr5d3TCA3W5acxB40xfNgA1pj17p9jr74CzkahGsa3hb7L7ivKmRk+VgMh2du7xWiI8Wf+KLMvL BrfF/13ETvZaOOo4YBiQ==; 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 1g0YCj-0005aR-0z; Thu, 13 Sep 2018 20:27:09 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0Y8N-0002MX-Tk; Thu, 13 Sep 2018 20:22:42 +0000 Received: by mail-wr1-x441.google.com with SMTP id a108-v6so7933766wrc.13; Thu, 13 Sep 2018 13:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HlSeyR8FTSxxnnFQx76R+ItwDNJwBtZ2TbhdJ0gV5J0=; b=EWtC2XaP+J7rg3wpVyqoXyD6UiuO5iFem9+sY6hywpZFF9rjy5ZILTtQEECfyvoXIY 3oSkfFKqky4faJmIEeO6ZM/HfhkrubrVYQFf9ofEDWCK8a6EQN+t+KWBcVP3TKEK6e7C iBThT1I2rLHwlyJDw9q/jWNeNcYcc7iMsXBS9R0EHOVwTU0iNb+KdIXVSgbn4S/0mqGh WZ1Chg29PaG/DTseSJwY6xN6G+rcDL+8RJ2rcIDLyBnoZCnolFi2dCEG3aIj8B4/tpKR 0fLXD6AWbiN5tihIbsnQx5EMYbUQy5pxGVMB8rlyGON4znRLQJD9haG7oHVN5NnweiTf 7X8w== 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:content-transfer-encoding; bh=HlSeyR8FTSxxnnFQx76R+ItwDNJwBtZ2TbhdJ0gV5J0=; b=BZNgW97iejNPs6tHNJ3FxWTVZVIuW+w2SBOQiJZtF1k3hENq9Q7twWybTTX6jkwGTu b2hIH2fqnNU+ImVR4s2VrAjZ375kCS7JXvGDRNk3SX42iv/gEFms0YQ1gHssWug560i/ 9/mo9PD5bYoZko/OfC2zLP9BRhLMIwulsQm8zscguUToCsJXTQ6rh/oUjkAh4THflmYi JnJPmfKWwhxlbQmqt+EnF9s2bu6k8oGhjwGJsKlQsdMhjMNVjsl8DIGnjutD2rwavmIq AMrb34RyrUB7tC9W8U5xTMN9tKwcNFdV+8j6dDS00IY3k0Ra2jh5ob1bRVDMk2VXj4M1 BOxQ== X-Gm-Message-State: APzg51Cfl/6HAP1Wm0ptcsmMGj1bjG8mQRH4tVovBAKjwadpR27yywDh 7wgsLO8GcCK54zHcrWvXGOtxEfOn X-Google-Smtp-Source: ANB0VdamlnrW5eGMVZlpL4TPdmxJPTs/8F9TwZlWLkmFfyuXJ9evKtXTA45DC82RyBk6Lhdk/wLlGA== X-Received: by 2002:a5d:608b:: with SMTP id w11-v6mr7451355wrt.193.1536870147622; Thu, 13 Sep 2018 13:22:27 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD72E2B00B426A3A246F82EA8.dip0.t-ipconnect.de. [2003:dc:d72e:2b00:b426:a3a2:46f8:2ea8]) by smtp.googlemail.com with ESMTPSA id b124-v6sm3648835wmg.47.2018.09.13.13.22.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 13:22:26 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com, carlo@caione.org, robh+dt@kernel.org Subject: [PATCH 5/5] ARM: dts: meson8b: Add support for the Endless Mini (EC-100) Date: Thu, 13 Sep 2018 22:22:03 +0200 Message-Id: <20180913202203.19636-6-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> References: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_132239_999421_85EF6492 X-CRM114-Status: GOOD ( 19.30 ) 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: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org 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 The Endless Mini (EC-100) is a grapefruit-sized computer based on the Amlogic Meson8b (S805) SoC which comes in two variants. Both variants have in common: - Amlogic Meson8b (S805) SoC - two USB 2.0 ports on the rear, one one the front (connected to the SoC through an internal hub) - 3.5mm Stereo out and MIC combo port - HDMI and CVBS output - 5V power supply (rated at 3A / 15W) - an internal embedded micro-controller (called "EC") which implements a "breathing" effect for the LED and allows shutting down (powering off) the whole device - 10/100 Mbit/s Ethernet using an IC Plus IP101A/G PHY (note: the website incorrectly lists a Gigabit Ethernet port) - the CPU voltage is regulated using a PWM regulator. The GPL sources of the EC-100 are using a PWM value of 0x1c0000 for 0.86V and a PWM value of 0x00001c for 1.14V. When using the XTAL (24MHz) as input this translates into a PWM period of 1148ns with 0.86V using a duty cycle of 100% and 1.14V using a duty cycle of 0%. The main differences are: - the main indicator for the variant is the RAM size: the "cheaper" variant has 1 GB of RAM, while the more expensive one comes with 2GB - the storage size differs: 24 GB vs 32 GB - the "1 GB RAM" variant has Ethernet connectivity only, while the "2 GB" variant has a Realtek RTL8723BS SDIO chip which adds 802.11b/g/n wifi and Bluetooth 4.0 support Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/meson8b-ec100.dts | 248 ++++++++++++++++++++++++++++ 2 files changed, 249 insertions(+) create mode 100644 arch/arm/boot/dts/meson8b-ec100.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b5bd3de87c33..856ebc036cc4 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -321,6 +321,7 @@ dtb-$(CONFIG_MACH_MESON6) += \ meson6-atv1200.dtb dtb-$(CONFIG_MACH_MESON8) += \ meson8-minix-neo-x8.dtb \ + meson8b-ec100.dtb \ meson8b-mxq.dtb \ meson8b-odroidc1.dtb \ meson8m2-mxiii-plus.dtb diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts new file mode 100644 index 000000000000..a71043c0ddea --- /dev/null +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -0,0 +1,248 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 Martin Blumenstingl . + */ + +/dts-v1/; + +#include +#include + +#include "meson8b.dtsi" + +/ { + model = "Endless Computers Endless Mini"; + compatible = "endless,ec-100", "amlogic,meson8b"; + + aliases { + serial0 = &uart_AO; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory { + reg = <0x40000000 0x40000000>; + }; + + gpio-keys { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <100>; + + pal-switch { + label = "pal"; + linux,input-type = ; + linux,code = ; + gpios = <&gpio GPIOH_7 GPIO_ACTIVE_LOW>; + }; + + ntsc-switch { + label = "ntsc"; + linux,input-type = ; + linux,code = ; + gpios = <&gpio GPIOH_8 GPIO_ACTIVE_HIGH>; + }; + + power-button { + label = "power"; + linux,code = ; + gpios = <&gpio GPIOH_9 GPIO_ACTIVE_LOW>; + }; + }; + + gpio-poweroff { + compatible = "gpio-poweroff"; + /* + * shutdown is managed by the EC (embedded micro-controller) + * which is configured through GPIOAO_2 (poweroff GPIO) and + * GPIOAO_7 (power LED, which has to go LOW as well). + */ + gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>; + timeout-ms = <20000>; + }; + + leds { + compatible = "gpio-leds"; + + power { + label = "ec100:red:power"; + /* + * Needs to go LOW (together with the poweroff GPIO) + * during shutdown to allow the EC (embedded + * micro-controller) to shutdown the system. Setting + * the output to LOW signals the EC to start a + * "breathing"/pulsing effect until the power is fully + * turned off. + */ + gpios = <&gpio_ao GPIOAO_7 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + }; + + usb_vbus: regulator-usb-vbus { + compatible = "regulator-fixed"; + + regulator-name = "USB_VBUS"; + + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + + gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + vcc_5v: regulator-vcc5v { + compatible = "regulator-fixed"; + + regulator-name = "VCC5V"; + + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + + gpio = <&gpio GPIODV_29 GPIO_ACTIVE_LOW>; + + regulator-boot-on; + regulator-always-on; + }; + + vcck: regulator-vcck { + compatible = "pwm-regulator"; + + regulator-name = "VCCK"; + regulator-min-microvolt = <860000>; + regulator-max-microvolt = <1140000>; + + pwms = <&pwm_cd 0 1148 0>; + pwm-dutycycle-range = <100 0>; + + regulator-boot-on; + regulator-always-on; + }; + + vcc_1v8: regulator-vcc1v8 { + compatible = "regulator-fixed"; + + regulator-name = "VCC1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vcc_3v3: regulator-vcc3v3 { + compatible = "regulator-fixed"; + + regulator-name = "VCC3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&cpu0 { + cpu-supply = <&vcck>; +}; + +ðmac { + status = "okay"; + + pinctrl-0 = <ð_rmii_pins>; + pinctrl-names = "default"; + + phy-handle = <ð_phy0>; + phy-mode = "rmii"; + + snps,reset-gpio = <&gpio GPIOH_4 0>; + snps,reset-delays-us = <0 10000 1000000>; + snps,reset-active-low; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + eth_phy0: ethernet-phy@0 { + /* IC Plus IP101A/G (0x02430c54) */ + reg = <0>; + }; + }; +}; + +&i2c_A { + status = "okay"; + pinctrl-0 = <&i2c_a_pins>; + pinctrl-names = "default"; + + rt5640: codec@1c { + compatible = "realtek,rt5640"; + reg = <0x1c>; + interrupt-parent = <&gpio_intc>; + interrupts = <13 IRQ_TYPE_EDGE_BOTH>; /* GPIOAO_13 */ + realtek,in1-differential; + }; +}; + +&saradc { + status = "okay"; + vref-supply = <&vcc_1v8>; +}; + +&sdio { + status = "okay"; + + pinctrl-0 = <&sd_b_pins>; + pinctrl-names = "default"; + + /* SD card */ + sd_card_slot: slot@1 { + compatible = "mmc-slot"; + reg = <1>; + status = "okay"; + + bus-width = <4>; + no-sdio; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + + cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>; + cd-inverted; + + vmmc-supply = <&vcc_3v3>; + }; +}; + +&pwm_cd { + status = "okay"; + pinctrl-0 = <&pwm_c1_pins>; + pinctrl-names = "default"; + clocks = <&clkc CLKID_XTAL>; + clock-names = "clkin0"; +}; + +/* exposed through the pin headers labeled "URDUG1" on the top of the PCB */ +&uart_AO { + status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; +}; + +/* + * connected to the Bluetooth part of the RTL8723BS SDIO wifi / Bluetooth + * combo chip. This is only available on the variant with 2GB RAM. + */ +&uart_B { + status = "okay"; + pinctrl-0 = <&uart_b0_pins>, <&uart_b0_cts_rts_pins>; + pinctrl-names = "default"; + uart-has-rtscts; +}; + +&usb1 { + status = "okay"; + vbus-supply = <&usb_vbus>; +}; + +&usb1_phy { + status = "okay"; +};