From patchwork Tue Sep 19 12:05:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9958773 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0C3546038F for ; Tue, 19 Sep 2017 12:07:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 381142855A for ; Tue, 19 Sep 2017 12:07:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B79428E0D; Tue, 19 Sep 2017 12:07:55 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 9BE982855A for ; Tue, 19 Sep 2017 12:07:54 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=voIxaPj3IcX2ehOtcXYWidgs1Y1c+Xv0yOZPyStgKgw=; b=BZCkPCPwQZcaCQFtOwQE8eJFt9 aQ01gsL4vVmUevM9126NjtU2CpmfEfT0wDY38iu1CLL/fcuZynFnJNqQ/Xp/3oghRSNrm2FFonyhb gic56g2ysSxWe/FD835iMeaDarpxR4Arr7CzL6BAwS+LGgiD1e4gNTykDgSLViLN4wlvL06cUVW4n JY9tSZfHAKny9l9zv9MeviU9kfe8xi8xPhUoZnb3FIYjyLKtQ1gN9PHFKP2xbM1nefbVxQ7V4GkBz QEysij4S9DpTfD1T52giGE7pkiSCwew2m9pnxHLeoKCaGtSqLQw9QYgDT7CZAHYJQVvocj65NM2mN /xGOOIhA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1duHJU-00035e-Tl; Tue, 19 Sep 2017 12:07:40 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1duHIB-0002DE-6p for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2017 12:06:26 +0000 Received: by mail-wm0-x22a.google.com with SMTP id i189so4583983wmf.1 for ; Tue, 19 Sep 2017 05:05:58 -0700 (PDT) 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; bh=TRzntGSZsjxDHdLKyz5MFl9OnAOm4Jrg8l0T7TU8QuE=; b=cadFt2pWAf+Qh4JT4qliAaOY1cYxipYn88+gaUlYKcaLQMscEgygUPBvpu7ItXdswP hMQx7qRcHuqy0YJY3VSAwSVNJSrFJoISALTr9HuUN+tKytL3cf8HInQpJHnGK1nhCGgA yEqK+3Dapuxkngnv49DQ26rsFs0eOsxrUokJrfIHQG8DVL50BZZZVjVYWh3IKZDj/nFC TXuADdR3VwUhSgJbBoq9YmBy786ee2s596oKAH7yFkERhtTixTlj1Oe5zKgTFk+XAGPg 1ODI1NjyGNfdzxz/etyZT8ZCjv7uauNoDJQN6cEnGE25swGelBHMTFk38wTEgRRhEq2Y Zphg== 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=TRzntGSZsjxDHdLKyz5MFl9OnAOm4Jrg8l0T7TU8QuE=; b=dIoWI0AK7mwT/FLidIBW06gxNc2Gp4Dw+CXeOhFdGWVSDG35HFYGy6UMd2pTNZedSO /2Tw1W64KUVkwSxCaWBVnOiJU0ztxYvnymGaoVMAomVMSB4/DUl7vBXVtBFGTuJeSZDX 0TS0QHsphNqPSGgs+v3QU5cIaDNcVYu0jUfRYuXU0nmPICICgLcApgpj84RalZFcr0Jn d+wuzDyEpwP2Bwd9HoQNp549U4Yi85qzOMnLBZWjcDWzqW+KfZ+grC9icjsTNpsGEJga fir2SD//8nM9nSGrfBffaB2WBuiciUL+dZq52qXeguADsCgb+mnc59DiA68VEpla4+hC U2lg== X-Gm-Message-State: AHPjjUhKsveaNlIxylyK/DqMUhIiI/7QxIY7c1pl7VSbgc/tMHi1pi0M 5zqipaN2/MVNJXQNGoE1q1eb2A== X-Google-Smtp-Source: AOwi7QAyX6g7CMjmnCJyheY9s3q3ZMk3MQmKXX7qmNbcEOZ4Y3Jgu5trqbR+BSSVLDiwNLfo+/DElQ== X-Received: by 10.28.71.25 with SMTP id u25mr869097wma.22.1505822757395; Tue, 19 Sep 2017 05:05:57 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id r15sm8122865wrc.30.2017.09.19.05.05.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Sep 2017 05:05:56 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, carlo@caione.org Subject: [PATCH 1/2] ARM64: dts: meson-gxm: Add Vega S96 board Date: Tue, 19 Sep 2017 14:05:47 +0200 Message-Id: <1505822748-23431-2-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505822748-23431-1-git-send-email-narmstrong@baylibre.com> References: <1505822748-23431-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170919_050619_437253_006FC8E5 X-CRM114-Status: GOOD ( 13.82 ) 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, Neil Armstrong , balbes-150@yandex.ru, support@tronsmart.com, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 The Tronsmart Vega S96 is a TV box derived from Amlogic q200 reference design. Cc: support@tronsmart.com Signed-off-by: Oleg Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/Makefile | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index 7a9f48c..a6c4a06 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -19,6 +19,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q200.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q201.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-rbox-pro.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxm-vega-s96.dtb always := $(dtb-y) subdir-y := $(dts-dirs) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts new file mode 100644 index 0000000..ba74240 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts @@ -0,0 +1,39 @@ +/* + * Copyright (c) 2017 BayLibre, SAS. + * Author: Neil Armstrong + * Copyright (c) 2017 Oleg + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "meson-gxm.dtsi" +#include "meson-gx-p23x-q20x.dtsi" + +/ { + compatible = "tronsmart,vega-s96", "amlogic,s912", "amlogic,meson-gxm"; + model = "Tronsmart Vega S96"; + +}; + +ðmac { + pinctrl-0 = <ð_pins>; + pinctrl-names = "default"; + + /* Select external PHY by default */ + phy-handle = <&external_phy>; + + amlogic,tx-delay-ns = <2>; + + /* External PHY is in RGMII */ + phy-mode = "rgmii"; +}; + +&external_mdio { + external_phy: ethernet-phy@0 { + compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22"; + reg = <0>; + max-speed = <1000>; + }; +};