047-0005-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9500.patch 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. From 3dc9eca8ece2934047f1d5c290fd36c0e8698756 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  3. Date: Thu, 23 Feb 2017 14:06:36 +0100
  4. Subject: [PATCH] ARM: dts: BCM5301X: Add basic DT for Linksys EA9500
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. It's tri-band wireless home router based on BCM47094 AKA BCM4709C0. It
  9. uses 3 x BCM4366 chipsets for wireless.
  10. Panamera seems to be board name used by Linksys.
  11. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  12. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  13. ---
  14. arch/arm/boot/dts/Makefile | 1 +
  15. arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 36 +++++++++++++++++++++++++
  16. 2 files changed, 37 insertions(+)
  17. create mode 100644 arch/arm/boot/dts/bcm47094-linksys-panamera.dts
  18. --- a/arch/arm/boot/dts/Makefile
  19. +++ b/arch/arm/boot/dts/Makefile
  20. @@ -83,6 +83,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
  21. bcm4709-netgear-r8000.dtb \
  22. bcm4709-tplink-archer-c9-v1.dtb \
  23. bcm47094-dlink-dir-885l.dtb \
  24. + bcm47094-linksys-panamera.dtb \
  25. bcm47094-luxul-xwr-3100.dtb \
  26. bcm47094-netgear-r8500.dtb \
  27. bcm94708.dtb \
  28. --- /dev/null
  29. +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
  30. @@ -0,0 +1,36 @@
  31. +/*
  32. + * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
  33. + *
  34. + * Licensed under the ISC license.
  35. + */
  36. +
  37. +/dts-v1/;
  38. +
  39. +#include "bcm47094.dtsi"
  40. +#include "bcm5301x-nand-cs0-bch8.dtsi"
  41. +
  42. +/ {
  43. + compatible = "linksys,panamera", "brcm,bcm47094", "brcm,bcm4708";
  44. + model = "Linksys EA9500";
  45. +
  46. + chosen {
  47. + bootargs = "console=ttyS0,115200";
  48. + };
  49. +
  50. + memory {
  51. + reg = <0x00000000 0x08000000
  52. + 0x88000000 0x08000000>;
  53. + };
  54. +
  55. + gpio-keys {
  56. + compatible = "gpio-keys";
  57. + #address-cells = <1>;
  58. + #size-cells = <0>;
  59. +
  60. + wps {
  61. + label = "WPS";
  62. + linux,code = <KEY_WPS_BUTTON>;
  63. + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  64. + };
  65. + };
  66. +};