1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2022 MediaTek Inc.
4 * Author: Sam.Shih <sam.shih@mediatek.com>
8 #include "mt7988a-rfb-spim-nand.dtsi"
9 #include <dt-bindings/pinctrl/mt65xx.h>
10 #include <dt-bindings/leds/common.h>
13 model = "MediaTek MT7988A DSA 10G SPIM-NAND RFB";
14 compatible = "mediatek,mt7988a-dsa-10g-spim-snand",
15 "mediatek,mt7988a-rfb-snand",
19 bootargs = "console=ttyS0,115200n1 loglevel=8 \
20 earlycon=uart8250,mmio32,0x11000000 \
25 reg = <0 0x40000000 0 0x40000000>;
30 pinctrl-0 = <&mdio0_pins>;
31 pinctrl-names = "default";
41 phy-mode = "internal";
42 phy-connection-type = "internal";
43 phy = <&int_2p5g_phy>;
49 phy-connection-type = "usxgmii";
54 /* external Aquantia AQR113C */
55 phy0: ethernet-phy@0 {
57 compatible = "ethernet-phy-ieee802.3-c45";
58 reset-gpios = <&pio 72 1>;
59 reset-assert-us = <100000>;
60 reset-deassert-us = <221000>;
63 /* external Aquantia AQR113C */
64 phy8: ethernet-phy@8 {
66 compatible = "ethernet-phy-ieee802.3-c45";
67 reset-gpios = <&pio 71 1>;
68 reset-assert-us = <100000>;
69 reset-deassert-us = <221000>;
72 /* external Maxlinear GPY211C */
73 phy5: ethernet-phy@5 {
75 compatible = "ethernet-phy-ieee802.3-c45";
76 phy-mode = "2500base-x";
79 /* external Maxlinear GPY211C */
80 phy13: ethernet-phy@13 {
82 compatible = "ethernet-phy-ieee802.3-c45";
83 phy-mode = "2500base-x";
88 pinctrl-names = "i2p5gbe-led";
89 pinctrl-0 = <&i2p5gbe_led0_pins>;
97 pinctrl-names = "gbe-led";
98 pinctrl-0 = <&gbe0_led0_pins>;
103 color = <LED_COLOR_ID_GREEN>;
107 pinctrl-names = "gbe-led";
108 pinctrl-0 = <&gbe1_led0_pins>;
113 color = <LED_COLOR_ID_GREEN>;
117 pinctrl-names = "gbe-led";
118 pinctrl-0 = <&gbe2_led0_pins>;
123 color = <LED_COLOR_ID_GREEN>;
127 pinctrl-names = "gbe-led";
128 pinctrl-0 = <&gbe3_led0_pins>;
133 color = <LED_COLOR_ID_GREEN>;