MIPS: BMIPS: Add support for Broadcom BCM97435SVMB
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 5 May 2015 01:10:57 +0000 (18:10 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:53:34 +0000 (21:53 +0200)
Add a DTS file and Kconfig entry for the BCM97435SVMB evaluation board
using bcm7435.dtsi as an example.

The current code needs some tweaking to allow us to use the
dual-threaded dual BMIPS5200 CPUs, so for now we limit ourselves to
allowing just a single CPU to be booted.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: blogic@openwrt.org
Cc: cernekee@chromium.org
Cc: Steven.Hill@imgtec.com
Patchwork: https://patchwork.linux-mips.org/patch/9972/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bmips/Kconfig
arch/mips/boot/dts/brcm/Makefile
arch/mips/boot/dts/brcm/bcm97435svmb.dts [new file with mode: 0644]

index f35c84c019dfd1ff55fc694e8df62ccdcd0d575c..e2c4fd682c740822eb2bcf1a2101a7e1fa47dc61 100644 (file)
@@ -57,6 +57,10 @@ config DT_BCM97425SVMB
        bool "BCM97425SVMB"
        select BUILTIN_DTB
 
+config DT_BCM97435SVMB
+       bool "BCM97435SVMB"
+       select BUILTIN_DTB
+
 endchoice
 
 endif
index 1c8353bfe00326d9aef4b6a119f2607ed3fecbcd..b62e5b0f7eb0017fc272d0eb16c46910e2f71e4d 100644 (file)
@@ -9,6 +9,7 @@ dtb-$(CONFIG_DT_BCM97360SVMB)           += bcm97360svmb.dtb
 dtb-$(CONFIG_DT_BCM97362SVMB)          += bcm97362svmb.dtb
 dtb-$(CONFIG_DT_BCM97420C)             += bcm97420c.dtb
 dtb-$(CONFIG_DT_BCM97425SVMB)          += bcm97425svmb.dtb
+dtb-$(CONFIG_DT_BCM97435SVMB)          += bcm97435svmb.dtb
 
 obj-y                          += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
 
diff --git a/arch/mips/boot/dts/brcm/bcm97435svmb.dts b/arch/mips/boot/dts/brcm/bcm97435svmb.dts
new file mode 100644 (file)
index 0000000..1df0881
--- /dev/null
@@ -0,0 +1,60 @@
+/dts-v1/;
+
+/include/ "bcm7435.dtsi"
+
+/ {
+       compatible = "brcm,bcm97435svmb", "brcm,bcm7435";
+       model = "Broadcom BCM97435SVMB";
+
+       memory@0 {
+               device_type = "memory";
+               reg = <0x00000000 0x10000000>,
+                     <0x20000000 0x30000000>,
+                     <0x90000000 0x40000000>;
+       };
+
+       chosen {
+               bootargs = "console=ttyS0,115200 maxcpus=1";
+               stdout-path = &uart0;
+       };
+};
+
+&uart0 {
+       status = "okay";
+};
+
+&enet0 {
+       status = "okay";
+};
+
+&ehci0 {
+       status = "okay";
+};
+
+&ohci0 {
+       status = "okay";
+};
+
+&ehci1 {
+       status = "okay";
+};
+
+&ohci1 {
+       status = "okay";
+};
+
+&ehci2 {
+       status = "okay";
+};
+
+&ohci2 {
+       status = "okay";
+};
+
+&ehci3 {
+       status = "okay";
+};
+
+&ohci3 {
+       status = "okay";
+};