[mcs814x] add Moschip MSC814x support
[openwrt.git] / target / linux / mcs814x / files-3.3 / arch / arm / boot / dts / rbt-832.dts
1 /*
2  * rbt-832.dts - Device Tree file for Tigal RBT-832
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 = "Tigal RBT-832";
14         compatible = "tigal,rbt-832", "moschip,mcs8140", "moschip,mcs814x";
15
16         chosen {
17                 bootargs = "mem=32M console=ttyS0,115200 earlyprintk";
18         };
19
20         ahb {
21                 vci {
22
23                         adc {
24                                 sdram: memory@0,0 {
25                                         reg = <0 0 0x2000000>;
26                                 };
27
28                                 nor: flash@7,0 {
29
30                                         partition@0 {
31                                                 label = "ArmBoot";
32                                                 reg = <0 0x40000>;
33                                         };
34                                         partition@30000 {
35                                                 label = "Enviroment";
36                                                 reg = <0x40000 0x20000>;
37                                         };
38                                         partition@50000 {
39                                                 label = "bZimage";
40                                                 reg = <0x60000 0x1a0000>;
41                                         };
42                                         partition@150000 {
43                                                 label = "UserFS";
44                                                 reg = <0x200000 0x600000>;
45                                         };
46                                 };
47                         };
48
49                         leds {
50                                 compatible = "gpio-leds";
51
52                                 ethernet {
53                                         label = "rbt-832:red:ethernet";
54                                         gpios = <&gpio 0 0>;    // gpio 0 active high
55                                 };
56
57                                 usb0 {
58                                         label = "rbt-832:red:usb0";
59                                         gpios = <&gpio 4 0>;    // gpio 4 active high
60                                 };
61
62                                 usb1 {
63                                         label = "rbt-832:red:usb1";
64                                         gpios = <&gpio 3 0>;    // gpio 3 active high
65                                 };
66
67                                 usb2 {
68                                         label = "rbt-832:red:usb2";
69                                         gpios = <&gpio 2 0>;    // gpio 2 active high
70                                 };
71
72                                 usb3 {
73                                         label = "rbt-832:red:usb3";
74                                         gpios = <&gpio 1 0>;    // gpio 1 active high
75                                 };
76                         };
77                 };
78         };
79 };
80