| 1 |
// SPDX-License-Identifier: ISC |
| 2 |
/* |
| 3 |
* Device Tree file for the IXP425-based Actiontec MI424WR revision D |
| 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 D"; |
| 13 |
compatible = "actiontec,mi424wr-d", "intel,ixp42x"; |
| 14 |
|
| 15 |
/* Connect the switch to EthB */ |
| 16 |
spi { |
| 17 |
ethernet-switch@0 { |
| 18 |
ethernet-ports { |
| 19 |
ethernet-port@4 { |
| 20 |
ethernet = <ðb>; |
| 21 |
}; |
| 22 |
}; |
| 23 |
}; |
| 24 |
}; |
| 25 |
|
| 26 |
soc { |
| 27 |
/* EthB used for LAN */ |
| 28 |
ethernet@c8009000 { |
| 29 |
/* Fixed link to the CPU MII port on the KS8995 */ |
| 30 |
fixed-link { |
| 31 |
speed = <100>; |
| 32 |
full-duplex; |
| 33 |
}; |
| 34 |
|
| 35 |
mdio { |
| 36 |
/* PHY ID 0x00221450 */ |
| 37 |
phy5: ethernet-phy@5 { |
| 38 |
/* WAN */ |
| 39 |
reg = <5>; |
| 40 |
}; |
| 41 |
}; |
| 42 |
}; |
| 43 |
|
| 44 |
/* EthC used for WAN */ |
| 45 |
ethernet@c800a000 { |
| 46 |
phy-handle = <&phy5>; // 5 on revision D |
| 47 |
}; |
| 48 |
}; |
| 49 |
}; |