Thread (10 messages) 10 messages, 3 authors, 2016-06-14

Re: [PATCH 6/6] MIPS: BMIPS: Add device tree example for BCM6362

From: Jonas Gorski <hidden>
Date: 2016-06-14 14:47:22
Also in: linux-mips, lkml

Hi,

On 13 June 2016 at 09:38, Álvaro Fernández Rojas [off-list ref] wrote:
quoted hunk ↗ jump to hunk
This adds a device tree example for SFR NeufBox 6.

Signed-off-by: Álvaro Fernández Rojas <redacted>
---
 arch/mips/bmips/Kconfig                    |   4 +
 arch/mips/boot/dts/brcm/Makefile           |   2 +
 arch/mips/boot/dts/brcm/bcm6362.dtsi       | 134 +++++++++++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm96362nb6ser.dts |  22 +++++
 4 files changed, 162 insertions(+)
 create mode 100644 arch/mips/boot/dts/brcm/bcm6362.dtsi
 create mode 100644 arch/mips/boot/dts/brcm/bcm96362nb6ser.dts
diff --git a/arch/mips/bmips/Kconfig b/arch/mips/bmips/Kconfig
index 5b0ad8c..43da496 100644
--- a/arch/mips/bmips/Kconfig
+++ b/arch/mips/bmips/Kconfig
@@ -33,6 +33,10 @@ config DT_BCM96358NB4SER
        bool "BCM96358NB4SER"
        select BUILTIN_DTB

+config DT_BCM96362NB6SER
+       bool "BCM96362NB6SER"
DT_SFR_NEUFBOX6_SERCOMM
       bool "SFR Neufbox 6 (Sercomm)"

maybe?
quoted hunk ↗ jump to hunk
+       select BUILTIN_DTB
+
 config DT_BCM96368MVWG
        bool "BCM96368MVWG"
        select BUILTIN_DTB
diff --git a/arch/mips/boot/dts/brcm/Makefile b/arch/mips/boot/dts/brcm/Makefile
index c553b95..161e54b 100644
--- a/arch/mips/boot/dts/brcm/Makefile
+++ b/arch/mips/boot/dts/brcm/Makefile
@@ -3,6 +3,7 @@ dtb-$(CONFIG_DT_BCM93384WVG)            += bcm93384wvg.dtb
 dtb-$(CONFIG_DT_BCM93384WVG_VIPER)     += bcm93384wvg_viper.dtb
 dtb-$(CONFIG_DT_BCM963268VR3032U)      += bcm963268vr3032u.dtb
 dtb-$(CONFIG_DT_BCM96358NB4SER)                += bcm96358nb4ser.dtb
+dtb-$(CONFIG_DT_BCM96362NB6SER)                += bcm96362nb6ser.dtb
Similar here.
quoted hunk ↗ jump to hunk
 dtb-$(CONFIG_DT_BCM96368MVWG)          += bcm96368mvwg.dtb
 dtb-$(CONFIG_DT_BCM9EJTAGPRB)          += bcm9ejtagprb.dtb
 dtb-$(CONFIG_DT_BCM97125CBMB)          += bcm97125cbmb.dtb
@@ -20,6 +21,7 @@ dtb-$(CONFIG_DT_NONE)                 += \
                                                bcm93384wvg_viper.dtb   \
                                                bcm963268vr3032u.dtb    \
                                                bcm96358nb4ser.dtb      \
+                                               bcm96362nb6ser.dtb      \
                                                bcm96368mvwg.dtb        \
                                                bcm9ejtagprb.dtb        \
                                                bcm97125cbmb.dtb        \
(snip)
quoted hunk ↗ jump to hunk
diff --git a/arch/mips/boot/dts/brcm/bcm96362nb6ser.dts b/arch/mips/boot/dts/brcm/bcm96362nb6ser.dts
new file mode 100644
index 0000000..a470230
--- /dev/null
+++ b/arch/mips/boot/dts/brcm/bcm96362nb6ser.dts
Similar here.
quoted hunk ↗ jump to hunk
@@ -0,0 +1,22 @@
+/dts-v1/;
+
+/include/ "bcm6362.dtsi"
+
+/ {
+       compatible = "sfr,nb6-ser", "brcm,bcm6362";
I don't see the sfr vendor prefix documented (at least not in
4.7-rc2). If it is already in -next, then disregard that comment.

+       model = "SFT NeufBox 6 (Sercomm)";
SFT? Not SFR? ;p



Regards
Jonas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help