OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "asus,rt-n14u", "ralink,mt7620n-soc"; |
9 | compatible = "asus,rt-n14u", "ralink,mt7620n-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Asus RT-N14U"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_power; |
- | ||
14 | led-failsafe = &led_power; |
- | ||
15 | led-running = &led_power; |
- | ||
16 | led-upgrade = &led_power; |
- | ||
17 | }; |
10 | model = "Asus RT-N14U"; |
|
18 | |
11 | |
|
Line 19... | Line 12... | |||
19 | leds { |
12 | gpio-leds { |
|
20 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
21 | |
14 | |
|
Line 30... | Line 23... | |||
30 | }; |
23 | }; |
|
Line 31... | Line 24... | |||
31 | |
24 | |
|
32 | usb { |
25 | usb { |
|
33 | label = "rt-n14u:blue:usb"; |
26 | label = "rt-n14u:blue:usb"; |
|
34 | gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; |
- | ||
35 | trigger-sources = <&ohci_port1>, <&ehci_port1>; |
- | ||
36 | linux,default-trigger = "usbport"; |
27 | gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; |
|
Line 37... | Line 28... | |||
37 | }; |
28 | }; |
|
38 | |
29 | |
|
39 | led_power: power { |
30 | power { |
|
40 | label = "rt-n14u:blue:power"; |
31 | label = "rt-n14u:blue:power"; |
|
Line 41... | Line 32... | |||
41 | gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; |
32 | gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; |
|
42 | }; |
33 | }; |
|
43 | |
34 | |
|
44 | air { |
35 | air { |
|
45 | label = "rt-n14u:blue:air"; |
36 | label = "rt-n14u:blue:air"; |
|
Line 46... | Line 37... | |||
46 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
37 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
|
47 | }; |
38 | }; |
|
- | 39 | }; |
||
- | 40 | |
||
48 | }; |
41 | gpio-keys-polled { |
|
Line 49... | Line 42... | |||
49 | |
42 | compatible = "gpio-keys-polled"; |
|
50 | keys { |
43 | #address-cells = <1>; |
|
51 | compatible = "gpio-keys-polled"; |
44 | #size-cells = <0>; |
|
Line 75... | Line 68... | |||
75 | |
68 | |
|
76 | &spi0 { |
69 | &spi0 { |
|
Line 77... | Line 70... | |||
77 | status = "okay"; |
70 | status = "okay"; |
|
- | 71 | |
||
- | 72 | m25p80@0 { |
||
78 | |
73 | #address-cells = <1>; |
|
79 | m25p80@0 { |
74 | #size-cells = <1>; |
|
80 | compatible = "jedec,spi-nor"; |
75 | compatible = "jedec,spi-nor"; |
|
Line 81... | Line -... | |||
81 | reg = <0>; |
- | ||
82 | spi-max-frequency = <10000000>; |
- | ||
83 | |
- | ||
84 | partitions { |
- | ||
85 | compatible = "fixed-partitions"; |
- | ||
86 | #address-cells = <1>; |
76 | reg = <0>; |
|
87 | #size-cells = <1>; |
77 | spi-max-frequency = <10000000>; |
|
88 | |
78 | |
|
89 | partition@0 { |
79 | partition@0 { |
|
90 | label = "u-boot"; |
80 | label = "u-boot"; |
|
91 | reg = <0x0 0x30000>; |
81 | reg = <0x0 0x30000>; |
|
92 | read-only; |
82 | read-only; |
|
93 | }; |
83 | }; |
|
94 | |
84 | |
|
95 | partition@30000 { |
85 | partition@30000 { |
|
96 | label = "u-boot-env"; |
86 | label = "u-boot-env"; |
|
97 | reg = <0x30000 0x10000>; |
87 | reg = <0x30000 0x10000>; |
|
98 | read-only; |
88 | read-only; |
|
99 | }; |
89 | }; |
|
100 | |
90 | |
|
101 | factory: partition@40000 { |
91 | factory: partition@40000 { |
|
102 | label = "factory"; |
92 | label = "factory"; |
|
103 | reg = <0x40000 0x10000>; |
93 | reg = <0x40000 0x10000>; |
|
104 | read-only; |
94 | read-only; |
|
105 | }; |
- | ||
106 | |
95 | }; |
|
107 | partition@50000 { |
96 | |
|
108 | compatible = "denx,uimage"; |
- | ||
109 | label = "firmware"; |
97 | partition@50000 { |
|
110 | reg = <0x50000 0xfb0000>; |
98 | label = "firmware"; |
|
111 | }; |
99 | reg = <0x50000 0xfb0000>; |
|
Line 112... | Line 100... | |||
112 | }; |
100 | }; |