diff mbox series

[2/3] sunxi: dts: OrangePi Zero: Enable SPI flash.

Message ID 382888c39b3ad7c53ac94592eba2e1edb7eb5bd3.1601326861.git.msuchanek@suse.de
State Changes Requested
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [1/3] sunxi: dts: OrangePi Zero: Add SPI aliases to make bus usable with u-boot. | expand

Commit Message

Michal Suchánek Sept. 28, 2020, 9:02 p.m. UTC
This flash is optional but new boards do have it, and on boards that
don't the pins are routed to the flash pads anyway.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jagan Teki Oct. 22, 2020, 6:31 a.m. UTC | #1
On Tue, Sep 29, 2020 at 2:32 AM Michal Suchanek <msuchanek@suse.de> wrote:
>
> This flash is optional but new boards do have it, and on boards that
> don't the pins are routed to the flash pads anyway.
>
> Signed-off-by: Michal Suchanek <msuchanek@suse.de>
> ---
>  arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
> index 090570148e..dc3d006010 100644
> --- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
> +++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
> @@ -165,8 +165,8 @@
>  };
>
>  &spi0 {
> -       /* Disable SPI NOR by default: it optional on Orange Pi Zero boards */
> -       status = "disabled";
> +       /* Enable SPI NOR by default: it optional on Orange Pi Zero boards */
> +       status = "okay";

Sync all sun8i changes from v5.9 as a single patch and enable spi on
-u-boot.dtsi.

Jagan.
diff mbox series

Patch

diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
index 090570148e..dc3d006010 100644
--- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
+++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
@@ -165,8 +165,8 @@ 
 };
 
 &spi0 {
-	/* Disable SPI NOR by default: it optional on Orange Pi Zero boards */
-	status = "disabled";
+	/* Enable SPI NOR by default: it optional on Orange Pi Zero boards */
+	status = "okay";
 
 	flash@0 {
 		#address-cells = <1>;