OpenWrt – Blame information for rev 2
?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 | |||
12 | aliases { |
||
13 | led-boot = &led_status; |
||
14 | led-failsafe = &led_status; |
||
15 | led-running = &led_status; |
||
16 | led-upgrade = &led_status; |
||
17 | }; |
||
18 | |||
19 | leds { |
||
20 | compatible = "gpio-leds"; |
||
21 | |||
22 | led_status: status { |
||
23 | label = "dir-620-d1:green:status"; |
||
24 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
||
25 | }; |
||
26 | |||
27 | wifi { |
||
28 | label = "dir-620-d1:green:wifi"; |
||
29 | gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; |
||
30 | }; |
||
31 | }; |
||
32 | |||
33 | keys { |
||
34 | compatible = "gpio-keys-polled"; |
||
35 | poll-interval = <20>; |
||
36 | |||
37 | reset_wps { |
||
38 | label = "reset_wps"; |
||
39 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
||
40 | linux,code = <KEY_RESTART>; |
||
41 | }; |
||
42 | }; |
||
43 | }; |
||
44 | |||
45 | &spi0 { |
||
46 | status = "okay"; |
||
47 | |||
48 | m25p80@0 { |
||
49 | compatible = "jedec,spi-nor"; |
||
50 | reg = <0>; |
||
51 | spi-max-frequency = <10000000>; |
||
52 | |||
53 | partitions { |
||
54 | compatible = "fixed-partitions"; |
||
55 | #address-cells = <1>; |
||
56 | #size-cells = <1>; |
||
57 | |||
58 | partition@0 { |
||
59 | label = "u-boot"; |
||
60 | reg = <0x0 0x30000>; |
||
61 | read-only; |
||
62 | }; |
||
63 | |||
64 | partition@30000 { |
||
65 | label = "u-boot-env"; |
||
66 | reg = <0x30000 0x10000>; |
||
67 | read-only; |
||
68 | }; |
||
69 | |||
70 | factory: partition@40000 { |
||
71 | label = "factory"; |
||
72 | reg = <0x40000 0x10000>; |
||
73 | read-only; |
||
74 | }; |
||
75 | |||
76 | partition@50000 { |
||
77 | compatible = "denx,uimage"; |
||
78 | label = "firmware"; |
||
79 | reg = <0x50000 0x7b0000>; |
||
80 | }; |
||
81 | }; |
||
82 | }; |
||
83 | }; |
||
84 | |||
85 | &pinctrl { |
||
86 | state_default: pinctrl0 { |
||
87 | gpio { |
||
88 | ralink,group = "i2c", "jtag", "uartf"; |
||
89 | ralink,function = "gpio"; |
||
90 | }; |
||
91 | }; |
||
92 | }; |
||
93 | |||
94 | ðernet { |
||
95 | mtd-mac-address = <&factory 0x4>; |
||
96 | pinctrl-names = "default"; |
||
97 | pinctrl-0 = <&rgmii_pins &mdio_pins>; |
||
98 | }; |
||
99 | |||
100 | &esw { |
||
101 | mediatek,portmap = <0x2f>; |
||
102 | }; |
||
103 | |||
104 | &wmac { |
||
105 | ralink,mtd-eeprom = <&factory 0>; |
||
106 | }; |
||
107 | |||
108 | &ehci { |
||
109 | status = "okay"; |
||
110 | }; |
||
111 | |||
112 | &ohci { |
||
113 | status = "okay"; |
||
114 | }; |