From patchwork Fri Feb 23 10:16:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Wang X-Patchwork-Id: 10237365 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 754DE602DC for ; Fri, 23 Feb 2018 10:36:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E5FE2913A for ; Fri, 23 Feb 2018 10:36:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 527DB2950C; Fri, 23 Feb 2018 10:36:52 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,UNPARSEABLE_RELAY 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 CD4C52913A for ; Fri, 23 Feb 2018 10:36:51 +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=iTZ6Lz7CFGKRwqrnUtTt0ccf2PwD+CCRLIQ7wtQ9UtU=; b=kZhbE/qqRGcVNu pyOSXmNFj2az/5YvZBvsU2xYTGlYmc9LbOw/foT2GnofjCoecfq0aG8BNt64IclMr2+iGAYaTFCtv gDna7mHPXoNhhYGFVxPnL+ywBQuTN68kF067gwOyjzSbxi4uYSsNlC3i+NOKTwSxSushHGFrcTQI8 KWCTDM2OAhmAWgqTsWO+LZ30zpq/cbMwZ+T6vET+feKwM5jRgITvnGBKwqeETMYC8CwvHsSKZ5mg9 fYsH695f2ueXFsloFB9lzLVjnCv5V2sUXoBGlHhCMjcANkpeMdAG1KKUK08qxy1/hBYzJSijfBsuv dZD7Mz8fGh2gnG2ZZofQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1epAiW-0007cf-9e; Fri, 23 Feb 2018 10:36:40 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1epAdY-0003Wl-Kn; Fri, 23 Feb 2018 10:31:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vEPEzgPClBuNvNFyEuO2R31T9sLGr4DIfARtAuO92QQ=; b=ZEu8tFcY5nHWrN3xOA7nTxTfm liyj1M75uKggYQq0YVpgIAa3GmLNoJbNL/G0ueQtSTEG1whrmWVwqWH/Y9+qgmObl3AQmm89xeCND VSZ/zH1WlGGcw7QU12T0YiW1Wu4j26m8LZw7IaXktxppkgG7zQC/HWx9XBpOFCss6xw3Uar13oj+U GMzz5PNLuTIRmxpQa6bcS3I79haBU38OCoXjgIgqUPqG/wjnmQ1D0FjmfSw2QyrgE1q0/MWdhmIB4 XYpauW4Kr4gUYhJHSaY6gNl6X+2l9lXd2vnyZk+EqNWCVYdLw+6Bb40Of8ToeV/Z7YJ0e8h659VRt AwWidZQkA==; Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1epAPr-0005bb-Dr; Fri, 23 Feb 2018 10:17:25 +0000 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: , , , , 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 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180223_101723_729327_F6755863 X-CRM114-Status: GOOD ( 15.06 ) 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: Sean Wang , linux-kernel@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 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"; +};