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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/ {
chosen {
intel-ap-pwrseq,espi = &espi0;
};
common-pwrseq {
compatible = "intel,ap-pwrseq";
sys-pwrok-delay = <3>;
all-sys-pwrgd-timeout = <20>;
sys-reset-delay = <60>;
};
pwr-en-pp3300-s5 {
compatible = "intel,ap-pwrseq-gpio";
dbg-label = "PP3300_S5 enable output to LS";
enum-name = "PWR_EN_PP3300_A";
gpios = <&gpioc 4 0>;
output;
};
pwr-pg-ec-rsmrst-od {
compatible = "intel,ap-pwrseq-gpio";
dbg-label = "RSMRST power good from regulator";
enum-name = "PWR_RSMRST";
gpios = <&gpio6 6 0>;
interrupt-flags = <GPIO_INT_EDGE_BOTH>;
};
pwr-ec-pch-rsmrst-odl {
compatible = "intel,ap-pwrseq-gpio";
dbg-label = "RSMRST output to PCH";
enum-name = "PWR_EC_PCH_RSMRST";
gpios = <&gpioa 4 0>;
output;
};
pwr-slp-s0-l {
compatible = "intel,ap-pwrseq-gpio";
dbg-label = "SLP_S0_L input from PCH";
enum-name = "PWR_SLP_S0";
gpios = <&gpioa 1 GPIO_ACTIVE_LOW>;
interrupt-flags = <GPIO_INT_EDGE_BOTH>;
};
pwr-pch-pwrok {
compatible = "intel,ap-pwrseq-gpio";
dbg-label = "PCH_PWROK output to PCH";
enum-name = "PWR_PCH_PWROK";
gpios = <&gpiod 3 GPIO_OPEN_DRAIN>;
output;
};
pwr-ec-pch-sys-pwrok {
compatible = "intel,ap-pwrseq-gpio";
dbg-label = "SYS_PWROK output to PCH";
enum-name = "PWR_EC_PCH_SYS_PWROK";
gpios = <&gpiof 5 GPIO_OPEN_DRAIN>;
output;
};
pwr-sys-rst-l {
compatible = "intel,ap-pwrseq-gpio";
dbg-label = "SYS_RESET# output to PCH";
enum-name = "PWR_SYS_RST";
gpios = <&gpioc 5 (GPIO_ACTIVE_LOW|GPIO_OPEN_DRAIN)>;
output;
};
pwr-slp-s3 {
compatible = "intel,ap-pwrseq-vw";
dbg-label = "SLP_S3 virtual wire input from PCH";
enum-name = "PWR_SLP_S3";
virtual-wire = "ESPI_VWIRE_SIGNAL_SLP_S3";
vw-invert;
};
pwr-slp-s4 {
compatible = "intel,ap-pwrseq-vw";
dbg-label = "SLP_S4 virtual wire input from PCH";
enum-name = "PWR_SLP_S4";
virtual-wire = "ESPI_VWIRE_SIGNAL_SLP_S4";
vw-invert;
};
pwr-slp-s5 {
compatible = "intel,ap-pwrseq-vw";
dbg-label = "SLP_S5 virtual wire input from PCH";
enum-name = "PWR_SLP_S5";
virtual-wire = "ESPI_VWIRE_SIGNAL_SLP_S5";
vw-invert;
};
pwr-all-sys-pwrgd {
compatible = "intel,ap-pwrseq-gpio";
dbg-label = "all power good";
enum-name = "PWR_ALL_SYS_PWRGD";
gpios = <&gpio7 0 0>;
interrupt-flags = <GPIO_INT_EDGE_BOTH>;
};
};
/*
* Because the power signals directly reference the GPIOs,
* the correspinding named-gpios need to have no-auto-init set.
*/
&en_pp3300_a {
no-auto-init;
};
&rsmrst_pwrgd {
no-auto-init;
};
&ec_pch_rsmrst_l {
no-auto-init;
};
&pch_slp_s0_n {
no-auto-init;
};
&ec_pch_pwrok_od {
no-auto-init;
};
&sys_pwrok_ec {
no-auto-init;
};
&sys_rst_odl {
no-auto-init;
};
&all_sys_pwrgd {
no-auto-init;
};
|