From patchwork Sun Apr 19 05:53:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 11497121 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 53F4614B4 for ; Sun, 19 Apr 2020 05:54:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 31BBD206B8 for ; Sun, 19 Apr 2020 05:54:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ntFbCR3C"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mXHHU4XZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 31BBD206B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=SjtfY2tbxrMljbbV/G0XtvnB9k8KnbQao6ZSYbE9TGs=; b=ntFbCR3COZ3hvRvPSkVhjQVNYF s86g5l8xaB0RYSl/oINf+EZAoFVDDTaZVt2SwprZTPfDEm9tc2RCPLKkBM3gA0KMto46JtNSUvl7Y N+vBLwnYcaqMFUNOlKGYffWWbCesH0L+XESaviaNAaW1bdOBvfExcZaFAOxSCoKtefd7OxtN3G5RK 46/+ktW2V8+6L9ZIqa+psXugEbnHZ7sDBMR5BKJrHk64c9p52vVbTXEZMsTa9tbb5zCRxzdMaqv3h ocfPOPf/Q7CStgJvqxwkHc9HQwUb9Cs4R9lWlvpCmwG7EAbZXz3NCR5LJq1WVfLGqfuVVlKjsTHB5 eWcCOXUw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQ2u1-00015F-G5; Sun, 19 Apr 2020 05:54:01 +0000 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQ2tW-0000aU-Lz; Sun, 19 Apr 2020 05:53:31 +0000 Received: by mail-lf1-x142.google.com with SMTP id r17so5222377lff.2; Sat, 18 Apr 2020 22:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Cp+YcW+uZwweqktYq1kPw5M/xoHZD09hBXWzWgZpn8o=; b=mXHHU4XZ0bVgIZ8xBu5v+wSWHF77YPQuCaV2Ohf5J7nhQ+9RRUnj64tgiGpMfkHtQo VSRKBf0X7fYqORWd+DiN7jwSHdexbNeClY7LsNIBBQGfFqKWNiGa0XFES5JuUdUykXzU VSFBsFPFDSMKAZwOI4PujeDFObKpDL0kQdJpVcs+PVwtT4dIkl7oE0AdQJm90oiNDEai 7WoK51OpKMyZeYwFEAYddCaQgWRNJDTCJ3dCAd/qMhuPPr3mSG8pZzFjm/TdwlgL/hlj 4P42cFOcxrgL2xbgPGdYh+ZYlBDP5cO3DP9VcYlG1l+9/hMmpZojE5MfJ/C3H/mFxUx0 mTjA== 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; bh=Cp+YcW+uZwweqktYq1kPw5M/xoHZD09hBXWzWgZpn8o=; b=U5VDKqaHw04OqHK6HSOYXFLvAUb+AVkM+hgIp3VfGHBbCaaFjRJC/UMXnHgut4hysc Kp8avysfo82aaE2VSyVZLq5UC8RJ4sl3ekfY1hkqbszCUxvHXLTeRRNlCwlr8hooyki8 A/84IOzgJylTpU8gXwVRleIM4BKgC6JfYuqb9ktaU4YqeHogNN65q5MIHi2ZO/zuaBqj UiD+wQYsKkJIBdiiUA3wE7268OCnemXnf3dFxQvu/5u3wQQ3b5CGVpyO05yoJoJXoL6y eXqmIHz3AMX01S5hHNIeJ1eD0fo1UNmxlq+XzBzj6qXdH9Iy+9e1+a8WFmQuWC14Bmtt W52g== X-Gm-Message-State: AGi0PuaEbiCVGu8KNA/L454wy0l/EjfZF/CuJ3HMXIlSas64CBP/3hSo VHa1QFC4R5v0i7/Aq6/w9eA= X-Google-Smtp-Source: APiQypJoxv0TyES2AdqlW9umna3BrKG7kN4I69FJTVPxKmNrdHFQYkkPxXYmypsFbZTO7en3OnIJPg== X-Received: by 2002:a19:4841:: with SMTP id v62mr6609541lfa.66.1587275609345; Sat, 18 Apr 2020 22:53:29 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id h7sm3366247ljg.37.2020.04.18.22.53.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Apr 2020 22:53:28 -0700 (PDT) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] dt-bindings: arm: amlogic: add support for the Beelink GT-King Date: Sun, 19 Apr 2020 05:53:19 +0000 Message-Id: <20200419055322.16138-2-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200419055322.16138-1-christianshewitt@gmail.com> References: <20200419055322.16138-1-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200418_225330_717578_CEA1C410 X-CRM114-Status: GOOD ( 10.16 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:142 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [christianshewitt[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christian Hewitt MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org The Shenzen AZW (Beelink) GT-King is based on the Amlogic W400 reference board with an S922X chip. Signed-off-by: Christian Hewitt --- Documentation/devicetree/bindings/arm/amlogic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documentation/devicetree/bindings/arm/amlogic.yaml index f74aba48cec1..6bf9bbcf4968 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.yaml +++ b/Documentation/devicetree/bindings/arm/amlogic.yaml @@ -148,6 +148,7 @@ properties: - description: Boards with the Amlogic Meson G12B S922X SoC items: - enum: + - azw,gtking - hardkernel,odroid-n2 - khadas,vim3 - ugoos,am6 From patchwork Sun Apr 19 05:53:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 11497125 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C1AF114B4 for ; Sun, 19 Apr 2020 05:54:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9450E206B8 for ; Sun, 19 Apr 2020 05:54:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UJpahakF"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="doXg7c2i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9450E206B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=bef3cmrnBXyXFYRHQuMCSpANSs6AQLPiwdsaUMwJ8m8=; b=UJpahakFafshugMVik8kugm7G6 d717qs0GiGMDbEDhoSbLh7g49U/fpXx5ke9PBEclZigbxpf4gqkV/BRXaYVL8lSetartSRUmLMeAb Gguz8aJzqSk+YLtIweOK7EhdFB9Mkf5Plq9QaerqmFWiknBMc+B2Ks3h3kw/fjn9BcwqEudNhxnvO U1da3zeohSVRegi4JsIPGgziKCA1nqY/z+mS+t9R7K/zPEtJdgHo8ZTSTUtIBK548xzv+nYdtkAYw DP2BvvVHEmE39kOfCFcCjx9gwYqoT88tE0rEEBOFZuuAEKN10KpcItyfAlHY5XoOAs6EDp8QStRXT 68YZ9QLQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQ2uF-0001Mj-SD; Sun, 19 Apr 2020 05:54:15 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQ2tZ-0000bO-Js; Sun, 19 Apr 2020 05:53:35 +0000 Received: by mail-lj1-x241.google.com with SMTP id u15so6395420ljd.3; Sat, 18 Apr 2020 22:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ETRJ8mYOQ9yujZCmmqXpwwej2/FIPoryFM9Z1P/Qlt4=; b=doXg7c2ioYYkK4WQWUgxwqfnC7y2oLopTk782suwNGNXZ0e7YECuLuH2BXq+6ZPgii S6cwZkCRxikfxD7Xqvv8gidbuAvo0P4hWDBIPYgJhqmFpOYlo+HtrOhrFCtoirYr59FT KWAErbGNxbllP5le9+rfK/vIHOhTjG0FEs2g3D3PIadq7Dl+3ywFMt5JDKt07zhqODJb VPxDq2Gz1RetdyOB7gG/aoR9ARiVrg6PkCL398UN57t/fFLknoQt8gY2mYR7qCKYk/hE PfoDt2bl2yJs2RrFXXNFeqLdVKOGa8PYT7aREueGPMA0xePcoCuEWLRiGuQRcGlDn0ZG JBqw== 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; bh=ETRJ8mYOQ9yujZCmmqXpwwej2/FIPoryFM9Z1P/Qlt4=; b=hrSY9AWdyo9RnIIGVTkTmnpFDsc6Abp4GtFTqWpSFKkYh9Fw55HmOze8J8UHiy2qpR fzToQZEResnB6iNthDYWUXJPR1uSfIKghc76SrYNJqE5gLBrHX22jPbJkBklU2b3xE2l XWW7XxwJYf2ehSygo1XtRVeenvElafwSNIopWqAJ3tGe0yAs3J5L8NmCRjcOV9KHWK7Z +5ueIDOnUq5MJhQifUkgBkYVCmS4cyY9VYoMTnKkaVUEDPXCbETk0EacOk61G9GsErym GaWKaeQmwniw/DkiczYjN9n1j2eyy1Li/4Pf1ITkOcERFzNttPREqiPopSrk0tYwkJds gQOA== X-Gm-Message-State: AGi0PubcIjyAPJtIFhAU3pJJh+2rAxmUtaRCbXOGCcvFn3iAfg0ltN04 KGBDNJho1vnxwCu1ZUo7wmY= X-Google-Smtp-Source: APiQypIpk5R47A7gcnVm6RNFywZg4lAADQNzbBgdyL8UkwtSc5G/cscsnrcEghuNWSwMncxxIZzIBQ== X-Received: by 2002:a2e:b889:: with SMTP id r9mr2631829ljp.203.1587275611832; Sat, 18 Apr 2020 22:53:31 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id h7sm3366247ljg.37.2020.04.18.22.53.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Apr 2020 22:53:31 -0700 (PDT) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] arm64: dts: meson-g12b-gtking: add initial device-tree Date: Sun, 19 Apr 2020 05:53:20 +0000 Message-Id: <20200419055322.16138-3-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200419055322.16138-1-christianshewitt@gmail.com> References: <20200419055322.16138-1-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200418_225333_667771_FAE0C927 X-CRM114-Status: GOOD ( 12.28 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [christianshewitt[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christian Hewitt MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org The Shenzen AZW (Beelink) GT-King is based on the Amlogic W400 reference board with an S922X chip. - 4GB LPDDR4 RAM - 64GB eMMC storage - 10/100/1000 Base-T Ethernet - AP6356S Wireless (802.11 a/b/g/n/ac, BT 4.1) - HDMI 2.1 video - S/PDIF optical output - Analogue audio output - 1x USB 2.0 port - 2x USB 3.0 ports - IR receiver - 1x micro SD card slot Signed-off-by: Christian Hewitt --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../arm64/boot/dts/amlogic/meson-g12b-gtking.dts | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index eef0045320f2..1fd28e84e808 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-sei510.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-g12b-gtking.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-s922x-khadas-vim3.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts new file mode 100644 index 000000000000..461da47ed463 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 BayLibre, SAS + * Author: Neil Armstrong + * Copyright (c) 2019 Christian Hewitt + */ + +/dts-v1/; + +#include "meson-g12b-w400.dtsi" +#include "meson-g12-audio-hdmi-spdif.dtsi" + +/ { + compatible = "azw,gtking", "amlogic,g12b"; + model = "Beelink GT-King"; +}; From patchwork Sun Apr 19 05:53:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 11497129 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F2603112C for ; Sun, 19 Apr 2020 05:54:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CFB79206B8 for ; Sun, 19 Apr 2020 05:54:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pfXi7yAV"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZNgqJVtz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CFB79206B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=kId71rpZ3Z+eCd3Yn/CJ7x+73QvWSSOOiuenSzeDw2g=; b=pfXi7yAV33y26Ls2TGDM/T06Ls dOHdIOfYIfH8UJ6QhXvI25CnaiLIKlRNU1pYGLrWCx3FanRSPwF8QQWwg5iv0khad79cU500mqy8P 9tByOul62av6c/ShRCc9EQFnx4zWo1Rb2hdvojKH0IFiH4i7fpTFgQSoVhWOIbL+JGt3ml72MNlrg XlrzPcWs1wsbvkrJbgVwfp9aE6MR3YpimqN2ZHDVfNHv5bO5VAlWzP/v4NO44OzB1L6VXemwqdO0U vF7pBfKiyDgqTenp4WS3mJHxFIWmDnm/9kOssNoJvH9K8GAZ3+e2Rj7GcDnbr3f5wKQzEj4kAEx78 qfM45udA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQ2uY-0001gj-OL; Sun, 19 Apr 2020 05:54:34 +0000 Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQ2tb-0000ee-T7; Sun, 19 Apr 2020 05:53:37 +0000 Received: by mail-lf1-x144.google.com with SMTP id m2so5193972lfo.6; Sat, 18 Apr 2020 22:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xFwe9ZwouejBf4AlmJwEBZFdUiqcwR+jV5dE/3vh35w=; b=ZNgqJVtzaRN5PPPIigiNaHTejpdnCylOekthURv06SYaJv3P7pn/ERtFEaXtNJhkJS BQjAXPCkZdLwMIvT0vKyzuNgftX/NAvH3gQTIM0jxHTob9YST/hWFKXZVr5BwS/mJ3Pa +y+FtnEmGgut4ZZBZbMno8QNHja+PqECz4wEdekBD+JYoTX2kKElnvyO+9KxnWLO2qPE dqJIkQuFrfmwXcm6G5xjtNk1iZuGTtgzeOtGZAsXr4wS7Vxq1kMJlMkQJukjtVRclJv/ SjFnfiLpVVhk4WV+MjcWrVg6BVjNdRinozLlSnHnGEOdlfqA0Jajz5CPV8zZE5tT1SUB U49Q== 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; bh=xFwe9ZwouejBf4AlmJwEBZFdUiqcwR+jV5dE/3vh35w=; b=hKtfEGTym08XV/ytI29HHalOfQDCdR3GFuqpedryb9EQciO3tPClCbHP21Ni+Y37/o bRMqtFWtfy961lisnt3or2hOiGUoDe9ncdEHtVnR+/aXkPjqRweWvIs1MEwuvLFMKDuf E1Y0PPddhJM4jc2bzHGj/zLAOgkGDqDZ2Rjp33pmJom3iueX9TgI3PQB+O86g3vPHqKC 6WI8WocwJN0uHssVKxVcFlkhqC6/6w9JuiOK5wa+xLs39S60QW1xU37RIkbbl5DjBiOh ks3M7xthWOn4+OgEnNZpMvMJiWyVn7ZxIXLf4DDVX3MiE44ou2HiWdlbjT0i5P31zU5/ pqXg== X-Gm-Message-State: AGi0PuZ5Qr6dWHhXUhpbAIHMpf8DS7b8mFbJp0WhTIsjlTIltIRU4hs6 u5xmfDfnwuW2AzpUwEQf4qI= X-Google-Smtp-Source: APiQypIioYm05i3CpljKQVso1nnH5eeIqBtCIE/EOLm5YSWkwdB6a0iJBxTTdBbfUBFxtdOhly4jTA== X-Received: by 2002:ac2:4187:: with SMTP id z7mr6678820lfh.113.1587275614312; Sat, 18 Apr 2020 22:53:34 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id h7sm3366247ljg.37.2020.04.18.22.53.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Apr 2020 22:53:33 -0700 (PDT) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] dt-bindings: arm: amlogic: add support for the Beelink GT-King Pro Date: Sun, 19 Apr 2020 05:53:21 +0000 Message-Id: <20200419055322.16138-4-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200419055322.16138-1-christianshewitt@gmail.com> References: <20200419055322.16138-1-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200418_225336_252851_5B49283C X-CRM114-Status: GOOD ( 10.18 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:144 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [christianshewitt[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christian Hewitt MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org The Shenzen AZW (Beelink) GT-King Pro is based on the Amlogic W400 reference board with an S922X chip. Signed-off-by: Christian Hewitt Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/amlogic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documentation/devicetree/bindings/arm/amlogic.yaml index 6bf9bbcf4968..215e0668663a 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.yaml +++ b/Documentation/devicetree/bindings/arm/amlogic.yaml @@ -149,6 +149,7 @@ properties: items: - enum: - azw,gtking + - azw,gtking-pro - hardkernel,odroid-n2 - khadas,vim3 - ugoos,am6 From patchwork Sun Apr 19 05:53:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 11497133 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1C9B114B4 for ; Sun, 19 Apr 2020 05:54:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EE2FC206B8 for ; Sun, 19 Apr 2020 05:54:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="E5tARDef"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LLnuM0lo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EE2FC206B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=nrm860jvZHozS7qRUi5ORzj6cDCPn1WM/Kb6yIK3ORQ=; b=E5tARDefLHbQyHm+fmU6aSOq7G 6+CP0j4z65CW6XVc1FgC+ntW8a0/uSeOzfuolS/2ze1TwZso1vXjdL9fv5Dm9iIpCi8MdNVhiBloI LWy0FCk6hR+rEco4I4HnEJcufq/dYhQ+KqZbq9FtPdiExmMnmR9D8fetF1ETHseLIZxpdi9ANLGeG 7R0XFVovLhxVieR7hy/5+celpNO1GvFGtD9Veh/MP0nmJCdwytjr6iBBN+LJs7UA69BXEJl5817SG VMtdAeoefqfmIVQ+UsCKKNbRfSskuiDtQAzPkCMnPyzFHgaVOs2wzKdc8ApWsQmygVV56JivhDLBB pTo2UYcQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQ2uq-0001zc-IR; Sun, 19 Apr 2020 05:54:52 +0000 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQ2te-0000hr-Nn; Sun, 19 Apr 2020 05:53:40 +0000 Received: by mail-lj1-x244.google.com with SMTP id y4so6354911ljn.7; Sat, 18 Apr 2020 22:53:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xN3miRWZzdsMsxxSHU7bXZvm24cCusdBgj9dMFbMgFE=; b=LLnuM0lokDj6WShWfzAm7IQ3C2Ry/rP7akF1AWqIr1yEymcuF4s/lrT+i9l7w5Og4N +dCqigzJ3ypQAXiJOYS+hpg63f926bI2Y9dxSo/zZmYSdDD9wmywtQw+Q7tsvag63jXb V+VhY3w0Qsb4/2MqNWJvYbcfe+Gkao2oPUtIZG5jrxuWGUzA/xZVh0a49eaQ+qAeA5EC 0RxNFbVHQMAblEuTv+OLK8R3Ulr6MnGBj35OCOv8eB6ixelH8Li717QcTVYKY9q6nVl/ qYT/x2jZA2eZ9rm4j1y1tK+nObSOinZt9mDUvL2GGoBO5NgGJRPM8kVcqM+DJTOoy4xG Ceqg== 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; bh=xN3miRWZzdsMsxxSHU7bXZvm24cCusdBgj9dMFbMgFE=; b=j/M8b1rwnVleVyOhJKhre6HdXbcIfr+0Or38SJB4qo/6vKJWsUTHAXF0RHGD9d/75p abi/rPC7yy9+xy+J07/K4ORXcwpymEn98Ur8A9d1ZOCZXpyFDsCFr8KIq8XRqNrxPzwb niO69RUHbXK31phRB+hIKKwlBUP2WYHH+C9HuCGvq8aaCiS7rpj0OIgDeU0G7V4ES42R yZ3n8RNj3mPPcRrl5cJgCE6g3JKnzAuyJA4o6aVOyD4+OL/wo1q/+EFvafRfZkzsMbM9 Ey8pekxzgtMtONRVSZBRfPwCa4C5cjCEkZizC282NRrYaBZ9ETBpWNizSSJRztw3xfem ypKw== X-Gm-Message-State: AGi0PuYfdj+JdgFEJ5j6HmPFe8z2UVObiYHfSMfT58uUOWMbWMmufreX R3CQcGJAjMEqCgJF8dXlsW0= X-Google-Smtp-Source: APiQypL9B78BpDHqzcdSxXcsbHU3s5I24MyU0cJ5Fjh+KgzcIB6iYgtHo9Bc5eUX8MkqBzw/Qqa6yA== X-Received: by 2002:a2e:9456:: with SMTP id o22mr6510374ljh.94.1587275616923; Sat, 18 Apr 2020 22:53:36 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id h7sm3366247ljg.37.2020.04.18.22.53.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Apr 2020 22:53:36 -0700 (PDT) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: meson-g12b-gtking-pro: add initial device-tree Date: Sun, 19 Apr 2020 05:53:22 +0000 Message-Id: <20200419055322.16138-5-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200419055322.16138-1-christianshewitt@gmail.com> References: <20200419055322.16138-1-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200418_225338_779469_F09B0C44 X-CRM114-Status: GOOD ( 12.77 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:244 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [christianshewitt[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christian Hewitt MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org The Shenzen AZW (Beelink) GT-King Pro is based on the Amlogic W400 reference board with an S922X chip. - 4GB LPDDR4 RAM - 64GB eMMC storage - 10/100/1000 Base-T Ethernet - AP6356S Wireless (802.11 a/b/g/n/ac, BT 4.1) - HDMI 2.1 video - Analogue audio output - 1x RS232 port - 2x USB 2.0 port - 2x USB 3.0 ports - IR receiver - 1x full-size (not micro) SD card slot - 1x Power on/off button The rear RS232 port is not currently supported in the device-tree. Signed-off-by: Christian Hewitt --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../dts/amlogic/meson-g12b-gtking-pro.dts | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index 1fd28e84e808..0f377031cccb 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -4,6 +4,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-g12a-sei510.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-gtking.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-g12b-gtking-pro.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-s922x-khadas-vim3.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts new file mode 100644 index 000000000000..c2bc1ca5a136 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts @@ -0,0 +1,39 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 BayLibre, SAS + * Author: Neil Armstrong + * Copyright (c) 2019 Christian Hewitt + */ + +/dts-v1/; + +#include "meson-g12b-w400.dtsi" +#include "meson-g12-audio-hdmi.dtsi" + +/ { + compatible = "azw,gtking", "amlogic,g12b"; + model = "Beelink GT-King Pro"; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <100>; + + power-button { + label = "suspend"; + linux,code = ; + gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>; + }; + }; + + leds { + compatible = "gpio-leds"; + + white { + label = "power:white"; + gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + }; +};