[RFC v2 3/3] ath79: add support for Mikrotik RouterBoard 912G

Denis K denis281089 at gmail.com
Wed May 26 08:11:19 PDT 2021


Hello Adrian

> > +&spi {
> > +     status = "okay";
> > +
> > +     compatible = "qca,ar7100-spi";
> > +
> > +     cs-gpios = <0>, <&gpio_latch 0 GPIO_ACTIVE_LOW>;
>
> Are you sure you need cs-gpios here? We've removed it everywhere else (for &spi node):
> https://github.com/openwrt/openwrt/commit/e5f81ea3fe79ad484d454f5959814b3a1b094dcb

On this board for the serial shift register a separate gpio line is
used as nCS, not the SoC SPI controller dedicated nCS line. So,
without cs-gpios DTS property the serial shift register doesn't work.

Denis.



More information about the openwrt-devel mailing list