ARM: dts: keystone-evm: add spi nor flash support
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / k2l-evm.dts
index 8ff2d330c2c51cb3c9988cbaa12da8783e57197e..fec43128a2e0f946dabf80e18e287269571c4854 100644 (file)
                };
        };
 };
+
+&spi0 {
+       nor_flash: n25q128a11@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "Micron,n25q128a11";
+               spi-max-frequency = <54000000>;
+               m25p,fast-read;
+               reg = <0>;
+
+               partition@0 {
+                       label = "u-boot-spl";
+                       reg = <0x0 0x80000>;
+                       read-only;
+               };
+
+               partition@1 {
+                       label = "misc";
+                       reg = <0x80000 0xf80000>;
+               };
+       };
+};