[linux-yocto] [PATCH 2/5] board/axxia: SPI Updates for Victoria

Daniel Dragomir daniel.dragomir at windriver.com
Fri Jul 1 05:37:41 PDT 2016


From: John Jacques <john.jacques at intel.com>

Change the max frequency and add the backup serial flash.

Signed-off-by: John Jacques <john.jacques at intel.com>
---
 arch/arm64/boot/dts/intel/axm5616-victoria.dts | 44 +++++++++++++++++++++++++-
 1 file changed, 43 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/intel/axm5616-victoria.dts b/arch/arm64/boot/dts/intel/axm5616-victoria.dts
index 0498184..22b5094 100644
--- a/arch/arm64/boot/dts/intel/axm5616-victoria.dts
+++ b/arch/arm64/boot/dts/intel/axm5616-victoria.dts
@@ -83,7 +83,49 @@
 		#size-cells = <1>;
 		compatible = "s25fl016k";
 		reg = <0>;
-		spi-max-frequency = <25000000>;
+		spi-max-frequency = <5000000>;
+		pl022,com-mode = <1>;
+
+		partition at 0 {
+			label = "spl-0";
+			reg = <0x0 0x40000>;
+		};
+		partition at 40000 {
+			label = "spl-1";
+			reg = <0x40000 0x40000>;
+		};
+		partition at 80000 {
+			label = "parameters-0";
+			reg = <0x80000 0x10000>;
+		};
+		partition at 90000 {
+			label = "parameters-1";
+			reg = <0x90000 0x10000>;
+		};
+		partition at a0000 {
+			label = "env-0";
+			reg = <0xa0000 0x10000>;
+		};
+		partition at b0000 {
+			label = "env-1";
+			reg = <0xb0000 0x10000>;
+		};
+		partition at 100000 {
+			label = "u-boot-0";
+			reg = <0x100000 0x200000>;
+		};
+		partition at 300000 {
+			label = "u-boot-1";
+			reg = <0x300000 0x200000>;
+		};
+	};
+
+	flash at 1 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "s25fl016k";
+		reg = <1>;
+		spi-max-frequency = <5000000>;
 		pl022,com-mode = <1>;
 
 		partition at 0 {
-- 
1.9.1



More information about the linux-yocto mailing list