OpenWrt – Blame information for rev 2
?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 = "belkin,f7c027", "ralink,rt5350-soc"; |
||
10 | model = "Belkin F7C027"; |
||
11 | |||
12 | aliases { |
||
13 | led-boot = &led_status_orange; |
||
14 | led-failsafe = &led_status_orange; |
||
15 | led-running = &led_status_orange; |
||
16 | led-upgrade = &led_status_orange; |
||
17 | }; |
||
18 | |||
19 | leds { |
||
20 | compatible = "gpio-leds"; |
||
21 | |||
22 | status { |
||
23 | label = "f7c027:blue:status"; |
||
24 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
||
25 | }; |
||
26 | |||
27 | power { |
||
28 | label = "f7c027:blue:power"; |
||
29 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
||
30 | }; |
||
31 | |||
32 | led_status_orange: orange { |
||
33 | label = "f7c027:orange:status"; |
||
34 | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; |
||
35 | }; |
||
36 | |||
37 | relay { |
||
38 | label = "f7c027:device:relay"; |
||
39 | gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; |
||
40 | }; |
||
41 | }; |
||
42 | |||
43 | keys { |
||
44 | compatible = "gpio-keys-polled"; |
||
45 | poll-interval = <20>; |
||
46 | |||
47 | top { |
||
48 | label = "restore"; |
||
49 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
||
50 | linux,code = <KEY_RESTART>; |
||
51 | }; |
||
52 | |||
53 | power { |
||
54 | label = "power"; |
||
55 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
||
56 | linux,code = <KEY_RFKILL>; |
||
57 | }; |
||
58 | |||
59 | sensor { |
||
60 | label = "sensor"; |
||
61 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
||
62 | linux,code = <BTN_0>; |
||
63 | }; |
||
64 | }; |
||
65 | }; |
||
66 | |||
67 | &spi0 { |
||
68 | status = "okay"; |
||
69 | |||
70 | m25p80@0 { |
||
71 | compatible = "jedec,spi-nor"; |
||
72 | reg = <0>; |
||
73 | spi-max-frequency = <10000000>; |
||
74 | |||
75 | partitions { |
||
76 | compatible = "fixed-partitions"; |
||
77 | #address-cells = <1>; |
||
78 | #size-cells = <1>; |
||
79 | |||
80 | partition@0 { |
||
81 | label = "u-boot"; |
||
82 | reg = <0x0 0x30000>; |
||
83 | read-only; |
||
84 | }; |
||
85 | |||
86 | partition@30000 { |
||
87 | label = "u-boot-env"; |
||
88 | reg = <0x30000 0x10000>; |
||
89 | read-only; |
||
90 | }; |
||
91 | |||
92 | factory: partition@40000 { |
||
93 | label = "factory"; |
||
94 | reg = <0x40000 0x10000>; |
||
95 | read-only; |
||
96 | }; |
||
97 | |||
98 | partition@50000 { |
||
99 | compatible = "denx,uimage"; |
||
100 | label = "firmware"; |
||
101 | reg = <0x50000 0x770000>; |
||
102 | }; |
||
103 | |||
104 | partition@7c0000 { |
||
105 | label = "firmware2"; |
||
106 | reg = <0x7c0000 0x770000>; |
||
107 | }; |
||
108 | |||
109 | partition@f30000 { |
||
110 | label = "belkin_settings"; |
||
111 | reg = <0xf30000 0xa0000>; |
||
112 | }; |
||
113 | |||
114 | partition@fd0000 { |
||
115 | label = "unknown"; |
||
116 | reg = <0xfd0000 0x10000>; |
||
117 | }; |
||
118 | |||
119 | partition@fe0000 { |
||
120 | label = "nvram"; |
||
121 | reg = <0xfe0000 0x10000>; |
||
122 | }; |
||
123 | |||
124 | partition@ff0000 { |
||
125 | label = "user_factory"; |
||
126 | reg = <0xff0000 0x10000>; |
||
127 | }; |
||
128 | }; |
||
129 | }; |
||
130 | }; |
||
131 | |||
132 | &wmac { |
||
133 | ralink,mtd-eeprom = <&factory 0>; |
||
134 | }; |
||
135 | |||
136 | &pinctrl { |
||
137 | state_default: pinctrl0 { |
||
138 | gpio { |
||
139 | ralink,group = "i2c", "jtag", "uartf"; |
||
140 | ralink,function = "gpio"; |
||
141 | }; |
||
142 | }; |
||
143 | }; |