aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/fast2704v2.dts
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-02-07 14:24:31 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-06-04 11:33:44 +0200
commit474cde61234c1191e1caeff01a41c324eda4d28d (patch)
tree732c8c6b6f10dbe1d4ac45ee40a9013e6d548a1d /target/linux/brcm63xx/dts/fast2704v2.dts
parent97b36aca09da7a1b214f4616a8549e99ff2d92aa (diff)
downloadupstream-474cde61234c1191e1caeff01a41c324eda4d28d.tar.gz
upstream-474cde61234c1191e1caeff01a41c324eda4d28d.tar.bz2
upstream-474cde61234c1191e1caeff01a41c324eda4d28d.zip
brcm63xx: probe SPI flash through DT
Now that we support problem the SPI controllers through DT, we can also probe flash through DT. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/dts/fast2704v2.dts')
-rw-r--r--target/linux/brcm63xx/dts/fast2704v2.dts33
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/fast2704v2.dts b/target/linux/brcm63xx/dts/fast2704v2.dts
index 7611bf44c4..617b1ed1a2 100644
--- a/target/linux/brcm63xx/dts/fast2704v2.dts
+++ b/target/linux/brcm63xx/dts/fast2704v2.dts
@@ -70,3 +70,36 @@
};
};
};
+
+&hsspi {
+ status = "ok";
+
+ flash@0 {
+ compatible = "jedec,spi-nor";
+ spi-max-frequency = <16666667>;
+ spi-tx-bus-width = <2>;
+ spi-rx-bus-width = <2>;
+ reg = <0>;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ linux,part-probe = "bcm63xxpart";
+
+ cfe@0 {
+ reg = <0x000000 0x010000>;
+ label = "cfe";
+ read-only;
+ };
+
+ linux@10000 {
+ reg = <0x010000 0x7e0000>;
+ label = "linux";
+ };
+
+ nvram@7f0000 {
+ reg = <0x7f0000 0x010000>;
+ label = "nvram";
+ };
+ };
+};