OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "omnima,hpm", "ralink,rt3883-soc"; |
9 | compatible = "omnima,hpm", "ralink,rt3883-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Omnima HPM"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_status; |
- | ||
14 | led-failsafe = &led_status; |
- | ||
15 | led-running = &led_status; |
- | ||
16 | led-upgrade = &led_status; |
- | ||
17 | }; |
10 | model = "Omnima HPM"; |
|
18 | |
11 | |
|
19 | chosen { |
12 | chosen { |
|
Line 20... | Line 13... | |||
20 | bootargs = "console=ttyS0,115200"; |
13 | bootargs = "console=ttyS0,115200"; |
|
21 | }; |
14 | }; |
|
- | 15 | |
||
- | 16 | gpio-keys-polled { |
||
22 | |
17 | compatible = "gpio-keys-polled"; |
|
Line 23... | Line 18... | |||
23 | keys { |
18 | #address-cells = <1>; |
|
24 | compatible = "gpio-keys-polled"; |
19 | #size-cells = <0>; |
|
25 | poll-interval = <100>; |
20 | poll-interval = <100>; |
|
26 | |
21 | |
|
27 | reset { |
22 | reset { |
|
28 | label = "reset"; |
23 | label = "reset"; |
|
Line 29... | Line 24... | |||
29 | gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; |
24 | gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; |
|
30 | linux,code = <KEY_RESTART>; |
25 | linux,code = <KEY_RESTART>; |
|
Line 31... | Line 26... | |||
31 | }; |
26 | }; |
|
32 | }; |
27 | }; |
|
33 | |
28 | |
|
34 | leds { |
- | ||
35 | compatible = "gpio-leds"; |
29 | gpio-leds { |
|
Line 36... | Line 30... | |||
36 | |
30 | compatible = "gpio-leds"; |
|
37 | power { |
31 | |
|
38 | label = "hpm:orange:power"; |
32 | power { |
|
39 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
- | ||
40 | default-state = "on"; |
33 | label = "hpm:orange:power"; |
|
Line 41... | Line 34... | |||
41 | }; |
34 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
|
42 | |
35 | }; |
|
43 | led_status: status { |
36 | |
|
Line 91... | Line 84... | |||
91 | |
84 | |
|
92 | m25p80@0 { |
85 | m25p80@0 { |
|
93 | compatible = "jedec,spi-nor"; |
86 | compatible = "jedec,spi-nor"; |
|
94 | spi-max-frequency = <25000000>; |
87 | spi-max-frequency = <25000000>; |
|
- | 88 | reg = <0>; |
||
- | 89 | #address-cells = <1>; |
||
- | 90 | #size-cells = <1>; |
||
- | 91 | |
||
- | 92 | partition@0 { |
||
- | 93 | reg = <0x0 0x0030000>; |
||
- | 94 | label = "u-boot"; |
||
- | 95 | read-only; |
||
- | 96 | }; |
||
- | 97 | |
||
- | 98 | partition@30000 { |
||
- | 99 | reg = <0x00030000 0x00010000>; |
||
- | 100 | label = "config"; |
||
- | 101 | read-only; |
||
- | 102 | }; |
||
- | 103 | |
||
- | 104 | factory: partition@40000 { |
||
- | 105 | reg = <0x00040000 0x00010000>; |
||
- | 106 | label = "factory"; |
||
- | 107 | read-only; |
||
Line 95... | Line -... | |||
95 | reg = <0>; |
- | ||
96 | |
- | ||
97 | partitions { |
- | ||
98 | compatible = "fixed-partitions"; |
- | ||
99 | #address-cells = <1>; |
- | ||
100 | #size-cells = <1>; |
- | ||
101 | |
- | ||
102 | partition@0 { |
- | ||
103 | reg = <0x0 0x0030000>; |
- | ||
104 | label = "u-boot"; |
- | ||
105 | read-only; |
- | ||
106 | }; |
- | ||
107 | |
- | ||
108 | partition@30000 { |
- | ||
109 | reg = <0x00030000 0x00010000>; |
- | ||
110 | label = "config"; |
- | ||
111 | read-only; |
- | ||
112 | }; |
- | ||
113 | |
- | ||
114 | factory: partition@40000 { |
- | ||
115 | reg = <0x00040000 0x00010000>; |
- | ||
116 | label = "factory"; |
- | ||
117 | read-only; |
- | ||
118 | }; |
108 | }; |
|
119 | |
- | ||
120 | partition@50000 { |
109 | |
|
121 | compatible = "denx,uimage"; |
110 | partition@50000 { |
|
122 | reg = <0x00050000 0x00fb0000>; |
- | ||
123 | label = "firmware"; |
111 | reg = <0x00050000 0x00fb0000>; |
|
124 | }; |
112 | label = "firmware"; |
|
125 | }; |
113 | }; |
|
Line 126... | Line 114... | |||
126 | }; |
114 | }; |