linux/scripts/dtc/dt-style-selftest/good/soc.dtsi
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

50 lines
784 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a57";
reg = <0x0 0x0>;
enable-method = "psci";
};
};
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>,
<4 5 6>,
<7 8 9>;
};
serial@20000 {
compatible = "example,serial";
reg = <0x20000 0x1000>;
};
serial@30000 {
compatible = "example,serial";
reg = <0x30000 0x1000>;
};
};
};