Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580407 > unrolled thread

[PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

Started byRalph Sennhauser <ralph.sennhauser@gmail.com>
First post2017-02-14 10:00 +0100
Last post2017-03-01 00:30 +0100
Articles 7 — 6 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby) Ralph Sennhauser <ralph.sennhauser@gmail.com> - 2017-02-14 10:00 +0100
    Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS  (Shelby) Imre Kaloz <kaloz@openwrt.org> - 2017-02-14 12:40 +0100
    Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS  (Shelby) Andrew Lunn <andrew@lunn.ch> - 2017-02-14 17:00 +0100
    Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS  (Shelby) Jason Cooper <jason@lakedaemon.net> - 2017-02-14 19:20 +0100
      Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS  (Shelby) Ralph Sennhauser <ralph.sennhauser@gmail.com> - 2017-02-14 20:30 +0100
    Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby) Rob Herring <robh+dt@kernel.org> - 2017-03-01 00:30 +0100
      Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS  (Shelby) Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-03-01 00:30 +0100

#1580407 — [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

FromRalph Sennhauser <ralph.sennhauser@gmail.com>
Date2017-02-14 10:00 +0100
Subject[PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)
Message-ID<taH7P-7Yd-3@gated-at.bofh.it>
The Linksys WRT1900ACS (Shelby) is another Armada 385 based router in
the Linksys WRT AC Series which got released in October 2015.

The file armada-385-linksys-shelby.dts is taken from OpenWrt as-is and
originally authored by Imre Kaloz.

URL: http://tinyurl.com/j8lz83a
CC: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
---
 arch/arm/boot/dts/Makefile                      |   1 +
 arch/arm/boot/dts/armada-385-linksys-shelby.dts | 114 ++++++++++++++++++++++++
 2 files changed, 115 insertions(+)
 create mode 100644 arch/arm/boot/dts/armada-385-linksys-shelby.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 0118084..16f1748 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -970,6 +970,7 @@ dtb-$(CONFIG_MACH_ARMADA_38X) += \
 	armada-385-db-ap.dtb \
 	armada-385-linksys-caiman.dtb \
 	armada-385-linksys-cobra.dtb \
+	armada-385-linksys-shelby.dtb \
 	armada-385-turris-omnia.dtb \
 	armada-388-clearfog.dtb \
 	armada-388-clearfog-base.dtb \
