summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm953012k.dts
diff options
context:
space:
mode:
authorJon Mason <jon.mason@broadcom.com>2017-02-08 15:45:16 -0500
committerFlorian Fainelli <f.fainelli@gmail.com>2017-03-05 16:59:02 -0800
commit1c8f4065072387d3b6ee7adcf0dbe3c7ba80c268 (patch)
tree1e5bb2c493c9613647e63e4571954fcb44ad63ef /arch/arm/boot/dts/bcm953012k.dts
parentdf2992050f2606acd3b6db82abf3bda07e73c47d (diff)
downloadlinux-stable-1c8f4065072387d3b6ee7adcf0dbe3c7ba80c268.tar.gz
linux-stable-1c8f4065072387d3b6ee7adcf0dbe3c7ba80c268.tar.bz2
linux-stable-1c8f4065072387d3b6ee7adcf0dbe3c7ba80c268.zip
ARM: dts: BCM5301X: convert to iProc QSPI
The iproc-qspi driver is the SPI driver that should be used going forward. Modify the SPI DT entry to use this driver, and add an entry in the bcm953012k DTS file to enable the SPI. Tested on the bcm953012k board. Signed-off-by: Jon Mason <jon.mason@broadcom.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm953012k.dts')
-rw-r--r--arch/arm/boot/dts/bcm953012k.dts26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts
index 8bb468c3c1de..a00c4e1dfb4c 100644
--- a/arch/arm/boot/dts/bcm953012k.dts
+++ b/arch/arm/boot/dts/bcm953012k.dts
@@ -84,6 +84,32 @@
};
};
+&spi_nor {
+ status = "okay";
+ spi-max-frequency = <62500000>;
+ m25p,default-addr-width = <3>;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "boot";
+ reg = <0x00000000 0x000d0000>;
+ };
+ partition@d000 {
+ label = "env";
+ reg = <0x000d0000 0x00030000>;
+ };
+ partition@100000 {
+ label = "system";
+ reg = <0x00100000 0x00600000>;
+ };
+ partition@700000 {
+ label = "rootfs";
+ reg = <0x00700000 0x00900000>;
+ };
+};
+
&uart0 {
clock-frequency = <62499840>;
};