arm64: dts: juno: set the right partition type for NOR flash
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 28 May 2019 08:58:13 +0000 (10:58 +0200)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 28 May 2019 10:35:11 +0000 (11:35 +0100)
We do not normally access the flash on the Juno, as this
will disturb other aspects of the system, but if we choose
to do so anyways, we should set up the partitions in the
right way so we will find out what is in the flash.

The ARM Firmware Suite now has its own compatible and
proper device tree bindings to trigger discovery of the
flash contents, and Linux supports handling the new type
of AFS partitions.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm64/boot/dts/arm/juno-motherboard.dtsi

index 1792b074e9a3275a6702f681e02f8c0b2538738e..9f60dacb4f80fbe193185abb76d70f05a4106eef 100644 (file)
                        flash@0,00000000 {
                                /* 2 * 32MiB NOR Flash memory mounted on CS0 */
                                compatible = "arm,vexpress-flash", "cfi-flash";
-                               linux,part-probe = "afs";
                                reg = <0 0x00000000 0x04000000>;
                                bank-width = <4>;
                                /*
                                 * flash hardware access is disabled by default.
                                 */
                                status = "disabled";
+                               partitions {
+                                       compatible = "arm,arm-firmware-suite";
+                               };
                        };
 
                        ethernet@2,00000000 {