summaryrefslogtreecommitdiff
path: root/scripts/dtc/dt-style-selftest/good/dts-preprocessor.dts
blob: bd6d9dddec734d3b63b0869ae251997ac13a7a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
/*
 * Test fixture: preprocessor directive
 */

/dts-v1/;

#include "soc.dtsi"
#include<dt-bindings/gpio/gpio.h>

/ {
	compatible = "example,test-board";
	#address-cells = <1>;
	#size-cells = <1>;

	leds {
		led-0 {
			compatible = "example,led";
		};
	};
};