mirror of https://github.com/hak5/openwrt.git
ramips: fix mt7620 pinmux for second SPI
The mt7620 doesn't have a pinmux group named spi_cs1. The cs1 is part of the "spi refclk" group. The function "spi refclk" enables the second chip select. On reset, the pins of the "spi refclk" group are used as reference clock and GPIO. Signed-off-by: Mathias Kresin <dev@kresin.me>openwrt-19.07
parent
a2488f3a24
commit
3601c3de23
|
@ -343,8 +343,8 @@
|
|||
|
||||
spi_cs1: spi1 {
|
||||
spi1 {
|
||||
ralink,group = "spi_cs1";
|
||||
ralink,function = "spi_cs1";
|
||||
ralink,group = "spi refclk";
|
||||
ralink,function = "spi refclk";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -264,8 +264,8 @@
|
|||
|
||||
spi_cs1: spi1 {
|
||||
spi1 {
|
||||
ralink,group = "spi_cs1";
|
||||
ralink,function = "spi_cs1";
|
||||
ralink,group = "spi refclk";
|
||||
ralink,function = "spi refclk";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue