OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 /dts-v1/;
2  
3 #include "rt3050.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 compatible = "netgear,wnce2001", "ralink,rt3052-soc";
10 model = "Netgear WNCE2001";
11  
12 chosen {
13 bootargs = "console=ttyS0,115200";
14 };
15  
16 gpio-leds {
17 compatible = "gpio-leds";
18  
19 power-green {
20 label = "wnce2001:green:power";
21 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
22 };
23  
24 power-red {
25 label = "wnce2001:red:power";
26 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 };
28  
29 wlan-green {
30 label = "wnce2001:green:wlan";
31 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
32 };
33  
34 wlan-red {
35 label = "wnce2001:red:wlan";
36 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
37 };
38 };
39  
40 gpio-keys-polled {
41 compatible = "gpio-keys-polled";
42 #address-cells = <1>;
43 #size-cells = <0>;
44 poll-interval = <20>;
45  
46 reset {
47 label = "reset";
48 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
50 };
51  
52 wps {
53 label = "wps";
54 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_WPS_BUTTON>;
56 };
57  
58 rt {
59 label = "rt";
60 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
61 linux,code = <BTN_0>;
62 };
63  
64 ap {
65 label = "ap";
66 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
67 linux,code = <BTN_1>;
68 };
69 };
70 };
71  
72 &spi0 {
73 status = "okay";
74  
75 m25p80@0 {
76 #address-cells = <1>;
77 #size-cells = <1>;
78 compatible = "jedec,spi-nor";
79 reg = <0>;
80 spi-max-frequency = <10000000>;
81  
82 partition@0 {
83 label = "u-boot";
84 reg = <0x0 0x30000>;
85 read-only;
86 };
87  
88 factory: partition@30000 {
89 label = "factory";
90 reg = <0x30000 0x10000>;
91 read-only;
92 };
93  
94 partition@40000 {
95 label = "config";
96 reg = <0x40000 0x20000>;
97 read-only;
98 };
99  
100 partition@60000 {
101 label = "language";
102 reg = <0x60000 0x30000>;
103 read-only;
104 };
105  
106 partition@90000 {
107 label = "pot";
108 reg = <0x90000 0x10000>;
109 read-only;
110 };
111  
112 partition@a0000 {
113 label = "checksum";
114 reg = <0xa0000 0x10000>;
115 };
116  
117 partition@b0000 {
118 label = "firmware";
119 reg = <0xb0000 0x350000>;
120 };
121 };
122 };
123  
124 &pinctrl {
125 state_default: pinctrl0 {
126 gpio {
127 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
128 ralink,function = "gpio";
129 };
130 };
131 };
132  
133 &ethernet {
134 mtd-mac-address = <&factory 0x28>;
135 };
136  
137 &wmac {
138 ralink,mtd-eeprom = <&factory 0>;
139 };