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