From patchwork Wed Dec 19 00:26: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: 10736657 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 4CEE113AD for ; Wed, 19 Dec 2018 00:26:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32EA72B13F for ; Wed, 19 Dec 2018 00:26:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23A482B141; Wed, 19 Dec 2018 00:26:41 +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 4A81F2B13F for ; Wed, 19 Dec 2018 00:26:39 +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=FFEfc4IVRsDr86 1SzkgBvFTA6O/hitO4nK5I6n/eVkz0QWvEKZ1fiB4onkSld7S2EZIL5USpUhVUijRl/HQPWu0VETU cOndSpbjjvZrpEevYeQazCHosNmpbU5OufuugYunYHYtUVN+EL8B8n+0BrDN5nQEABzTrvYWgmbMS Bzu9G8ilRMVaZ1D/Mcjtgt0RA3w0uvGxBeuqTDYiDoL3kQeFEwLrrgEbFl0i1xx5pZkvgE4t0ihya idKVO9mZ4oYk6n7+WMB7Z2ZlZyRCafXM9dzweZn/4cqbvFCvi6zjF33KWolonC1B7oVNf7pI0H2jP /txPz9mi33FRWf6fDaLg==; 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 1gZPh7-0003KV-GY; Wed, 19 Dec 2018 00:26:37 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZPh3-0003Iv-Rs for linux-amlogic@lists.infradead.org; Wed, 19 Dec 2018 00:26:35 +0000 Received: by mail-pl1-x644.google.com with SMTP id p8so8613467plo.2 for ; Tue, 18 Dec 2018 16:26:23 -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=LEBnzzeWk9BDOzcgr84HeCleKD2RkI8U7WFwKIznIXQHvexHoLL7mNE5Um9xtQgJAy zIO7HD9qOlh6tbY9Lv3iCH+LRJB9lMt/IHZgoULWNg0HvcleJb4uWEjBOwkCfFYIMavk ztehNg7BNsPxgO0g5DmySBLqOWCjk7dGVZeBB77YgOz36K0iUTt+iqXuRl7vGCQ576Is C419NBXLgZC3Lrekyp54xb6DT3mzbnfhzo4vMT1xM7tUuUQP97HtDhsuAA9sNYjkgN7l hROGlHok7B3vmW43/OdoEI9zPVra33CdE9Ilzd1Xq95JYueeYp2TTJuXTkzxKcpk5Wh4 n1Rg== 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=furtJSR2zvhCezvdAEUUyoXF1PPf4iDqJauR3jIV3EL2xS0/XMz833Mi2wQaUbMs2+ sz9IYD+efnLJRBRvt4udj3y52tPEhY8d1GqWQvwd57104PqMdgRT1KPPw2ZS/wyPY9dQ V3zHYGV/o1ayfE8O+A1drhDuQwPBeZBL1Lal3CMdhMTBD9rYW1NU7yOTNqcstOVK86a7 XCLG5ucrq6aPpX8f4e1G2VZ91AC/UCDDUSbIOPjTTvvmzKrAvQmoFyOGj08w5zUDgrtz jdj33NiMh0XOCcSII56ktsgDoaq8qnMtjSjKhWYzo9VJymWsM4gS0UVt1w16Bm5Ozp9y 4pRA== X-Gm-Message-State: AA+aEWYT6PWbNsQKuTNVQxvCrMsrrdAgPccqXfssGxMgEP79HzxXhv0V ZFacj174xqvnUkOzC0gBbaeTJCXIso4= X-Google-Smtp-Source: AFSGD/UmHiVKEqybFlkYFSRdU9kYTL5ptwECo+Nb+X52fVaO5ke1e9cIP/isuezk2zD9G/9CF9StAQ== X-Received: by 2002:a17:902:128c:: with SMTP id g12mr2386320pla.146.1545179182066; Tue, 18 Dec 2018 16:26:22 -0800 (PST) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id c9sm9039279pfc.92.2018.12.18.16.26.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 16:26:21 -0800 (PST) From: Kevin Hilman To: linux-amlogic@lists.infradead.org Subject: [PATCH 1/2] dt-bindings: arm: amlogic: add amediatech x96-max bindings Date: Tue, 18 Dec 2018 16:26:19 -0800 Message-Id: <20181219002620.12138-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-20181218_162633_953575_80DB7A65 X-CRM114-Status: UNSURE ( 9.12 ) 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 --- 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 00:26:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 10736663 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 2A72C13AD for ; Wed, 19 Dec 2018 00:27:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1AC582B13F for ; Wed, 19 Dec 2018 00:27:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E71A2B141; Wed, 19 Dec 2018 00:27:06 +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 987C62B13F for ; Wed, 19 Dec 2018 00:27: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=yv/OnZ7hlVe6qtIaPRV/bsdMR72SWtVTzs3aKmZPDFU=; b=VOjQdo8FnXgBGO BhriLY+tgxVRL0ahcRBiTGvN6q5YjKxFs8hKeXy8ENUBf/gw6ISK96wTVItJReI7cF+2wuowCc8o6 xEAE4olq9CyQTVZq7+is96zilfIVoOhq05gLY+CApy7u/xUHrwel1DRmoFZsc1/AlBASuHHcoMdmG c40lniiybIIeRMCqNSgC1TNx7pMlaRwS0QP49a/txdrC1jbX6oZcB2QtvBQxO4UfPbOyuynhzU42E uejY25m7rTPf8bQDr0x4tKaTBneDhckpVm/WCqVQxgKxkKbiXo2JMxxOCNHaSUhSCHx+k/dB6eJaC JcWyLQ6Wv8W+gHBU5Vqw==; 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 1gZPhX-0003kQ-13; Wed, 19 Dec 2018 00:27:03 +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 1gZPh4-0003Ix-LZ for linux-amlogic@lists.infradead.org; Wed, 19 Dec 2018 00:26:37 +0000 Received: by mail-pg1-x542.google.com with SMTP id w6so8586470pgl.6 for ; Tue, 18 Dec 2018 16:26:24 -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=hL3Ati85fy8xFPkWQkPeCaLxIhmY089PTpo//eHsIx8=; b=VcUl6ZcOmFKO1l5mSOnUQ4w3T8m0EkrQ+Cs76VpPqospZNTYpNroW6AFJzRAtliT74 7aJmeqwGvzULNnumJ2qX61fsmVOTRNELlxlGd9toemARpH5dW07e/0k5pB2ZJ2ofP/pp YZOlYrQDeHif/GkIUn3ZUHaH5KRK6RNZce0k8VWZkD5sPlxHpbvNMx9Kd3nB1wWnF+1s LmSHH+/z//N7XynNUl4X12YzIyB89/srrijPbbAwbxMdB5bZy1TTIGlmHJ7oI1WATObA rZav8dAdDuxc6CyJnxZthk44IEcU9XyDAjMM40KhyOW8TUrgHYEeA31Aw5E+VlfsYqKL poCg== 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=hL3Ati85fy8xFPkWQkPeCaLxIhmY089PTpo//eHsIx8=; b=KWfinjfeBU1XtLTI7ssS3Fj6v8nGcvxFbLr1I2SOU+bBxfuCL0nC8fpLsLp6Wbr1Im Q9neZBybE3dejoPtowfV9HlCfUmqTtlNVLHzeyhKxGwkeWHMhnh12PNH6z+LwUDuK1Sa 11v+lB0Gl5Tqrtf0TExdoDA2ARB7nNFZHwva0zA/M4eX927iZ0ZMiRp/k1/2di01C/mI r58VS1We95MkphqEme+40Z3GD/isiO4W73U7eUa87XK3DnV8n0EVdPScsDgUZkuryJn3 brvI/9CkpBR4Bm3mzB/IkXITgsATvlqfMQyYqn/Zn0PZepatsOLu6q2AcxyMw3MRo3uj tZjw== X-Gm-Message-State: AA+aEWa6MV8z8nrKKPUtqQjswLlE7UXhcPpFI8PD2ERux/Mhsd0fO3cn +eOhMQIbaBoInY7BTndpnq4UppDM2dQ= X-Google-Smtp-Source: AFSGD/WLtHfBXONkh3HKQH8ghbzwWlejt8OaqHmf9eAhUkKNvnPb1MN9y0PGNOXwI2e5SogvuyrRVw== X-Received: by 2002:a63:990a:: with SMTP id d10mr17722148pge.279.1545179183263; Tue, 18 Dec 2018 16:26:23 -0800 (PST) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id x12sm19743148pgr.55.2018.12.18.16.26.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 16:26:22 -0800 (PST) From: Kevin Hilman To: linux-amlogic@lists.infradead.org Subject: [PATCH 2/2] arm64: dts: meson: add g12a x96 max board Date: Tue, 18 Dec 2018 16:26:20 -0800 Message-Id: <20181219002620.12138-2-khilman@baylibre.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181219002620.12138-1-khilman@baylibre.com> References: <20181219002620.12138-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181218_162634_699920_7DCB5316 X-CRM114-Status: GOOD ( 12.68 ) 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: Martin Blumenstingl , 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 no that name and 2) keeps the DT filename shorter. [1] https://www.cnx-software.com/2018/09/25/x96-max-amlogic-s905x2-tv-box/ Cc: Martin Blumenstingl Signed-off-by: Kevin Hilman Tested-by: Martin Blumenstingl --- Special thanks to Martin Blumenstingl for extra digging for the manufacturer .../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..fe94765b671e --- /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 Amlogic, Inc. 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"; +};