049-v4.15-0005-ARM-dts-BCM53573-Add-DT-for-Luxul-XAP-1440.patch 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. From 7030ea600d560026b91726f2eb79c856b813afa9 Mon Sep 17 00:00:00 2001
  2. From: Dan Haab <dhaab@luxul.com>
  3. Date: Mon, 9 Oct 2017 09:47:00 -0600
  4. Subject: [PATCH] ARM: dts: BCM53573: Add DT for Luxul XAP-1440
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. This is BCM53573 WiSoC based outdoor access point with an extra BCM43217
  9. chipset used for 2.4 GHz.
  10. Signed-off-by: Dan Haab <dhaab@luxul.com>
  11. Acked-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/bcm47189-luxul-xap-1440.dts | 50 +++++++++++++++++++++++++++
  16. 2 files changed, 51 insertions(+)
  17. create mode 100644 arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
  18. --- a/arch/arm/boot/dts/Makefile
  19. +++ b/arch/arm/boot/dts/Makefile
  20. @@ -95,6 +95,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
  21. bcm953012hr.dtb \
  22. bcm953012k.dtb
  23. dtb-$(CONFIG_ARCH_BCM_53573) += \
  24. + bcm47189-luxul-xap-1440.dtb \
  25. bcm47189-luxul-xap-810.dtb \
  26. bcm47189-tenda-ac9.dtb \
  27. bcm947189acdbmr.dtb
  28. --- /dev/null
  29. +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
  30. @@ -0,0 +1,50 @@
  31. +/*
  32. + * Copyright 2017 Luxul Inc.
  33. + *
  34. + * Licensed under the ISC license.
  35. + */
  36. +
  37. +/dts-v1/;
  38. +
  39. +#include "bcm53573.dtsi"
  40. +
  41. +/ {
  42. + compatible = "luxul,xap-1440-v1", "brcm,bcm47189", "brcm,bcm53573";
  43. + model = "Luxul XAP-1440 V1";
  44. +
  45. + chosen {
  46. + bootargs = "earlycon";
  47. + };
  48. +
  49. + memory {
  50. + reg = <0x00000000 0x08000000>;
  51. + };
  52. +
  53. + leds {
  54. + compatible = "gpio-leds";
  55. +
  56. + wlan {
  57. + label = "bcm53xx:blue:wlan";
  58. + gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
  59. + linux,default-trigger = "default-off";
  60. + };
  61. +
  62. + system {
  63. + label = "bcm53xx:green:system";
  64. + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  65. + linux,default-trigger = "timer";
  66. + };
  67. + };
  68. +
  69. + gpio-keys {
  70. + compatible = "gpio-keys";
  71. + #address-cells = <1>;
  72. + #size-cells = <0>;
  73. +
  74. + restart {
  75. + label = "Reset";
  76. + linux,code = <KEY_RESTART>;
  77. + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
  78. + };
  79. + };
  80. +};