linux/scripts/dtc/dt-style-selftest/good/dts-digit-node-order.dts
Krzysztof Kozlowski 2d51fa6004 dtc: dt-check-style: Add missing /dts-v1/ to few test cases
The selftest DTS should still look like a real DTS, so it needs
'/dts-v1/' marking.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260803-n-dts-style-checker-continued-v3-1-6c9776928cea@oss.qualcomm.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2026-08-14 15:43:23 -05:00

44 lines
732 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
/* TODO: uncomment when child-address-order is fixed for top-level */
/*
memory@a0000000 {
device_type = "memory";
reg = <0x0 0xa0000000 0x0 0x0>;
};
*/
pmu {
compatible = "example,pmu";
};
soc@0 {
compatible = "simple-bus";
ranges = <0 0 0 0xc0000000>;
#address-cells = <1>;
#size-cells = <1>;
interrupt-controller@10000 {
compatible = "example,intc";
reg = <0x10000 0x1000>;
interrupts = <1 2 3>;
};
serial@20000 {
compatible = "example,serial";
reg = <0x20000 0x1000>;
};
serial@30000 {
compatible = "example,serial";
reg = <0x30000 0x1000>;
};
};
};