Received: by 10.223.185.116 with SMTP id b49csp512912wrg; Fri, 23 Feb 2018 02:21:42 -0800 (PST) X-Google-Smtp-Source: AH8x2249zGUWE8Mdr9euus86+7v7puhtj9glvshby5JdG0VxGvgPiU/AKxoyDunzsblcOjzm1xsb X-Received: by 2002:a17:902:ab89:: with SMTP id f9-v6mr1216159plr.369.1519381302275; Fri, 23 Feb 2018 02:21:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519381302; cv=none; d=google.com; s=arc-20160816; b=rvztJ5TB/rE9QeU3ste+ZwvST8pk9oNgHuiZeUO1ydA3Nc2HPEpGYFyqs6AeR+JIBB 29Mvh49VFqHM8IiuFzL9DROuRNtvzBuVuIvzg5qBxZa8ZapEay2S60aAzHsA+BFeShtB JVCop3ODUTK0jtUfSVObpdpM/pzwqwRYNXs3kJadB7XtiK4CAxgOheFjb00cic7EbG5p xVSo4cFgxjMECr9SuvrCeCBNb5lNrbTU1tzt4Dsa3KNKYfYaabeh1T4qBycpmhS4IDO/ sIfZ4ZyiJdt1LGl+LrXHBJKHdgtlXJ3QVVBbj84j7gZhkVWr/Is0KC7ysI/U9RukPJak cwug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=vEPEzgPClBuNvNFyEuO2R31T9sLGr4DIfARtAuO92QQ=; b=elScAeP62GIf7Byx+K2MI5ouK9ATpGYXIWs/kfUhZza3iNvBWPODn4lShjNSGm/et/ MkQCXo1GPa0gKDWNoIxFu9SHg6OjMGqqBukOsx1z5+Q4bko9nZQILb2FtBOFOkZ95QQT eMbJbhpJlLQksWQiMkARmsbINjTJ9E5q+JFnOMC+uRMiDvdJZSTctnLtVPX+QIBl+swi pXP7MtJ5BeiKLGD7pvraOhpH++YtjdsE+aCGy9Q/Ni8uVJJkK8UzIXNbxGz8VLwP6QTj c3hDB7cix9zB3j3s2FdhMJTVzL1FS3PSzp3Tgc8QxJ0O/k6/jBiMJijNomTYd2Tg0f3N ZySw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k12si1335237pgn.502.2018.02.23.02.21.27; Fri, 23 Feb 2018 02:21:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751863AbeBWKSw (ORCPT + 99 others); Fri, 23 Feb 2018 05:18:52 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:5938 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751625AbeBWKQ5 (ORCPT ); Fri, 23 Feb 2018 05:16:57 -0500 X-UUID: 07add77d47af4b9bb7375f2038cc24ff-20180223 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 808728004; Fri, 23 Feb 2018 18:16:52 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 23 Feb 2018 18:16:51 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Fri, 23 Feb 2018 18:16:51 +0800 From: To: , , , , CC: , , Sean Wang Subject: [PATCH v1 17/19] arm: dts: mt7623: add MT7623N reference board with eMMC Date: Fri, 23 Feb 2018 18:16:37 +0800 Message-ID: <45572848513719fd4099c0f3564b06743b1be27b.1519378872.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang Add MT7623N reference board with eMMC. On the board, there is additional external PHY which is ICPlus IP1001 transceiver available by port 5 on the MDIO bus connectted with GMAC2. Signed-off-by: Sean Wang --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/mt7623n-rfb-emmc.dts | 37 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 arch/arm/boot/dts/mt7623n-rfb-emmc.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index ade7a38..5af6fce 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1122,6 +1122,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ mt6580-evbp1.dtb \ mt6589-aquaris5.dtb \ mt6592-evb.dtb \ + mt7623n-rfb-emmc.dtb \ mt7623n-rfb-nand.dtb \ mt7623n-bananapi-bpi-r2.dtb \ mt8127-moose.dtb \ diff --git a/arch/arm/boot/dts/mt7623n-rfb-emmc.dts b/arch/arm/boot/dts/mt7623n-rfb-emmc.dts new file mode 100644 index 0000000..0db75bc --- /dev/null +++ b/arch/arm/boot/dts/mt7623n-rfb-emmc.dts @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2017-2018 MediaTek Inc. + * Author: Sean Wang + * + */ + +/dts-v1/; +#include "mt7623n-rfb.dtsi" + +/ { + model = "MediaTek MT7623N with eMMC reference board"; + compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623"; + + chosen { + bootargs = "console=ttyS2,115200n8 earlyprintk"; + }; +}; + +ð { + gmac1: mac@1 { + compatible = "mediatek,eth-mac"; + reg = <1>; + phy-handle = <&phy5>; + }; +}; + +&mdio { + phy5: ethernet-phy@5 { + reg = <5>; + phy-mode = "rgmii-rxid"; + }; +}; + +&mmc0 { + status = "okay"; +}; -- 2.7.4