ramips: fix indentation and other mistakes in .dts{, i} files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / NW718.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "NW718", "ralink,rt3050-soc";
7 model = "Netcore NW718";
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 = <25000000>;
20
21 partition@0 {
22 label = "u-boot";
23 reg = <0x0 0x30000>;
24 read-only;
25 };
26
27 partition@30000 {
28 label = "config";
29 reg = <0x30000 0x20000>;
30 read-only;
31 };
32
33 factory: partition@50000 {
34 label = "factory";
35 reg = <0x50000 0x10000>;
36 read-only;
37 };
38
39 partition@60000 {
40 label = "firmware";
41 reg = <0x60000 0x3a0000>;
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 ethernet@10100000 {
57 mtd-mac-address = <&factory 0x4>;
58 };
59
60 esw@10110000 {
61 ralink,portmap = <0x2f>;
62 };
63
64 wmac@10180000 {
65 ralink,mtd-eeprom = <&factory 0>;
66 };
67
68 gpio-leds {
69 compatible = "gpio-leds";
70
71 cpu {
72 label = "nw718:amber:cpu";
73 gpios = <&gpio0 13 1>;
74 };
75
76 usb {
77 label = "nw718:amber:usb";
78 gpios = <&gpio0 8 1>;
79 };
80
81 wps {
82 label = "nw718:amber:wps";
83 gpios = <&gpio0 14 1>;
84 };
85 };
86
87 gpio-keys-polled {
88 compatible = "gpio-keys-polled";
89 #address-cells = <1>;
90 #size-cells = <0>;
91 poll-interval = <20>;
92
93 reset {
94 label = "reset";
95 gpios = <&gpio0 10 1>;
96 linux,code = <0x198>;
97 };
98
99 wps {
100 label = "wps";
101 gpios = <&gpio0 0 1>;
102 linux,code = <0x211>;
103 };
104 };
105
106 otg@101c0000 {
107 status = "okay";
108 };
109 };