blob: 54ca7f63e339d67b64d0b5a9c03679dbca6dc7a8 (
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
|
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <cros/binman.dtsi>
/ {
named-bbram-regions {
compatible = "named-bbram-regions";
scratchpad {
offset = <0x08>;
size = <0x04>;
};
saved-reset-flags {
offset = <0x00>;
size = <0x04>;
};
wake {
offset = <0x08>;
size = <0x04>;
};
pd0 {
offset = <0x04>;
size = <0x01>;
};
pd1 {
offset = <0x05>;
size = <0x01>;
};
try_slot {
offset = <0x0e>;
size = <0x01>;
};
pd2 {
offset = <0x06>;
size = <0x01>;
};
};
soc {
bbram: bb-ram@f02200 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "ite,it8xxx2-cros-bbram";
status = "okay";
reg = <0x00f02200 0xbf>;
reg-names = "memory";
label = "BBRAM";
};
shi: shi@f03a00 {
compatible = "ite,it8xxx2-cros-shi";
reg = <0x00f03a00 0x30>;
label = "SHI";
interrupts = <171 0>;
interrupt-parent = <&intc>;
pinctrl-0 = <&pinctrl_shi_mosi /* GPM0 */
&pinctrl_shi_miso /* GPM1 */
&pinctrl_shi_clk /* GPM4 */
&pinctrl_shi_cs>; /* GPM5 */
};
fiu0: cros-flash@80000000 {
compatible = "ite,it8xxx2-cros-flash";
reg = <0x80000000 0x100000>;
label = "FLASH";
};
};
/* it8xxx2 has 1MB of flash. currently, we use 512KB from flash. */
binman {
wp-ro {
offset = <0x0>;
size = <0x40000>;
};
ec-rw {
offset = <0x40000>;
size = <0x40000>;
};
};
};
|