summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/shim_gpio_id/gpio_id.dts
blob: 050272141f47652f8f486585ea6ff86ab594e962 (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
/* 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 */
	sku {
		compatible = "cros-ec,gpio-id";

		bits  = <&gpio_sku_id0>;

		system = "ternary";
	};

	/* Required to compile board_get_version() from shim/gpio_id.c */
	board {
		compatible = "cros-ec,gpio-id";

		bits  = <&gpio_brd_id0>;

		system = "ternary";
	};
};