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 = "huawei,hg255d", "ralink,rt3052-soc";
10 model = "HuaWei HG255D";
11  
12 cfi@1f000000 {
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x1000000>;
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 0x40000>;
23 read-only;
24 };
1 office 25  
3 office 26 partition@30000 {
27 label = "u-boot-env";
28 reg = <0x40000 0x20000>;
29 read-only;
30 };
1 office 31  
3 office 32 factory: partition@60000 {
33 label = "factory";
34 reg = <0x60000 0x20000>;
35 read-only;
36 };
1 office 37  
3 office 38 partition@80000 {
39 label = "firmware";
40 reg = <0x80000 0xf60000>;
41 };
1 office 42  
3 office 43 partition@fa0000 {
44 label = "factory-orig";
45 reg = <0xfa0000 0x20000>;
46 read-only;
1 office 47 };
48 };
49  
3 office 50 gpio-leds {
1 office 51 compatible = "gpio-leds";
52  
3 office 53 power {
1 office 54 label = "hg255d:green:power";
55 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
56 };
57  
58 internet {
59 label = "hg255d:green:internet";
60 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
61 };
62  
63 wifi {
64 label = "hg255d:green:wlan";
65 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
66 };
67  
68 usb {
69 label = "hg255d:green:usb";
70 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
71 };
72  
73 wps {
74 label = "hg255d:green:wps";
75 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
76 };
77  
78 voice {
79 label = "hg255d:green:voice";
80 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
81 };
82 };
83  
3 office 84 gpio-keys-polled {
1 office 85 compatible = "gpio-keys-polled";
3 office 86 #address-cells = <1>;
87 #size-cells = <0>;
1 office 88 poll-interval = <10>;
89  
90 reset {
91 label = "reset";
92 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
93 linux,code = <KEY_RESTART>;
94 };
95  
96 wps {
97 label = "wps";
98 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
99 linux,code = <KEY_WPS_BUTTON>;
100 };
101  
102 rfkill {
103 label = "rfkill";
104 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
105 linux,code = <KEY_RFKILL>;
106 };
107 };
108 };
109  
110 &pinctrl {
111 state_default: pinctrl0 {
112 gpio {
113 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
114 ralink,function = "gpio";
115 };
116 };
117 };
118  
119 &ethernet {
120 mtd-mac-address = <&factory 0x28>;
121 };
122  
123 &esw {
124 mediatek,portmap = <0x2f>;
125 };
126  
127 &wmac {
128 ralink,mtd-eeprom = <&factory 0>;
129 };
130  
131 &otg {
132 status = "okay";
133 };