[PATCH 1/2] arm: dts: aspeed: Set SPI1 mode to master
Andrew Jeffery
andrew at aj.id.au
Fri Nov 4 15:37:40 AEDT 2016
On Fri, 2016-11-04 at 14:00 +1030, Joel Stanley wrote:
> 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>
Reviewed-by: Andrew Jeffery <andrew at aj.id.au>
Also opened an issue[1] to fix g4 platforms.
Andrew
[1] https://github.com/openbmc/linux/issues/110
> ---
> 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";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20161104/d0ea686d/attachment.sig>
More information about the openbmc
mailing list