]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: palmetto: Request mux as per strapping configuration
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 7 Nov 2017 07:30:32 +0000 (18:00 +1030)
committerJoel Stanley <joel@jms.id.au>
Thu, 8 Mar 2018 06:22:09 +0000 (16:52 +1030)
Prevents the error:

 aspeed-smc 1e630000.spi: Error applying setting, reverse things back

The pinmux driver is only capable of modifying selected strapping bits
that make sense to change at runtime. The SPI strapping is not
currently defined modifiable, so "request" the mux as per how the board
is physically strapped.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts

index b7d3d1825b936ab2e02b2d0c47ea1e0f0dbb7ac9..c7084a819dc69cc1a87e800fb3a4546c21fb95f1 100644 (file)
@@ -67,6 +67,9 @@ flash@0 {
 
 &spi {
        status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_spi1debug_default>;
+
        flash@0 {
                status = "okay";
                m25p,fast-read;