mcs814x: add support for 3.18
[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 = "kernel";
52 reg = <0x50000 0x100000>;
53 };
54 partition@150000 {
55 label = "rootfs";
56 reg = <0x150000 0x3C0000>;
57 };
58 partition@50001 {
59 label = "linux";
60 reg = <0x50000 0x4C0000>;
61 };
62 };
63 };
64
65 leds {
66 compatible = "gpio-leds";
67
68 usb {
69 label = "dlan-usb-extender:green:usb";
70 gpios = <&gpio 19 0>; // gpio 19 active high
71 };
72 };
73 };
74 };
75 };
76