Skip to contentSkip to conversation

ARM: mvebu: add support for the new Aramda 385 based Linksys boards

PATCH Superseded Imre Kaloz 3 participants 5 messages May 20, 2015 – May 25, 2015

Subsystems (2)
lore
Share & tools
lore

Imre Kaloz

author
#0 lore raw

PATCH v2 1/1 ARM: mvebu: add support for the new Aramda 385 based Linksys boards

This patch adds support for the Linksys WRT1200AC (Caiman) and the Linksys WRT1900AC v2 (Cobra).

Both boards have:

- 2 Marvell 88W8864 radios
- 1 USB 3.0 port
- 1 USB 2.0/eSATAp port
- 2 Ethernet interfaces connected to a 88E6176 switch (1x WAN + 4x LAN)
- 128MB NAND flash
- 512MB RAM

---
Changes since v1: added DSA support
---
The only difference between the two boards is the radio configuration (2x2 vs 3x3), so everything except the leds (to be named properly) is in the dtsi file. When the wireless driver will be submitted upstream, the powertables (calibration data) will end up in the board specific files, tho.

---
 arch/arm/boot/dts/Makefile                      |   2 +
 arch/arm/boot/dts/armada-385-linksys-caiman.dts | 114 ++++++++
 arch/arm/boot/dts/armada-385-linksys-cobra.dts  | 114 ++++++++
 arch/arm/boot/dts/armada-385-linksys.dtsi       | 333 ++++++++++++++++++++++++
 4 files changed, 563 insertions(+)
 create mode 100644 arch/arm/boot/dts/armada-385-linksys-caiman.dts
 create mode 100644 arch/arm/boot/dts/armada-385-linksys-cobra.dts
 create mode 100644 arch/arm/boot/dts/armada-385-linksys.dtsi
arch/arm/boot/dts/Makefile +2 -0
index 86217db..0eaea61 100644
@@ -633,6 +633,8 @@ dtb-$(CONFIG_MACH_ARMADA_375) += \
 	armada-375-db.dtb
 dtb-$(CONFIG_MACH_ARMADA_38X) += \
 	armada-385-db-ap.dtb \
+	armada-385-linksys-caiman.dtb \
+	armada-385-linksys-cobra.dtb \
 	armada-388-db.dtb \
 	armada-388-gp.dtb \
 	armada-388-rd.dtb
arch/arm/boot/dts/armada-385-linksys-caiman.dts new file +114 -0

114 lines not on this page · raw message

arch/arm/boot/dts/armada-385-linksys-cobra.dts new file +114 -0

114 lines not on this page · raw message

arch/arm/boot/dts/armada-385-linksys.dtsi new file +333 -0

333 lines not on this page · raw message

Signature · 1 line
2.1.0
#1 lore raw

PATCH v2 1/1 ARM: mvebu: add support for the new Aramda 385 based Linksys boards

Hi Imre,

Quoted 14 lines · Imre Kaloz

This patch adds support for the Linksys WRT1200AC (Caiman) and the Linksys WRT1900AC v2 (Cobra).

Both boards have:

- 2 Marvell 88W8864 radios
- 1 USB 3.0 port
- 1 USB 2.0/eSATAp port
- 2 Ethernet interfaces connected to a 88E6176 switch (1x WAN + 4x LAN)
- 128MB NAND flash
- 512MB RAM

Quoted 8 lines

---
Changes since v1: added DSA support
---
The only difference between the two boards is the radio configuration (2x2 vs 3x3), so everything except the leds (to be named properly) is in the dtsi file. When the wireless driver will be submitted upstream, the powertables (calibration data) will end up in the board specific files, tho.

it seems that you missed my comment about removing bootargs and just using stdout-path = "serial0:115200n8";

If you agree and if there is no remark about the DSA part from Andrew, I can take car of it while applying your patch on mvebu/dt.

Thanks,

Gregory

[...]

Quoted 2 lines
arch/arm/boot/dts/armada-385-linksys.dtsi new file +0 -0

[...]

arch/arm/boot/dts/armada-385-linksys.dtsi line 51

Quoted 3 lines
arch/arm/boot/dts/armada-385-linksys.dtsi new file +3 -0
+	chosen {
+		bootargs = "console=ttyS0,115200";
+		stdout-path = &uart0;

Just here

Quoted 1 line
arch/arm/boot/dts/armada-385-linksys.dtsi new file +1 -0
+	};

[...]

Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
author
#2 lore raw

