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-615-h1", "ralink,rt3352-soc"; |
||
10 | model = "D-Link DIR-615 H1"; |
||
11 | |||
3 | office | 12 | gpio-leds { |
1 | office | 13 | compatible = "gpio-leds"; |
14 | |||
15 | status { |
||
16 | label = "dir-615-h1:amber:status"; |
||
17 | gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; |
||
18 | }; |
||
19 | |||
3 | office | 20 | status2 { |
1 | office | 21 | label = "dir-615-h1:green:status"; |
22 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
||
23 | }; |
||
24 | |||
25 | wan { |
||
26 | label = "dir-615-h1:amber:wan"; |
||
27 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
||
28 | }; |
||
29 | |||
30 | wan2 { |
||
31 | label = "dir-615-h1:green:wan"; |
||
32 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
||
33 | }; |
||
34 | |||
35 | wps { |
||
36 | label = "dir-615-h1:blue:wps"; |
||
37 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
||
38 | }; |
||
39 | }; |
||
40 | |||
3 | office | 41 | gpio-keys-polled { |
1 | office | 42 | compatible = "gpio-keys-polled"; |
3 | office | 43 | #address-cells = <1>; |
44 | #size-cells = <0>; |
||
1 | office | 45 | poll-interval = <20>; |
46 | |||
47 | reset { |
||
48 | label = "reset"; |
||
49 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
||
50 | linux,code = <KEY_RESTART>; |
||
51 | }; |
||
52 | |||
53 | wps { |
||
54 | label = "wps"; |
||
55 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
||
56 | linux,code = <KEY_WPS_BUTTON>; |
||
57 | }; |
||
58 | }; |
||
59 | }; |
||
60 | |||
61 | &spi0 { |
||
62 | status = "okay"; |
||
63 | |||
64 | m25p80@0 { |
||
3 | office | 65 | #address-cells = <1>; |
66 | #size-cells = <1>; |
||
1 | office | 67 | compatible = "jedec,spi-nor"; |
68 | reg = <0>; |
||
69 | spi-max-frequency = <10000000>; |
||
70 | |||
3 | office | 71 | partition@0 { |
72 | label = "u-boot"; |
||
73 | reg = <0x0 0x30000>; |
||
74 | read-only; |
||
75 | }; |
||
1 | office | 76 | |
3 | office | 77 | partition@30000 { |
78 | label = "u-boot-env"; |
||
79 | reg = <0x30000 0x10000>; |
||
80 | read-only; |
||
81 | }; |
||
1 | office | 82 | |
3 | office | 83 | factory: partition@40000 { |
84 | label = "factory"; |
||
85 | reg = <0x40000 0x10000>; |
||
86 | read-only; |
||
87 | }; |
||
1 | office | 88 | |
3 | office | 89 | partition@50000 { |
90 | label = "firmware"; |
||
91 | reg = <0x50000 0x3b0000>; |
||
1 | office | 92 | }; |
93 | }; |
||
94 | }; |
||
95 | |||
96 | &pinctrl { |
||
97 | state_default: pinctrl0 { |
||
98 | gpio { |
||
99 | ralink,group = "i2c", "jtag", "uartf"; |
||
100 | ralink,function = "gpio"; |
||
101 | }; |
||
102 | }; |
||
103 | }; |
||
104 | |||
105 | ðernet { |
||
106 | mtd-mac-address = <&factory 0x28>; |
||
107 | pinctrl-names = "default"; |
||
108 | pinctrl-0 = <&rgmii_pins &mdio_pins>; |
||
109 | }; |
||
110 | |||
111 | &esw { |
||
112 | mediatek,portmap = <0x2f>; |
||
113 | }; |
||
114 | |||
115 | &wmac { |
||
116 | ralink,mtd-eeprom = <&factory 0>; |
||
117 | }; |