[PATCH 1/2] arm: dts: aspeed: Set SPI1 mode to master

Joel Stanley joel at jms.id.au
Fri Nov 4 14:30:41 AEDT 2016


Now that we can modify the strapping with pinmux, select the mode we
wish the flash to be in with the device tree.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts     | 2 +-
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
index e1be7b0c5484..4c4c547fe412 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
@@ -36,7 +36,7 @@
 &spi1 {
 	status = "okay";
 	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_spi1debug_default>;
+	pinctrl-0 = <&pinctrl_spi1_default>;
 
 	flash at 0 {
 		status = "okay";
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 9ff2412eef67..5c93139ad200 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -36,7 +36,7 @@
 &spi1 {
 	status = "okay";
 	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_spi1debug_default>;
+	pinctrl-0 = <&pinctrl_spi1_default>;
 
 	flash at 0 {
 		status = "okay";
-- 
2.9.3



More information about the openbmc mailing list