1/*
2 * Copyright (c) 2020 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	board_power: resources {
9		compatible = "microchip,mec172x-board-power";
10		/* MCHP_GPIO_012 */
11		pwrg-gpios = <&gpio_000_036 10 GPIO_ACTIVE_HIGH>;
12		/* MCHP_GPIO_0054 */
13		rsm-gpios = <&gpio_040_076 12 GPIO_ACTIVE_HIGH>;
14	};
15};
16
17
18/* Enable Target to Controller Virtual Wires GPIO 0 - 3 */
19&vw_t2c_gpio_0 {
20	status = "okay";
21	reset-state = "1";
22	reset-source = "ESPI_RESET";
23};
24
25&vw_t2c_gpio_1 {
26	status = "okay";
27	reset-state = "1";
28	reset-source = "ESPI_RESET";
29};
30
31&vw_t2c_gpio_2 {
32	status = "okay";
33	reset-state = "1";
34	reset-source = "ESPI_RESET";
35};
36
37&vw_t2c_gpio_3 {
38	status = "okay";
39	reset-state = "1";
40	reset-source = "ESPI_RESET";
41};
42
43&spi0 {
44	status = "okay";
45	clock-frequency = <24000000>;
46	chip-select = <0>;
47	lines = <4>;
48};
49
50/* Disable unwanted VWs notifications
51 * Refer to include/zephyr/drivers/espi.h
52 */
53&vw_sus_stat_n {
54	status = "disabled";
55};
56
57&vw_smiout_n {
58	status = "disabled";
59};
60
61&vw_nmiout_n {
62	status = "disabled";
63};
64
65&vw_slp_lan_n {
66	status = "disabled";
67};
68
69&vw_slp_wlan_n {
70	status = "disabled";
71};
72
73&vw_host_c10 {
74	status = "disabled";
75};
76