xref: /freebsd/sys/contrib/device-tree/src/mips/cavium-octeon/ubnt_e100.dts (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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 */
7
8/include/ "octeon_3xxx.dtsi"
9
10/ {
11	model = "ubnt,e100";
12
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		};
28
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		};
48
49		uart0: serial@1180000000800 {
50			clock-frequency = <500000000>;
51		};
52
53		usbn: usbn@1180068000000 {
54			refclk-frequency = <12000000>;
55			refclk-type = "crystal";
56		};
57	};
58
59	aliases {
60		pip = &pip;
61	};
62};
63