bcm47094-netgear-r8500.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Copyright (C) 2016 Rafał Miłecki <[email protected]>
  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@0 {
  15. device_type = "memory";
  16. reg = <0x00000000 0x08000000>,
  17. <0x88000000 0x18000000>;
  18. };
  19. leds {
  20. compatible = "gpio-leds";
  21. power0 {
  22. label = "bcm53xx:white:power";
  23. gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
  24. linux,default-trigger = "default-on";
  25. };
  26. power1 {
  27. label = "bcm53xx:amber:power";
  28. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  29. };
  30. 5ghz-1 {
  31. label = "bcm53xx:white:5ghz-1";
  32. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  33. };
  34. 5ghz-2 {
  35. label = "bcm53xx:white:5ghz-2";
  36. gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
  37. };
  38. 2ghz {
  39. label = "bcm53xx:white:2ghz";
  40. gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
  41. };
  42. usb2 {
  43. label = "bcm53xx:white:usb2";
  44. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  45. };
  46. usb3 {
  47. label = "bcm53xx:white:usb3";
  48. gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
  49. };
  50. };
  51. gpio-keys {
  52. compatible = "gpio-keys";
  53. button-brightness {
  54. label = "Backlight";
  55. linux,code = <KEY_BRIGHTNESS_ZERO>;
  56. gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
  57. };
  58. button-restart {
  59. label = "Reset";
  60. linux,code = <KEY_RESTART>;
  61. gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
  62. };
  63. button-wps {
  64. label = "WPS";
  65. linux,code = <KEY_WPS_BUTTON>;
  66. gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
  67. };
  68. button-rfkill {
  69. label = "WiFi";
  70. linux,code = <KEY_RFKILL>;
  71. gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
  72. };
  73. };
  74. };
  75. &usb3_phy {
  76. status = "okay";
  77. };