Skip to content

Commit

Permalink
MIPS: BMIPS: Add support for Broadcom BCM97435SVMB
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and Ralf Baechle committed Jun 21, 2015
1 parent e4c7d00 commit 380e427
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/mips/bmips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ config DT_BCM97425SVMB
bool "BCM97425SVMB"
select BUILTIN_DTB

config DT_BCM97435SVMB
bool "BCM97435SVMB"
select BUILTIN_DTB

endchoice

endif
1 change: 1 addition & 0 deletions arch/mips/boot/dts/brcm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
60 changes: 60 additions & 0 deletions arch/mips/boot/dts/brcm/bcm97435svmb.dts
Original file line number Diff line number Diff line change
@@ -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";
};

0 comments on commit 380e427

Please sign in to comment.