ramips: fix rt3883 pinmux for second SPI
authorMathias Kresin <dev@kresin.me>
Wed, 22 Aug 2018 05:40:17 +0000 (07:40 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:50 +0000 (17:47 +0100)
The rt3883 doesn't have a pinmux group named spi_cs1. The cs1 is part
of the pci group. The function pci-func enables the second chip select.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from a6e11ccb136fd87efd2757a2959b8d9510534501)

target/linux/ramips/dts/rt3883.dtsi

index 3e1e31c74955161eaefbc6d99cf5094879f5011c..2a62327d80bdb5ef1435ca832f0ed47adf734f12 100644 (file)
 
                spi_cs1: spi1 {
                        spi1 {
-                               ralink,group = "spi_cs1";
-                               ralink,function = "spi_cs1";
+                               ralink,group = "pci";
+                               ralink,function = "pci-func";
                        };
                };