diff --git a/arch/arm/boot/dts/armada-385-linksys-shelby.dts b/arch/arm/boot/dts/armada-385-linksys-shelby.dts
new file mode 100644
index 0000000..c7a8ddd
--- /dev/null
+++ b/arch/arm/boot/dts/armada-385-linksys-shelby.dts
@@ -0,0 +1,114 @@
+/*
+ * Device Tree file for the Linksys WRT1900ACS (Shelby)
+ *
+ * Copyright (C) 2015 Imre Kaloz <kaloz@openwrt.org>
+ *
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ *  a) This file is licensed under the terms of the GNU General Public
+ *     License version 2.  This program is licensed "as is" without
+ *     any warranty of any kind, whether express or implied.
+ *
+ * Or, alternatively,
+ *
+ *  b) Permission is hereby granted, free of charge, to any person
+ *     obtaining a copy of this software and associated documentation
+ *     files (the "Software"), to deal in the Software without
+ *     restriction, including without limitation the rights to use,
+ *     copy, modify, merge, publish, distribute, sublicense, and/or
+ *     sell copies of the Software, and to permit persons to whom the
+ *     Software is furnished to do so, subject to the following
+ *     conditions:
+ *
+ *     The above copyright notice and this permission notice shall be
+ *     included in all copies or substantial portions of the Software.
+ *
+ *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ *     OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+#include "armada-385-linksys.dtsi"
+
+/ {
+	model = "Linksys WRT1900ACS";
+	compatible = "linksys,shelby", "linksys,armada385", "marvell,armada385",
+		     "marvell,armada380";
+
+	soc {
+		internal-regs{
+			i2c@11000 {
+
+				pca9635@68 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+					wan_amber@0 {
+						label = "shelby:amber:wan";
+						reg = <0x0>;
+					};
+
+					wan_white@1 {
+						label = "shelby:white:wan";
+						reg = <0x1>;
+					};
+
+					wlan_2g@2 {
+						label = "shelby:white:wlan_2g";
+						reg = <0x2>;
+					};
+
+					wlan_5g@3 {
+						label = "shelby:white:wlan_5g";
+						reg = <0x3>;
+					};
+
+					usb2@5 {
+						label = "shelby:white:usb2";
+						reg = <0x5>;
+					};
+
+					usb3_1@6 {
+						label = "shelby:white:usb3_1";
+						reg = <0x6>;
+					};
+
+					usb3_2@7 {
+						label = "shelby:white:usb3_2";
+						reg = <0x7>;
+					};
+
+					wps_white@8 {
+						label = "shelby:white:wps";
+						reg = <0x8>;
+					};
+
+					wps_amber@9 {
+						label = "shelby:amber:wps";
+						reg = <0x9>;
+					};
+				};
+			};
+		};
+	};
+
+	gpio-leds {
+		power {
+			label = "shelby:white:power";
+		};
+
+		sata {
+			label = "shelby:white:sata";
+		};
+	};
+};
-- 
2.10.2

[toc] | [next] | [standalone]


#1580488 — Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

FromImre Kaloz <kaloz@openwrt.org>
Date2017-02-14 12:40 +0100
SubjectRe: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)
Message-ID<taJCF-1jr-5@gated-at.bofh.it>
In reply to#1580407
On 2017-02-14 09:59, Ralph Sennhauser wrote:

> The Linksys WRT1900ACS (Shelby) is another Armada 385 based router in
> the Linksys WRT AC Series which got released in October 2015.
>
> The file armada-385-linksys-shelby.dts is taken from OpenWrt as-is and
> originally authored by Imre Kaloz.
>
> URL: http://tinyurl.com/j8lz83a
> CC: Imre Kaloz <kaloz@openwrt.org>
> Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
> ---
>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

[toc] | [prev] | [next] | [standalone]


#1580622 — Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

FromAndrew Lunn <andrew@lunn.ch>
Date2017-02-14 17:00 +0100
SubjectRe: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)
Message-ID<taNGi-3IN-9@gated-at.bofh.it>
In reply to#1580407
On Tue, Feb 14, 2017 at 09:59:17AM +0100, Ralph Sennhauser wrote:
> The Linksys WRT1900ACS (Shelby) is another Armada 385 based router in
> the Linksys WRT AC Series which got released in October 2015.
> 
> The file armada-385-linksys-shelby.dts is taken from OpenWrt as-is and
> originally authored by Imre Kaloz.
> 
> URL: http://tinyurl.com/j8lz83a
> CC: Imre Kaloz <kaloz@openwrt.org>
> Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>

Hi Ralph

Thanks for importing this from Openwrt.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

[toc] | [prev] | [next] | [standalone]


#1580730 — Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

FromJason Cooper <jason@lakedaemon.net>
Date2017-02-14 19:20 +0100
SubjectRe: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)
Message-ID<taPRL-5dX-1@gated-at.bofh.it>
In reply to#1580407
Hi Ralph, Imre,

On Tue, Feb 14, 2017 at 09:59:17AM +0100, Ralph Sennhauser wrote:
> The Linksys WRT1900ACS (Shelby) is another Armada 385 based router in
> the Linksys WRT AC Series which got released in October 2015.
> 
> The file armada-385-linksys-shelby.dts is taken from OpenWrt as-is and
> originally authored by Imre Kaloz.
> 
> URL: http://tinyurl.com/j8lz83a

Could you please change this to:

https://github.com/openwrt/openwrt/blob/8466384db1154a107b86bf3ca10b166a21bd81d0/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-shelby.dts

Or, say 'imported from

 https://github.com/openwrt/openwrt

commit 8466384db115 "mvebu: add support for 4.1 and switch over"'

or something similar?

Other than that,

Acked-by: Jason Cooper <jason@lakedaemon.net>

thx,

Jason.

[toc] | [prev] | [next] | [standalone]


#1580773 — Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

FromRalph Sennhauser <ralph.sennhauser@gmail.com>
Date2017-02-14 20:30 +0100
SubjectRe: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)
Message-ID<taQXw-5RZ-47@gated-at.bofh.it>
In reply to#1580730
On Tue, 14 Feb 2017 17:55:33 +0000
Jason Cooper <jason@lakedaemon.net> wrote:

> Hi Ralph, Imre,
> 
> On Tue, Feb 14, 2017 at 09:59:17AM +0100, Ralph Sennhauser wrote:
> > The Linksys WRT1900ACS (Shelby) is another Armada 385 based router
> > in the Linksys WRT AC Series which got released in October 2015.
> > 
> > The file armada-385-linksys-shelby.dts is taken from OpenWrt as-is
> > and originally authored by Imre Kaloz.
> > 
> > URL: http://tinyurl.com/j8lz83a  
> 
> Could you please change this to:
> 
> https://github.com/openwrt/openwrt/blob/8466384db1154a107b86bf3ca10b166a21bd81d0/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-shelby.dts

Is what I had first and thought were to long to pass, so I went with
this one for V2.

Thanks
Ralph

> 
> Or, say 'imported from
> 
>  https://github.com/openwrt/openwrt
> 
> commit 8466384db115 "mvebu: add support for 4.1 and switch over"'
> 
> or something similar?
> 
> Other than that,
> 
> Acked-by: Jason Cooper <jason@lakedaemon.net>
> 
> thx,
> 
> Jason.

[toc] | [prev] | [next] | [standalone]


#1589864

FromRob Herring <robh+dt@kernel.org>
Date2017-03-01 00:30 +0100
Message-ID<tfZns-2Gn-5@gated-at.bofh.it>
In reply to#1580407
On Tue, Feb 14, 2017 at 2:59 AM, Ralph Sennhauser
<ralph.sennhauser@gmail.com> wrote:
> The Linksys WRT1900ACS (Shelby) is another Armada 385 based router in
> the Linksys WRT AC Series which got released in October 2015.
>
> The file armada-385-linksys-shelby.dts is taken from OpenWrt as-is and
> originally authored by Imre Kaloz.
>
> URL: http://tinyurl.com/j8lz83a
> CC: Imre Kaloz <kaloz@openwrt.org>
> Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
> ---
>  arch/arm/boot/dts/Makefile                      |   1 +
>  arch/arm/boot/dts/armada-385-linksys-shelby.dts | 114 ++++++++++++++++++++++++
>  2 files changed, 115 insertions(+)
>  create mode 100644 arch/arm/boot/dts/armada-385-linksys-shelby.dts
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 0118084..16f1748 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -970,6 +970,7 @@ dtb-$(CONFIG_MACH_ARMADA_38X) += \
>         armada-385-db-ap.dtb \
>         armada-385-linksys-caiman.dtb \
>         armada-385-linksys-cobra.dtb \
> +       armada-385-linksys-shelby.dtb \
>         armada-385-turris-omnia.dtb \
>         armada-388-clearfog.dtb \
>         armada-388-clearfog-base.dtb \
> diff --git a/arch/arm/boot/dts/armada-385-linksys-shelby.dts b/arch/arm/boot/dts/armada-385-linksys-shelby.dts
> new file mode 100644
> index 0000000..c7a8ddd
> --- /dev/null
> +++ b/arch/arm/boot/dts/armada-385-linksys-shelby.dts
> @@ -0,0 +1,114 @@
> +/*
> + * Device Tree file for the Linksys WRT1900ACS (Shelby)
> + *
> + * Copyright (C) 2015 Imre Kaloz <kaloz@openwrt.org>
> + *
> + *
> + * This file is dual-licensed: you can use it either under the terms
> + * of the GPL or the X11 license, at your option. Note that this dual
> + * licensing only applies to this file, and not this project as a
> + * whole.
> + *
> + *  a) This file is licensed under the terms of the GNU General Public
> + *     License version 2.  This program is licensed "as is" without
> + *     any warranty of any kind, whether express or implied.
> + *
> + * Or, alternatively,
> + *
> + *  b) Permission is hereby granted, free of charge, to any person
> + *     obtaining a copy of this software and associated documentation
> + *     files (the "Software"), to deal in the Software without
> + *     restriction, including without limitation the rights to use,
> + *     copy, modify, merge, publish, distribute, sublicense, and/or
> + *     sell copies of the Software, and to permit persons to whom the
> + *     Software is furnished to do so, subject to the following
> + *     conditions:
> + *
> + *     The above copyright notice and this permission notice shall be
> + *     included in all copies or substantial portions of the Software.
> + *
> + *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> + *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> + *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> + *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> + *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> + *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> + *     OTHER DEALINGS IN THE SOFTWARE.

Use SPDX tags here:

SPDX-License-Identifier: (GPL-2.0 OR MIT)

While it says X11, this is really MIT license text.

[toc] | [prev] | [next] | [standalone]


#1589868 — Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

FromRussell King - ARM Linux <linux@armlinux.org.uk>
Date2017-03-01 00:30 +0100
SubjectRe: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)
Message-ID<tfZnt-2Gn-39@gated-at.bofh.it>
In reply to#1589864
On Tue, Feb 28, 2017 at 05:08:15PM -0600, Rob Herring wrote:
> On Tue, Feb 14, 2017 at 2:59 AM, Ralph Sennhauser
> <ralph.sennhauser@gmail.com> wrote:
> > The Linksys WRT1900ACS (Shelby) is another Armada 385 based router in
> > the Linksys WRT AC Series which got released in October 2015.
> >
> > The file armada-385-linksys-shelby.dts is taken from OpenWrt as-is and
> > originally authored by Imre Kaloz.
> >
> > URL: http://tinyurl.com/j8lz83a
> > CC: Imre Kaloz <kaloz@openwrt.org>
> > Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
> > ---
> >  arch/arm/boot/dts/Makefile                      |   1 +
> >  arch/arm/boot/dts/armada-385-linksys-shelby.dts | 114 ++++++++++++++++++++++++
> >  2 files changed, 115 insertions(+)
> >  create mode 100644 arch/arm/boot/dts/armada-385-linksys-shelby.dts
> >
> > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> > index 0118084..16f1748 100644
> > --- a/arch/arm/boot/dts/Makefile
> > +++ b/arch/arm/boot/dts/Makefile
> > @@ -970,6 +970,7 @@ dtb-$(CONFIG_MACH_ARMADA_38X) += \
> >         armada-385-db-ap.dtb \
> >         armada-385-linksys-caiman.dtb \
> >         armada-385-linksys-cobra.dtb \
> > +       armada-385-linksys-shelby.dtb \
> >         armada-385-turris-omnia.dtb \
> >         armada-388-clearfog.dtb \
> >         armada-388-clearfog-base.dtb \
> > diff --git a/arch/arm/boot/dts/armada-385-linksys-shelby.dts b/arch/arm/boot/dts/armada-385-linksys-shelby.dts
> > new file mode 100644
> > index 0000000..c7a8ddd
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/armada-385-linksys-shelby.dts
> > @@ -0,0 +1,114 @@
> > +/*
> > + * Device Tree file for the Linksys WRT1900ACS (Shelby)
> > + *
> > + * Copyright (C) 2015 Imre Kaloz <kaloz@openwrt.org>
> > + *
> > + *
> > + * This file is dual-licensed: you can use it either under the terms
> > + * of the GPL or the X11 license, at your option. Note that this dual
> > + * licensing only applies to this file, and not this project as a
> > + * whole.
> > + *
> > + *  a) This file is licensed under the terms of the GNU General Public
> > + *     License version 2.  This program is licensed "as is" without
> > + *     any warranty of any kind, whether express or implied.
> > + *
> > + * Or, alternatively,
> > + *
> > + *  b) Permission is hereby granted, free of charge, to any person
> > + *     obtaining a copy of this software and associated documentation
> > + *     files (the "Software"), to deal in the Software without
> > + *     restriction, including without limitation the rights to use,
> > + *     copy, modify, merge, publish, distribute, sublicense, and/or
> > + *     sell copies of the Software, and to permit persons to whom the
> > + *     Software is furnished to do so, subject to the following
> > + *     conditions:
> > + *
> > + *     The above copyright notice and this permission notice shall be
> > + *     included in all copies or substantial portions of the Software.
> > + *
> > + *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> > + *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> > + *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> > + *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> > + *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> > + *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> > + *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> > + *     OTHER DEALINGS IN THE SOFTWARE.
> 
> Use SPDX tags here:
> 
> SPDX-License-Identifier: (GPL-2.0 OR MIT)
> 
> While it says X11, this is really MIT license text.

No.  As per my previous mail.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web