OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 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 = "jcg,jhr-n926r", "ralink,rt3052-soc";
10 model = "JCG JHR-N926R";
11  
12 cfi@1f000000 {
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
15 bank-width = <2>;
16 device-width = <2>;
3 office 17 #address-cells = <1>;
18 #size-cells = <1>;
1 office 19  
3 office 20 partition@0 {
21 label = "u-boot";
22 reg = <0x0 0x30000>;
23 read-only;
24 };
1 office 25  
3 office 26 partition@30000 {
27 label = "u-boot-env";
28 reg = <0x30000 0x10000>;
29 read-only;
30 };
1 office 31  
3 office 32 factory: partition@40000 {
33 label = "factory";
34 reg = <0x40000 0x10000>;
35 read-only;
36 };
1 office 37  
3 office 38 partition@50000 {
39 label = "firmware";
40 reg = <0x50000 0x3b0000>;
1 office 41 };
42 };
43  
3 office 44 gpio-leds {
1 office 45 compatible = "gpio-leds";
46  
47 wlan1 {
48 label = "jhr-n926r:red:wlan";
49 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
50 };
51  
52 wlan2 {
53 label = "jhr-n926r:yellow:wlan";
54 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
55 };
56  
57 wlan3 {
58 label = "jhr-n926r:green:wlan";
59 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
60 };
61  
3 office 62 system {
1 office 63 label = "jhr-n926r:blue:system";
64 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
65 };
66 };
67  
68 gpio_export {
69 compatible = "gpio-export";
70 #size-cells = <0>;
71  
72 display_data {
73 gpio-export,name = "display_data";
74 gpio-export,output = <1>;
75 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
76 };
77  
78 display_clock {
79 gpio-export,name = "display_clock";
80 gpio-export,output = <1>;
81 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
82 };
83  
84 display_blank {
85 gpio-export,name = "display_blank";
86 gpio-export,output = <1>;
87 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
88 };
89 };
90  
3 office 91 gpio-keys-polled {
1 office 92 compatible = "gpio-keys-polled";
3 office 93 #address-cells = <1>;
94 #size-cells = <0>;
1 office 95 poll-interval = <20>;
96  
97 reset_wps {
98 label = "reset_wps";
99 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
100 linux,code = <KEY_RESTART>;
101 };
102  
103 wlan {
104 label = "wlan";
105 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
106 linux,code = <BTN_0>;
107 };
108 };
109 };
110  
111 &pinctrl {
112 state_default: pinctrl0 {
113 gpio {
114 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
115 ralink,function = "gpio";
116 };
117 };
118 };
119  
120 &ethernet {
121 mtd-mac-address = <&factory 0x2e>;
122 };
123  
124 &esw {
125 mediatek,portmap = <0x3e>;
126 };
127  
128 &wmac {
129 ralink,mtd-eeprom = <&factory 0>;
130 };