aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Smirnov <[email protected]>2019-03-25 11:30:17 -0700
committerShawn Guo <[email protected]>2019-03-29 11:25:11 +0800
commit5f0a88a1aabb2b332e2fa01598cc24e708552771 (patch)
treef11ef95995576269454a0b1ba67d80370d079177
parentdae9f076d1c3c5d1e4bb7363d8b1ccd6145200b1 (diff)
ARM: dts: vf610-zii-cfu1: Disable NOR flash/SPI controller
Only a certain number of CFU1's come with NOR flash populated. Disable it by default to avoid trying to probe NOR flash on devices that don't have it. Devices that do have it can rely on the bootloader to enable this node. Signed-off-by: Andrey Smirnov <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Chris Healy <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Shawn Guo <[email protected]>
-rw-r--r--arch/arm/boot/dts/vf610-zii-cfu1.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-cfu1.dts b/arch/arm/boot/dts/vf610-zii-cfu1.dts
index 6c78122401a1..afc25b33bd3b 100644
--- a/arch/arm/boot/dts/vf610-zii-cfu1.dts
+++ b/arch/arm/boot/dts/vf610-zii-cfu1.dts
@@ -87,7 +87,12 @@
bus-num = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dspi1>;
- status = "okay";
+ /*
+ * Some CFU1s come with SPI-NOR chip DNPed, so we leave this
+ * node disabled by default and rely on bootloader to enable
+ * it when appropriate.
+ */
+ status = "disabled";
m25p128@0 {
#address-cells = <1>;