OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "rt5350.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "dlink,dir-610-a1", "ralink,rt5350-soc"; |
||
10 | model = "D-Link DIR-610 A1"; |
||
11 | |||
3 | office | 12 | gpio-leds { |
1 | office | 13 | compatible = "gpio-leds"; |
14 | |||
3 | office | 15 | status { |
1 | office | 16 | label = "dir-610-a1:green:status"; |
17 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
||
18 | }; |
||
19 | |||
20 | wps { |
||
21 | label = "dir-610-a1:green:wps"; |
||
22 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
||
23 | }; |
||
24 | }; |
||
25 | |||
3 | office | 26 | gpio-keys-polled { |
1 | office | 27 | compatible = "gpio-keys-polled"; |
3 | office | 28 | #address-cells = <1>; |
29 | #size-cells = <0>; |
||
1 | office | 30 | poll-interval = <20>; |
31 | |||
32 | reset { |
||
33 | label = "reset"; |
||
34 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
||
35 | linux,code = <KEY_RESTART>; |
||
36 | }; |
||
37 | |||
38 | wps { |
||
39 | label = "wps"; |
||
40 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
||
41 | linux,code = <KEY_WPS_BUTTON>; |
||
42 | }; |
||
43 | }; |
||
44 | }; |
||
45 | |||
46 | &spi0 { |
||
47 | status = "okay"; |
||
48 | |||
49 | m25p80@0 { |
||
3 | office | 50 | #address-cells = <1>; |
51 | #size-cells = <1>; |
||
1 | office | 52 | compatible = "jedec,spi-nor"; |
53 | reg = <0>; |
||
54 | spi-max-frequency = <10000000>; |
||
55 | |||
3 | office | 56 | partition@0 { |
57 | label = "u-boot"; |
||
58 | reg = <0x0 0x30000>; |
||
59 | read-only; |
||
60 | }; |
||
1 | office | 61 | |
3 | office | 62 | devdata: partition@30000 { |
63 | label = "devdata"; |
||
64 | reg = <0x30000 0x10000>; |
||
65 | read-only; |
||
66 | }; |
||
1 | office | 67 | |
3 | office | 68 | factory: partition@40000 { |
69 | label = "factory"; |
||
70 | reg = <0x40000 0x10000>; |
||
71 | read-only; |
||
72 | }; |
||
1 | office | 73 | |
3 | office | 74 | partition@50000 { |
75 | label = "firmware"; |
||
76 | reg = <0x50000 0x3b0000>; |
||
1 | office | 77 | }; |
78 | }; |
||
79 | }; |
||
80 | |||
81 | &pinctrl { |
||
82 | state_default: pinctrl0 { |
||
83 | gpio { |
||
84 | ralink,group = "i2c", "jtag", "uartf"; |
||
85 | ralink,function = "gpio"; |
||
86 | }; |
||
87 | }; |
||
88 | }; |
||
89 | |||
90 | ðernet { |
||
91 | mtd-mac-address = <&devdata 0x4004>; |
||
92 | }; |
||
93 | |||
94 | &esw { |
||
95 | status = "okay"; |
||
96 | mediatek,portmap = <0x2f>; |
||
97 | mediatek,led_polarity = <0x17>; |
||
98 | }; |
||
99 | |||
100 | &wmac { |
||
101 | status = "okay"; |
||
102 | ralink,led-polarity = <1>; |
||
103 | ralink,mtd-eeprom = <&devdata 0x4000>; |
||
104 | }; |