* [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 @ 2017-02-23 10:40 Rafał Miłecki 2017-02-23 12:27 ` Imre Kaloz [not found] ` <20170223104025.5755-1-zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 2 replies; 17+ messages in thread From: Rafał Miłecki @ 2017-02-23 10:40 UTC (permalink / raw) To: Florian Fainelli, Hauke Mehrtens Cc: Mark Rutland, devicetree, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel From: Rafał Miłecki <rafal@milecki.pl> It's tri-band wireless home router based on BCM47094 AKA BCM4709C0. It uses 3 x BCM4366 chipsets for wireless. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm47094-linksys-ea9500.dts | 36 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 arch/arm/boot/dts/bcm47094-linksys-ea9500.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 52a05289c538..931db0b41246 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -93,6 +93,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm4709-netgear-r8000.dtb \ bcm4709-tplink-archer-c9-v1.dtb \ bcm47094-dlink-dir-885l.dtb \ + bcm47094-linksys-ea9500.dtb \ bcm47094-luxul-xwr-3100.dtb \ bcm47094-netgear-r8500.dtb \ bcm94708.dtb \ diff --git a/arch/arm/boot/dts/bcm47094-linksys-ea9500.dts b/arch/arm/boot/dts/bcm47094-linksys-ea9500.dts new file mode 100644 index 000000000000..31639e5b8c72 --- /dev/null +++ b/arch/arm/boot/dts/bcm47094-linksys-ea9500.dts @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl> + * + * Licensed under the ISC license. + */ + +/dts-v1/; + +#include "bcm47094.dtsi" +#include "bcm5301x-nand-cs0-bch8.dtsi" + +/ { + compatible = "linksys,ea9500", "brcm,bcm47094", "brcm,bcm4708"; + model = "Linksys EA9500"; + + chosen { + bootargs = "console=ttyS0,115200"; + }; + + memory { + reg = <0x00000000 0x08000000 + 0x88000000 0x08000000>; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + wps { + label = "WPS"; + linux,code = <KEY_WPS_BUTTON>; + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; + }; + }; +}; -- 2.11.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 2017-02-23 10:40 [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 Rafał Miłecki @ 2017-02-23 12:27 ` Imre Kaloz [not found] ` <bd36df47-cefe-5736-e02c-621a21ae1b7a-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> [not found] ` <20170223104025.5755-1-zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 1 sibling, 1 reply; 17+ messages in thread From: Imre Kaloz @ 2017-02-23 12:27 UTC (permalink / raw) To: Rafał Miłecki, Florian Fainelli, Hauke Mehrtens Cc: Mark Rutland, devicetree, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel Hi Rafal, As discussed for other platforms as well, please use the board's name as the same board can end up being sold under multiple model numbers. So please rename the file to bcm47094-linksys-panamera.dts Best, Imre On 2017-02-23 11:40, Rafał Miłecki wrote: > From: Rafał Miłecki <rafal@milecki.pl> > > It's tri-band wireless home router based on BCM47094 AKA BCM4709C0. It > uses 3 x BCM4366 chipsets for wireless. > > Signed-off-by: Rafał Miłecki <rafal@milecki.pl> > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/bcm47094-linksys-ea9500.dts | 36 +++++++++++++++++++++++++++ > 2 files changed, 37 insertions(+) > create mode 100644 arch/arm/boot/dts/bcm47094-linksys-ea9500.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 52a05289c538..931db0b41246 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -93,6 +93,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ > bcm4709-netgear-r8000.dtb \ > bcm4709-tplink-archer-c9-v1.dtb \ > bcm47094-dlink-dir-885l.dtb \ > + bcm47094-linksys-ea9500.dtb \ > bcm47094-luxul-xwr-3100.dtb \ > bcm47094-netgear-r8500.dtb \ > bcm94708.dtb \ > diff --git a/arch/arm/boot/dts/bcm47094-linksys-ea9500.dts b/arch/arm/boot/dts/bcm47094-linksys-ea9500.dts > new file mode 100644 > index 000000000000..31639e5b8c72 > --- /dev/null > +++ b/arch/arm/boot/dts/bcm47094-linksys-ea9500.dts > @@ -0,0 +1,36 @@ > +/* > + * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl> > + * > + * Licensed under the ISC license. > + */ > + > +/dts-v1/; > + > +#include "bcm47094.dtsi" > +#include "bcm5301x-nand-cs0-bch8.dtsi" > + > +/ { > + compatible = "linksys,ea9500", "brcm,bcm47094", "brcm,bcm4708"; > + model = "Linksys EA9500"; > + > + chosen { > + bootargs = "console=ttyS0,115200"; > + }; > + > + memory { > + reg = <0x00000000 0x08000000 > + 0x88000000 0x08000000>; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + wps { > + label = "WPS"; > + linux,code = <KEY_WPS_BUTTON>; > + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; > + }; > + }; > +}; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <bd36df47-cefe-5736-e02c-621a21ae1b7a-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>]
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 [not found] ` <bd36df47-cefe-5736-e02c-621a21ae1b7a-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> @ 2017-02-23 12:29 ` Rafał Miłecki 2017-02-23 12:44 ` Imre Kaloz 0 siblings, 1 reply; 17+ messages in thread From: Rafał Miłecki @ 2017-02-23 12:29 UTC (permalink / raw) To: Imre Kaloz Cc: Florian Fainelli, Hauke Mehrtens, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On 23 February 2017 at 13:27, Imre Kaloz <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> wrote: > As discussed for other platforms as well, please use the board's name as the > same board can end up being sold under multiple model numbers. > > So please rename the file to bcm47094-linksys-panamera.dts Huh? Where did you get panamera name from?! -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 2017-02-23 12:29 ` Rafał Miłecki @ 2017-02-23 12:44 ` Imre Kaloz 2017-02-23 12:51 ` Rafał Miłecki [not found] ` <5c57772b-71fd-d9e2-efe6-1175cf048e0b-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> 0 siblings, 2 replies; 17+ messages in thread From: Imre Kaloz @ 2017-02-23 12:44 UTC (permalink / raw) To: Rafał Miłecki Cc: Mark Rutland, devicetree@vger.kernel.org, Florian Fainelli, Hauke Mehrtens, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel@lists.infradead.org Dear Rafal, On 2017-02-23 13:29, Rafał Miłecki wrote: > On 23 February 2017 at 13:27, Imre Kaloz <kaloz@openwrt.org> wrote: >> As discussed for other platforms as well, please use the board's name as the >> same board can end up being sold under multiple model numbers. >> >> So please rename the file to bcm47094-linksys-panamera.dts > Huh? Where did you get panamera name from?! Your manners shine on these dark days of winter. For about a decade now, http://192.168.1.1/sysinfo.cgi will show you quite a bit of information if you are too lazy to look into the GPL tarball or at the original bootlogs. Best, Imre _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 2017-02-23 12:44 ` Imre Kaloz @ 2017-02-23 12:51 ` Rafał Miłecki [not found] ` <CACna6rzeuy+-0cQCUCrXYBnLv-twrzVvd65L6LANPPejarWAWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> [not found] ` <5c57772b-71fd-d9e2-efe6-1175cf048e0b-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> 1 sibling, 1 reply; 17+ messages in thread From: Rafał Miłecki @ 2017-02-23 12:51 UTC (permalink / raw) To: Imre Kaloz Cc: Mark Rutland, devicetree@vger.kernel.org, Florian Fainelli, Hauke Mehrtens, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel@lists.infradead.org On 23 February 2017 at 13:44, Imre Kaloz <kaloz@openwrt.org> wrote: > On 2017-02-23 13:29, Rafał Miłecki wrote: >> >> On 23 February 2017 at 13:27, Imre Kaloz <kaloz@openwrt.org> wrote: >>> >>> As discussed for other platforms as well, please use the board's name as >>> the >>> same board can end up being sold under multiple model numbers. >>> >>> So please rename the file to bcm47094-linksys-panamera.dts >> >> Huh? Where did you get panamera name from?! > > Your manners shine on these dark days of winter. For about a decade now, > http://192.168.1.1/sysinfo.cgi will show you quite a bit of information if > you are too lazy to look into the GPL tarball or at the original bootlogs. Sadly Linksys doesn't sponsor me or provide me any hardware. The bootlogs I found: https://www.snbforums.com/threads/ea9500-serial-console-to-cfe.35228/ http://www.dd-wrt.com/phpBB2/viewtopic.php?t=288470&start=30 didn't include board name. As you probably can guess http://192.168.1.1/ was useful in my case as well. -- Rafał _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <CACna6rzeuy+-0cQCUCrXYBnLv-twrzVvd65L6LANPPejarWAWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 [not found] ` <CACna6rzeuy+-0cQCUCrXYBnLv-twrzVvd65L6LANPPejarWAWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2017-02-23 12:57 ` Rafał Miłecki 2017-02-23 12:59 ` Imre Kaloz 1 sibling, 0 replies; 17+ messages in thread From: Rafał Miłecki @ 2017-02-23 12:57 UTC (permalink / raw) To: Imre Kaloz Cc: Florian Fainelli, Hauke Mehrtens, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On 23 February 2017 at 13:51, Rafał Miłecki <zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > On 23 February 2017 at 13:44, Imre Kaloz <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> wrote: >> On 2017-02-23 13:29, Rafał Miłecki wrote: >>> >>> On 23 February 2017 at 13:27, Imre Kaloz <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> wrote: >>>> >>>> As discussed for other platforms as well, please use the board's name as >>>> the >>>> same board can end up being sold under multiple model numbers. >>>> >>>> So please rename the file to bcm47094-linksys-panamera.dts >>> >>> Huh? Where did you get panamera name from?! >> >> Your manners shine on these dark days of winter. For about a decade now, >> http://192.168.1.1/sysinfo.cgi will show you quite a bit of information if >> you are too lazy to look into the GPL tarball or at the original bootlogs. > > Sadly Linksys doesn't sponsor me or provide me any hardware. The > bootlogs I found: > https://www.snbforums.com/threads/ea9500-serial-console-to-cfe.35228/ > http://www.dd-wrt.com/phpBB2/viewtopic.php?t=288470&start=30 > didn't include board name. As you probably can guess > http://192.168.1.1/ was useful in my case as well. Or rather "useless" ;) -- Rafał -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 [not found] ` <CACna6rzeuy+-0cQCUCrXYBnLv-twrzVvd65L6LANPPejarWAWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2017-02-23 12:57 ` Rafał Miłecki @ 2017-02-23 12:59 ` Imre Kaloz 2017-02-23 13:03 ` Rafał Miłecki 1 sibling, 1 reply; 17+ messages in thread From: Imre Kaloz @ 2017-02-23 12:59 UTC (permalink / raw) To: Rafał Miłecki Cc: Florian Fainelli, Hauke Mehrtens, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Dear Rafal, On 2017-02-23 13:51, Rafał Miłecki wrote: > On 23 February 2017 at 13:44, Imre Kaloz <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> wrote: >> On 2017-02-23 13:29, Rafał Miłecki wrote: >>> On 23 February 2017 at 13:27, Imre Kaloz <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> wrote: >>>> As discussed for other platforms as well, please use the board's name as >>>> the >>>> same board can end up being sold under multiple model numbers. >>>> >>>> So please rename the file to bcm47094-linksys-panamera.dts >>> Huh? Where did you get panamera name from?! >> Your manners shine on these dark days of winter. For about a decade now, >> http://192.168.1.1/sysinfo.cgi will show you quite a bit of information if >> you are too lazy to look into the GPL tarball or at the original bootlogs. > Sadly Linksys doesn't sponsor me or provide me any hardware. The > bootlogs I found: > https://www.snbforums.com/threads/ea9500-serial-console-to-cfe.35228/ > http://www.dd-wrt.com/phpBB2/viewtopic.php?t=288470&start=30 > didn't include board name. As you probably can guess > http://192.168.1.1/ was useful in my case as well. > I've guessed you have the hardware - so you're submitting dts files without testing it? I know they don't do much, but still, this is an interesting concept. Anyways, if you are just adding support for hardware blindly, the dd-wrt forum you've mentioned has other posts that might help you [1]. Best, Imre [1] http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1062050 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 2017-02-23 12:59 ` Imre Kaloz @ 2017-02-23 13:03 ` Rafał Miłecki 0 siblings, 0 replies; 17+ messages in thread From: Rafał Miłecki @ 2017-02-23 13:03 UTC (permalink / raw) To: Imre Kaloz Cc: Mark Rutland, devicetree@vger.kernel.org, Florian Fainelli, Hauke Mehrtens, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel@lists.infradead.org On 23 February 2017 at 13:59, Imre Kaloz <kaloz@openwrt.org> wrote: > On 2017-02-23 13:51, Rafał Miłecki wrote: >> >> On 23 February 2017 at 13:44, Imre Kaloz <kaloz@openwrt.org> wrote: >>> >>> On 2017-02-23 13:29, Rafał Miłecki wrote: >>>> >>>> On 23 February 2017 at 13:27, Imre Kaloz <kaloz@openwrt.org> wrote: >>>>> >>>>> As discussed for other platforms as well, please use the board's name >>>>> as >>>>> the >>>>> same board can end up being sold under multiple model numbers. >>>>> >>>>> So please rename the file to bcm47094-linksys-panamera.dts >>>> >>>> Huh? Where did you get panamera name from?! >>> >>> Your manners shine on these dark days of winter. For about a decade now, >>> http://192.168.1.1/sysinfo.cgi will show you quite a bit of information >>> if >>> you are too lazy to look into the GPL tarball or at the original >>> bootlogs. >> >> Sadly Linksys doesn't sponsor me or provide me any hardware. The >> bootlogs I found: >> https://www.snbforums.com/threads/ea9500-serial-console-to-cfe.35228/ >> http://www.dd-wrt.com/phpBB2/viewtopic.php?t=288470&start=30 >> didn't include board name. As you probably can guess >> http://192.168.1.1/ was useful in my case as well. >> > > I've guessed you have the hardware - so you're submitting dts files without > testing it? I know they don't do much, but still, this is an interesting > concept. I'm sending what was tested by EA9500 user: https://forum.lede-project.org/t/lede-tested-on-linksys-ea9500/1612 I'm planning to add better support for this device, but it requires extra testing which may take some time. So I just started with what I can provide so far. -- Rafał _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <5c57772b-71fd-d9e2-efe6-1175cf048e0b-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>]
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 [not found] ` <5c57772b-71fd-d9e2-efe6-1175cf048e0b-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> @ 2017-02-24 6:02 ` Rafał Miłecki [not found] ` <CACna6ryFQHGN6xYiLcp9-v7f+55-4hoq+6kXCjiT6LJOS70sQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 17+ messages in thread From: Rafał Miłecki @ 2017-02-24 6:02 UTC (permalink / raw) To: Imre Kaloz Cc: Florian Fainelli, Hauke Mehrtens, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On 23 February 2017 at 13:44, Imre Kaloz <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> wrote: > On 2017-02-23 13:29, Rafał Miłecki wrote: >> >> On 23 February 2017 at 13:27, Imre Kaloz <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> wrote: >>> >>> As discussed for other platforms as well, please use the board's name as >>> the >>> same board can end up being sold under multiple model numbers. >>> >>> So please rename the file to bcm47094-linksys-panamera.dts >> >> Huh? Where did you get panamera name from?! > > Your manners shine on these dark days of winter. For about a decade now, > http://192.168.1.1/sysinfo.cgi will show you quite a bit of information if > you are too lazy to look into the GPL tarball or at the original bootlogs. Today I decided to do my homework & check GPL sources of EA9500 fw. I grepped them for panamera and I found this name in few files: ./checkpatches ./src/mod_bdutil/platform/brcm/usbhub.h ./src/mod_bdutil/platform/brcm/buttons.h ./src/mod_bdutil/platform/brcm/usbhub.c ./src/mod_bdutil/platform/brcm/leds_panamera.c ./src/mod_bdutil/platform/brcm/leds.c ./src/mod_bdutil/bdutil.h.panamera ./src/mod_bdutil/Makefile.panamera Unfortunately all these results aren't very clear for getting board name of EA9500. I checked them and panamera is only one of listed boards there. E.g. checkpatches contains following lines: # patched by BRCM for Panamera # patched by BRCM for F70 # patched by BRCM for Pinnacles # patched by BRCM for EA9200 So EA9500 board name could be any of above. Similarly there are following Makefiles in EA9500 GPL package: Makefile.audi Makefile.bentley Makefile.blk-mamba Makefile.carrera Makefile.esprit Makefile.f70 Makefile.focus Makefile.honda Makefile.impala Makefile.lemans Makefile.mamba Makefile.panamera Makefile.pub Makefile.r8 Makefile.spyder Makefile.taurus Makefile.viper Makefile.viperuivm Makefile.wraith So again, any of these name could be EA9500 board name. Will you be so generous to tell us how did you get EA9500 board name by just looking at GPL sources? -- Rafał -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <CACna6ryFQHGN6xYiLcp9-v7f+55-4hoq+6kXCjiT6LJOS70sQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 [not found] ` <CACna6ryFQHGN6xYiLcp9-v7f+55-4hoq+6kXCjiT6LJOS70sQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2017-02-24 6:10 ` Rafał Miłecki 2017-02-25 22:43 ` Imre Kaloz 0 siblings, 1 reply; 17+ messages in thread From: Rafał Miłecki @ 2017-02-24 6:10 UTC (permalink / raw) To: Imre Kaloz Cc: Florian Fainelli, Hauke Mehrtens, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On 24 February 2017 at 07:02, Rafał Miłecki <zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > On 23 February 2017 at 13:44, Imre Kaloz <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> wrote: >> On 2017-02-23 13:29, Rafał Miłecki wrote: >>> >>> On 23 February 2017 at 13:27, Imre Kaloz <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> wrote: >>>> >>>> As discussed for other platforms as well, please use the board's name as >>>> the >>>> same board can end up being sold under multiple model numbers. >>>> >>>> So please rename the file to bcm47094-linksys-panamera.dts >>> >>> Huh? Where did you get panamera name from?! >> >> Your manners shine on these dark days of winter. For about a decade now, >> http://192.168.1.1/sysinfo.cgi will show you quite a bit of information if >> you are too lazy to look into the GPL tarball or at the original bootlogs. > > Today I decided to do my homework & check GPL sources of EA9500 fw. > > (...) > > Will you be so generous to tell us how did you get EA9500 board name > by just looking at GPL sources? I also tried find with -name "*panamera*". One way of guessing board name seems to be checking names of patches in ./src/linux/patches/. Any other, more reliable method? -- Rafał -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 2017-02-24 6:10 ` Rafał Miłecki @ 2017-02-25 22:43 ` Imre Kaloz [not found] ` <9a2d6751-d7c3-458f-d717-2abe492e226d-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> 0 siblings, 1 reply; 17+ messages in thread From: Imre Kaloz @ 2017-02-25 22:43 UTC (permalink / raw) To: Rafał Miłecki Cc: Mark Rutland, devicetree@vger.kernel.org, Florian Fainelli, Hauke Mehrtens, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel@lists.infradead.org Dear Rafal, On 2017-02-24 07:10, Rafał Miłecki wrote: >>> Your manners shine on these dark days of winter. For about a decade now, >>> http://192.168.1.1/sysinfo.cgi will show you quite a bit of information if >>> you are too lazy to look into the GPL tarball or at the original bootlogs. >> Today I decided to do my homework & check GPL sources of EA9500 fw. >> >> (...) >> >> Will you be so generous to tell us how did you get EA9500 board name >> by just looking at GPL sources? > I also tried find with -name "*panamera*". One way of guessing board > name seems to be checking names of patches in ./src/linux/patches/. > Any other, more reliable method? > First of all, it's really weird you never ever looked at the factory bootlogs, but let me help in hope to enhance your communication style: filenames: src/linux/patches/linux-2.6.36.4-panamera_000_BSP.patch src/linux/patches/linux-2.6.36.4-panamera_001_brcm_build.patch src/linux/patches/linux-2.6.36.4-panamera_002_brcm_build_flags_temp_fix.patch src/linux/patches/linux-2.6.36.4-panamera_003_ctf_bypass.patch src/linux/patches/linux-2.6.36.4-panamera_006_cisco_comment.patch src/linux/patches/linux-2.6.36.4-panamera_007_usb_remove_oops.patch src/linux/patches/linux-2.6.36.4-panamera_008_6rd_sit_fragment.patch src/linux/patches/linux-2.6.36.4-panamera_009_cisco_rtsp_conntrack.patch src/linux/patches/linux-2.6.36.4-panamera_010_cisco_rtsp_conntrack2.patch src/linux/patches/linux-2.6.36.4-panamera_014_ftp_pasv_command.patch src/linux/patches/linux-2.6.36.4-panamera_046_sip_alg.patch src/linux/patches/linux-2.6.36.4-panamera_047_add_usb_led.patch src/linux/patches/linux-2.6.36.4-panamera_050_PPTP_L2TP_ctf.patch src/linux/patches/linux-2.6.36.4-panamera_052_cfe_pass_led_to_blink.patch src/linux/patches/linux-2.6.36.4-panamera_201_brcm_patch_20160226.patch file contents: src/mod_bdutil/platform/brcm/.board_id.o.cmd src/mod_bdutil/platform/brcm/.buttons.o.cmd src/mod_bdutil/platform/brcm/.leds_panamera.o.cmd src/mod_bdutil/platform/brcm/.usbhub.o.cmd If you have further questions, feel free to mail me directly and keep off-topic discussion away from the lists. Thank you and have a nice weekend, Imre _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <9a2d6751-d7c3-458f-d717-2abe492e226d-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>]
* Re: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 [not found] ` <9a2d6751-d7c3-458f-d717-2abe492e226d-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> @ 2017-02-25 23:06 ` Rafał Miłecki 0 siblings, 0 replies; 17+ messages in thread From: Rafał Miłecki @ 2017-02-25 23:06 UTC (permalink / raw) To: Imre Kaloz Cc: Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Florian Fainelli, Hauke Mehrtens, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On 25 February 2017 at 23:43, Imre Kaloz <kaloz-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> wrote: > On 2017-02-24 07:10, Rafał Miłecki wrote: >>>> >>>> Your manners shine on these dark days of winter. For about a decade now, >>>> http://192.168.1.1/sysinfo.cgi will show you quite a bit of information >>>> if >>>> you are too lazy to look into the GPL tarball or at the original >>>> bootlogs. >>> >>> Today I decided to do my homework & check GPL sources of EA9500 fw. >>> >>> (...) >>> >>> Will you be so generous to tell us how did you get EA9500 board name >>> by just looking at GPL sources? >> >> I also tried find with -name "*panamera*". One way of guessing board >> name seems to be checking names of patches in ./src/linux/patches/. >> Any other, more reliable method? >> > > First of all, it's really weird you never ever looked at the factory > bootlogs, but let me help in hope to enhance your communication style: > > filenames: > > src/linux/patches/linux-2.6.36.4-panamera_000_BSP.patch > src/linux/patches/linux-2.6.36.4-panamera_001_brcm_build.patch > src/linux/patches/linux-2.6.36.4-panamera_002_brcm_build_flags_temp_fix.patch > src/linux/patches/linux-2.6.36.4-panamera_003_ctf_bypass.patch > src/linux/patches/linux-2.6.36.4-panamera_006_cisco_comment.patch > src/linux/patches/linux-2.6.36.4-panamera_007_usb_remove_oops.patch > src/linux/patches/linux-2.6.36.4-panamera_008_6rd_sit_fragment.patch > src/linux/patches/linux-2.6.36.4-panamera_009_cisco_rtsp_conntrack.patch > src/linux/patches/linux-2.6.36.4-panamera_010_cisco_rtsp_conntrack2.patch > src/linux/patches/linux-2.6.36.4-panamera_014_ftp_pasv_command.patch > src/linux/patches/linux-2.6.36.4-panamera_046_sip_alg.patch > src/linux/patches/linux-2.6.36.4-panamera_047_add_usb_led.patch > src/linux/patches/linux-2.6.36.4-panamera_050_PPTP_L2TP_ctf.patch > src/linux/patches/linux-2.6.36.4-panamera_052_cfe_pass_led_to_blink.patch > src/linux/patches/linux-2.6.36.4-panamera_201_brcm_patch_20160226.patch > > file contents: > > src/mod_bdutil/platform/brcm/.board_id.o.cmd > src/mod_bdutil/platform/brcm/.buttons.o.cmd > src/mod_bdutil/platform/brcm/.leds_panamera.o.cmd > src/mod_bdutil/platform/brcm/.usbhub.o.cmd > > > If you have further questions, feel free to mail me directly and keep > off-topic discussion away from the lists. Thanks -- Rafał -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <20170223104025.5755-1-zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* [PATCH V2] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 [not found] ` <20170223104025.5755-1-zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2017-02-23 12:56 ` Rafał Miłecki 2017-02-23 13:03 ` Imre Kaloz 2017-02-23 13:06 ` [PATCH V3] " Rafał Miłecki 0 siblings, 2 replies; 17+ messages in thread From: Rafał Miłecki @ 2017-02-23 12:56 UTC (permalink / raw) To: Florian Fainelli, Hauke Mehrtens Cc: Rob Herring, Mark Rutland, Russell King, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w, devicetree-u79uwXL29TY76Z2rM5mHXA, Rafał Miłecki From: Rafał Miłecki <rafal-g1n6cQUeyibVItvQsEIGlw@public.gmane.org> It's tri-band wireless home router based on BCM47094 AKA BCM4709C0. It uses 3 x BCM4366 chipsets for wireless. Panamera seems to be board name used by Linksys. Signed-off-by: Rafał Miłecki <rafal-g1n6cQUeyibVItvQsEIGlw@public.gmane.org> --- V2: Use panamera board name --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 36 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 arch/arm/boot/dts/bcm47094-linksys-panamera.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 52a05289c538..2feabbe16d53 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -93,6 +93,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm4709-netgear-r8000.dtb \ bcm4709-tplink-archer-c9-v1.dtb \ bcm47094-dlink-dir-885l.dtb \ + bcm47094-linksys-panamera.dtb \ bcm47094-luxul-xwr-3100.dtb \ bcm47094-netgear-r8500.dtb \ bcm94708.dtb \ diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts new file mode 100644 index 000000000000..31639e5b8c72 --- /dev/null +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2017 Rafał Miłecki <rafal-g1n6cQUeyibVItvQsEIGlw@public.gmane.org> + * + * Licensed under the ISC license. + */ + +/dts-v1/; + +#include "bcm47094.dtsi" +#include "bcm5301x-nand-cs0-bch8.dtsi" + +/ { + compatible = "linksys,ea9500", "brcm,bcm47094", "brcm,bcm4708"; + model = "Linksys EA9500"; + + chosen { + bootargs = "console=ttyS0,115200"; + }; + + memory { + reg = <0x00000000 0x08000000 + 0x88000000 0x08000000>; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + wps { + label = "WPS"; + linux,code = <KEY_WPS_BUTTON>; + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; + }; + }; +}; -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH V2] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 2017-02-23 12:56 ` [PATCH V2] " Rafał Miłecki @ 2017-02-23 13:03 ` Imre Kaloz 2017-02-23 13:05 ` Rafał Miłecki 2017-02-23 13:06 ` [PATCH V3] " Rafał Miłecki 1 sibling, 1 reply; 17+ messages in thread From: Imre Kaloz @ 2017-02-23 13:03 UTC (permalink / raw) To: Rafał Miłecki, Florian Fainelli, Hauke Mehrtens Cc: Mark Rutland, devicetree, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel Dear Rafal, On 2017-02-23 13:56, Rafał Miłecki wrote: > From: Rafał Miłecki <rafal@milecki.pl> > > It's tri-band wireless home router based on BCM47094 AKA BCM4709C0. It > uses 3 x BCM4366 chipsets for wireless. > Panamera seems to be board name used by Linksys. > > Signed-off-by: Rafał Miłecki <rafal@milecki.pl> > --- > V2: Use panamera board name My bad, forgot to mention that you should also use "linksys,panamera" as a compatibility name as well. "model" should stay as-is of course. Best, Imre _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH V2] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 2017-02-23 13:03 ` Imre Kaloz @ 2017-02-23 13:05 ` Rafał Miłecki 0 siblings, 0 replies; 17+ messages in thread From: Rafał Miłecki @ 2017-02-23 13:05 UTC (permalink / raw) To: Imre Kaloz Cc: Mark Rutland, devicetree@vger.kernel.org, Florian Fainelli, Hauke Mehrtens, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel@lists.infradead.org On 23 February 2017 at 14:03, Imre Kaloz <kaloz@openwrt.org> wrote: > On 2017-02-23 13:56, Rafał Miłecki wrote: >> >> From: Rafał Miłecki <rafal@milecki.pl> >> >> It's tri-band wireless home router based on BCM47094 AKA BCM4709C0. It >> uses 3 x BCM4366 chipsets for wireless. >> Panamera seems to be board name used by Linksys. >> >> Signed-off-by: Rafał Miłecki <rafal@milecki.pl> >> --- >> V2: Use panamera board name > > > My bad, forgot to mention that you should also use "linksys,panamera" as a > compatibility name as well. "model" should stay as-is of course. Oops, I missed that. You're correct obviously. -- Rafał _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH V3] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 2017-02-23 12:56 ` [PATCH V2] " Rafał Miłecki 2017-02-23 13:03 ` Imre Kaloz @ 2017-02-23 13:06 ` Rafał Miłecki 2017-02-28 20:26 ` Florian Fainelli 1 sibling, 1 reply; 17+ messages in thread From: Rafał Miłecki @ 2017-02-23 13:06 UTC (permalink / raw) To: Florian Fainelli, Hauke Mehrtens Cc: Mark Rutland, devicetree, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel From: Rafał Miłecki <rafal@milecki.pl> It's tri-band wireless home router based on BCM47094 AKA BCM4709C0. It uses 3 x BCM4366 chipsets for wireless. Panamera seems to be board name used by Linksys. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 36 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 arch/arm/boot/dts/bcm47094-linksys-panamera.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 52a05289c538..2feabbe16d53 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -93,6 +93,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm4709-netgear-r8000.dtb \ bcm4709-tplink-archer-c9-v1.dtb \ bcm47094-dlink-dir-885l.dtb \ + bcm47094-linksys-panamera.dtb \ bcm47094-luxul-xwr-3100.dtb \ bcm47094-netgear-r8500.dtb \ bcm94708.dtb \ diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts new file mode 100644 index 000000000000..b6750f70dffb --- /dev/null +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl> + * + * Licensed under the ISC license. + */ + +/dts-v1/; + +#include "bcm47094.dtsi" +#include "bcm5301x-nand-cs0-bch8.dtsi" + +/ { + compatible = "linksys,panamera", "brcm,bcm47094", "brcm,bcm4708"; + model = "Linksys EA9500"; + + chosen { + bootargs = "console=ttyS0,115200"; + }; + + memory { + reg = <0x00000000 0x08000000 + 0x88000000 0x08000000>; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + wps { + label = "WPS"; + linux,code = <KEY_WPS_BUTTON>; + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; + }; + }; +}; -- 2.11.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH V3] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 2017-02-23 13:06 ` [PATCH V3] " Rafał Miłecki @ 2017-02-28 20:26 ` Florian Fainelli 0 siblings, 0 replies; 17+ messages in thread From: Florian Fainelli @ 2017-02-28 20:26 UTC (permalink / raw) To: Rafał Miłecki, Florian Fainelli, Hauke Mehrtens Cc: Mark Rutland, devicetree, Russell King, Rob Herring, bcm-kernel-feedback-list, Rafał Miłecki, linux-arm-kernel On 02/23/2017 05:06 AM, Rafał Miłecki wrote: > From: Rafał Miłecki <rafal@milecki.pl> > > It's tri-band wireless home router based on BCM47094 AKA BCM4709C0. It > uses 3 x BCM4366 chipsets for wireless. > Panamera seems to be board name used by Linksys. > > Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Applied, thanks! -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2017-02-28 20:26 UTC | newest] Thread overview: 17+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-02-23 10:40 [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500 Rafał Miłecki 2017-02-23 12:27 ` Imre Kaloz [not found] ` <bd36df47-cefe-5736-e02c-621a21ae1b7a-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> 2017-02-23 12:29 ` Rafał Miłecki 2017-02-23 12:44 ` Imre Kaloz 2017-02-23 12:51 ` Rafał Miłecki [not found] ` <CACna6rzeuy+-0cQCUCrXYBnLv-twrzVvd65L6LANPPejarWAWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2017-02-23 12:57 ` Rafał Miłecki 2017-02-23 12:59 ` Imre Kaloz 2017-02-23 13:03 ` Rafał Miłecki [not found] ` <5c57772b-71fd-d9e2-efe6-1175cf048e0b-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> 2017-02-24 6:02 ` Rafał Miłecki [not found] ` <CACna6ryFQHGN6xYiLcp9-v7f+55-4hoq+6kXCjiT6LJOS70sQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2017-02-24 6:10 ` Rafał Miłecki 2017-02-25 22:43 ` Imre Kaloz [not found] ` <9a2d6751-d7c3-458f-d717-2abe492e226d-p3rKhJxN3npAfugRpC6u6w@public.gmane.org> 2017-02-25 23:06 ` Rafał Miłecki [not found] ` <20170223104025.5755-1-zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2017-02-23 12:56 ` [PATCH V2] " Rafał Miłecki 2017-02-23 13:03 ` Imre Kaloz 2017-02-23 13:05 ` Rafał Miłecki 2017-02-23 13:06 ` [PATCH V3] " Rafał Miłecki 2017-02-28 20:26 ` Florian Fainelli
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).