OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "poray,m3", "ralink,rt5350-soc"; |
9 | compatible = "poray,m3", "ralink,rt5350-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Poray M3"; |
- | ||
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 = "Poray M3"; |
|
18 | |
11 | |
|
Line 19... | Line 12... | |||
19 | leds { |
12 | gpio-leds { |
|
20 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
21 | |
14 | |
|
22 | led_status: status { |
15 | status { |
|
23 | label = "m3:blue:status"; |
16 | label = "m3:blue:status"; |
|
Line 24... | Line 17... | |||
24 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
17 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
|
25 | }; |
18 | }; |
|
- | 19 | }; |
||
- | 20 | |
||
26 | }; |
21 | gpio-keys-polled { |
|
Line 27... | Line 22... | |||
27 | |
22 | compatible = "gpio-keys-polled"; |
|
28 | keys { |
23 | #address-cells = <1>; |
|
29 | compatible = "gpio-keys-polled"; |
24 | #size-cells = <0>; |
|
Line 46... | Line 41... | |||
46 | |
41 | |
|
47 | &spi0 { |
42 | &spi0 { |
|
Line 48... | Line 43... | |||
48 | status = "okay"; |
43 | status = "okay"; |
|
- | 44 | |
||
- | 45 | m25p80@0 { |
||
49 | |
46 | #address-cells = <1>; |
|
50 | m25p80@0 { |
47 | #size-cells = <1>; |
|
51 | compatible = "jedec,spi-nor"; |
48 | compatible = "jedec,spi-nor"; |
|
Line 52... | Line -... | |||
52 | reg = <0>; |
- | ||
53 | spi-max-frequency = <10000000>; |
- | ||
54 | |
- | ||
55 | partitions { |
- | ||
56 | compatible = "fixed-partitions"; |
- | ||
57 | #address-cells = <1>; |
49 | reg = <0>; |
|
58 | #size-cells = <1>; |
50 | spi-max-frequency = <10000000>; |
|
59 | |
51 | |
|
60 | partition@0 { |
52 | partition@0 { |
|
61 | label = "u-boot"; |
53 | label = "u-boot"; |
|
62 | reg = <0x0 0x30000>; |
54 | reg = <0x0 0x30000>; |
|
63 | read-only; |
55 | read-only; |
|
64 | }; |
56 | }; |
|
65 | |
57 | |
|
66 | partition@30000 { |
58 | partition@30000 { |
|
67 | label = "u-boot-env"; |
59 | label = "u-boot-env"; |
|
68 | reg = <0x30000 0x10000>; |
60 | reg = <0x30000 0x10000>; |
|
69 | read-only; |
61 | read-only; |
|
70 | }; |
62 | }; |
|
71 | |
63 | |
|
72 | factory: partition@40000 { |
64 | factory: partition@40000 { |
|
73 | label = "factory"; |
65 | label = "factory"; |
|
74 | reg = <0x40000 0x10000>; |
66 | reg = <0x40000 0x10000>; |
|
75 | read-only; |
67 | read-only; |
|
76 | }; |
- | ||
77 | |
68 | }; |
|
78 | partition@50000 { |
69 | |
|
79 | compatible = "denx,uimage"; |
- | ||
80 | label = "firmware"; |
70 | partition@50000 { |
|
81 | reg = <0x50000 0x3b0000>; |
71 | label = "firmware"; |
|
82 | }; |
72 | reg = <0x50000 0x3b0000>; |
|
Line 83... | Line 73... | |||
83 | }; |
73 | }; |