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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. @@ -75,6 +75,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
  11. bcm4709-asus-rt-ac87u.dtb \
  12. bcm4709-buffalo-wxr-1900dhp.dtb \
  13. bcm4709-netgear-r7000.dtb \
  14. + bcm4709-netgear-r7900.dtb \
  15. bcm4709-netgear-r8000.dtb \
  16. bcm47094-dlink-dir-885l.dtb \
  17. bcm94708.dtb \
  18. --- /dev/null
  19. +++ b/arch/arm/boot/dts/bcm4709-netgear-r7900.dts
  20. @@ -0,0 +1,41 @@
  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 "bcm4708.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. + };
  46. +
  47. + axi@18000000 {
  48. + usb3@23000 {
  49. + reg = <0x00023000 0x1000>;
  50. +
  51. + #address-cells = <1>;
  52. + #size-cells = <1>;
  53. +
  54. + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  55. + };
  56. + };
  57. +};
  58. +
  59. +&uart0 {
  60. + status = "okay";
  61. +};