301-ARM-BCM5301X-Add-DT-for-Netgear-R7900.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
  2. Subject: [PATCH] ARM: BCM5301X: Add DT for Netgear R7900
  3. MIME-Version: 1.0
  4. Content-Type: text/plain; charset=UTF-8
  5. Content-Transfer-Encoding: 8bit
  6. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
  7. ---
  8. --- a/arch/arm/boot/dts/Makefile
  9. +++ b/arch/arm/boot/dts/Makefile
  10. @@ -81,6 +81,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
  11. bcm4709-buffalo-wxr-1900dhp.dtb \
  12. bcm4709-linksys-ea9200.dtb \
  13. bcm4709-netgear-r7000.dtb \
  14. + bcm4709-netgear-r7900.dtb \
  15. bcm4709-netgear-r8000.dtb \
  16. bcm4709-tplink-archer-c9-v1.dtb \
  17. bcm47094-dlink-dir-885l.dtb \
  18. --- /dev/null
  19. +++ b/arch/arm/boot/dts/bcm4709-netgear-r7900.dts
  20. @@ -0,0 +1,42 @@
  21. +/*
  22. + * Broadcom BCM470X / BCM5301X ARM platform code.
  23. + * DTS for Netgear R7900
  24. + *
  25. + * Copyright (C) 2016 Rafał Miłecki <zajec5@gmail.com>
  26. + *
  27. + * Licensed under the GNU/GPL. See COPYING for details.
  28. + */
  29. +
  30. +/dts-v1/;
  31. +
  32. +#include "bcm4709.dtsi"
  33. +#include "bcm5301x-nand-cs0-bch8.dtsi"
  34. +
  35. +/ {
  36. + compatible = "netgear,r7900", "brcm,bcm4709", "brcm,bcm4708";
  37. + model = "Netgear R7900";
  38. +
  39. + chosen {
  40. + bootargs = "console=ttyS0,115200";
  41. + };
  42. +
  43. + memory {
  44. + reg = <0x00000000 0x08000000
  45. + 0x88000000 0x08000000>;
  46. + };
  47. +
  48. + axi@18000000 {
  49. + usb3@23000 {
  50. + reg = <0x00023000 0x1000>;
  51. +
  52. + #address-cells = <1>;
  53. + #size-cells = <1>;
  54. +
  55. + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  56. + };
  57. + };
  58. +};
  59. +
  60. +&uart0 {
  61. + status = "okay";
  62. +};