summaryrefslogtreecommitdiff
path: root/zephyr/projects/intelrvp/mtlrvp/ioex.dts
blob: bf79b12570b9b09b0e3c7bfbfcbbb49fff56be1d (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
/* 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.
 */

/ {
	/* IOEX_KBD_GPIO IT8801 */
	ioex-kbd-gpio {
		compatible = "cros,ioex-chip";
		i2c-port = <&battery>;
		i2c-addr = <0x39>;
		drv = "it8801_ioexpander_drv";
		flags = <0x00>;
		#address-cells = <1>;
		#size-cells = <0>;

		ioex_it8801_port0: it8801_port@0 {
			compatible = "cros,ioex-port";
			reg = <0>;
			gpio-controller;
			#gpio-cells = <2>;
			ngpios = <8>;
		};

		ioex_it8801_port1: it8801_port@1 {
			compatible = "cros,ioex-port";
			reg = <1>;
			gpio-controller;
			#gpio-cells = <2>;
			ngpios = <8>;
		};
	};
};