xref: /freebsd/sys/contrib/device-tree/src/arm/intel/ixp/intel-ixp42x-actiontec-mi424wr-ac.dts (revision 96fb1ebd28756790597f73ad25306f58f558be97)
1// SPDX-License-Identifier: ISC
2/*
3 * Device Tree file for the IXP425-based Actiontec MI424WR revision A and C
4 * Based on a board file from OpenWrt by Jose Vasconcellos.
5 */
6
7/dts-v1/;
8
9#include "intel-ixp42x-actiontec-mi424wr.dtsi"
10
11/ {
12	model = "Actiontec MI424WR rev A/C";
13	compatible = "actiontec,mi424wr-ac", "intel,ixp42x";
14
15	/* Connect the switch to EthC */
16	spi {
17		ethernet-switch@0 {
18			ethernet-ports {
19				ethernet-port@4 {
20					ethernet = <&ethc>;
21				};
22			};
23		};
24	};
25
26	soc {
27		/* EthB used for WAN */
28		ethernet@c8009000 {
29			phy-handle = <&phy17>; // 17 on revision A-C
30
31			mdio {
32				phy17: ethernet-phy@17 {
33					/* WAN */
34					reg = <17>;
35				};
36			};
37		};
38
39		/* EthC used for LAN */
40		ethernet@c800a000 {
41			/* Fixed link to the CPU MII port on the KS8995 */
42			fixed-link {
43				speed = <100>;
44				full-duplex;
45			};
46		};
47	};
48};
49