OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /dts-v1/;
2  
3 #include "bcm6328.dtsi"
4  
5 #include <dt-bindings/input/input.h>
6  
7 / {
8 model = "NuCom R5010UN v2";
9 compatible = "nucom,r5010unv2", "brcm,bcm6328";
10  
11 chosen {
12 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15  
3 office 16  
17 gpio-keys-polled {
1 office 18 compatible = "gpio-keys-polled";
19 #address-cells = <1>;
20 #size-cells = <0>;
21 poll-interval = <20>;
3 office 22 debounce-interval = <60>;
1 office 23  
24 reset {
25 label = "reset";
26 gpios = <&pinctrl 23 1>;
27 linux,code = <KEY_RESTART>;
28 };
29 wps {
30 label = "wps";
31 gpios = <&pinctrl 24 1>;
32 linux,code = <KEY_WPS_BUTTON>;
33 };
34 };
35  
3 office 36 gpio-leds {
1 office 37 compatible = "gpio-leds";
38  
39 inet_green {
40 label = "R5010UNv2:green:inet";
41 gpios = <&pinctrl 1 1>;
42 };
43 inet_fail_red {
44 label = "R5010UNv2:red:inet-fail";
45 gpios = <&pinctrl 2 1>;
46 };
47 dsl_red {
48 label = "R5010UNv2:green:dsl";
49 gpios = <&pinctrl 3 1>;
50 };
51 power_green {
52 label = "R5010UNv2:green:power";
53 gpios = <&pinctrl 4 1>;
54 default-state = "on";
55 };
56 power_fail_red {
57 label = "R5010UNv2:red:power-fail";
58 gpios = <&pinctrl 5 1>;
59 };
60 wps_green {
61 label = "R5010UNv2:green:wps";
62 gpios = <&pinctrl 10 1>;
63 };
64 usb_green {
65 label = "R5010UNv2:green:usb";
66 gpios = <&pinctrl 11 1>;
67 };
68 };
69 };
70  
71 &hsspi {
72 status = "ok";
73  
74 flash@0 {
75 compatible = "jedec,spi-nor";
76 spi-max-frequency = <16666667>;
77 spi-tx-bus-width = <2>;
78 spi-rx-bus-width = <2>;
79 reg = <0>;
80  
81 #address-cells = <1>;
82 #size-cells = <1>;
83  
3 office 84 linux,part-probe = "bcm63xxpart";
1 office 85  
3 office 86 partitions {
87 compatible = "fixed-partitions";
88 #address-cells = <1>;
89 #size-cells = <1>;
90  
1 office 91 cfe@0 {
92 reg = <0x000000 0x010000>;
93 label = "cfe";
94 read-only;
95 };
96  
97 linux@10000 {
98 reg = <0x010000 0x7e0000>;
99 label = "linux";
100 compatible = "brcm,bcm963xx-imagetag";
101 };
102  
103 nvram@7f0000 {
104 reg = <0x7f0000 0x010000>;
105 label = "nvram";
106 };
107 };
108 };
109 };
110  
111 &uart0 {
112 status = "ok";
113 };