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 76 aliases { 77 pip = &pip; 78 }; 79}; 80