From patchwork Wed Dec 19 23:35:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 10738289 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 305C1924 for ; Wed, 19 Dec 2018 23:35:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16A10288EE for ; Wed, 19 Dec 2018 23:35:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AC6C288F6; Wed, 19 Dec 2018 23:35:36 +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 B4EAB288EE for ; Wed, 19 Dec 2018 23:35:35 +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=8sFfwaPwqVSIZo0dMxvg+K3EqvjL3r7fFO3StMHBoWg=; b=F1DpU3s4hRCPuo bwVeO+oS25NsD6/GgImIczJxzwOHQ5XRcjy0b5/AE568JD7tFdpzYUyvfxwWv7WPe4q4nwcboFr1V pLy49vcsiDdougFdC4yunwN3PMfpjg3FHYq9T1KAiAAfMAAvUPbUJbD3NdmbkeKdqdhM4jn5b3G+t 9GUkpNG7PAuI3Wcq8gke+EN92nE6vmW2OMMh3TJWGSL9DDmm9N228KkMM7vdbuW4L95W3MWYcrC/7 uS4WY5cNJ8oSn70ji9AcU+2UURq19THMNgpiBcb5iBV2Zjsg2WscO/fMYoPC3khURysVii9Snfs0f 4xtotQHN0L3CbJQZ4PSQ==; 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 1gZlNH-0002R5-5O; Wed, 19 Dec 2018 23:35:35 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZlNE-0002Pi-99 for linux-amlogic@lists.infradead.org; Wed, 19 Dec 2018 23:35:33 +0000 Received: by mail-pf1-x444.google.com with SMTP id q1so10560343pfi.5 for ; Wed, 19 Dec 2018 15:35:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fM4yF5XC/CAQiBy4ThvTvJ1DsvWxr4n59kQ4YqGRqpM=; b=lm0vozWzqIMqSzNqPkOgcAURyg5cohtOOHkVCjZB1gLCtYPHOZVruQDE9iYb3dSXd4 5xdkdqUg4SK3vpO/lkvlfIVSJgTOq8auhv6lmaEcKer/tLdo2t4IM9lHcxAuJs/BMHWl iYQfRBtz2iJ9HwlgsvgXQ5apoPKuBsBTI8Z3SfX2pI3jbViElLLrD4RqLK5OAAN/M4id SJhIWt1/XCl+HK8BEGQv6+3LhCrpJX3X+rdVID0cV3r2ELQsVbHSArFuvWOtyeUo6lU/ mVRri/Iw3PeJfBRoMVRKGJTEYHZHtjmD25XBKdWA4dk5SA8GToQnt4+pn+R0ibCW+8pg JPQA== 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 :content-transfer-encoding; bh=fM4yF5XC/CAQiBy4ThvTvJ1DsvWxr4n59kQ4YqGRqpM=; b=VnBFok/Gdj2qwwW+uM3f6MjYHCmn1cAf+S2GZQC8OWSf4pgJzpEF8qIT7oiw4+UNLQ 8nvEn6mps8nUnKuZH968cK0xkFzkkoOotU9ebZEkhTGGHnNqb8HCwpmCU+YvkbBraXCZ dumyPsbOFpqngJwiDV8P20G7dWLAVSNc2+lRiu4P0s45CYiDVrJMaQBTLbvTY1UFIfr/ 6GznYhNtFBFLGgW6b6WHqySdAhVe3DHqEmXg8MfrrHZw1U6Wa5wy1NSwKZAeQXnr0IV/ /1YchnUqJ0M50eX5FbbCRJzgim3hy1EJnWqqLdoXmmLdQI9p0UcMRXG3jEqHKV1crA24 Mrlw== X-Gm-Message-State: AA+aEWaJMkwlb3G5DAaBEOqWGm8wMffqWUHBFYeBUnSUorlmEdAVWswT Sb59HcdYNe+lnfwl73kicmMr7TRER+s= X-Google-Smtp-Source: AFSGD/URNddIK30HEXqw6ZADC+5p/tkf7IwJUk5WjGmzW5mEu7OMjI9RUJRrChHM577ksoagRlal/Q== X-Received: by 2002:a63:334a:: with SMTP id z71mr21409240pgz.400.1545262521018; Wed, 19 Dec 2018 15:35:21 -0800 (PST) Received: from localhost ([2601:602:9200:a1a5:da9d:67ff:fec6:ee6b]) by smtp.gmail.com with ESMTPSA id i21sm23692663pgm.17.2018.12.19.15.35.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Dec 2018 15:35:20 -0800 (PST) From: Kevin Hilman To: linux-amlogic@lists.infradead.org Subject: [PATCH v2 1/2] dt-bindings: arm: amlogic: add amediatech x96-max bindings Date: Wed, 19 Dec 2018 15:35:18 -0800 Message-Id: <20181219233519.35287-1-khilman@baylibre.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181219_153532_324685_DB8340FB X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add new vendor for amediatech, and initial board: x96-max Signed-off-by: Kevin Hilman Acked-by: Martin Blumenstingl --- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt index 8dbc259081e4..c50b084b6c59 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.txt +++ b/Documentation/devicetree/bindings/arm/amlogic.txt @@ -99,6 +99,7 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,p281" (Meson gxl s905w) - "oranth,tx3-mini" (Meson gxl s905w) + - "amediatech,x96-max" (Meson gxm s912) - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912) - "khadas,vim2" (Meson gxm s912) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 8c413d8cc2a5..c1bb0c220429 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -24,6 +24,7 @@ amarula Amarula Solutions amazon Amazon.com, Inc. amcc Applied Micro Circuits Corporation (APM, formally AMCC) amd Advanced Micro Devices (AMD), Inc. +amediatech Shenzhen Amediatech Technology Co., Ltd amlogic Amlogic, Inc. ampire Ampire Co., Ltd. ams AMS AG From patchwork Wed Dec 19 23:35:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 10738295 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 00EB2746 for ; Wed, 19 Dec 2018 23:36:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1CFA288EA for ; Wed, 19 Dec 2018 23:36:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CFC3D288F6; Wed, 19 Dec 2018 23:36:05 +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 61F79288EA for ; Wed, 19 Dec 2018 23:36:05 +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=U2F9w26bCF4YfdFAoHF4ydhUotML7Z9ujZB5a1JGswY=; b=cFxVOvLgMAw+7L ta2pHmw7xcofZQMeUTmhvmc9GYVqIm+db75QZcv9MHelPyawUoF+obEekWxOwNhLu4pDkpRBe+Xqp /zSCAJpzCF+E4ybW+vRlutZZCCyl52O7h465pd5SHGCL4nXULV/x/bGELffzUk8CiFQ9tOwKkMtMA ttiHHimjPOOSgNXF6x8vGSoTUSK/jM209xaBc6ULW7yHTt+Afrsd8BS6Z6QX6AiANNxfSO2ao5wwE HWhdnVz5hwyNLsuSIUuHH6f1mMAF4G98PcWV4CpdpTRuL/VwaRjkySe8KECtR5vZl7TXXKry1toyh ogol9YfBSTYCeuO6iB5g==; 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 1gZlNh-0002rq-F5; Wed, 19 Dec 2018 23:36:01 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZlNG-0002Po-6D for linux-amlogic@lists.infradead.org; Wed, 19 Dec 2018 23:35:36 +0000 Received: by mail-pg1-x542.google.com with SMTP id d72so10143086pga.9 for ; Wed, 19 Dec 2018 15:35:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0+0ZmMnSJcwh02/Zr8Y/Gkk/GLzxY/huUOTOniqe87E=; b=b60byp3DNsn5H0hKYrPbr1ipHRyLtx+EJ0X2jJ0eah4m5SDeMKbrC/9hYMUBzFQaC6 qe4iQvpOSiPVJlPcKFJ2a9iVonrKR3AcYkReTIlb42Gcui8nhTtZbzP7reCt5pXbomgC xVAKHis1LfwEclvh3YhhoAqkXaAJ8LO+1lCdbhF358K1r2gkLK9ZqCYhZ4P9lnLaYFrf Xo/RQttv7O5+STHeVWtIxXTIxRSfcT6fDWBWgX19a5cBM0jP++8oyJFr/M9Y1ukXJART 8xkgx6xqnoq3Y4CC0ee1+9Gp6Yp8Ghxxu5oXBAOJjrGZ05glvndpHZsxQwMEwjbI7B7Z exaA== 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=0+0ZmMnSJcwh02/Zr8Y/Gkk/GLzxY/huUOTOniqe87E=; b=grtTV8yUoEq4WPIraVY4zQwPq/CA6EaZNhmIYrYNxGCA/1hCA5O34lcWEZ+6qlfAwm FBbXZXzjFV/oxWVh3rK1ViP84QeS1FYRk3AunxeY1f4jdWEkkEWDbCG/n5NX8XYMZnuf S/uBG1PEyO/r9n0TYvmB7L4PmZxYCtfQhDqA7gWwzjPX11bPKC0ZNcn5eJj2MvxtUzQS WOv970nhPofWDqrhrjD75apmxQl1bA8QTeXLxg4R9EgD4v/MjhXtgGpFGpy9bx1LgFB4 2W6+Rn7NfIPhv+eMWulw0xpIMEkPYYDC3+w5b/dBLUXuiqCCJ1ofnn7w1DyABGxo+dCq NMww== X-Gm-Message-State: AA+aEWbKxcRgqFGAWhrJEHUezmW3ag0EDNrzee8snldBZZpzeNpij4al dQYzCvAa0HSuBLAa0Ab/BPM7Hsmd0SM= X-Google-Smtp-Source: AFSGD/VcSwOyTa3hDe6Z+qDRNfYhc3WvMlo7QLp6xDX85dlncfGaSlVKNlVe6tWYWAAKezfpmrED3w== X-Received: by 2002:a63:7e1a:: with SMTP id z26mr20508583pgc.216.1545262522186; Wed, 19 Dec 2018 15:35:22 -0800 (PST) Received: from localhost ([2601:602:9200:a1a5:da9d:67ff:fec6:ee6b]) by smtp.gmail.com with ESMTPSA id d69sm25194196pfg.168.2018.12.19.15.35.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Dec 2018 15:35:21 -0800 (PST) From: Kevin Hilman To: linux-amlogic@lists.infradead.org Subject: [PATCH v2 2/2] arm64: dts: meson: add g12a x96 max board Date: Wed, 19 Dec 2018 15:35:19 -0800 Message-Id: <20181219233519.35287-2-khilman@baylibre.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181219233519.35287-1-khilman@baylibre.com> References: <20181219233519.35287-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181219_153534_229646_D705F2B1 X-CRM114-Status: GOOD ( 12.66 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the G12a (S905X2) based X96 Max board[1]. There is no branding for the manufacturer anywhere on the product, so it took some digging to find the manufacturer. But since there's nothing about the maker on the product I've left it out of the DT name because 1) nobody will know that name and 2) keeps the DT filename shorter. [1] https://www.cnx-software.com/2018/09/25/x96-max-amlogic-s905x2-tv-box/ Signed-off-by: Kevin Hilman --- .../boot/dts/amlogic/meson-g12a-x96-max.dts | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts new file mode 100644 index 000000000000..c62d3d5706ff --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 BayLibre SAS. All rights reserved. + */ + +/dts-v1/; + +#include "meson-g12a.dtsi" + +/ { + compatible = "amediatech,x96-max", "amlogic,u200", "amlogic,g12a"; + model = "Shenzhen Amediatech Technology Co., Ltd X96 Max"; + + aliases { + serial0 = &uart_AO; + }; + chosen { + stdout-path = "serial0:115200n8"; + }; + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x40000000>; + }; +}; + +&uart_AO { + status = "okay"; +};