FDD-book/examples/part-07/ch32-fdt-embedded/lab03-debug-broken/lab03-fixed.dts
Edson Brandi 6e6dac94fe Add book companion files under examples/
Organize companion code and materials by book part:

  part-01/      Foundations
  part-02/      Kernel & driver fundamentals
  part-03/      Character & block devices
  part-04/      Networking & storage
  part-05/      Buses & advanced topics
  part-06/      Debugging & performance
  part-07/      Real-world drivers
  appendices/   Supplementary material
  README.md     Overview and build instructions
2026-04-25 16:51:00 +00:00

37 lines
643 B
Text

/*
* lab03-fixed.dts - Reference corrected overlay for Lab 3
*
* Fixes applied:
* - fragment@0 compatible corrected to "freebsd,fdthello"
* - fragment@0 status set to "okay"
* - fragment@1 reg corrected to include size cell
*/
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2711";
fragment@0 {
target-path = "/soc";
__overlay__ {
hello@20000 {
compatible = "freebsd,fdthello";
reg = <0x20000 0x100>;
status = "okay";
};
};
};
fragment@1 {
target-path = "/soc";
__overlay__ {
hello@30000 {
compatible = "freebsd,fdthello";
reg = <0x30000 0x100>;
status = "okay";
};
};
};
};