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