59830e8843e221115be5c71c098217ebf4eae8d7
[openwrt/openwrt.git] / target / linux / mcs814x / files-3.18 / arch / arm / boot / dts / dlan-usb-extender.dts
1 /*
2 * dlan-usb-extender.dts - Device Tree file for Devolo dLAN USB Extender
3 *
4 * Copyright (C) 2012, Florian Fainelli <florian@openwrt.org>
5 *
6 * Licensed under GPLv2
7 */
8
9 /dts-v1/;
10 /include/ "mcs8140.dtsi"
11
12 / {
13 model = "Devolo dLAN USB Extender";
14 compatible = "devolo,dlan-usb-extender", "moschip,mcs8140", "moschip,mcs814x";
15
16 chosen {
17 bootargs = "mem=16M console=ttyS0,57600 earlyprintk";
18 };
19
20 ahb {
21 vci {
22 eth0: ethernet@40084000 {
23 phy = <&phy0>;
24 phy-mode = "mii";
25
26 phy0: ethernet-phy@0 {
27 reg = <8>;
28 };
29 };
30
31 adc {
32 sdram: memory@0,0 {
33 reg = <0 0 0x1000000>;
34 };
35
36 nor: flash@7,0 {
37
38 partition@0 {
39 label = "ArmBoot";
40 reg = <0 0x30000>;
41 };
42 partition@30000 {
43 label = "Config1";
44 reg = <0x30000 0x10000>;
45 };
46 partition@40000 {
47 label = "Config2";
48 reg = <0x40000 0x10000>;
49 };
50 partition@50000 {
51 label = "linux";
52 reg = <0x50000 0x4C0000>;
53 };
54 };
55 };
56
57 leds {
58 compatible = "gpio-leds";
59
60 usb {
61 label = "dlan-usb-extender:green:usb";
62 gpios = <&gpio 19 0>; // gpio 19 active high
63 };
64 };
65 };
66 };
67 };
68