1/*
2 * Copyright (c) 2024 ITE Corporation. All Rights Reserved.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/delete-node/ &kbd;
8
9&i2c4 {
10	status = "okay";
11
12	it8801_mfd: it8801@38 {
13		compatible = "ite,it8801-mfd";
14		reg = <0x38>;
15		irq-gpios = <&gpioa 1 0>;
16	};
17};
18
19#include <ite/it8801-common-cfg.dtsi>
20
21&ioex_it8801_kbd {
22	status = "okay";
23	/* GP00, GP01, GP21, GP22, GP23 can be configured as alternate KSO pins */
24	mfdctrl = <&kso18_gp01_default &kso20_gp23_default>;
25	kso-mapping = <0 1 20 3 4 5 6 17 18 16 15 11 12>;
26	row-size = <8>;
27	col-size = <13>;
28
29	kscan_input: kscan-input {
30		compatible = "zephyr,kscan-input";
31	};
32};
33