OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "teltonika,rut5xx", "ralink,rt3050-soc"; |
9 | compatible = "teltonika,rut5xx", "ralink,rt3050-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Teltonika RUT5XX"; |
- | ||
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 = "Teltonika RUT5XX"; |
|
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 = "rut5xx:green:status"; |
16 | label = "rut5xx:green:status"; |
|
Line 24... | Line 17... | |||
24 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
17 | gpios = <&gpio0 14 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 39... | Line 34... | |||
39 | |
34 | |
|
40 | &spi0 { |
35 | &spi0 { |
|
Line 41... | Line 36... | |||
41 | status = "okay"; |
36 | status = "okay"; |
|
- | 37 | |
||
- | 38 | m25p80@0 { |
||
42 | |
39 | #address-cells = <1>; |
|
43 | m25p80@0 { |
40 | #size-cells = <1>; |
|
44 | compatible = "jedec,spi-nor"; |
41 | compatible = "jedec,spi-nor"; |
|
Line 45... | Line -... | |||
45 | reg = <0>; |
- | ||
46 | spi-max-frequency = <10000000>; |
- | ||
47 | |
- | ||
48 | partitions { |
- | ||
49 | compatible = "fixed-partitions"; |
- | ||
50 | #address-cells = <1>; |
42 | reg = <0>; |
|
51 | #size-cells = <1>; |
43 | spi-max-frequency = <10000000>; |
|
52 | |
44 | |
|
53 | partition@0 { |
45 | partition@0 { |
|
54 | label = "u-boot"; |
46 | label = "u-boot"; |
|
Line 67... | Line 59... | |||
67 | reg = <0x40000 0x10000>; |
59 | reg = <0x40000 0x10000>; |
|
68 | read-only; |
60 | read-only; |
|
69 | }; |
61 | }; |
|
Line 70... | Line 62... | |||
70 | |
62 | |
|
71 | partition@50000 { |
- | ||
72 | compatible = "denx,uimage"; |
63 | partition@50000 { |
|
73 | label = "firmware"; |
64 | label = "firmware"; |
|
74 | reg = <0x50000 0xfb0000>; |
65 | reg = <0x50000 0xfb0000>; |
|
75 | }; |
66 | }; |
|
76 | }; |
67 | }; |
|
77 | }; |
- | ||
Line 78... | Line 68... | |||
78 | }; |
68 | }; |
|
79 | |
69 | |
|
80 | &pinctrl { |
70 | &pinctrl { |
|
81 | state_default: pinctrl0 { |
71 | state_default: pinctrl0 { |