PATCH v2 1/1 ARM: mvebu: add support for the new Aramda 385 based Linksys boards

Hi Gregory,

On Mon, 25 May 2015 14:58:22 +0200, Gregory CLEMENT <[email protected]> wrote:

<snip>

Quoted 7 lines

it seems that you missed my comment about removing bootargs and just using
stdout-path = "serial0:115200n8";

If you agree and if there is no remark about the DSA part from Andrew, I can
take car of it while applying your patch on mvebu/dt.

Sorry, I indeed did miss it. I agree with that change. Andrew?

Thanks,

Imre

#3 lore raw

PATCH v2 1/1 ARM: mvebu: add support for the new Aramda 385 based Linksys boards

In reply to Gregory CLEMENT
Quoted 26 lines · Gregory CLEMENT

Hi Imre,

Quoted 14 lines · Imre Kaloz

This patch adds support for the Linksys WRT1200AC (Caiman) and the Linksys WRT1900AC v2 (Cobra).

Both boards have:

- 2 Marvell 88W8864 radios
- 1 USB 3.0 port
- 1 USB 2.0/eSATAp port
- 2 Ethernet interfaces connected to a 88E6176 switch (1x WAN + 4x LAN)
- 128MB NAND flash
- 512MB RAM

Quoted 8 lines

---
Changes since v1: added DSA support
---
The only difference between the two boards is the radio configuration (2x2 vs 3x3), so everything except the leds (to be named properly) is in the dtsi file. When the wireless driver will be submitted upstream, the powertables (calibration data) will end up in the board specific files, tho.

Quoted 5 lines

it seems that you missed my comment about removing bootargs and just using stdout-path = "serial0:115200n8";

If you agree and if there is no remark about the DSA part from Andrew, I can take car of it while applying your patch on mvebu/dt.

DSA looks fine

Thanks
Andrew

Quoted 26 lines

Thanks,

Gregory

[...]

Quoted 2 lines
arch/arm/boot/dts/armada-385-linksys.dtsi new file +0 -0

[...]

arch/arm/boot/dts/armada-385-linksys.dtsi line 51

Quoted 3 lines
arch/arm/boot/dts/armada-385-linksys.dtsi new file +3 -0
+	chosen {
+		bootargs = "console=ttyS0,115200";
+		stdout-path = &uart0;

Just here

Quoted 1 line
arch/arm/boot/dts/armada-385-linksys.dtsi new file +1 -0
+	};

[...]

Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#4 lore raw

PATCH v2 1/1 ARM: mvebu: add support for the new Aramda 385 based Linksys boards

Hi Andrew, Imre,

Quoted 30 lines · Andrew Lunn
Quoted 29 lines · Gregory CLEMENT

Hi Imre,

Quoted 14 lines · Imre Kaloz

This patch adds support for the Linksys WRT1200AC (Caiman) and the Linksys WRT1900AC v2 (Cobra).

Both boards have:

- 2 Marvell 88W8864 radios
- 1 USB 3.0 port
- 1 USB 2.0/eSATAp port
- 2 Ethernet interfaces connected to a 88E6176 switch (1x WAN + 4x LAN)
- 128MB NAND flash
- 512MB RAM

Quoted 8 lines

---
Changes since v1: added DSA support
---
The only difference between the two boards is the radio configuration (2x2 vs 3x3), so everything except the leds (to be named properly) is in the dtsi file. When the wireless driver will be submitted upstream, the powertables (calibration data) will end up in the board specific files, tho.

it seems that you missed my comment about removing bootargs and just using stdout-path = "serial0:115200n8";

Quoted 6 lines
Quoted 2 lines

If you agree and if there is no remark about the DSA part from Andrew, I can take car of it while applying your patch on mvebu/dt.

DSA looks fine

applied on mvebu/dt. I also fixed the title: s/Aramda/Armada/

Thanks,

Gregory

Quoted 35 lines

Thanks
Andrew

Quoted 13 lines

Thanks,

Gregory

[...]

Quoted 2 lines
arch/arm/boot/dts/armada-385-linksys.dtsi new file +0 -0

[...]

Quoted 13 lines

arch/arm/boot/dts/armada-385-linksys.dtsi line 51

Quoted 3 lines
arch/arm/boot/dts/armada-385-linksys.dtsi new file +3 -0
+	chosen {
+		bootargs = "console=ttyS0,115200";
+		stdout-path = &uart0;

Just here

Quoted 1 line
arch/arm/boot/dts/armada-385-linksys.dtsi new file +1 -0
+	};

[...]

Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com