blob: d52a86ce43e0393bab89bc0f28a604531373f666 (
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
|
/* Copyright 2022 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.
*/
/ {
gpio-interrupts {
compatible = "cros-ec,gpio-interrupts";
int_power_button: power_button {
irq-pin = <&power_button_l>;
flags = <GPIO_INT_EDGE_BOTH>;
handler = "power_button_interrupt";
};
int_lid_open: lid_open {
irq-pin = <&lid_open>;
flags = <GPIO_INT_EDGE_BOTH>;
handler = "lid_interrupt";
};
int_spi0_cs: spi0_cs {
irq-pin = <&spi0_cs>;
flags = <GPIO_INT_EDGE_FALLING>;
handler = "spi_event";
};
};
};
|