From patchwork Wed Nov 20 16:49:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Rasim X-Patchwork-Id: 11254459 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 9D3EE138C for ; Wed, 20 Nov 2019 16:49:32 +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 7A9442067D for ; Wed, 20 Nov 2019 16:49:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AEnGNMX2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iZ0tvPHt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A9442067D 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: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=0FdjOf3E/y/kWzQ8fvHS5/iv5WXfhsWTCifJU4Vbwws=; b=AEnGNMX2ZcmoS6 ty8XiDIw7+IKxQHQs5CLxf7PRDAgFvB0rCfa8ctXovT7bGt1Rc8MQ6NIPCq4Evd/lDGbnKxw38X/9 WM3p2qLoZ4Yd5kvOSz8esUX90zIlJ7BiC9auLuJU4etHEaXaNW0Nh1IG+ZUeyqDz6hix10Flsl4Ez c/64CNhkiyJk67s5R9qLxbGM+phbpT0yJfkUqQieWnQQaZvozc52MyNptj1m05362bTQ9JDFTPgcX P1hRkk4bPqJ4lNgTUgk/7O1WswqPe6JRV37qZKuxvuBrMtd+tKBqHP+2MQfA6IF/A/6ynF4rXbflL GSjzmYS64YwiI2D+ulDg==; 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 1iXTAZ-0006Xb-GX; Wed, 20 Nov 2019 16:49:31 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXTAV-0006Tx-Cz for linux-amlogic@lists.infradead.org; Wed, 20 Nov 2019 16:49:28 +0000 Received: by mail-wm1-x341.google.com with SMTP id b17so359734wmj.2 for ; Wed, 20 Nov 2019 08:49:27 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=vmSi8EVrgfkOwDbdlBJAaLzmI4f0gNbA0ZY/mXAh7Y0=; b=iZ0tvPHt+6sLoiKx5i9QaG23U+NP0Z8FlKj8secF60emaLvyEdt7mHazIOi9yiEdxO 5PLpwpThoWbBhN6K8dSUiicm/t1pMoaQ8s1lNdRCH8L7Q7SWq/hrxjXXJ3o0yAzBbg63 7NG8dJvw8AHsDsbklaEFA4efQR3PzCj/jhmA5ujvrk6dC2MLk2K9r+0GSLsr/q2YiuOn UFzqeNCBjzLTUGUS+AbZaEEtA73zMAWGbtc/QtVfeCZxcbXnf95b8koiYNq2lIBzrpWo boND2XPDZXKZ59bEFaRIRXM2n/XfUere3zVvwuPG12C97UFNKS7JvVvnYlbyJV1CurjM B9KA== 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=vmSi8EVrgfkOwDbdlBJAaLzmI4f0gNbA0ZY/mXAh7Y0=; b=KmzI75rhWIr3SUB/oknXm8Lp78EaZwujbzw076CtWAsj/PDG7Fr0OgdQT8xWjR6L+L SZ20ydFGgBD3pynSeWbT657uL77p+JmtaPQPGCKmbOfyZo55okZmfeZ41+tcFCqeRrWq tG1U9VbjFCQoGByfbVUEzWUuS9BmD6a1xPyhWB2Ox8/8oMUlrwvmubLwbdahs6iqGFD4 tV6zCkNt7e0A1+eJ/kfYWozHOTDGAmMvfnGwJZW9WqcA9IZKxNLNn17c5pg17jPreTzl 5YbaqnJFzwMkOIXzw5wv+4GzvXyJ13wmAbd3mMStOdC77oTMN/SkVGhBH9pNhVcXUOwy iKlQ== X-Gm-Message-State: APjAAAVUOJqe9UgGIiT3VYgsaaDDRVQnAZzVVsrXj3Sif4s/DuY+8S5g SV8UlV3sucaau7MdohKLFbDChS38D6K78Q== X-Google-Smtp-Source: APXvYqxhZ8lbeO9GoFwdNyav9xP6d7aReSI2RiAJWQN6bakutR1VLRCdWpMDrWQ9q5bSTazIjuvOlQ== X-Received: by 2002:a05:600c:3cd:: with SMTP id z13mr4377825wmd.105.1574268565764; Wed, 20 Nov 2019 08:49:25 -0800 (PST) Received: from localhost ([37.238.189.2]) by smtp.gmail.com with ESMTPSA id b66sm7466599wmh.39.2019.11.20.08.49.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2019 08:49:25 -0800 (PST) From: Mohammad Rasim To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, Rob Herring , Mark Rutland Subject: [PATCH 2/2] arm64: dts: meson-gxbb: add support for Videostrong KII Pro Date: Wed, 20 Nov 2019 19:49:16 +0300 Message-Id: <20191120164916.31698-3-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191120164916.31698-1-mohammad.rasim96@gmail.com> References: <20191120164916.31698-1-mohammad.rasim96@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191120_084927_440728_6CC2B64F X-CRM114-Status: GOOD ( 14.30 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.1 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:341 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (mohammad.rasim96[at]gmail.com) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mohammad.rasim96[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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: Martin Blumenstingl , Kevin Hilman , Mohammad Rasim , Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org This patch adds support for the Videostrong KII Pro tv box which is based on the gxbb-p201 reference design The device tree includes a new compatible for bluetooth "brcm,bcm4335a0" which was sent as a patch and under review Signed-off-by: Mohammad Rasim --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxbb-kii-pro.dts | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index 84afecba9ec0..a795a170dcab 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -6,6 +6,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.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 +dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-kii-pro.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nexbox-a95x.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-odroidc2.dtb diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts new file mode 100644 index 000000000000..2aa0b01aeb6c --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Mohammad Rasim + */ + +/dts-v1/; + +#include "meson-gxbb-p20x.dtsi" + +/ { + compatible = "videostrong,kii-pro", "amlogic,p201", "amlogic,s905", "amlogic,meson-gxbb"; + model = "Videostrong KII Pro"; +}; + +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default"; + uart-has-rtscts; + + bluetooth { + compatible = "brcm,bcm4335a0"; + }; +}; + +ðmac { + status = "okay"; + pinctrl-0 = <ð_rmii_pins>; + pinctrl-names = "default"; + phy-mode = "rmii"; + snps,reset-gpio = <&gpio GPIOZ_14 0>; + snps,reset-delays-us = <0>, <10000>, <1000000>; + snps,reset-active-low; +};