use johannes4linux approach

This commit is contained in:
2025-06-04 10:43:22 +01:00
parent 53ec24fe8c
commit 772f53a890
6 changed files with 174 additions and 125 deletions

17
driver/counter.dts Normal file
View File

@ -0,0 +1,17 @@
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target-path = "/";
__overlay__ {
my_device {
compatible = "brightlight,mydev";
status = "okay";
label = "Test";
my_value = <12>;
green-led-gpio = <&gpio 21 0>;
};
};
};
};