2
0

031-v4.21-0005-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA6500-V2.patch 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. From 03e96644d7a810916fc4997d572577e876908b18 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Ren=C3=A9=20Kjellerup?= <[email protected]>
  3. Date: Mon, 1 Oct 2018 15:07:16 -0700
  4. Subject: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA6500 V2
  5. It is wireless home router based on BCM4708A0 with BCM4360 + BCM4331
  6. wireless chipsets. The BCM4331 5GHz chip currently isn't supported only
  7. due to missing compatible firmware.
  8. Signed-off-by: Rene Kjellerup <[email protected]>
  9. Signed-off-by: Florian Fainelli <[email protected]>
  10. ---
  11. arch/arm/boot/dts/Makefile | 1 +
  12. arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts | 45 +++++++++++++++++++++++++
  13. 2 files changed, 46 insertions(+)
  14. create mode 100644 arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
  15. --- a/arch/arm/boot/dts/Makefile
  16. +++ b/arch/arm/boot/dts/Makefile
  17. @@ -88,6 +88,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
  18. bcm4708-asus-rt-ac68u.dtb \
  19. bcm4708-buffalo-wzr-1750dhp.dtb \
  20. bcm4708-linksys-ea6300-v1.dtb \
  21. + bcm4708-linksys-ea6500-v2.dtb \
  22. bcm4708-luxul-xap-1510.dtb \
  23. bcm4708-luxul-xwc-1000.dtb \
  24. bcm4708-netgear-r6250.dtb \
  25. --- /dev/null
  26. +++ b/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
  27. @@ -0,0 +1,45 @@
  28. +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  29. +/*
  30. + * Copyright (C) 2017 Rafał Miłecki <[email protected]>
  31. + * Copyright (C) 2018 Rene Kjellerup <[email protected]>
  32. + */
  33. +
  34. +/dts-v1/;
  35. +
  36. +#include "bcm4708.dtsi"
  37. +#include "bcm5301x-nand-cs0-bch8.dtsi"
  38. +
  39. +/ {
  40. + compatible = "linksys,ea6500-v2", "brcm,bcm4708";
  41. + model = "Linksys EA6500 V2";
  42. +
  43. + chosen {
  44. + bootargs = "console=ttyS0,115200";
  45. + };
  46. +
  47. + memory {
  48. + reg = <0x00000000 0x08000000>;
  49. + };
  50. +
  51. + gpio-keys {
  52. + compatible = "gpio-keys";
  53. + #address-cells = <1>;
  54. + #size-cells = <0>;
  55. +
  56. + wps {
  57. + label = "WPS";
  58. + linux,code = <KEY_WPS_BUTTON>;
  59. + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  60. + };
  61. +
  62. + restart {
  63. + label = "Reset";
  64. + linux,code = <KEY_RESTART>;
  65. + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  66. + };
  67. + };
  68. +};
  69. +
  70. +&usb3_phy {
  71. + status = "okay";
  72. +};