blob: 731565c0d8d7b3241fdf995ddca09c9f7ae98806 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
/*
* Copyright 2018 CogentEmbedded, Inc.
* Copyright 2011 Freescale Semiconductor, Inc.
* Copyright 2011 Linaro Ltd.
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/
#include <arm/imx51-zii-rdu1.dts>
/ {
compatible = "zii,imx51-rdu1", "fsl,imx51-babbage-power", "fsl,imx51";
chosen {
stdout-path = &uart1;
environment-spi {
compatible = "barebox,environment";
device-path = &spinor, "partname:barebox-environment";
};
};
aliases {
/*
* Aliases to match Linux kernel naming in /dev/
*/
main-eeprom = &main_eeprom;
dds-eeprom = &dds_eeprom;
};
};
&ecspi1 {
spinor: flash@1 {
partition@0 {
/*
* Do not change the size of this
* partition. RDU1's BBU code relies on
* "barebox" partition starting at 1024 byte
* mark to function properly
*/
label = "config";
reg = <0x0 0x400>;
};
partition@400 {
label = "barebox";
reg = <0x400 0xdfc00>;
};
partition@e0000 {
label = "barebox-environment";
reg = <0xe0000 0x20000>;
};
};
};
&uart3 {
rave-sp {
#address-cells = <1>;
#size-cells = <1>;
watchdog {
nvmem-cells = <&boot_source>;
nvmem-cell-names = "boot-source";
};
dds_eeprom: eeprom@a3 {
compatible = "zii,rave-sp-eeprom";
reg = <0xa3 0x4000>;
#address-cells = <1>;
#size-cells = <1>;
};
main_eeprom: eeprom@a4 {
compatible = "zii,rave-sp-eeprom";
reg = <0xa4 0x4000>;
#address-cells = <1>;
#size-cells = <1>;
boot_source: boot-source@83 {
reg = <0x83 1>;
};
};
};
};
|