ARM: dts: vf610-zii-cfu1: Disable NOR flash/SPI controller
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Mon, 25 Mar 2019 18:30:17 +0000 (11:30 -0700)
committerShawn Guo <shawnguo@kernel.org>
Fri, 29 Mar 2019 03:25:11 +0000 (11:25 +0800)
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 <andrew.smirnov@gmail.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf610-zii-cfu1.dts

index 6c78122..afc25b3 100644 (file)
        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>;