OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "wiznet,wizfi630a", "ralink,rt5350-soc"; |
9 | compatible = "wiznet,wizfi630a", "ralink,rt5350-soc"; |
|
Line 10... | Line -... | |||
10 | model = "WIZnet WizFi630A"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_run; |
- | ||
14 | led-failsafe = &led_run; |
- | ||
15 | led-running = &led_run; |
- | ||
16 | led-upgrade = &led_run; |
- | ||
17 | }; |
10 | model = "WIZnet WizFi630A"; |
|
18 | |
11 | |
|
19 | chosen { |
12 | chosen { |
|
Line 20... | Line 13... | |||
20 | bootargs = "console=ttyS1,115200"; |
13 | bootargs = "console=ttyS1,115200"; |
|
21 | }; |
14 | }; |
|
Line 22... | Line 15... | |||
22 | |
15 | |
|
23 | leds { |
16 | gpio-leds { |
|
24 | compatible = "gpio-leds"; |
17 | compatible = "gpio-leds"; |
|
25 | |
18 | |
|
Line 26... | Line 19... | |||
26 | led_run: run { |
19 | run { |
|
Line 42... | Line 35... | |||
42 | label = "wizfi630a::uart2"; |
35 | label = "wizfi630a::uart2"; |
|
43 | gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; |
36 | gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; |
|
44 | }; |
37 | }; |
|
45 | }; |
38 | }; |
|
Line 46... | Line 39... | |||
46 | |
39 | |
|
47 | keys { |
40 | gpio-keys-polled { |
|
- | 41 | compatible = "gpio-keys-polled"; |
||
- | 42 | #address-cells = <1>; |
||
48 | compatible = "gpio-keys-polled"; |
43 | #size-cells = <0>; |
|
Line 49... | Line 44... | |||
49 | poll-interval = <20>; |
44 | poll-interval = <20>; |
|
50 | |
45 | |
|
51 | reset { |
46 | reset { |
|
Line 80... | Line 75... | |||
80 | |
75 | |
|
81 | &spi0 { |
76 | &spi0 { |
|
Line 82... | Line 77... | |||
82 | status = "okay"; |
77 | status = "okay"; |
|
- | 78 | |
||
- | 79 | m25p80@0 { |
||
83 | |
80 | #address-cells = <1>; |
|
84 | m25p80@0 { |
81 | #size-cells = <1>; |
|
85 | compatible = "jedec,spi-nor"; |
82 | compatible = "jedec,spi-nor"; |
|
Line 86... | Line -... | |||
86 | reg = <0>; |
- | ||
87 | spi-max-frequency = <10000000>; |
- | ||
88 | |
- | ||
89 | partitions { |
- | ||
90 | compatible = "fixed-partitions"; |
- | ||
91 | #address-cells = <1>; |
83 | reg = <0>; |
|
92 | #size-cells = <1>; |
84 | spi-max-frequency = <10000000>; |
|
93 | |
85 | |
|
94 | partition@0 { |
86 | partition@0 { |
|
95 | #size-cells = <1>; |
87 | #size-cells = <1>; |
|
Line 111... | Line 103... | |||
111 | reg = <0x40000 0x10000>; |
103 | reg = <0x40000 0x10000>; |
|
112 | read-only; |
104 | read-only; |
|
113 | }; |
105 | }; |
|
Line 114... | Line 106... | |||
114 | |
106 | |
|
115 | partition@50000 { |
- | ||
116 | compatible = "denx,uimage"; |
107 | partition@50000 { |
|
117 | #size-cells = <1>; |
108 | #size-cells = <1>; |
|
118 | label = "firmware"; |
109 | label = "firmware"; |
|
119 | reg = <0x50000 0xfb0000>; |
110 | reg = <0x50000 0xfb0000>; |
|
120 | }; |
111 | }; |
|
121 | }; |
112 | }; |
|
122 | }; |
- | ||
Line 123... | Line 113... | |||
123 | }; |
113 | }; |
|
124 | |
114 | |
|
125 | &uart { |
115 | &uart { |
|
126 | status = "okay"; |
116 | status = "okay"; |