aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts
blob: cc7fab8ed1d82654776f8008733633a931e3fdf5 (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
77
78
79
80
81
82
83
/*
 * rbt-832.dts - Device Tree file for Tigal RBT-832
 *
 * Copyright (C) 2012, Florian Fainelli <florian@openwrt.org>
 *
 * Licensed under GPLv2
 */

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

/ {
	model = "Tigal RBT-832";
	compatible = "tigal,rbt-832", "moschip,mcs8140", "moschip,mcs814x";

	chosen {
		bootargs = "mem=32M console=ttyS0,115200 earlyprintk";
	};

	ahb {
		vci {
			eth0: ethernet@40084000 {
				nuport-mac,link-activity = <0x01>;
			};

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

				nor: flash@7,0 {

					partition@0 {
						label = "ArmBoot";
						reg = <0 0x40000>;
					};
					partition@30000 {
						label = "Enviroment";
						reg = <0x40000 0x20000>;
					};
					partition@50000 {
						label = "bZimage";
						reg = <0x60000 0x1a0000>;
					};
					partition@150000 {
						label = "UserFS";
						reg = <0x200000 0x600000>;
					};
				};
			};

			leds {
				compatible = "gpio-leds";

				ethernet {
					label = "rbt-832:red:ethernet";
					gpios = <&gpio 0 0>;	// gpio 0 active high
				};

				usb0 {
					label = "rbt-832:red:usb0";
					gpios = <&gpio 4 0>;	// gpio 4 active high
				};

				usb1 {
					label = "rbt-832:red:usb1";
					gpios = <&gpio 3 0>;	// gpio 3 active high
				};

				usb2 {
					label = "rbt-832:red:usb2";
					gpios = <&gpio 2 0>;	// gpio 2 active high
				};

				usb3 {
					label = "rbt-832:red:usb3";
					gpios = <&gpio 1 0>;	// gpio 1 active high
				};
			};
		};
	};
};