OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 11... | Line 11... | |||
11 | |
11 | |
|
12 | chosen { |
12 | chosen { |
|
13 | bootargs = "console=ttyS0,115200"; |
13 | bootargs = "console=ttyS0,115200"; |
|
Line 14... | Line 14... | |||
14 | }; |
14 | }; |
|
15 | |
15 | |
|
Line 16... | Line 16... | |||
16 | leds { |
16 | gpio-leds { |
|
17 | compatible = "gpio-leds"; |
17 | compatible = "gpio-leds"; |
|
18 | |
18 | |
|
Line 33... | Line 33... | |||
33 | |
33 | |
|
34 | usb { |
34 | usb { |
|
35 | label = "gl-mt300a:usb"; |
35 | label = "gl-mt300a:usb"; |
|
36 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
36 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
|
- | 37 | }; |
||
37 | }; |
38 | |
|
Line 38... | Line 39... | |||
38 | }; |
39 | }; |
|
39 | |
40 | |
|
- | 41 | gpio-keys-polled { |
||
- | 42 | compatible = "gpio-keys-polled"; |
||
40 | keys { |
43 | #address-cells = <1>; |
|
41 | compatible = "gpio-keys-polled"; |
44 | #size-cells = <0>; |
|
42 | poll-interval = <20>; |
45 | poll-interval = <20>; |
|
43 | reset { |
46 | reset { |
|
44 | label = "reset"; |
47 | label = "reset"; |
|
Line 78... | Line 81... | |||
78 | |
81 | |
|
79 | &spi0 { |
82 | &spi0 { |
|
Line 80... | Line 83... | |||
80 | status = "okay"; |
83 | status = "okay"; |
|
- | 84 | |
||
- | 85 | m25p80@0 { |
||
81 | |
86 | #address-cells = <1>; |
|
82 | m25p80@0 { |
87 | #size-cells = <1>; |
|
83 | compatible = "jedec,spi-nor"; |
88 | compatible = "jedec,spi-nor"; |
|
Line 84... | Line -... | |||
84 | reg = <0>; |
- | ||
85 | spi-max-frequency = <10000000>; |
- | ||
86 | |
- | ||
87 | partitions { |
- | ||
88 | compatible = "fixed-partitions"; |
- | ||
89 | #address-cells = <1>; |
89 | reg = <0>; |
|
90 | #size-cells = <1>; |
90 | spi-max-frequency = <10000000>; |
|
91 | |
91 | |
|
92 | partition@0 { |
92 | partition@0 { |
|
Line 105... | Line 105... | |||
105 | reg = <0x40000 0x10000>; |
105 | reg = <0x40000 0x10000>; |
|
106 | read-only; |
106 | read-only; |
|
107 | }; |
107 | }; |
|
Line 108... | Line 108... | |||
108 | |
108 | |
|
109 | partition@50000 { |
- | ||
110 | compatible = "denx,uimage"; |
109 | partition@50000 { |
|
111 | label = "firmware"; |
110 | label = "firmware"; |
|
112 | reg = <0x50000 0xf80000>; |
111 | reg = <0x50000 0xf80000>; |
|
Line 113... | Line 112... | |||
113 | }; |
112 | }; |
|
114 | |
113 | |
|
115 | partition@ff0000 { |
114 | partition@ff0000 { |
|
116 | label = "art"; |
115 | label = "art"; |
|
117 | reg = <0xff0000 0x10000>; |
116 | reg = <0xff0000 0x10000>; |
|
118 | }; |
117 | }; |
|
119 | }; |
- | ||
Line 120... | Line 118... | |||
120 | }; |
118 | }; |
|
121 | }; |
119 | }; |
|
122 | |
120 | |