use johannes4linux approach
This commit is contained in:
17
driver/counter.dts
Normal file
17
driver/counter.dts
Normal 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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user