mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-12 16:03:13 +00:00
42 lines
1.1 KiB
Diff
42 lines
1.1 KiB
Diff
|
From 4661c3afefe900ff7b5004aca0a2c927cfa37f3b Mon Sep 17 00:00:00 2001
|
||
|
From: Emmanuel Vadot <manu@freebsd.org>
|
||
|
Date: Mon, 21 May 2018 13:54:13 +0200
|
||
|
Subject: [PATCH] arm64: dts: allwinner: sun50i: a64: Add spi flash node for
|
||
|
sopine
|
||
|
|
||
|
The Sopine and Pine64-LTS have a winbond w25q128 spi flash on spi0.
|
||
|
Add a node for it.
|
||
|
|
||
|
Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
|
||
|
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
|
||
|
---
|
||
|
arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 12 ++++++++++++
|
||
|
1 file changed, 12 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi
|
||
|
index 43418bd881d8..b94f93c04acb 100644
|
||
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi
|
||
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi
|
||
|
@@ -66,6 +66,18 @@
|
||
|
};
|
||
|
};
|
||
|
|
||
|
+&spi0 {
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ flash@0 {
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <1>;
|
||
|
+ compatible = "jedec,spi-nor";
|
||
|
+ reg = <0>;
|
||
|
+ spi-max-frequency = <40000000>;
|
||
|
+ };
|
||
|
+};
|
||
|
+
|
||
|
#include "axp803.dtsi"
|
||
|
|
||
|
®_aldo2 {
|
||
|
--
|
||
|
2.17.1
|
||
|
|