Merge https://gitlab.denx.de/u-boot/custodians/u-boot-clk
[oweals/u-boot.git] / arch / arm / dts / kirkwood-km_kirkwood.dts
index f035eff1c111bbc0f93cfff5414d9fd326e20ccc..b2c0209f5dba7d3e884dae6504c8c97a7b3fe471 100644 (file)
                device_type = "memory";
                reg = <0x00000000 0x08000000>;
        };
+
+       aliases {
+               spi0 = &spi0;
+       };
 };
 
 &mdio {
                phy-handle = <&ethphy0>;
        };
 };
+
+&spi0 {
+       status = "okay";
+
+       flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "st,m25p80", "jedec,spi-nor", "spi-flash";
+               reg = <0>;
+               spi-max-frequency = <33000000>;
+               mode = <3>;
+
+               partition@uboot {
+                       reg = <0x000000 0x0c0000>;
+                       label = "uboot";
+               };
+       };
+};