OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "netcore,nw718", "ralink,rt3050-soc"; |
9 | compatible = "netcore,nw718", "ralink,rt3050-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Netcore NW718"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_cpu; |
- | ||
14 | led-failsafe = &led_cpu; |
- | ||
15 | led-running = &led_cpu; |
- | ||
16 | led-upgrade = &led_cpu; |
- | ||
17 | }; |
10 | model = "Netcore NW718"; |
|
18 | |
11 | |
|
Line 19... | Line 12... | |||
19 | leds { |
12 | gpio-leds { |
|
20 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
21 | |
14 | |
|
22 | led_cpu: cpu { |
15 | cpu { |
|
Line 23... | Line 16... | |||
23 | label = "nw718:amber:cpu"; |
16 | label = "nw718:amber:cpu"; |
|
24 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
17 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
|
25 | }; |
18 | }; |
|
26 | |
- | ||
27 | usb { |
- | ||
28 | label = "nw718:amber:usb"; |
19 | |
|
Line 29... | Line 20... | |||
29 | gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; |
20 | usb { |
|
30 | trigger-sources = <&otg_port1>; |
21 | label = "nw718:amber:usb"; |
|
31 | linux,default-trigger = "usbport"; |
22 | gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; |
|
32 | }; |
23 | }; |
|
33 | |
24 | |
|
Line 34... | Line 25... | |||
34 | wps { |
25 | wps { |
|
35 | label = "nw718:amber:wps"; |
26 | label = "nw718:amber:wps"; |
|
- | 27 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
||
- | 28 | }; |
||
36 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
29 | }; |
|
Line 37... | Line 30... | |||
37 | }; |
30 | |
|
38 | }; |
31 | gpio-keys-polled { |
|
39 | |
32 | compatible = "gpio-keys-polled"; |
|
Line 57... | Line 50... | |||
57 | |
50 | |
|
58 | &spi0 { |
51 | &spi0 { |
|
Line 59... | Line 52... | |||
59 | status = "okay"; |
52 | status = "okay"; |
|
- | 53 | |
||
- | 54 | m25p80@0 { |
||
60 | |
55 | #address-cells = <1>; |
|
61 | m25p80@0 { |
56 | #size-cells = <1>; |
|
62 | compatible = "jedec,spi-nor"; |
57 | compatible = "jedec,spi-nor"; |
|
Line 63... | Line -... | |||
63 | reg = <0>; |
- | ||
64 | spi-max-frequency = <25000000>; |
- | ||
65 | |
- | ||
66 | partitions { |
- | ||
67 | compatible = "fixed-partitions"; |
- | ||
68 | #address-cells = <1>; |
58 | reg = <0>; |
|
69 | #size-cells = <1>; |
59 | spi-max-frequency = <25000000>; |
|
70 | |
60 | |
|
71 | partition@0 { |
61 | partition@0 { |
|
72 | label = "u-boot"; |
62 | label = "u-boot"; |
|
73 | reg = <0x0 0x30000>; |
63 | reg = <0x0 0x30000>; |
|
74 | read-only; |
64 | read-only; |
|
75 | }; |
65 | }; |
|
76 | |
66 | |
|
77 | partition@30000 { |
67 | partition@30000 { |
|
78 | label = "config"; |
68 | label = "config"; |
|
79 | reg = <0x30000 0x20000>; |
69 | reg = <0x30000 0x20000>; |
|
80 | read-only; |
70 | read-only; |
|
81 | }; |
71 | }; |
|
82 | |
72 | |
|
83 | factory: partition@50000 { |
73 | factory: partition@50000 { |
|
84 | label = "factory"; |
74 | label = "factory"; |
|
85 | reg = <0x50000 0x10000>; |
75 | reg = <0x50000 0x10000>; |
|
86 | read-only; |
76 | read-only; |
|
87 | }; |
- | ||
88 | |
77 | }; |
|
89 | partition@60000 { |
78 | |
|
90 | compatible = "denx,uimage"; |
- | ||
91 | label = "firmware"; |
79 | partition@60000 { |
|
92 | reg = <0x60000 0x3a0000>; |
80 | label = "firmware"; |
|
93 | }; |
81 | reg = <0x60000 0x3a0000>; |
|
Line 94... | Line 82... | |||
94 | }; |
82 | }; |