1/*
2 * Device tree source for D-Link DSR-1000N.
3 *
4 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11/include/ "octeon_3xxx.dtsi"
12
13/ {
14	model = "dlink,dsr-1000n";
15
16	soc@0 {
17		smi0: mdio@1180000001800 {
18			phy8: ethernet-phy@8 {
19				reg = <8>;
20				compatible = "ethernet-phy-ieee802.3-c22";
21			};
22		};
23
24		pip: pip@11800a0000000 {
25			interface@0 {
26				ethernet@0 {
27					fixed-link {
28						speed = <1000>;
29						full-duplex;
30					};
31				};
32				ethernet@1 {
33					fixed-link {
34						speed = <1000>;
35						full-duplex;
36					};
37				};
38				ethernet@2 {
39					phy-handle = <&phy8>;
40				};
41			};
42		};
43
44		twsi0: i2c@1180000001000 {
45			rtc@68 {
46				compatible = "dallas,ds1337";
47				reg = <0x68>;
48			};
49		};
50
51		uart0: serial@1180000000800 {
52			clock-frequency = <500000000>;
53		};
54
55		usbn: usbn@1180068000000 {
56			refclk-frequency = <12000000>;
57			refclk-type = "crystal";
58		};
59	};
60
61	leds {
62		compatible = "gpio-leds";
63
64		usb1 {
65			label = "usb1";
66			gpios = <&gpio 9 1>; /* Active low */
67		};
68
69		usb2 {
70			label = "usb2";
71			gpios = <&gpio 10 1>; /* Active low */
72		};
73	};
74
75	aliases {
76		pip = &pip;
77	};
78};
79