Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp514377imu; Tue, 27 Nov 2018 16:24:11 -0800 (PST) X-Google-Smtp-Source: AFSGD/UlmM1rJ4pfkfIUawpAYI3eIXGN6+RRwP/XITpuULiy6WGlqZUtmov8RkkyxtpkU8J4H6S0 X-Received: by 2002:a63:295:: with SMTP id 143mr30143498pgc.362.1543364651603; Tue, 27 Nov 2018 16:24:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543364651; cv=none; d=google.com; s=arc-20160816; b=kCq6dXhj3kt+pEV56MlHf2fNdtukQfG4AYs9G9YhfzrWA3sQMZuYNpa9As6buMSltZ Bx9JnjUnQXNWITY9g/v/g7ni6YE6T0vxsCAE+F3/64/zb14W26kgWwKZgCb/1qvgKrUi dt6fzb+XEEqXOQ1dLgYCNAGZKLo8ZVInoEaolrLf181+3tuLcgui+A03GXJpOkACXjQm T6l0R0ek1z98ebZRuBT4pjgF852DPwj7abk7JkVfKDXxOVKN1ZPVdxy07HYXu6ER43IT ZNsocq1VyV3ctCrNLNMjqEopn1z0e644rUOqLHrFleBix2ip/U/iDV0lNA2vyXxiUn39 RD5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=zCl0sW2jllUlEa5rDc3pHsBk8khNAPA9X9gxFT+ZwEw=; b=DiTAtO0XdNuOWgohIjtUa4FlPiIybkupaM1dZhuWZ0vfGpX4CrXf4bliOREjHh3z4g TRg/wSAdcrfxsHP0di8VVH2kbyUJyQgwR3FS6F493NRdA/CA8pd/nIQhLZax4L4fq/3u B3C3UwjOQQD2C5vinW9cKwJ6l1DFxMia2O/hI2B0ns059vTcuX+1FlgRkjgGtddnsLbD Y968Ki0eomqyGRlE/+W1Xm4Llkbu/afjOv2spkAt3H3AhDcCldTgnoI6Jlo0qAWC9cgf FPTOQ0s8XR6qlTb4+pc8/rnPV93m0RMGrbt2ZW6GY/8I/PuOmqxE8vRnZjQ6yBz2D+G+ L8ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gY56e2Iu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j35si5226729pgl.223.2018.11.27.16.23.56; Tue, 27 Nov 2018 16:24:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gY56e2Iu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727079AbeK1LWv (ORCPT + 99 others); Wed, 28 Nov 2018 06:22:51 -0500 Received: from mail-yw1-f68.google.com ([209.85.161.68]:37227 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726557AbeK1LWv (ORCPT ); Wed, 28 Nov 2018 06:22:51 -0500 Received: by mail-yw1-f68.google.com with SMTP id h193so8745205ywc.4; Tue, 27 Nov 2018 16:23:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=zCl0sW2jllUlEa5rDc3pHsBk8khNAPA9X9gxFT+ZwEw=; b=gY56e2IuAqh9AY8H8Qnm7EL6Lk/KyjKy0D9FbONcFJPMJHY91yl6odkvFP1xNDnGfH pqyUVXI0sDawTCA4Xb7jCE2JVniI+f07v8pQa6/+z6S9eLZUDFfGu+i9Qcg4oHCyMQJE 5q4ooef7JPivOVw+6evlYJtvMA2F4cbzcWUaMQnPiM09CrpxOwHOGNzX8x9m5zi1jX+a F9RW8aMiF9gHXMvtNw6cxn0+7ImDMiQsa+o7MQHkLkpHPB4xBgR4efBVn2E4ivpw10M5 OnQBzxSmPEkJ05Nog6vy+mDG5JAejDLGQVtrwHsv9x7csjgAsl4GWF8qT/x+/tr7roLn fLgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=zCl0sW2jllUlEa5rDc3pHsBk8khNAPA9X9gxFT+ZwEw=; b=LJ7PMq0h9ja0s2aVe7AoOM74beMBYEGEg/716ykuwJ765x+lhx+2qhKkT9iYEn8ffk uEsAW/zOh2KRlNcvgKT7D/59+Rknr7RSmBKfmqUsOgxCXWcADQl5bYdKdlAizh+lW/nK diIhDwumkq6VRg1DXaR3IwA0mf36EbV/vMUdptAd8jnRTyiPv6Ef7OIJSygE9XpaMgc8 9LrgBuq5vn84CTBgMu/xW9TZW6FR3KbDzdNupnge4yx9S17UhuKPMp78pYm6+knxefdq s+3eHEM+ymCvrIP65ZwMBj07ktVS6IhaYFVsmFUc0wHvKRXdgXNPDIUjEUTQy11fLI9g fteA== X-Gm-Message-State: AGRZ1gKLnIkUmPtb1a44rVDR76apYavAsXnFCLAgaci4hrKGeCGThXHu biWLZ7W/rjYqjnXF47AIgxY= X-Received: by 2002:a81:4150:: with SMTP id f16-v6mr36591201ywk.287.1543364592705; Tue, 27 Nov 2018 16:23:12 -0800 (PST) Received: from [10.0.2.15] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id h75sm3085863ywa.50.2018.11.27.16.23.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 16:23:11 -0800 (PST) Subject: Re: Adding a Basic DT for the Linksys ea6500 v2 wireless home router To: =?UTF-8?Q?Ren=c3=a9_Kjellerup?= , Hauke Mehrtens Cc: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Rob Herring , Mark Rutland , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <86f391e5-9e38-c8b0-4753-4646c322c9bc@hauke-m.de> From: Florian Fainelli Message-ID: <5a6a30cf-1d93-7232-e607-3919b86bbdff@gmail.com> Date: Tue, 27 Nov 2018 16:23:08 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/26/18 4:49 PM, René Kjellerup wrote: > To the broadcom kernel maintainers, (for BCM4708 CPUs) > > I just want to add a little attention to this patch again... > let me know if there's any concerns and I will try to address highlighted issues > as soon as possible. > > I've been running the development builds of OpenWrt kernels, where > this patch has > been included, on my Linksys EA6500v2 router for the past months, > updating as new > builds are available. With only the on board BCM4360 chip (5GHz WiFi) is being > disabled, has so far been stable for my use case. (Please no top posting). Your submission did make it through patchwork and looks okay, I will run build tests and queue it up for 4.21 if everything looks good. Thanks. > > thank you for the consideration > Rene (aka Katana_Steel) > > On Mon, Oct 8, 2018 at 9:34 AM René Kjellerup wrote: >> >> Hi Hauke, >> >> Updated the file header per your suggestion. >> >> From e97c15ef78d2535c23f32ebbec43bced72b5eaf7 Mon Sep 17 00:00:00 2001 >> From: Rene Kjellerup >> Date: Mon, 1 Oct 2018 14:11:56 -0700 >> Subject: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA6500 V2 >> >> It's wireless home router based on BCM4708A0 with BCM4360 + BCM4331 >> wireless chipsets. The 5GHz chip currently isn't supported only due >> to missing compatible firmware. >> >> the DTS here was based on the Linksys EA6300 V1 DTS, only changing >> the model strings >> >> Signed-off-by: Rene Kjellerup >> --- >> arch/arm/boot/dts/Makefile | 1 + >> arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts | 47 +++++++++++++++++++++++++ >> 2 files changed, 48 insertions(+) >> create mode 100644 arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts >> >> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >> index b5bd3de87c33..adf8f28f5e44 100644 >> --- a/arch/arm/boot/dts/Makefile >> +++ b/arch/arm/boot/dts/Makefile >> @@ -88,6 +88,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ >> bcm4708-asus-rt-ac68u.dtb \ >> bcm4708-buffalo-wzr-1750dhp.dtb \ >> bcm4708-linksys-ea6300-v1.dtb \ >> + bcm4708-linksys-ea6500-v2.dtb \ >> bcm4708-luxul-xap-1510.dtb \ >> bcm4708-luxul-xwc-1000.dtb \ >> bcm4708-netgear-r6250.dtb \ >> diff --git a/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts >> b/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts >> new file mode 100644 >> index 000000000000..8a434d2a4b72 >> --- /dev/null >> +++ b/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts >> @@ -0,0 +1,47 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT >> +/* >> + * Copyright (C) 2017 Rafał Miłecki >> + * Copyright (C) 2018 Rene Kjellerup >> + * >> + * this DTS was originally based on bcm4708-linksys-ea6300-v1.dts >> + */ >> + >> +/dts-v1/; >> + >> +#include "bcm4708.dtsi" >> +#include "bcm5301x-nand-cs0-bch8.dtsi" >> + >> +/ { >> + compatible = "linksys,ea6500-v2", "brcm,bcm4708"; >> + model = "Linksys EA6500 V2"; >> + >> + chosen { >> + bootargs = "console=ttyS0,115200"; >> + }; >> + >> + memory { >> + reg = <0x00000000 0x08000000>; >> + }; >> + >> + gpio-keys { >> + compatible = "gpio-keys"; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + wps { >> + label = "WPS"; >> + linux,code = ; >> + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; >> + }; >> + >> + restart { >> + label = "Reset"; >> + linux,code = ; >> + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; >> + }; >> + }; >> +}; >> + >> +&usb3_phy { >> + status = "okay"; >> +}; >> -- >> 2.16.4 >> >> On Sun, Oct 7, 2018 at 2:08 PM Hauke Mehrtens wrote: >>> >>> On 10/04/2018 11:08 PM, René Kjellerup wrote: >>>> Hi Hauke, >>>> >>>> thank you for suggesting adding the dts patch to mainline kernel, >>>> so here it is. >>>> I feel Rafal technically still have the copyrights, this is pretty >>>> much just a few string updates for the ea6500v2. However with this >>>> dts in latest OpenWrt 18.06 loads and installs on my device. >>>> >>>> I will be available to do more testing should it be required. >>>> >>>> Regrads >>>> Rene Kjellerup >>>> -- >>>> -- as life grows older, I gain experience. >>>> -- http://www.alchemiestick.net/ >>>> >>> >>> Hi Rene, >>> >>> Please send you patch inline in the mail and not as an attachment, I >>> would suggest to use "git send-email" for sending the patch. >>> >>> Adding Rafal as copyright owner is ok, like you did it now. You could >>> mention in the file header on which dts file this is based. >>> >>> Hauke >>> >> >> >> -- >> -- as life grows older, I gain experience. >> -- http://www.alchemiestick.net/apps/ -- Florian