xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/lan966x-kontron-kswitch-d10-mmt-8g.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device Tree file for the Kontron KSwitch D10 MMT 8G
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot/dts-v1/;
7*f126890aSEmmanuel Vadot#include "lan966x-kontron-kswitch-d10-mmt.dtsi"
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot/ {
10*f126890aSEmmanuel Vadot	model = "Kontron KSwitch D10 MMT 8G";
11*f126890aSEmmanuel Vadot	compatible = "kontron,kswitch-d10-mmt-8g", "kontron,s1921",
12*f126890aSEmmanuel Vadot		     "microchip,lan9668", "microchip,lan966";
13*f126890aSEmmanuel Vadot};
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot&mdio0 {
16*f126890aSEmmanuel Vadot	phy2: ethernet-phy@3 {
17*f126890aSEmmanuel Vadot		reg = <3>;
18*f126890aSEmmanuel Vadot		interrupts-extended = <&gpio 24 IRQ_TYPE_LEVEL_LOW>;
19*f126890aSEmmanuel Vadot	};
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot	phy3: ethernet-phy@4 {
22*f126890aSEmmanuel Vadot		reg = <4>;
23*f126890aSEmmanuel Vadot		interrupts-extended = <&gpio 24 IRQ_TYPE_LEVEL_LOW>;
24*f126890aSEmmanuel Vadot	};
25*f126890aSEmmanuel Vadot};
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot&port2 {
28*f126890aSEmmanuel Vadot	phys = <&serdes 2 SERDES6G(0)>;
29*f126890aSEmmanuel Vadot	phy-handle = <&phy2>;
30*f126890aSEmmanuel Vadot	phy-mode = "sgmii";
31*f126890aSEmmanuel Vadot	managed = "in-band-status";
32*f126890aSEmmanuel Vadot	status = "okay";
33*f126890aSEmmanuel Vadot};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot&port3 {
36*f126890aSEmmanuel Vadot	phys = <&serdes 3 SERDES6G(1)>;
37*f126890aSEmmanuel Vadot	phy-handle = <&phy3>;
38*f126890aSEmmanuel Vadot	phy-mode = "sgmii";
39*f126890aSEmmanuel Vadot	managed = "in-band-status";
40*f126890aSEmmanuel Vadot	status = "okay";
41*f126890aSEmmanuel Vadot};
42