xref: /freebsd/sys/contrib/device-tree/src/mips/cavium-octeon/ubnt_e100.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * Device tree source for EdgeRouter Lite.
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
6*c66ec88fSEmmanuel Vadot */
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot/include/ "octeon_3xxx.dtsi"
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot/ {
11*c66ec88fSEmmanuel Vadot	model = "ubnt,e100";
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot	soc@0 {
14*c66ec88fSEmmanuel Vadot		smi0: mdio@1180000001800 {
15*c66ec88fSEmmanuel Vadot			phy5: ethernet-phy@5 {
16*c66ec88fSEmmanuel Vadot				reg = <5>;
17*c66ec88fSEmmanuel Vadot				compatible = "ethernet-phy-ieee802.3-c22";
18*c66ec88fSEmmanuel Vadot			};
19*c66ec88fSEmmanuel Vadot			phy6: ethernet-phy@6 {
20*c66ec88fSEmmanuel Vadot				reg = <6>;
21*c66ec88fSEmmanuel Vadot				compatible = "ethernet-phy-ieee802.3-c22";
22*c66ec88fSEmmanuel Vadot			};
23*c66ec88fSEmmanuel Vadot			phy7: ethernet-phy@7 {
24*c66ec88fSEmmanuel Vadot				reg = <7>;
25*c66ec88fSEmmanuel Vadot				compatible = "ethernet-phy-ieee802.3-c22";
26*c66ec88fSEmmanuel Vadot			};
27*c66ec88fSEmmanuel Vadot		};
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot		pip: pip@11800a0000000 {
30*c66ec88fSEmmanuel Vadot			interface@0 {
31*c66ec88fSEmmanuel Vadot				ethernet@0 {
32*c66ec88fSEmmanuel Vadot					phy-handle = <&phy7>;
33*c66ec88fSEmmanuel Vadot					rx-delay = <0>;
34*c66ec88fSEmmanuel Vadot					tx-delay = <0x10>;
35*c66ec88fSEmmanuel Vadot				};
36*c66ec88fSEmmanuel Vadot				ethernet@1 {
37*c66ec88fSEmmanuel Vadot					phy-handle = <&phy6>;
38*c66ec88fSEmmanuel Vadot					rx-delay = <0>;
39*c66ec88fSEmmanuel Vadot					tx-delay = <0x10>;
40*c66ec88fSEmmanuel Vadot				};
41*c66ec88fSEmmanuel Vadot				ethernet@2 {
42*c66ec88fSEmmanuel Vadot					phy-handle = <&phy5>;
43*c66ec88fSEmmanuel Vadot					rx-delay = <0>;
44*c66ec88fSEmmanuel Vadot					tx-delay = <0x10>;
45*c66ec88fSEmmanuel Vadot				};
46*c66ec88fSEmmanuel Vadot			};
47*c66ec88fSEmmanuel Vadot		};
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot		uart0: serial@1180000000800 {
50*c66ec88fSEmmanuel Vadot			clock-frequency = <500000000>;
51*c66ec88fSEmmanuel Vadot		};
52*c66ec88fSEmmanuel Vadot
53*c66ec88fSEmmanuel Vadot		usbn: usbn@1180068000000 {
54*c66ec88fSEmmanuel Vadot			refclk-frequency = <12000000>;
55*c66ec88fSEmmanuel Vadot			refclk-type = "crystal";
56*c66ec88fSEmmanuel Vadot		};
57*c66ec88fSEmmanuel Vadot	};
58*c66ec88fSEmmanuel Vadot
59*c66ec88fSEmmanuel Vadot	aliases {
60*c66ec88fSEmmanuel Vadot		pip = &pip;
61*c66ec88fSEmmanuel Vadot	};
62*c66ec88fSEmmanuel Vadot};
63