ramips: fix indentation and other mistakes in .dts{, i} files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / 3G300M.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "3G300M", "ralink,rt3052-soc";
7 model = "Tenda 3G300M";
8
9 palmbus@10000000 {
10 spi@b00 {
11 status = "okay";
12
13 m25p80@0 {
14 #address-cells = <1>;
15 #size-cells = <1>;
16 compatible = "mx25l3205d";
17 reg = <0 0>;
18 linux,modalias = "m25p80", "mx25l3205d";
19 spi-max-frequency = <10000000>;
20
21 partition@0 {
22 label = "u-boot";
23 reg = <0x0 0x30000>;
24 read-only;
25 };
26
27 partition@30000 {
28 label = "u-boot-env";
29 reg = <0x30000 0x10000>;
30 read-only;
31 };
32
33 factory: partition@40000 {
34 label = "factory";
35 reg = <0x40000 0x10000>;
36 read-only;
37 };
38
39 partition@50000 {
40 label = "firmware";
41 reg = <0x50000 0x3b0000>;
42 };
43 };
44 };
45 };
46
47 pinctrl {
48 state_default: pinctrl0 {
49 gpio {
50 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
51 ralink,function = "gpio";
52 };
53 };
54 };
55
56 gpio-leds {
57 compatible = "gpio-leds";
58
59 3grouter {
60 label = "tenda:blue:3grouter";
61 gpios = <&gpio0 11 1>;
62 };
63
64 ap {
65 label = "tenda:blue:ap";
66 gpios = <&gpio0 12 1>;
67 };
68
69 wisprouter {
70 label = "tenda:blue:wisprouter";
71 gpios = <&gpio0 9 1>;
72 };
73
74 wirelessrouter {
75 label = "tenda:blue:wirelessrouter";
76 gpios = <&gpio0 13 1>;
77 };
78
79 3g {
80 label = "tenda:blue:3g";
81 gpios = <&gpio0 7 1>;
82 };
83
84 wpsreset {
85 label = "tenda:blue:wpsreset";
86 gpios = <&gpio0 14 1>;
87 };
88 };
89
90 gpio-keys-polled {
91 compatible = "gpio-keys-polled";
92 #address-cells = <1>;
93 #size-cells = <0>;
94 poll-interval = <20>;
95
96 reset {
97 label = "reset";
98 gpios = <&gpio0 0 1>;
99 linux,code = <0x198>;
100 };
101
102 mode {
103 label = "mode";
104 gpios = <&gpio0 10 1>;
105 linux,code = <0x100>;
106 };
107 };
108
109 ethernet@10100000 {
110 mtd-mac-address = <&factory 0x4>;
111 };
112
113 esw@10110000 {
114 ralink,portmap = <0x2f>;
115 };
116
117 wmac@10180000 {
118 ralink,mtd-eeprom = <&factory 0>;
119 };
120
121 otg@101c0000 {
122 status = "okay";
123 };
124 };