Skip to contentSkip to conversation

ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

PATCH Superseded Ralph Sennhauser 2 participants 3 messages May 23, 2017 – May 24, 2017

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

The Linksys WRT3200ACM (Rango) is the latest Armada-385 based router in the Linksys WRT AC Series which got released in October 2016.

Key differences to the earlier Armada-385 based devices in the series is a bigger flash chip, next generation wireless modules (Marvell 88W8964) in the mini-pcie slots as well as a Marvell SD8887. Finally the CPU is clocked at 1866 GHz by default.

The file armada-385-linksys-rango.dts is loosely based off of a DTS authored by Imre Kaloz.

As Rango is part of the armada-385-linksys family of boards use the armada-385-linksys.dtsi as basis. As for functional differences to Imre Kaloz dts, the wlan LEDs aren't connected to the expander chip pca9635 but directly to GPIOs. Then mpp47 controls the USB2.0 port and not the USB3.0 port, so use the correct GPIO mpp44 for it. Finally use non-removable instead of broken-cd with the sdhci node to avoid polling.

Other changes can be categorized as just cleanup / reorganization due to using the armada-385-linksys.dtsi.

URL: https://github.com/openwrt/openwrt/blob/0abc3fa5a996daf7dafdc7794ccfe3fa7e955c5a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts

---

Hi everyone,

this patch was part of a series adding support for this device, the preparatory patches all got merged already except for "clk: mvebu: add support for 1866MHz variants" which isn't strictly required for the board to run and was sent to linux-clk for inclusion.

Thanks
Ralph
---

Changes since v1:

- Use non-removable with the sdhci node
- Update commit message (mostly add hardware highlights from cover letter)
- Add collected tags (Imre)
---

Original notes:

The sdhci node is taken as is, the current node lets one use the wireless part of the attached sd8887. There is an issue with the initalization of the bluetooth firmware though. Haven't had the time to investigate that in depth so far but shouldn't hold up the Rango addition.

The non-removable property might be more appropriate than broken-cd though.

Checkpatch complains about the line length of the URL, though not much room there. Checkpatch also complains about the vendor prefix linksys not being documented, however this follows the examples given by the other boards.

---
 arch/arm/boot/dts/Makefile                     |   1 +
 arch/arm/boot/dts/armada-385-linksys-rango.dts | 203 +++++++++++++++++++++++++
 2 files changed, 204 insertions(+)
 create mode 100644 arch/arm/boot/dts/armada-385-linksys-rango.dts
arch/arm/boot/dts/Makefile +1 -0
index 9c5e1d9..6be2974 100644
@@ -999,6 +999,7 @@ dtb-$(CONFIG_MACH_ARMADA_38X) += \
 	armada-385-db-ap.dtb \
 	armada-385-linksys-caiman.dtb \
 	armada-385-linksys-cobra.dtb \
+	armada-385-linksys-rango.dtb \
 	armada-385-linksys-shelby.dtb \
 	armada-385-synology-ds116.dtb \
 	armada-385-turris-omnia.dtb \
arch/arm/boot/dts/armada-385-linksys-rango.dts new file +203 -0

203 lines not on this page · raw message

Signature · 1 line
2.10.2
#1 lore raw

Hi Ralph

Quoted 3 lines

Changes since v1:

- Use non-removable with the sdhci node

..

arch/arm/boot/dts/armada-385-linksys-rango.dts line 195

Quoted 10 lines
arch/arm/boot/dts/armada-385-linksys-rango.dts new file +10 -0
+
+&sdhci {
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdhci_pins>;
+	no-1-8-v;
+	broken-cd;
+	wp-inverted;
+	bus-width = <8>;
+	status = "okay";
+};

???

Andrew

#2 lore raw
Quoted 21 lines · On Wed, 24 May 2017 03:37:53 +0200 Andrew Lunn <[email protected]> wrote:

Hi Ralph

Quoted 3 lines

Changes since v1:

- Use non-removable with the sdhci node

..

arch/arm/boot/dts/armada-385-linksys-rango.dts line 195

Quoted 10 lines
arch/arm/boot/dts/armada-385-linksys-rango.dts new file +10 -0
+
+&sdhci {
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdhci_pins>;
+	no-1-8-v;
+	broken-cd;
+	wp-inverted;
+	bus-width = <8>;
+	status = "okay";
+};  

???

Quoted 1 line

Andrew

Arg, forgot to squash the --fixup for this one

Ralph