still works 2
This commit is contained in:
@ -3,14 +3,40 @@
|
||||
/ {
|
||||
compatible = "brcm,bcm2835";
|
||||
fragment@0 {
|
||||
target-path = "/";
|
||||
target-path = "/soc";
|
||||
__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,ls7366r";
|
||||
reg = <0x0>;
|
||||
spi-max-frequency = <1000000>;
|
||||
spi-bits-per-word = <8>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user