OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "planex,db-wrt01", "ralink,mt7620a-soc"; |
9 | compatible = "planex,db-wrt01", "ralink,mt7620a-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Planex DB-WRT01"; |
- | ||
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 = "Planex DB-WRT01"; |
|
18 | |
11 | |
|
Line 19... | Line 12... | |||
19 | leds { |
12 | gpio-leds { |
|
20 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
21 | |
14 | |
|
22 | led_power: power { |
15 | power { |
|
23 | label = "db-wrt01:orange:power"; |
16 | label = "db-wrt01:orange:power"; |
|
Line 24... | Line 17... | |||
24 | gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; |
17 | gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; |
|
25 | }; |
18 | }; |
|
- | 19 | }; |
||
- | 20 | |
||
26 | }; |
21 | gpio-keys-polled { |
|
Line 27... | Line 22... | |||
27 | |
22 | compatible = "gpio-keys-polled"; |
|
28 | keys { |
23 | #address-cells = <1>; |
|
29 | compatible = "gpio-keys-polled"; |
24 | #size-cells = <0>; |
|
Line 43... | Line 38... | |||
43 | |
38 | |
|
44 | &spi0 { |
39 | &spi0 { |
|
Line 45... | Line 40... | |||
45 | status = "okay"; |
40 | status = "okay"; |
|
- | 41 | |
||
- | 42 | m25p80@0 { |
||
46 | |
43 | #address-cells = <1>; |
|
47 | m25p80@0 { |
44 | #size-cells = <1>; |
|
48 | compatible = "jedec,spi-nor"; |
45 | compatible = "jedec,spi-nor"; |
|
Line 49... | Line -... | |||
49 | reg = <0>; |
- | ||
50 | spi-max-frequency = <10000000>; |
- | ||
51 | |
- | ||
52 | partitions { |
- | ||
53 | compatible = "fixed-partitions"; |
- | ||
54 | #address-cells = <1>; |
46 | reg = <0>; |
|
55 | #size-cells = <1>; |
47 | spi-max-frequency = <10000000>; |
|
56 | |
48 | |
|
57 | partition@0 { |
49 | partition@0 { |
|
58 | label = "u-boot"; |
50 | label = "u-boot"; |
|
59 | reg = <0x0 0x30000>; |
51 | reg = <0x0 0x30000>; |
|
60 | read-only; |
52 | read-only; |
|
61 | }; |
53 | }; |
|
62 | |
54 | |
|
63 | partition@30000 { |
55 | partition@30000 { |
|
64 | label = "u-boot-env"; |
56 | label = "u-boot-env"; |
|
65 | reg = <0x30000 0x10000>; |
57 | reg = <0x30000 0x10000>; |
|
66 | read-only; |
58 | read-only; |
|
67 | }; |
59 | }; |
|
68 | |
60 | |
|
69 | factory: partition@40000 { |
61 | factory: partition@40000 { |
|
70 | label = "factory"; |
62 | label = "factory"; |
|
71 | reg = <0x40000 0x10000>; |
63 | reg = <0x40000 0x10000>; |
|
72 | read-only; |
64 | read-only; |
|
73 | }; |
- | ||
74 | |
65 | }; |
|
75 | partition@50000 { |
66 | |
|
76 | compatible = "denx,uimage"; |
- | ||
77 | label = "firmware"; |
67 | partition@50000 { |
|
78 | reg = <0x50000 0x7b0000>; |
68 | label = "firmware"; |
|
79 | }; |
69 | reg = <0x50000 0x7b0000>; |
|
Line 80... | Line 70... | |||
80 | }; |
70 | }; |
|
Line 102... | Line 92... | |||
102 | }; |
92 | }; |
|
Line 103... | Line 93... | |||
103 | |
93 | |
|
104 | &wmac { |
94 | &wmac { |
|
105 | ralink,mtd-eeprom = <&factory 0>; |
95 | ralink,mtd-eeprom = <&factory 0>; |
|
- | 96 | }; |
||
- | 97 | |
||
- | 98 | &pcie { |
||
- | 99 | status = "okay"; |