summaryrefslogtreecommitdiff
path: root/zephyr/dts/board-overlays/native_posix.dts
blob: 78019975538bf52bdac849f7033ca5f37b72233a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include <dt-bindings/gpio_defines.h>

/ {
	named-gpios {
		compatible = "named-gpios";

		entering_rw {
			gpios = <&gpio0 1 GPIO_OUTPUT_LOW>;
			enum-name = "GPIO_ENTERING_RW";
		};
	};
};

&gpio0 {
	ngpios = <2>;
};