ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)
PATCH v3 1/1 ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)
The Linksys WRT3200ACM (Rango) is the lates 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 loosly 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.
---
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:
- Update commit message
- Add collected tags (Imre)
Changes sice v2:
- Really use non-removable for the sdhci node
---
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
@@ -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
Quoted 18 lines · Ralph Sennhauser
The Linksys WRT3200ACM (Rango) is the lates 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.dtsis loosly 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.dtsias 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.
Quoted 6 lines
Other changes can be categorized as just cleanup / reorganization due to using the
armada-385-linksys.dtsi.Signed-off-by Ralph Sennhauser <[email protected]>Signed-off-by Imre Kaloz <[email protected]>
Andrew
Hi,
Quoted 22 lines · Andrew Lunn
Quoted 21 lines · Ralph Sennhauser
The Linksys WRT3200ACM (Rango) is the lates 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.dtsis loosly 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.dtsias 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.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Ralph Sennhauser <[email protected]>Signed-off-by Imre Kaloz <[email protected]>Reviewed-by Andrew Lunn <[email protected]>
Applied on mvebu/dt
Thanks,
Gregory
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com