bcm47094-netgear-r8500.dts 1.7 KB

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