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#include <dt-bindings/gpio/gpio.h>
13
14/ {
15	model = "dlink,dsr-1000n";
16
17	soc@0 {
18		smi0: mdio@1180000001800 {
19			phy8: ethernet-phy@8 {
20				reg = <8>;
21				compatible = "ethernet-phy-ieee802.3-c22";
22			};
23		};
24
25		pip: pip@11800a0000000 {
26			interface@0 {
27				ethernet@0 {
28					fixed-link {
29						speed = <1000>;
30						full-duplex;
31					};
32				};
33				ethernet@1 {
34					fixed-link {
35						speed = <1000>;
36						full-duplex;
37					};
38				};
39				ethernet@2 {
40					phy-handle = <&phy8>;
41				};
42			};
43		};
44
45		twsi0: i2c@1180000001000 {
46			rtc@68 {
47				compatible = "dallas,ds1337";
48				reg = <0x68>;
49			};
50		};
51
52		uart0: serial@1180000000800 {
53			clock-frequency = <500000000>;
54		};
55
56		usbn: usbn@1180068000000 {
57			refclk-frequency = <12000000>;
58			refclk-type = "crystal";
59		};
60	};
61
62	leds {
63		compatible = "gpio-leds";
64
65		usb1 {
66			label = "usb1";
67			gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
68		};
69
70		usb2 {
71			label = "usb2";
72			gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
73		};
74
75		wps {
76			label = "wps";
77			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
78		};
79
80		wireless1 {
81			label = "5g";
82			gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
83		};
84
85		wireless2 {
86			label = "2.4g";
87			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
88		};
89	};
90
91	aliases {
92		pip = &pip;
93	};
94};
95