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