tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Can't get SPI to work
nikitka.donskov%yandex.ru@localhost ("Nikita Donskov") writes:
>from RPI's firmware repo:
>https://github.com/raspberrypi/firmware/blob/master/boot/overlays/spi1-1cs.=
>dtbo
Maybe spi0-1cs.dtbo works better.
> dtoverlay=3Dspi1-1cs,cs0_spidev=3Doff
The *spidev* attributes are for Linux and the Linux driver.
You can use http://cdn.netbsd.org/pub/NetBSD/misc/mlelstv/spi.dtbo,
the source is http://cdn.netbsd.org/pub/NetBSD/misc/mlelstv/spi.dts:
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <&spi>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&spi0_gpio7>;
};
};
};
Greetings,
Home |
Main Index |
Thread Index |
Old Index