summaryrefslogtreecommitdiff
path: root/zephyr/boards/riscv/it8xxx2/it8xxx2.dts
blob: a7cc336cb47fbbdd5881c4461f019b41186259e3 (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
/* Copyright 2021 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/dts-v1/;

#include <dt-bindings/gpio_defines.h>
#include <dt-bindings/gpio/ite-it8xxx2-gpio.h>
#include <cros/ite/it8xxx2.dtsi>
#include <ite/it8xxx2.dtsi>

#define GPIO_VOLTAGE_1P8 IT8XXX2_GPIO_VOLTAGE_1P8

/ {
	model = "Google IT8XXX2 Baseboard";

	chosen {
		zephyr,sram = &sram0;
		zephyr,console = &uart1;
		zephyr,shell-uart = &uart1;
		zephyr,flash = &flash0;
		zephyr,flash-controller = &flashctrl;
	};

	/* Override keyboard scanning */
	soc {
		/delete-node/ kscan@f01d00;
	};
};

&uart1 {
	status = "okay";
	current-speed = <115200>;
	clock-frequency = <1804800>;
};

&ite_uart1_wrapper {
	status = "okay";
	pinctrl-0 = <&uart1_rx_gpb0_default
		     &uart1_tx_gpb1_default>;
	pinctrl-names = "default";
};

&cros_kb_raw {
	status = "okay";	/* Override in project dts if not required */
};

&espi0 {
	status = "okay";
};