OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | /dts-v1/; |
1 | /dts-v1/; |
|
Line 2... | Line 2... | |||
2 | |
2 | |
|
Line 3... | Line 3... | |||
3 | #include "mt7620n.dtsi" |
3 | #include "mt7620a.dtsi" |
|
4 | |
4 | |
|
Line 5... | Line 5... | |||
5 | #include <dt-bindings/gpio/gpio.h> |
5 | #include <dt-bindings/gpio/gpio.h> |
|
6 | #include <dt-bindings/input/input.h> |
6 | #include <dt-bindings/input/input.h> |
|
7 | |
7 | |
|
Line 8... | Line 8... | |||
8 | / { |
8 | / { |
|
9 | compatible = "ravpower,wd03", "ralink,mt7620n-soc"; |
9 | compatible = "ravpower,wd03", "ralink,mt7620a-soc"; |
|
10 | model = "Ravpower WD03"; |
10 | model = "Ravpower WD03"; |
|
Line 11... | Line 11... | |||
11 | |
11 | |
|
12 | chosen { |
12 | chosen { |
|
Line 13... | Line 13... | |||
13 | bootargs = "console=ttyS0,115200"; |
13 | bootargs = "console=ttyS0,115200"; |
|
14 | }; |
14 | }; |
|
15 | |
15 | |
|
Line 26... | Line 26... | |||
26 | label = "wd03:blue:wifi"; |
26 | label = "wd03:blue:wifi"; |
|
27 | gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; |
27 | gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; |
|
28 | }; |
28 | }; |
|
29 | }; |
29 | }; |
|
Line 30... | Line 30... | |||
30 | |
30 | |
|
31 | keys { |
31 | gpio-keys-polled { |
|
- | 32 | compatible = "gpio-keys-polled"; |
||
- | 33 | #address-cells = <1>; |
||
32 | compatible = "gpio-keys-polled"; |
34 | #size-cells = <0>; |
|
Line 33... | Line 35... | |||
33 | poll-interval = <20>; |
35 | poll-interval = <20>; |
|
34 | |
36 | |
|
35 | reset { |
37 | reset { |
|
Line 46... | Line 48... | |||
46 | |
48 | |
|
47 | &gpio3 { |
49 | &gpio3 { |
|
48 | status = "okay"; |
50 | status = "okay"; |
|
Line 49... | Line -... | |||
49 | }; |
- | ||
50 | |
- | ||
51 | &i2c { |
- | ||
52 | status = "okay"; |
- | ||
53 | }; |
51 | }; |
|
54 | |
52 | |
|
Line 55... | Line 53... | |||
55 | &spi0 { |
53 | &spi0 { |
|
- | 54 | status = "okay"; |
||
- | 55 | |
||
56 | status = "okay"; |
56 | m25p80@0 { |
|
57 | |
57 | #address-cells = <1>; |
|
58 | m25p80@0 { |
58 | #size-cells = <1>; |
|
Line 59... | Line -... | |||
59 | compatible = "jedec,spi-nor"; |
- | ||
60 | reg = <0>; |
- | ||
61 | spi-max-frequency = <10000000>; |
- | ||
62 | |
- | ||
63 | partitions { |
- | ||
64 | compatible = "fixed-partitions"; |
59 | compatible = "jedec,spi-nor"; |
|
65 | #address-cells = <1>; |
60 | reg = <0>; |
|
66 | #size-cells = <1>; |
61 | spi-max-frequency = <10000000>; |
|
67 | |
62 | |
|
68 | partition@0 { |
63 | partition@0 { |
|
69 | label = "u-boot"; |
64 | label = "u-boot"; |
|
70 | reg = <0x0 0x30000>; |
65 | reg = <0x0 0x30000>; |
|
71 | read-only; |
66 | read-only; |
|
72 | }; |
67 | }; |
|
73 | |
68 | |
|
74 | partition@30000 { |
69 | partition@30000 { |
|
75 | label = "u-boot-env"; |
70 | label = "u-boot-env"; |
|
76 | reg = <0x30000 0x10000>; |
71 | reg = <0x30000 0x10000>; |
|
77 | read-only; |
72 | read-only; |
|
78 | }; |
73 | }; |
|
79 | |
74 | |
|
80 | factory: partition@40000 { |
75 | factory: partition@40000 { |
|
81 | label = "factory"; |
76 | label = "factory"; |
|
82 | reg = <0x40000 0x10000>; |
77 | reg = <0x40000 0x10000>; |
|
83 | read-only; |
- | ||
84 | }; |
78 | read-only; |
|
85 | |
79 | }; |
|
86 | partition@50000 { |
- | ||
87 | compatible = "denx,uimage"; |
80 | |
|
88 | label = "firmware"; |
81 | partition@50000 { |
|
89 | reg = <0x50000 0x7b0000>; |
82 | label = "firmware"; |
|
Line 90... | Line 83... | |||
90 | }; |
83 | reg = <0x50000 0x7b0000>; |