OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "dlink,dcs-930l-b1", "ralink,rt5350-soc"; |
9 | compatible = "dlink,dcs-930l-b1", "ralink,rt5350-soc"; |
|
Line 10... | Line -... | |||
10 | model = "D-Link DCS-930L B1"; |
- | ||
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 = "D-Link DCS-930L B1"; |
|
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 { |
|
Line 23... | Line 16... | |||
23 | label = "dcs-930l-b1:red:power"; |
16 | label = "dcs-930l-b1:red:power"; |
|
24 | gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; |
17 | gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; |
|
25 | }; |
18 | }; |
|
26 | |
19 | |
|
27 | wps { |
20 | wps { |
|
Line 28... | Line 21... | |||
28 | label = "dcs-930l-b1:blue:wps"; |
21 | label = "dcs-930l-b1:blue:wps"; |
|
29 | gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; |
22 | gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; |
|
- | 23 | }; |
||
- | 24 | }; |
||
30 | }; |
25 | |
|
Line 31... | Line 26... | |||
31 | }; |
26 | gpio-keys-polled { |
|
32 | |
27 | compatible = "gpio-keys-polled"; |
|
33 | keys { |
28 | #address-cells = <1>; |
|
Line 50... | Line 45... | |||
50 | |
45 | |
|
51 | &spi0 { |
46 | &spi0 { |
|
Line 52... | Line 47... | |||
52 | status = "okay"; |
47 | status = "okay"; |
|
- | 48 | |
||
- | 49 | m25p80@0 { |
||
53 | |
50 | #address-cells = <1>; |
|
54 | m25p80@0 { |
51 | #size-cells = <1>; |
|
55 | compatible = "jedec,spi-nor"; |
52 | compatible = "jedec,spi-nor"; |
|
Line 56... | Line -... | |||
56 | reg = <0>; |
- | ||
57 | spi-max-frequency = <10000000>; |
- | ||
58 | |
- | ||
59 | partitions { |
- | ||
60 | compatible = "fixed-partitions"; |
- | ||
61 | #address-cells = <1>; |
53 | reg = <0>; |
|
62 | #size-cells = <1>; |
54 | spi-max-frequency = <10000000>; |
|
63 | |
55 | |
|
64 | partition@0 { |
56 | partition@0 { |
|
65 | label = "u-boot"; |
57 | label = "u-boot"; |
|
66 | reg = <0x0 0x30000>; |
58 | reg = <0x0 0x30000>; |
|
67 | read-only; |
59 | read-only; |
|
68 | }; |
60 | }; |
|
69 | |
61 | |
|
70 | partition@30000 { |
62 | partition@30000 { |
|
71 | label = "u-boot-env"; |
63 | label = "u-boot-env"; |
|
72 | reg = <0x30000 0x10000>; |
64 | reg = <0x30000 0x10000>; |
|
73 | read-only; |
65 | read-only; |
|
74 | }; |
66 | }; |
|
75 | |
67 | |
|
76 | factory: partition@40000 { |
68 | factory: partition@40000 { |
|
77 | label = "factory"; |
69 | label = "factory"; |
|
78 | reg = <0x40000 0x10000>; |
70 | reg = <0x40000 0x10000>; |
|
79 | read-only; |
71 | read-only; |
|
80 | }; |
- | ||
81 | |
72 | }; |
|
82 | partition@50000 { |
73 | |
|
83 | compatible = "denx,uimage"; |
- | ||
84 | label = "firmware"; |
74 | partition@50000 { |
|
85 | reg = <0x50000 0x3b0000>; |
75 | label = "firmware"; |
|
86 | }; |
76 | reg = <0x50000 0x3b0000>; |
|
Line 87... | Line 77... | |||
87 | }; |
77 | }; |