summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/shim_gpio_id/gpio_id.dts
blob: cd2303cfa9a01d7a450530c26df2defa8d911622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Copyright 2022 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/ {
	/* Required to compile board_get_sku_id() from shim/gpio_id.c */
	gpio_id_sku: sku {
		compatible = "cros-ec,gpio-id";
		bits  = <&gpio_sku_id0>;
		system = "ternary";
	};

	/* Required to compile board_get_version() from shim/gpio_id.c */
	gpio_id_board: board {
		compatible = "cros-ec,gpio-id";
		bits  = <&gpio_brd_id0>;
		system = "ternary";
	};
};