Skip to contentSkip to conversation

MIPS: BMIPS: Add device tree example for BCM6362

PATCH In review Álvaro Fernández Rojas 1 participant 1 message Aug 3, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 7/7 MIPS: BMIPS: Add device tree example for BCM6362

This adds a device tree example for SFR NeufBox 6.

---
 arch/mips/bmips/Kconfig                            |   4 +
 arch/mips/boot/dts/brcm/Makefile                   |   2 +
 .../boot/dts/brcm/bcm6362-neufbox6-sercomm.dts     |  22 ++++
 arch/mips/boot/dts/brcm/bcm6362.dtsi               | 134 +++++++++++++++++++++
 4 files changed, 162 insertions(+)
 create mode 100644 arch/mips/boot/dts/brcm/bcm6362-neufbox6-sercomm.dts
 create mode 100644 arch/mips/boot/dts/brcm/bcm6362.dtsi
arch/mips/bmips/Kconfig +4 -0
index f499fd2..2d60f25 100644
@@ -73,6 +73,10 @@ config DT_SFR_NEUFBOX4_SERCOMM
 	bool "SFR Neufbox 4 (Sercomm)"
 	select BUILTIN_DTB
 
+config DT_SFR_NEUFBOX6_SERCOMM
+	bool "SFR Neufbox 6 (Sercomm)"
+	select BUILTIN_DTB
+
 endchoice
 
 endif
arch/mips/boot/dts/brcm/Makefile +2 -0
index a698e84..d61bc2a 100644
@@ -13,10 +13,12 @@ dtb-$(CONFIG_DT_BCM97435SVMB)		+= bcm97435svmb.dtb
 dtb-$(CONFIG_DT_COMTREND_VR3032U)	+= bcm63268-comtrend-vr-3032u.dtb
 dtb-$(CONFIG_DT_NETGEAR_CVG834G)	+= bcm3368-netgear-cvg834g.dtb
 dtb-$(CONFIG_DT_SFR_NEUFBOX4_SERCOMM)	+= bcm6358-neufbox4-sercomm.dtb
+dtb-$(CONFIG_DT_SFR_NEUFBOX6_SERCOMM)	+= bcm6362-neufbox6-sercomm.dtb
 
 dtb-$(CONFIG_DT_NONE) += \
 	bcm3368-netgear-cvg834g.dtb \
 	bcm6358-neufbox4-sercomm.dtb \
+	bcm6362-neufbox6-sercomm.dtb \
 	bcm63268-comtrend-vr-3032u.dtb \
 	bcm93384wvg.dtb \
 	bcm93384wvg_viper.dtb \
arch/mips/boot/dts/brcm/bcm6362-neufbox6-sercomm.dts new file +22 -0
new file mode 100644
index 0000000..480f2a5
@@ -0,0 +1,22 @@
+/dts-v1/;
+
+/include/ "bcm6362.dtsi"
+
+/ {
+	compatible = "sfr,nb6-ser", "brcm,bcm6362";
+	model = "SFR NeufBox 6 (Sercomm)";
+
+	memory@0 {
+		device_type = "memory";
+		reg = <0x00000000 0x08000000>;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+		stdout-path = &uart0;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
arch/mips/boot/dts/brcm/bcm6362.dtsi new file +134 -0

134 lines not on this page · raw message

Signature · 1 line
2.1.4