OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 8... | Line 8... | |||
8 | |
8 | |
|
9 | chosen { |
9 | chosen { |
|
10 | bootargs = "console=ttyS0,57600"; |
10 | bootargs = "console=ttyS0,57600"; |
|
Line 11... | Line 11... | |||
11 | }; |
11 | }; |
|
12 | |
12 | |
|
- | 13 | gpio-keys-polled { |
||
- | 14 | compatible = "gpio-keys-polled"; |
||
13 | keys { |
15 | #address-cells = <1>; |
|
Line 14... | Line 16... | |||
14 | compatible = "gpio-keys-polled"; |
16 | #size-cells = <0>; |
|
15 | poll-interval = <20>; |
17 | poll-interval = <20>; |
|
16 | |
18 | |
|
Line 34... | Line 36... | |||
34 | |
36 | |
|
35 | &spi0 { |
37 | &spi0 { |
|
Line 36... | Line 38... | |||
36 | status = "okay"; |
38 | status = "okay"; |
|
- | 39 | |
||
- | 40 | m25p80@0 { |
||
37 | |
41 | #address-cells = <1>; |
|
38 | m25p80@0 { |
42 | #size-cells = <1>; |
|
39 | compatible = "jedec,spi-nor"; |
43 | compatible = "jedec,spi-nor"; |
|
- | 44 | reg = <0>; |
||
Line 40... | Line -... | |||
40 | reg = <0>; |
- | ||
41 | spi-max-frequency = <10000000>; |
- | ||
42 | |
- | ||
43 | partitions { |
- | ||
44 | compatible = "fixed-partitions"; |
- | ||
45 | #address-cells = <1>; |
45 | spi-max-frequency = <10000000>; |
|
46 | #size-cells = <1>; |
46 | m25p,chunked-io = <32>; |
|
47 | |
47 | |
|
48 | partition@0 { |
48 | partition@0 { |
|
49 | label = "u-boot"; |
49 | label = "u-boot"; |
|
50 | reg = <0x0 0x30000>; |
50 | reg = <0x0 0x30000>; |
|
51 | read-only; |
51 | read-only; |
|
52 | }; |
52 | }; |
|
53 | |
53 | |
|
54 | partition@30000 { |
54 | partition@30000 { |
|
55 | label = "u-boot-env"; |
55 | label = "u-boot-env"; |
|
56 | reg = <0x30000 0x10000>; |
56 | reg = <0x30000 0x10000>; |
|
57 | read-only; |
57 | read-only; |
|
58 | }; |
58 | }; |
|
59 | |
59 | |
|
60 | factory: partition@40000 { |
60 | factory: partition@40000 { |
|
61 | label = "factory"; |
61 | label = "factory"; |
|
62 | reg = <0x40000 0x10000>; |
62 | reg = <0x40000 0x10000>; |
|
63 | read-only; |
63 | read-only; |
|
64 | }; |
- | ||
65 | |
64 | }; |
|
66 | partition@50000 { |
65 | |
|
67 | compatible = "denx,uimage"; |
- | ||
68 | label = "firmware"; |
66 | partition@50000 { |
|
69 | reg = <0x50000 0xfb0000>; |
67 | label = "firmware"; |
|
70 | }; |
68 | reg = <0x50000 0xfb0000>; |
|
Line 71... | Line 69... | |||
71 | }; |
69 | }; |
|
72 | }; |
70 | }; |
|
73 | }; |
- | ||
Line 74... | Line 71... | |||
74 | |
71 | }; |
|
75 | &pcie { |
72 | |
|
76 | status = "okay"; |
73 | &pcie { |
|
77 | }; |
74 | status = "okay"; |
|
78 | |
75 | |
|
- | 76 | pcie0 { |
||
79 | &pcie0 { |
77 | wifi@14c3,7603 { |
|
80 | wifi@0,0 { |
- | ||
Line 81... | Line 78... | |||
81 | compatible = "pci14c3,7603"; |
78 | compatible = "pci14c3,7603"; |
|
82 | reg = <0x0000 0 0 0 0>; |
79 | reg = <0x0000 0 0 0 0>; |
|
83 | mediatek,mtd-eeprom = <&factory 0x0000>; |
80 | mediatek,mtd-eeprom = <&factory 0x0000>; |
|
84 | }; |
81 | }; |
|
85 | }; |
82 | }; |
|
86 | |
83 | |
|
- | 84 | pcie1 { |
||
87 | &pcie1 { |
85 | wifi@14c3,7662 { |
|
88 | wifi@0,0 { |
86 | compatible = "pci14c3,7662"; |
|
Line 89... | Line 87... | |||
89 | compatible = "pci14c3,7662"; |
87 | reg = <0x0000 0 0 0 0>; |
|
90 | reg = <0x0000 0 0 0 0>; |
88 | mediatek,mtd-eeprom = <&factory 0x8000>; |