blob: f0de46315cec2e5ca08d257e4e960847e9d9d4c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#include <mips/qca/ar9331_dpt_module.dts>
#include "ar9331.dtsi"
/ {
aliases {
spiflash = &spiflash;
};
chosen {
environment {
compatible = "barebox,environment";
device-path = &spiflash, "partname:barebox-environment";
};
art@0 {
compatible = "qca,art-ar9331", "qca,art";
device-path = &spiflash_art;
barebox,provide-mac-address = <&mac0>;
};
};
leds {
system {
barebox,default-trigger = "heartbeat";
};
};
};
&spiflash {
partition@0 {
label = "barebox";
reg = <0 0x80000>;
};
partition@80000 {
label = "barebox-environment";
reg = <0x80000 0x10000>;
};
spiflash_art: partition@7f0000 {
label = "art";
reg = <0x7f0000 0x10000>;
};
};
&mac0 {
status = "okay";
};
|