# Linux Kernel Module Cheat

### 9.2. Device tree syntax

Good format descriptions:

- https://www.raspberrypi.org/documentation/configuration/device-tree.md

Minimal example

    /dts-v1/;

    / {
        a;
    };

Check correctness with:

    dtc a.dts

Separate nodes are simply merged by node path, e.g.:

    /dts-v1/;

    / {
        a;
    };

    / {
        b;
    };

then `dtc a.dts` gives:

    /dts-v1/;

    / {
            a;
            b;
    };