dt: bcm963158: add a spi-nor device
authorKursad Oney <kursad.oney@broadcom.com>
Wed, 14 Aug 2019 13:18:37 +0000 (15:18 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 14:09:16 +0000 (10:09 -0400)
This change adds a spi nor flash device to the bcm963158 board.

Signed-off-by: Kursad Oney <kursad.oney@broadcom.com>
Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
arch/arm/dts/bcm963158.dts

index 85659440dae938acd69b633ba856c47d74817d16..c2bdd332745dd13003d34a78d40fbde8842e9717 100644 (file)
                label = "green:aggregate_link";
        };
 };
+
+&hsspi {
+       status = "okay";
+
+       flash: mt25@0 {
+               compatible = "jedec,spi-nor";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0>;
+               spi-max-frequency = <25000000>;
+       };
+};