OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | #include "rt5350.dtsi" |
1 | #include "rt5350.dtsi" |
|
Line 2... | Line 2... | |||
2 | |
2 | |
|
3 | / { |
3 | / { |
|
Line 4... | Line 4... | |||
4 | compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc"; |
4 | compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc"; |
|
5 | |
5 | |
|
6 | aliases { |
6 | aliases { |
|
7 | serial0 = &uartlite; |
7 | serial0 = &uartlite; |
|
8 | serial1 = &uart; |
8 | serial1 = &uart; |
|
Line 9... | Line 9... | |||
9 | }; |
9 | }; |
|
10 | }; |
10 | }; |
|
Line 11... | Line 11... | |||
11 | |
11 | |
|
- | 12 | |
||
- | 13 | &spi0 { |
||
12 | |
14 | status = "okay"; |
|
13 | &spi0 { |
15 | |
|
14 | status = "okay"; |
16 | m25p80@0 { |
|
Line 15... | Line -... | |||
15 | |
- | ||
16 | m25p80@0 { |
- | ||
17 | compatible = "jedec,spi-nor"; |
- | ||
18 | reg = <0>; |
- | ||
19 | spi-max-frequency = <10000000>; |
- | ||
20 | |
17 | #address-cells = <1>; |
|
21 | partitions { |
18 | #size-cells = <1>; |
|
22 | compatible = "fixed-partitions"; |
19 | compatible = "jedec,spi-nor"; |
|
23 | #address-cells = <1>; |
20 | reg = <0>; |
|
24 | #size-cells = <1>; |
21 | spi-max-frequency = <10000000>; |
|
25 | |
22 | |
|
26 | partition@0 { |
23 | partition@0 { |
|
27 | label = "u-boot"; |
24 | label = "u-boot"; |
|
28 | reg = <0x0 0x30000>; |
25 | reg = <0x0 0x30000>; |
|
29 | read-only; |
26 | read-only; |
|
30 | }; |
27 | }; |
|
31 | |
28 | |
|
32 | partition@30000 { |
29 | partition@30000 { |
|
33 | label = "u-boot-env"; |
30 | label = "u-boot-env"; |
|
34 | reg = <0x30000 0x10000>; |
31 | reg = <0x30000 0x10000>; |
|
35 | read-only; |
32 | read-only; |
|
36 | }; |
33 | }; |
|
37 | |
34 | |
|
38 | factory: partition@40000 { |
35 | factory: partition@40000 { |
|
39 | label = "factory"; |
- | ||
40 | reg = <0x40000 0x10000>; |
36 | label = "factory"; |
|
41 | read-only; |
37 | reg = <0x40000 0x10000>; |
|
42 | }; |
- | ||
43 | |
38 | read-only; |
|
44 | partition@50000 { |
39 | }; |
|
45 | compatible = "denx,uimage"; |
40 | |
|
Line 46... | Line 41... | |||
46 | label = "firmware"; |
41 | partition@50000 { |
|
Line 55... | Line 50... | |||
55 | }; |
50 | }; |
|
Line 56... | Line 51... | |||
56 | |
51 | |
|
57 | &pinctrl { |
52 | &pinctrl { |
|
58 | state_default: pinctrl0 { |
53 | state_default: pinctrl0 { |
|
59 | gpio { |
54 | gpio { |
|
60 | ralink,group = "jtag"; |
55 | ralink,group = "jtag", "rgmii", "mdio"; |
|
61 | ralink,function = "gpio"; |
56 | ralink,function = "gpio"; |
|
62 | }; |
57 | }; |
|
63 | uartf_gpio { |
58 | uartf_gpio { |
|
64 | ralink,group = "uartf"; |
59 | ralink,group = "uartf"; |