Files
counter/driver/counter.dts
2025-06-12 14:59:12 +01:00

44 lines
732 B
Plaintext

/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target-path = "/";
__overlay__ {
status = "okay";
leds {
compatible = "hottis,leds";
red-led-gpio = <&gpio 26 0>;
blue-led-gpio = <&gpio 21 0>;
};
};
};
/*
fragment@1 {
target = <&spidev0>;
__overlay__ {
status = "disabled";
};
};
fragment@2 {
target = <&spi0>;
__overlay__ {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
ls7366r: ls7366r0@0 {
compatible = "hottis,counter";
reg = <0x0>;
spi-max-frequency = <1000000>;
spi-bits-per-word = <8>;
status = "okay";
};
};
};
*/
};