Files
counter/driver/counter.dts

43 lines
725 B
Plaintext

/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target-path = "/soc";
__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: ls7366r@0 {
compatible = "hottis,ls7366r";
reg = <0x0>;
spi-max-frequency = <1000000>;
spi-bits-per-word = <8>;
status = "okay";
};
};
};
};