summaryrefslogtreecommitdiff
path: root/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/dlan-usb-extender.dts
blob: 0c85b94c0aa2bdfe7fb8dd4bf485ac3e1957fa34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
 * dlan-usb-extender.dts - Device Tree file for Devolo dLAN USB Extender
 *
 * Copyright (C) 2012, Florian Fainelli <florian@openwrt.org>
 *
 * Licensed under GPLv2
 */

/dts-v1/;
/include/ "mcs8140.dtsi"

/ {
	model = "Devolo dLAN USB Extender";
	compatible = "devolo,dlan-usb-extender", "moschip,mcs8140", "moschip,mcs814x";

	chosen {
		bootargs = "mem=16M console=ttyS0,57600 earlyprintk";
	};

	ahb {
		vci {
			eth0: ethernet@40084000 {
				phy = <&phy0>;
				phy-mode = "mii";

				phy0: ethernet-phy@0 {
					reg = <8>;
				};
			};

			adc {
				sdram: memory@0,0 {
					reg = <0 0 0x1000000>;
				};

				nor: flash@7,0 {

					partition@0 {
						label = "ArmBoot";
						reg = <0 0x30000>;
					};
					partition@30000 {
						label = "Config1";
						reg = <0x30000 0x10000>;
					};
					partition@40000 {
						label = "Config2";
						reg = <0x40000 0x10000>;
					};
					partition@50000 {
						label = "kernel";
						reg = <0x50000 0x100000>;
					};
					partition@150000 {
						label = "rootfs";
						reg = <0x150000 0x3C0000>;
					};
					partition@50001 {
						label = "linux";
						reg = <0x50000 0x4C0000>;
					};
				};
			};

			leds {
				compatible = "gpio-leds";

				usb {
					label = "dlan-usb-extender:green:usb";
					gpios = <&gpio 19 0>;	// gpio 19 active high
				};
			};
		};
	};
};