diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2017-11-07 18:00:32 +1030 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2018-03-08 16:52:09 +1030 |
commit | 720ed06c0906212cbd585cf80602035d576f207d (patch) | |
tree | ed378a4bf02aeaaa31ba56c477fac5800e2b95df | |
parent | 3b47622a36825e0a107222f76408dff46354342f (diff) | |
download | lwn-720ed06c0906212cbd585cf80602035d576f207d.tar.gz lwn-720ed06c0906212cbd585cf80602035d576f207d.zip |
ARM: dts: palmetto: Request mux as per strapping configuration
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>
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts index b7d3d1825b93..c7084a819dc6 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts @@ -67,6 +67,9 @@ &spi { status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spi1debug_default>; + flash@0 { status = "okay"; m25p,fast-read; |