OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /dts-v1/;
2  
3 #include "rt3883.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 compatible = "dlink,dir-645", "ralink,rt3883-soc";
10 model = "D-Link DIR-645";
11  
12 rtl8367b {
13 compatible = "realtek,rtl8367b";
14 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
15 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
16 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
17 };
18  
3 office 19 gpio-keys-polled {
1 office 20 compatible = "gpio-keys-polled";
3 office 21 #address-cells = <1>;
22 #size-cells = <0>;
1 office 23 poll-interval = <100>;
24  
25 reset {
26 label = "reset";
27 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
28 linux,code = <KEY_RESTART>;
29 };
30  
31 wps {
32 label = "wps";
33 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
34 linux,code = <KEY_WPS_BUTTON>;
35 };
36 };
37  
3 office 38 gpio-leds {
1 office 39 compatible = "gpio-leds";
40  
41 inet {
42 label = "dir-645:green:inet";
43 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
44 };
45  
3 office 46 wps {
1 office 47 label = "dir-645:green:wps";
48 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
49 };
50 };
51  
52 gpio_export {
53 compatible = "gpio-export";
54 #size-cells = <0>;
55  
56 usb {
57 gpio-export,name = "usb";
58 gpio-export,output = <1>;
59 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
60 };
61 };
62 };
63  
64 &gpio1 {
65 status = "okay";
66 };
67  
68 &spi0 {
69 status = "okay";
70  
71 m25p80@0 {
3 office 72 #address-cells = <1>;
73 #size-cells = <1>;
1 office 74 compatible = "jedec,spi-nor";
75 reg = <0>;
76 spi-max-frequency = <25000000>;
77  
3 office 78 partition@0 {
79 label = "uboot";
80 reg = <0x0 0x30000>;
81 read-only;
82 };
1 office 83  
3 office 84 partition@30000 {
85 label = "uboot-env";
86 reg = <0x30000 0x4000>;
87 read-only;
88 };
1 office 89  
3 office 90 factory: partition@34000 {
91 label = "factory";
92 reg = <0x34000 0x4000>;
93 read-only;
94 };
1 office 95  
3 office 96 partition@38000 {
97 label = "nvram";
98 reg = <0x38000 0x8000>;
99 read-only;
100 };
1 office 101  
3 office 102 partition@40000 {
103 label = "devdata";
104 reg = <0x40000 0x10000>;
105 };
1 office 106  
3 office 107 partition@50000 {
108 label = "firmware";
109 reg = <0x50000 0x7b0000>;
1 office 110 };
111 };
112 };
113  
114 &pinctrl {
115 state_default: pinctrl0 {
116 gpio {
117 ralink,group = "i2c", "jtag", "uartf";
118 ralink,function = "gpio";
119 };
120 };
121 };
122  
123 &ethernet {
124 mtd-mac-address = <&factory 0x4>;
125  
126 port@0 {
127 mediatek,fixed-link = <1000 1 1 0>;
128 };
129 };
130  
131 &wmac {
132 ralink,5ghz = <0>;
133 ralink,mtd-eeprom = <&factory 0>;
134 };
135  
136 &ehci {
137 status = "okay";
138 };
139  
140 &ohci {
141 status = "okay";
142 };