| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- From patchwork Tue Dec 10 08:14:42 2019
- Content-Type: text/plain; charset="utf-8"
- MIME-Version: 1.0
- Content-Transfer-Encoding: 7bit
- X-Patchwork-Submitter: Landen Chao <[email protected]>
- X-Patchwork-Id: 1206964
- X-Patchwork-Delegate: [email protected]
- Return-Path: <[email protected]>
- X-Original-To: [email protected]
- Delivered-To: [email protected]
- Authentication-Results: ozlabs.org; spf=none (no SPF record)
- smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67;
- helo=vger.kernel.org;
- [email protected];
- receiver=<UNKNOWN>)
- Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none)
- header.from=mediatek.com
- Authentication-Results: ozlabs.org; dkim=pass (1024-bit key;
- unprotected) header.d=mediatek.com [email protected]
- header.b="eagJVm76"; dkim-atps=neutral
- Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
- by ozlabs.org (Postfix) with ESMTP id 47XCYF2fNjz9sR7
- for <[email protected]>;
- Tue, 10 Dec 2019 19:15:29 +1100 (AEDT)
- Received: ([email protected]) by vger.kernel.org via listexpand
- id S1727295AbfLJIP0 (ORCPT
- <rfc822;[email protected]>);
- Tue, 10 Dec 2019 03:15:26 -0500
- Received: from mailgw01.mediatek.com ([210.61.82.183]:21469 "EHLO
- mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by
- vger.kernel.org with ESMTP id S1726062AbfLJIO4 (ORCPT
- <rfc822;[email protected]>); Tue, 10 Dec 2019 03:14:56 -0500
- X-UUID: f9b456136baf42daba0957485d388010-20191210
- DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
- d=mediatek.com; s=dk;
- h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From;
- bh=BT+q/z4xoeKXCk+y25bvARvW/z0vRa1uB7kHqAjvpaw=;
- b=eagJVm76XNgnVVvxDHR4QtcIyynPPYY4k7twyvlRAQeSnsJbABh1afLK+LlxnJ0TM069F+hNNzWXq7ZGru/I+gYhmqZcYCt/SkEYgxdTb0VNE+DIW0hmNAOoJ0i23gobJ3xa7JVRfIfeZcbjwRJSuqwzLBRZBLIFzqSs71VZx1Y=;
- X-UUID: f9b456136baf42daba0957485d388010-20191210
- Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by
- mailgw01.mediatek.com (envelope-from <[email protected]>)
- (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS)
- with ESMTP id 1831961689; Tue, 10 Dec 2019 16:14:48 +0800
- Received: from mtkcas08.mediatek.inc (172.21.101.126) by
- mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server
- (TLS) id 15.0.1395.4; Tue, 10 Dec 2019 16:14:32 +0800
- Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc
- (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via
- Frontend Transport; Tue, 10 Dec 2019 16:14:27 +0800
- From: Landen Chao <[email protected]>
- To: <[email protected]>, <[email protected]>,
- <[email protected]>, <[email protected]>,
- <[email protected]>, <[email protected]>
- CC: <[email protected]>, <[email protected]>,
- <[email protected]>,
- <[email protected]>, <[email protected]>,
- <[email protected]>, <[email protected]>,
- <[email protected]>, Landen Chao <[email protected]>
- Subject: [PATCH net-next 6/6] arm64: dts: mt7622: add mt7531 dsa to
- bananapi-bpi-r64 board
- Date: Tue, 10 Dec 2019 16:14:42 +0800
- Message-ID: <62eef5503c117f48d4b41e94fd28d75e123590b4.1575914275.git.landen.chao@mediatek.com>
- X-Mailer: git-send-email 2.18.0
- In-Reply-To: <[email protected]>
- References: <[email protected]>
- MIME-Version: 1.0
- X-MTK: N
- Sender: [email protected]
- Precedence: bulk
- List-ID: <netdev.vger.kernel.org>
- X-Mailing-List: [email protected]
- Add mt7531 dsa to bananapi-bpi-r64 board for 5 giga Ethernet ports support.
- Signed-off-by: Landen Chao <[email protected]>
- ---
- .../dts/mediatek/mt7622-bananapi-bpi-r64.dts | 50 +++++++++++++++++++
- 1 file changed, 50 insertions(+)
- --- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
- +++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
- @@ -150,6 +150,56 @@
- mdio: mdio-bus {
- #address-cells = <1>;
- #size-cells = <0>;
- +
- + switch@0 {
- + compatible = "mediatek,mt7531";
- + reg = <0>;
- + reset-gpios = <&pio 54 0>;
- +
- + ports {
- + #address-cells = <1>;
- + #size-cells = <0>;
- +
- + port@0 {
- + reg = <0>;
- + label = "wan";
- + };
- +
- + port@1 {
- + reg = <1>;
- + label = "lan0";
- + };
- +
- + port@2 {
- + reg = <2>;
- + label = "lan1";
- + };
- +
- + port@3 {
- + reg = <3>;
- + label = "lan2";
- + };
- +
- + port@4 {
- + reg = <4>;
- + label = "lan3";
- + };
- +
- + port@6 {
- + reg = <6>;
- + label = "cpu";
- + ethernet = <&gmac0>;
- + phy-mode = "2500base-x";
- +
- + fixed-link {
- + speed = <2500>;
- + full-duplex;
- + pause;
- + };
- + };
- + };
- + };
- +
- };
- };
-
|