Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2349645ybz; Sat, 18 Apr 2020 22:57:40 -0700 (PDT) X-Google-Smtp-Source: APiQypI9MdOrUtrRXj5A7336yXuk6FdTo4Y1GwdTBxyHwujdEZJ7Uk0JuPhTL3U7F0bBJogitubq X-Received: by 2002:a05:6402:333:: with SMTP id q19mr7215088edw.186.1587275860069; Sat, 18 Apr 2020 22:57:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587275860; cv=none; d=google.com; s=arc-20160816; b=EvD9GbCY1Bo/GsA14QSQtqU8WsJYLolEs9BICeXrBUPpFbG7AXQwdSYhKLUl3/+oJx Y4KZpVhExLOC7FVHdKdWOFQq994JjS5WAVwpk3tHXO9urbQVvX3os87xcmgdoTzyhLym Iu6R4J1LtvTniqiYlOiEZ6pZc1UXi1vzQ3xTMRs8YVf2pyiFrUvVLkgSpAk/Q4nEMEre UJ9aB6gKSOq9pzbfLowQ7tpUXhL+ahDLzSAi1RQfb5DocgdY+gk7xmzbohoLZZIbYELh aOdd7F5FfYrWBOm/BNXqMd5iSQfXeWEkt41ycYSRJEtCKki4X5xWZPNTST+8VrXtRUtd 4rPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=xN3miRWZzdsMsxxSHU7bXZvm24cCusdBgj9dMFbMgFE=; b=yoyVapUpi3LA/yLfHaeNjNpB1WyuALyCPvvPHgkuJGTOqUAvwkwMyphFHdFRV5fm1s TQWj2PYbi7Ggq1lqtJWN8SOfK8EqH3xef+qMJ9seDhDtngXzpnTBuj5J0MDZWgtTxfPz 0vypc85HTecAC1IzWpFfXdnkVsnlhzQ/kKpn51MgDnJphUKFefegVcBerGpfP910pxdq zxQwLmiahJN/mJWYCIkwW4ofHMZFVd22nWe4dZMh7Fmge1LqVjC/3/E/i/LEDs18avoQ /jusyIQeEWneRWoNsVQp6jR/Sw/FZohmI+DZC82fEHXHXb9rAj/VM1Ae98rsa0edC3L6 HM7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LLnuM0lo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gy15si16658129ejb.71.2020.04.18.22.57.17; Sat, 18 Apr 2020 22:57:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LLnuM0lo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726112AbgDSFxm (ORCPT + 99 others); Sun, 19 Apr 2020 01:53:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725446AbgDSFxi (ORCPT ); Sun, 19 Apr 2020 01:53:38 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69352C061A0C; Sat, 18 Apr 2020 22:53:38 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id j3so6347250ljg.8; 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=pkIK1wPExiCApO1okH3nddWdGaWrX+etTz6W1JEJGAo3r5Qj0IPh0uzwLPdN6v5OEE sdX7/24cmnGn96OcQG1vLkYLPYHnEydZ3wWoqcmutiSVeuYwj6znYcQ4WhEC42JbYeTx 97KFgpnADPnfm3NGFqxOSPWVR3+GkpE6v6f8xVartqDe/HJ/NgGtfETP2nBT6tuCfADw 24J0UT5i9+aoEPBQFrARmAr1AHkcgxFdqIoCmD9XrWsC3V0yFryqxDgJr16nVdvcGKC5 zSZnUDzgoL+yY+63F+JEBy4IZyeoNQN2/q5pezZlB0AveT/XBYdvUkyVYAz9dtjzOSif 8aaA== X-Gm-Message-State: AGi0PuaxLmuTaftlHCaYa0vHcMMuyKi4oWd+ABN45sILiKE2bFqUZydq V3f/drov2zlAD6mgmFlzMpk= 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 Cc: Christian Hewitt 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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"; + }; + }; +}; -- 2.17.1