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: 10736661 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 468426C5 for ; Wed, 19 Dec 2018 00:26:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 331B62B13F for ; Wed, 19 Dec 2018 00:26:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25ADC2B141; Wed, 19 Dec 2018 00:26:56 +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 C2EE82B13F for ; Wed, 19 Dec 2018 00:26:55 +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=zV54LsUR9fUHw0Zu3t1hrtdeMEZ4FbzTYX5LeV2NyUc=; b=RR/IIRTVUpozxN VBbrOU5dGd2NDgv/KeUX/POzQEqkzEZV4zd+V4dfND0OtHenTJ29SUSXslXfYETnU5vUKCBuhCRJp Bv37XuDG7pZ+jLldU+7YxAR1W9+YqSIkumh6WA9ZfJUb2LVcLiDrNUZaYfp2ZOAQp988iZYXnLVGF WbydqNcwf0/38aqKNYFvCrKcGUybQ0PLcZkzkfIHICi6tnzIT4Zgz9XP8qJwy+iTuk29GXOg7x1k0 N89nQaNNalmxaJZwL+BqGqNNP7YpFkaHZ7eztoU5ydFdrCsO/WGk+2UQ/Wosi+Fp4Td8e0eoMgGDT UmTXFblopd/AcLonFlNw==; 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 1gZPhM-0003YE-G4; Wed, 19 Dec 2018 00:26:52 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZPh4-0003Iu-BB for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2018 00:26:37 +0000 Received: by mail-pl1-x642.google.com with SMTP id u18so8592650plq.7 for ; Tue, 18 Dec 2018 16:26: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: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=JiYkzxUuev4nTwa69AionlqLNhh7qhKjzOGi99VB8qIbXtLsircVyHb4RJHj8ssXn+ cOh92a5bJIy/F4MbbZP2VUafYItOPkxLp2iSlb2rP607coXFc9BLfADIoXOKCNykueCU QtqZ0KSfphgpZSDaa86sIOrzULjbmM21cEt8QKSRyntBETQCsed6vHdb4654GEThuniH zxsg1yLW2Yzh0N2NzphfOMDky9ihsZqr9U7rvgL+rE5/9rWARwXjM00ElzSKd0MlalCC sifJU9nM68ab7Ps6Ba6DdTNzYXzbuuyqQj0E8FqFQ4wVq5DsmIQxwCnSPLkCGUk+2bdG YbHQ== X-Gm-Message-State: AA+aEWbJ8fE29+50envF3OSblfoz/cRxH7Sgfa7CvjPN4FXWacGB32Cp dAaXecM4+A5kxD+zxmi/eH2mAw== 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_162634_385240_15707C89 X-CRM114-Status: GOOD ( 10.99 ) 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: devicetree@vger.kernel.org, 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 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: 10736659 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 4964A13AD for ; Wed, 19 Dec 2018 00:26:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35C472B13F for ; Wed, 19 Dec 2018 00:26:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 26E822B141; Wed, 19 Dec 2018 00:26:47 +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 314F12B13F for ; Wed, 19 Dec 2018 00:26:46 +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=PkHLjYm2dp3Q/yxaKzYE3VJpJ6riPeEXFjkNFwBzMJI=; b=OUh1Al8HeT3dil kn2u4XlOcUnu25D5LOQ4Yn2dNcy2+0DVxj2bnAwSOaeOVrSGzH3PGZFhsM3x53ETKIPkmrG/FAHp6 ueeaR5xmmuWMkzjSxErFk5mhvLF6A6IfYH9ztyYwNcD/m82tHeK1Wt4+sLDxhv+NCHGsSNTXZ2oxR YwcFnkzEzJFIrqkp5HdttkPzy7yiABpOJ5sXLVzTD69/BOq8SzNOzbmnsSnaI88ax//Hf7iYmeDJo YtNs9UwxyHsoV0sOqci/k8AMHtXedZZpX3FGOlIbpH6zUajs3zhpOij0YrOCuURtwFulZLxxLLTfz Jv+sMN0DZbvKSxJoo+7g==; 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 1gZPh8-0003L4-Sy; Wed, 19 Dec 2018 00:26:38 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZPh4-0003Iw-4Z for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2018 00:26:36 +0000 Received: by mail-pf1-x442.google.com with SMTP id b85so8935290pfc.3 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: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=IBJVg94RhP5wiK/d865y9tC/GA+myZeTuazHJrrZOUAwIIg5nkhI9riM2ISekt5RvA gJqrmZwFiaKh961sjE8VRSAYoqnakczkm9KqfA5G4aCYfC8/A+tAHS/GXrTaM6KNRFqG q0HuxdQKZXVtclCpnBOw+XBvV/kt9pYdBhYyq5lxXCX4DxkcCvpDN+Fsa+ioKrEXgEAa f51OiW5XnNv3m2x3I44mLm3Lb07AwGFdH4GkFsWU8kF1LbOjIur834Z2dc/H6JhFjx4T 74oNkUuoUN2ibCOIE/nHnauUafIi3R9pUDNwfwvONGqEsriBzdeUWrou9VUiinocZhN0 IbDw== X-Gm-Message-State: AA+aEWYOqRWOvGLLNFYkJfxLreRnoYy3VZ4wTWBvVaWcDwGWJoO/OOPi UimzDOTdNuWSeWzkcgYRIKvbHQ== 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_176508_82D37B37 X-CRM114-Status: GOOD ( 14.55 ) 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 , devicetree@vger.kernel.org, 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 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"; +};