ls7366r started
This commit is contained in:
@ -6,11 +6,36 @@
|
||||
target-path = "/";
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
counter {
|
||||
compatible = "hottis,counter";
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user