1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * lan966x-pcb8290.dts - Device Tree file for LAN966X-PCB8290 board
5 * Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries
7 * Author: Horatiu Vultur <horatiu.vultur@microchip.com>
10 #include "lan966x.dtsi"
11 #include "dt-bindings/phy/phy-lan966x-serdes.h"
14 model = "Microchip EVB LAN9668";
15 compatible = "microchip,lan9668-pcb8290", "microchip,lan9668", "microchip,lan966";
18 compatible = "gpio-restart";
19 gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
25 status = "disabled"; /* Reserved by secure OS */
29 miim_a_pins: mdio-pins {
31 pins = "GPIO_28", "GPIO_29";
35 pps_out_pins: pps-out-pins {
38 function = "ptpsync_3";
41 ptp_ext_pins: ptp-ext-pins {
44 function = "ptpsync_0";
50 function = "usb_slave_b";
55 pinctrl-0 = <&miim_a_pins>;
56 pinctrl-names = "default";
59 ext_phy0: ethernet-phy@7 {
61 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
64 ext_phy1: ethernet-phy@8 {
66 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
69 ext_phy2: ethernet-phy@9 {
71 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
74 ext_phy3: ethernet-phy@10 {
76 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
79 ext_phy4: ethernet-phy@15 {
81 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
84 ext_phy5: ethernet-phy@16 {
86 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
89 ext_phy6: ethernet-phy@17 {
91 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
94 ext_phy7: ethernet-phy@18 {
96 coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
102 phy-handle = <&ext_phy2>;
104 phys = <&serdes 0 SERDES6G(1)>;
110 phy-handle = <&ext_phy3>;
112 phys = <&serdes 1 SERDES6G(1)>;
118 phy-handle = <&ext_phy0>;
120 phys = <&serdes 2 SERDES6G(1)>;
126 phy-handle = <&ext_phy1>;
128 phys = <&serdes 3 SERDES6G(1)>;
134 phy-handle = <&ext_phy6>;
136 phys = <&serdes 4 SERDES6G(2)>;
142 phy-handle = <&ext_phy7>;
144 phys = <&serdes 5 SERDES6G(2)>;
150 phy-handle = <&ext_phy4>;
152 phys = <&serdes 6 SERDES6G(2)>;
158 phy-handle = <&ext_phy5>;
160 phys = <&serdes 7 SERDES6G(2)>;
169 pinctrl-0 = <&pps_out_pins>, <&ptp_ext_pins>;
170 pinctrl-names = "default";
175 pinctrl-0 = <&udc_pins>;
176 pinctrl-names = "default";
177 atmel,vbus-gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;