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