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