MIPS: BMIPS: add missing console to bcm96358nb4ser
Subsystems (4)
PATCH 1/6 MIPS: BMIPS: add missing console to bcm96358nb4ser
Console definition is needed in order to avoid a warning in earlycon to console transition.
--- arch/mips/boot/dts/brcm/bcm96358nb4ser.dts | 1 + 1 file changed, 1 insertion(+)
arch/mips/boot/dts/brcm/bcm96358nb4ser.dts +1 -0
@@ -12,6 +12,7 @@ }; chosen { + bootargs = "console=ttyS0,115200"; stdout-path = &uart0; }; };
Signature · 1 line
2.1.4
PATCH 2/6 MIPS: BMIPS: Add device tree example for BCM63268
This adds a device tree example for Comtrend VR-3032u, which also serves as a real example for brcm,bcm6328-leds.
--- arch/mips/bmips/Kconfig | 4 + arch/mips/boot/dts/brcm/Makefile | 2 + arch/mips/boot/dts/brcm/bcm63268.dtsi | 134 +++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm963268vr3032u.dts | 108 +++++++++++++++++++++ 4 files changed, 248 insertions(+) create mode 100644 arch/mips/boot/dts/brcm/bcm63268.dtsi create mode 100644 arch/mips/boot/dts/brcm/bcm963268vr3032u.dts
arch/mips/bmips/Kconfig +4 -0
@@ -21,6 +21,10 @@ config DT_BCM93384WVG_VIPER bool "BCM93384WVG Viper CPU (EXPERIMENTAL)" select BUILTIN_DTB +config DT_BCM963268VR3032U + bool "BCM963268VR3032U" + select BUILTIN_DTB + config DT_BCM96358NB4SER bool "BCM96358NB4SER" select BUILTIN_DTB
arch/mips/boot/dts/brcm/Makefile +2 -0
@@ -1,5 +1,6 @@ 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_BCM96368MVWG) += bcm96368mvwg.dtb dtb-$(CONFIG_DT_BCM9EJTAGPRB) += bcm9ejtagprb.dtb
@@ -15,6 +16,7 @@ dtb-$(CONFIG_DT_BCM97435SVMB) += bcm97435svmb.dtb dtb-$(CONFIG_DT_NONE) += \ bcm93384wvg.dtb \ bcm93384wvg_viper.dtb \ + bcm963268vr3032u.dtb \ bcm96358nb4ser.dtb \ bcm96368mvwg.dtb \ bcm9ejtagprb.dtb \
arch/mips/boot/dts/brcm/bcm63268.dtsi new file +134 -0
134 lines not on this page · raw message
arch/mips/boot/dts/brcm/bcm963268vr3032u.dts new file +108 -0
108 lines not on this page · raw message
Signature · 1 line
2.1.4
PATCH 3/6 MIPS: BMIPS: Add BCM3368 support
In reply to Álvaro Fernández RojasBCM3368 has a shared TLB which conflicts with current SMP support, so it must be disabled for now.
--- Documentation/devicetree/bindings/mips/brcm/soc.txt | 2 +- arch/mips/bmips/setup.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/mips/brcm/soc.txt +1 -1
@@ -2,7 +2,7 @@ Required properties: -- compatible: "brcm,bcm3384", "brcm,bcm33843" +- compatible: "brcm,bcm3368", "brcm,bcm3384", "brcm,bcm33843" "brcm,bcm3384-viper", "brcm,bcm33843-viper" "brcm,bcm6328", "brcm,bcm6358", "brcm,bcm6368", "brcm,bcm63168", "brcm,bcm63268",
arch/mips/bmips/setup.c +2 -1
@@ -98,7 +98,7 @@ static void bcm6328_quirks(void)static void bcm6358_quirks (void ) {/* -* BCM6358 needs special handling for its shared TLB, so +* BCM3368/BCM6358 need special handling for their shared TLB, so * disable SMP for now */ bmips_smp_enabled =0 ;
@@ -110,6 +110,7 @@ static void bcm6368_quirks(void) }static const struct bmips_quirk bmips_quirk_list[] = { + {"brcm,bcm3368" , &bcm6358_quirks }, {"brcm,bcm3384-viper" , &bcm3384_viper_quirks }, {"brcm,bcm33843-viper" , &bcm3384_viper_quirks }, {"brcm,bcm6328" , &bcm6328_quirks },
Signature · 1 line
2.1.4
Re: [PATCH 3/6] MIPS: BMIPS: Add BCM3368 support
Quoted 8 lines · Álvaro Fernández Rojas
BCM3368 has a shared TLB which conflicts with current SMP support, so it must be disabled for now.
Signed-off-by Álvaro Fernández Rojas <[email protected]>--- Documentation/devicetree/bindings/mips/brcm/soc.txt | 2 +- arch/mips/bmips/setup.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 4/6 MIPS: BMIPS: Add device tree example for BCM3368
In reply to Álvaro Fernández RojasThis adds a device tree example for Netgear CVG834G.
--- arch/mips/bmips/Kconfig | 4 ++ arch/mips/boot/dts/brcm/Makefile | 2 + arch/mips/boot/dts/brcm/bcm3368.dtsi | 101 ++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm93368cvg834g.dts | 22 ++++++ 4 files changed, 129 insertions(+) create mode 100644 arch/mips/boot/dts/brcm/bcm3368.dtsi create mode 100644 arch/mips/boot/dts/brcm/bcm93368cvg834g.dts
arch/mips/bmips/Kconfig +4 -0
@@ -13,6 +13,10 @@ choice config DT_NONE bool "None" +config DT_BCM93368CVG834G + bool "BCM93368CVG834G" + select BUILTIN_DTB + config DT_BCM93384WVG bool "BCM93384WVG Zephyr CPU" select BUILTIN_DTB
arch/mips/boot/dts/brcm/Makefile +2 -0
@@ -1,3 +1,4 @@ +dtb-$(CONFIG_DT_BCM93368CVG834G) += bcm93368cvg834g.dtb dtb-$(CONFIG_DT_BCM93384WVG) += bcm93384wvg.dtb dtb-$(CONFIG_DT_BCM93384WVG_VIPER) += bcm93384wvg_viper.dtb dtb-$(CONFIG_DT_BCM963268VR3032U) += bcm963268vr3032u.dtb
@@ -14,6 +15,7 @@ dtb-$(CONFIG_DT_BCM97425SVMB) += bcm97425svmb.dtb dtb-$(CONFIG_DT_BCM97435SVMB) += bcm97435svmb.dtb dtb-$(CONFIG_DT_NONE) += \ + bcm93368cvg834g.dtb \ bcm93384wvg.dtb \ bcm93384wvg_viper.dtb \ bcm963268vr3032u.dtb \
arch/mips/boot/dts/brcm/bcm3368.dtsi new file +101 -0
101 lines not on this page · raw message
arch/mips/boot/dts/brcm/bcm93368cvg834g.dts new file +22 -0
@@ -0,0 +1,22 @@ +/dts-v1/; + +/include/ "bcm3368.dtsi" + +/ { + compatible = "netgear,cvg834g", "brcm,bcm3368"; + model = "Netgear CVG834G"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x02000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&uart0 { + status = "okay"; +};
Signature · 1 line
2.1.4
PATCH 5/6 MIPS: BMIPS: Add BCM6362 support
In reply to Álvaro Fernández RojasBCM6362 is a BMIPS4350 SoC which needs the same fixup as BCM6368 in order to enable SMP support.
--- Documentation/devicetree/bindings/mips/brcm/soc.txt | 2 +- arch/mips/bmips/setup.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/mips/brcm/soc.txt +1 -1
@@ -4,7 +4,7 @@ Required properties: - compatible: "brcm,bcm3368", "brcm,bcm3384", "brcm,bcm33843" "brcm,bcm3384-viper", "brcm,bcm33843-viper" - "brcm,bcm6328", "brcm,bcm6358", "brcm,bcm6368", + "brcm,bcm6328", "brcm,bcm6358", "brcm,bcm6362", "brcm,bcm6368", "brcm,bcm63168", "brcm,bcm63268", "brcm,bcm7125", "brcm,bcm7346", "brcm,bcm7358", "brcm,bcm7360", "brcm,bcm7362", "brcm,bcm7420", "brcm,bcm7425"
arch/mips/bmips/setup.c +1 -0
@@ -115,6 +115,7 @@ static const struct bmips_quirk bmips_quirk_list[] = { { "brcm,bcm33843-viper", &bcm3384_viper_quirks }, { "brcm,bcm6328", &bcm6328_quirks }, { "brcm,bcm6358", &bcm6358_quirks }, + { "brcm,bcm6362", &bcm6368_quirks }, { "brcm,bcm6368", &bcm6368_quirks }, { "brcm,bcm63168", &bcm6368_quirks }, { "brcm,bcm63268", &bcm6368_quirks },
Signature · 1 line
2.1.4
Re: [PATCH 5/6] MIPS: BMIPS: Add BCM6362 support
Quoted 8 lines · Álvaro Fernández Rojas
BCM6362 is a BMIPS4350 SoC which needs the same fixup as BCM6368 in order to enable SMP support.
Signed-off-by Álvaro Fernández Rojas <[email protected]>--- Documentation/devicetree/bindings/mips/brcm/soc.txt | 2 +- arch/mips/bmips/setup.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 6/6 MIPS: BMIPS: Add device tree example for BCM6362
In reply to Álvaro Fernández RojasThis adds a device tree example for SFR NeufBox 6.
--- 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
arch/mips/bmips/Kconfig +4 -0
@@ -33,6 +33,10 @@ config DT_BCM96358NB4SER bool "BCM96358NB4SER" select BUILTIN_DTB +config DT_BCM96362NB6SER + bool "BCM96362NB6SER" + select BUILTIN_DTB + config DT_BCM96368MVWG bool "BCM96368MVWG" select BUILTIN_DTB
arch/mips/boot/dts/brcm/Makefile +2 -0
@@ -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 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 \
arch/mips/boot/dts/brcm/bcm6362.dtsi new file +134 -0
134 lines not on this page · raw message
arch/mips/boot/dts/brcm/bcm96362nb6ser.dts new file +22 -0
@@ -0,0 +1,22 @@ +/dts-v1/; + +/include/ "bcm6362.dtsi" + +/ { + compatible = "sfr,nb6-ser", "brcm,bcm6362"; + model = "SFT NeufBox 6 (Sercomm)"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x08000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&uart0 { + status = "okay"; +};
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 6/6] MIPS: BMIPS: Add device tree example for BCM6362
Hi,
Quoted 17 lines · Álvaro Fernández Rojas
This adds a device tree example for SFR NeufBox 6.
Signed-off-by Álvaro Fernández Rojas <[email protected]>--- 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.dtsarch/mips/bmips/Kconfig +0
-0
arch/mips/bmips/Kconfig config DT_BCM96358NB4SER · line 37
Quoted 5 lines
arch/mips/bmips/Kconfig +2
-0@@ -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 10 lines
arch/mips/bmips/Kconfig +2
-0+ select BUILTIN_DTB + config DT_BCM96368MVWG bool "BCM96368MVWG" select BUILTIN_DTBarch/mips/boot/dts/brcm/Makefile +0
-0
arch/mips/boot/dts/brcm/Makefile dtb-$(CONFIG_DT_BCM93384WVG) += bcm93384wvg.dtb · line 6
Quoted 4 lines
arch/mips/boot/dts/brcm/Makefile +1
-0@@ -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 11 lines
arch/mips/boot/dts/brcm/Makefile +1
-0dtb-$(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)
arch/mips/boot/dts/brcm/bcm96362nb6ser.dts
Quoted 5 lines
arch/mips/boot/dts/brcm/bcm96362nb6ser.dts new file +0
-0
Similar here.
arch/mips/boot/dts/brcm/bcm96362nb6ser.dts line 6
Quoted 7 lines
arch/mips/boot/dts/brcm/bcm96362nb6ser.dts new file +6
-0@@ -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.
arch/mips/boot/dts/brcm/bcm96362nb6ser.dts line 7
Quoted 1 line
arch/mips/boot/dts/brcm/bcm96362nb6ser.dts new file +1
-0+ model = "SFT NeufBox 6 (Sercomm)";
SFT? Not SFR? ;p
Regards
Jonas
Hi Álvaro,
arch/mips/boot/dts/brcm/bcm96358nb4ser.dts
Quoted 12 lines · Álvaro Fernández Rojas
Console definition is needed in order to avoid a warning in earlycon to console transition.
Signed-off-by Álvaro Fernández Rojas <[email protected]>--- arch/mips/boot/dts/brcm/bcm96358nb4ser.dts | 1 + 1 file changed, 1 insertion(+)arch/mips/boot/dts/brcm/bcm96358nb4ser.dts +0
-0
Unfortunately I haven't seen this earlier, but please don't name the dts file bcm9* unless it's an actual reference/eval board from Broadcom.
A more sensible name would be neufbox4-sercom.dts or bcm6358-neufbox4-sercom.dts.
Regards
Jonas
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html