bcm4709-netgear-r7000.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Broadcom BCM470X / BCM5301X ARM platform code.
  4. * DTS for Netgear R7000
  5. *
  6. * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
  7. */
  8. /dts-v1/;
  9. #include "bcm4709.dtsi"
  10. #include "bcm5301x-nand-cs0-bch8.dtsi"
  11. / {
  12. compatible = "netgear,r7000", "brcm,bcm4709", "brcm,bcm4708";
  13. model = "Netgear R7000";
  14. chosen {
  15. bootargs = "console=ttyS0,115200";
  16. };
  17. memory {
  18. reg = <0x00000000 0x08000000
  19. 0x88000000 0x08000000>;
  20. };
  21. leds {
  22. compatible = "gpio-leds";
  23. power-white {
  24. label = "bcm53xx:white:power";
  25. gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
  26. linux,default-trigger = "default-on";
  27. };
  28. power-amber {
  29. label = "bcm53xx:amber:power";
  30. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  31. };
  32. 5ghz {
  33. label = "bcm53xx:white:5ghz";
  34. gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
  35. };
  36. 2ghz {
  37. label = "bcm53xx:white:2ghz";
  38. gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
  39. };
  40. wps {
  41. label = "bcm53xx:white:wps";
  42. gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
  43. };
  44. wireless {
  45. label = "bcm53xx:white:wireless";
  46. gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
  47. };
  48. usb3 {
  49. label = "bcm53xx:white:usb3";
  50. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  51. };
  52. usb2 {
  53. label = "bcm53xx:white:usb2";
  54. gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
  55. };
  56. };
  57. gpio-keys {
  58. compatible = "gpio-keys";
  59. #address-cells = <1>;
  60. #size-cells = <0>;
  61. wps {
  62. label = "WPS";
  63. linux,code = <KEY_WPS_BUTTON>;
  64. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  65. };
  66. rfkill {
  67. label = "WiFi";
  68. linux,code = <KEY_RFKILL>;
  69. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  70. };
  71. restart {
  72. label = "Reset";
  73. linux,code = <KEY_RESTART>;
  74. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  75. };
  76. };
  77. };
  78. &usb2 {
  79. vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  80. };
  81. &usb3 {
  82. vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  83. };
  84. &usb3_phy {
  85. status = "okay";
  86. };