xref: /freebsd/sys/contrib/device-tree/src/mips/cavium-octeon/dlink_dsr-500n-1000n.dtsi (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * Device tree source for D-Link DSR-500N/1000N (common parts).
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	soc@0 {
12*c66ec88fSEmmanuel Vadot		smi0: mdio@1180000001800 {
13*c66ec88fSEmmanuel Vadot			phy8: ethernet-phy@8 {
14*c66ec88fSEmmanuel Vadot				reg = <8>;
15*c66ec88fSEmmanuel Vadot				compatible = "ethernet-phy-ieee802.3-c22";
16*c66ec88fSEmmanuel Vadot			};
17*c66ec88fSEmmanuel Vadot		};
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot		pip: pip@11800a0000000 {
20*c66ec88fSEmmanuel Vadot			interface@0 {
21*c66ec88fSEmmanuel Vadot				ethernet@0 {
22*c66ec88fSEmmanuel Vadot					fixed-link {
23*c66ec88fSEmmanuel Vadot						speed = <1000>;
24*c66ec88fSEmmanuel Vadot						full-duplex;
25*c66ec88fSEmmanuel Vadot					};
26*c66ec88fSEmmanuel Vadot				};
27*c66ec88fSEmmanuel Vadot				ethernet@1 {
28*c66ec88fSEmmanuel Vadot					fixed-link {
29*c66ec88fSEmmanuel Vadot						speed = <1000>;
30*c66ec88fSEmmanuel Vadot						full-duplex;
31*c66ec88fSEmmanuel Vadot					};
32*c66ec88fSEmmanuel Vadot				};
33*c66ec88fSEmmanuel Vadot				ethernet@2 {
34*c66ec88fSEmmanuel Vadot					phy-handle = <&phy8>;
35*c66ec88fSEmmanuel Vadot				};
36*c66ec88fSEmmanuel Vadot			};
37*c66ec88fSEmmanuel Vadot		};
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot		twsi0: i2c@1180000001000 {
40*c66ec88fSEmmanuel Vadot			rtc@68 {
41*c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1337";
42*c66ec88fSEmmanuel Vadot				reg = <0x68>;
43*c66ec88fSEmmanuel Vadot			};
44*c66ec88fSEmmanuel Vadot		};
45*c66ec88fSEmmanuel Vadot
46*c66ec88fSEmmanuel Vadot		usbn: usbn@1180068000000 {
47*c66ec88fSEmmanuel Vadot			refclk-frequency = <12000000>;
48*c66ec88fSEmmanuel Vadot			refclk-type = "crystal";
49*c66ec88fSEmmanuel Vadot		};
50*c66ec88fSEmmanuel Vadot	};
51*c66ec88fSEmmanuel Vadot
52*c66ec88fSEmmanuel Vadot	aliases {
53*c66ec88fSEmmanuel Vadot		pip = &pip;
54*c66ec88fSEmmanuel Vadot	};
55*c66ec88fSEmmanuel Vadot};
56