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>
(cherry picked from commit 3601c3de23
)
openwrt-18.06
parent
b84f761d91
commit
3bbd16da46
|
@ -339,8 +339,8 @@
|
|||
|
||||
spi_cs1: spi1 {
|
||||
spi1 {
|
||||
ralink,group = "spi_cs1";
|
||||
ralink,function = "spi_cs1";
|
||||
ralink,group = "spi refclk";
|
||||
ralink,function = "spi refclk";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -260,8 +260,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