nixos/device-tree: use new overlay syntax in example
Since dtc 1.4.7 (released in 2018), there has been a much nicer syntax for device tree overlays. This commit converts the dtsText example to use this syntax.
This commit is contained in:
parent
d64abb978c
commit
8e4b3323d1
|
@ -36,14 +36,11 @@ let
|
||||||
/plugin/;
|
/plugin/;
|
||||||
/ {
|
/ {
|
||||||
compatible = "raspberrypi";
|
compatible = "raspberrypi";
|
||||||
fragment@0 {
|
};
|
||||||
target-path = "/soc";
|
&{/soc} {
|
||||||
__overlay__ {
|
pps {
|
||||||
pps {
|
compatible = "pps-gpio";
|
||||||
compatible = "pps-gpio";
|
status = "okay";
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue