OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "omnima,miniembplug", "ralink,rt5350-soc"; |
9 | compatible = "omnima,miniembplug", "ralink,rt5350-soc"; |
|
Line 10... | Line 10... | |||
10 | model = "Omnima MiniEMBPlug"; |
10 | model = "Omnima MiniEMBPlug"; |
|
11 | |
11 | |
|
Line 12... | Line 12... | |||
12 | leds { |
12 | gpio-leds { |
|
13 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
14 | |
14 | |
|
15 | wlan { |
15 | wlan { |
|
Line 16... | Line 16... | |||
16 | label = "miniembplug:red:wlan"; |
16 | label = "miniembplug:red:wlan"; |
|
17 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
17 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
|
18 | }; |
18 | }; |
|
19 | |
- | ||
20 | mobile { |
- | ||
21 | label = "miniembplug:green:mobile"; |
19 | |
|
22 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
20 | mobile { |
|
Line 23... | Line 21... | |||
23 | trigger-sources = <&ohci_port1>, <&ehci_port1>; |
21 | label = "miniembplug:green:mobile"; |
|
24 | linux,default-trigger = "usbport"; |
22 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
|
- | 23 | }; |
||
- | 24 | }; |
||
25 | }; |
25 | |
|
Line 26... | Line 26... | |||
26 | }; |
26 | gpio-keys-polled { |
|
27 | |
27 | compatible = "gpio-keys-polled"; |
|
28 | keys { |
28 | #address-cells = <1>; |
|
Line 70... | Line 70... | |||
70 | |
70 | |
|
71 | &spi0 { |
71 | &spi0 { |
|
Line 72... | Line 72... | |||
72 | status = "okay"; |
72 | status = "okay"; |
|
- | 73 | |
||
- | 74 | m25p80@0 { |
||
73 | |
75 | #address-cells = <1>; |
|
74 | m25p80@0 { |
76 | #size-cells = <1>; |
|
75 | compatible = "jedec,spi-nor"; |
77 | compatible = "jedec,spi-nor"; |
|
Line 76... | Line -... | |||
76 | reg = <0>; |
- | ||
77 | spi-max-frequency = <10000000>; |
- | ||
78 | |
- | ||
79 | partitions { |
- | ||
80 | compatible = "fixed-partitions"; |
- | ||
81 | #address-cells = <1>; |
78 | reg = <0>; |
|
82 | #size-cells = <1>; |
79 | spi-max-frequency = <10000000>; |
|
83 | |
80 | |
|
84 | partition@0 { |
81 | partition@0 { |
|
85 | label = "u-boot"; |
82 | label = "u-boot"; |
|
86 | reg = <0x0 0x30000>; |
83 | reg = <0x0 0x30000>; |
|
87 | read-only; |
84 | read-only; |
|
88 | }; |
85 | }; |
|
89 | |
86 | |
|
90 | partition@30000 { |
87 | partition@30000 { |
|
91 | label = "u-boot-env"; |
88 | label = "u-boot-env"; |
|
92 | reg = <0x30000 0x10000>; |
89 | reg = <0x30000 0x10000>; |
|
93 | read-only; |
90 | read-only; |
|
94 | }; |
91 | }; |
|
95 | |
92 | |
|
96 | factory: partition@40000 { |
93 | factory: partition@40000 { |
|
97 | label = "factory"; |
94 | label = "factory"; |
|
98 | reg = <0x40000 0x10000>; |
95 | reg = <0x40000 0x10000>; |
|
99 | read-only; |
96 | read-only; |
|
100 | }; |
- | ||
101 | |
97 | }; |
|
102 | partition@50000 { |
98 | |
|
103 | compatible = "denx,uimage"; |
- | ||
104 | label = "firmware"; |
99 | partition@50000 { |
|
105 | reg = <0x50000 0x7b0000>; |
100 | label = "firmware"; |
|
106 | }; |
101 | reg = <0x50000 0x7b0000>; |
|
Line 107... | Line 102... | |||
107 | }; |
102 | }; |