bcm4709-netgear-r7000.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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 <[email protected]>
  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@0 {
  18. device_type = "memory";
  19. reg = <0x00000000 0x08000000>,
  20. <0x88000000 0x08000000>;
  21. };
  22. leds {
  23. compatible = "gpio-leds";
  24. power-white {
  25. label = "bcm53xx:white:power";
  26. gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
  27. linux,default-trigger = "default-on";
  28. };
  29. power-amber {
  30. label = "bcm53xx:amber:power";
  31. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  32. };
  33. 5ghz {
  34. label = "bcm53xx:white:5ghz";
  35. gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
  36. };
  37. 2ghz {
  38. label = "bcm53xx:white:2ghz";
  39. gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
  40. };
  41. wps {
  42. label = "bcm53xx:white:wps";
  43. gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
  44. };
  45. wireless {
  46. label = "bcm53xx:white:wireless";
  47. gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
  48. };
  49. usb3 {
  50. label = "bcm53xx:white:usb3";
  51. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  52. };
  53. usb2 {
  54. label = "bcm53xx:white:usb2";
  55. gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
  56. };
  57. };
  58. gpio-keys {
  59. compatible = "gpio-keys";
  60. button-wps {
  61. label = "WPS";
  62. linux,code = <KEY_WPS_BUTTON>;
  63. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  64. };
  65. button-rfkill {
  66. label = "WiFi";
  67. linux,code = <KEY_RFKILL>;
  68. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  69. };
  70. button-restart {
  71. label = "Reset";
  72. linux,code = <KEY_RESTART>;
  73. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  74. };
  75. };
  76. };
  77. &usb2 {
  78. vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  79. };
  80. &usb3 {
  81. vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  82. };
  83. &usb3_phy {
  84. status = "okay";
  85. };