treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / boot / dts / cavium-octeon / ubnt_e100.dts
blobcb219b730c57df8bb56267534a10209ac550743f
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Device tree source for EdgeRouter Lite.
4  *
5  * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
6  */
8 /include/ "octeon_3xxx.dtsi"
10 / {
11         model = "ubnt,e100";
13         soc@0 {
14                 smi0: mdio@1180000001800 {
15                         phy5: ethernet-phy@5 {
16                                 reg = <5>;
17                                 compatible = "ethernet-phy-ieee802.3-c22";
18                         };
19                         phy6: ethernet-phy@6 {
20                                 reg = <6>;
21                                 compatible = "ethernet-phy-ieee802.3-c22";
22                         };
23                         phy7: ethernet-phy@7 {
24                                 reg = <7>;
25                                 compatible = "ethernet-phy-ieee802.3-c22";
26                         };
27                 };
29                 pip: pip@11800a0000000 {
30                         interface@0 {
31                                 ethernet@0 {
32                                         phy-handle = <&phy7>;
33                                         rx-delay = <0>;
34                                         tx-delay = <0x10>;
35                                 };
36                                 ethernet@1 {
37                                         phy-handle = <&phy6>;
38                                         rx-delay = <0>;
39                                         tx-delay = <0x10>;
40                                 };
41                                 ethernet@2 {
42                                         phy-handle = <&phy5>;
43                                         rx-delay = <0>;
44                                         tx-delay = <0x10>;
45                                 };
46                         };
47                 };
49                 uart0: serial@1180000000800 {
50                         clock-frequency = <500000000>;
51                 };
53                 usbn: usbn@1180068000000 {
54                         refclk-frequency = <12000000>;
55                         refclk-type = "crystal";
56                 };
57         };
59         aliases {
60                 pip = &pip;
61         };