ramips: fix mt7620 pinmux for second SPI
authorMathias Kresin <dev@kresin.me>
Wed, 22 Aug 2018 05:30:36 +0000 (07:30 +0200)
committerMathias Kresin <dev@kresin.me>
Mon, 27 Aug 2018 17:31:17 +0000 (19:31 +0200)
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>
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi

index 4a1b875e4993af9ec87ce5f7f654ba43e9f6ad67..8cb397cd22faf6b3ed24c4efb12e7492f673c2e6 100644 (file)
 
                spi_cs1: spi1 {
                        spi1 {
-                               ralink,group = "spi_cs1";
-                               ralink,function = "spi_cs1";
+                               ralink,group = "spi refclk";
+                               ralink,function = "spi refclk";
                        };
                };
 
index b211f07cf6c43de6e0e58d765d27a5c2f6b680c0..1a72e98f0954b11a28758007f289880f7b7a5378 100644 (file)
 
                spi_cs1: spi1 {
                        spi1 {
-                               ralink,group = "spi_cs1";
-                               ralink,function = "spi_cs1";
+                               ralink,group = "spi refclk";
+                               ralink,function = "spi refclk";
                        };
                };