[PATCH 1/2] ARM: dts: vf610-twr: Add SPI NOR support
Xiaochun Li
b41219 at freescale.com
Fri Jun 21 06:10:32 EDT 2013
vf610-twr has a s25fl129p1 SPI NOR flash connected to QuadSpi0.
Add support for it.
Signed-off-by: Xiaochun Li <b41219 at freescale.com>
---
arch/arm/boot/dts/vf610-twr.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index b3905f5..202cf1d 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm/boot/dts/vf610-twr.dts
@@ -55,3 +55,23 @@
pinctrl-0 = <&pinctrl_uart1_1>;
status = "okay";
};
+
+&qspi0 {
+ fsl,spi-num-chipselects = <1>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_qspi0_1>;
+ status = "okay";
+
+ flash: s25fl129p1 at 0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "spansion,s25fl129p1";
+ spi-max-frequency = <20000000>;
+ reg = <0>;
+
+ partition at 0 {
+ label = "s25fl129p1";
+ reg = <0x0 0x1000000>;
+ };
+ };
+};
--
1.8.0
More information about the linux-arm-kernel
mailing list