bcm4708-netgear-r6300-v2.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Broadcom BCM470X / BCM5301X ARM platform code.
  4. * DTS for Netgear R6300 V2
  5. *
  6. * Copyright (C) 2014 Rafał Miłecki <[email protected]>
  7. */
  8. /dts-v1/;
  9. #include "bcm4708.dtsi"
  10. #include "bcm5301x-nand-cs0-bch8.dtsi"
  11. / {
  12. compatible = "netgear,r6300v2", "brcm,bcm4708";
  13. model = "Netgear R6300 V2 (BCM4708)";
  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. logo {
  25. label = "bcm53xx:white:logo";
  26. gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
  27. linux,default-trigger = "default-on";
  28. };
  29. power0 {
  30. label = "bcm53xx:green:power";
  31. gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
  32. };
  33. power1 {
  34. label = "bcm53xx:amber:power";
  35. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  36. linux,default-trigger = "default-on";
  37. };
  38. usb {
  39. label = "bcm53xx:blue:usb";
  40. gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
  41. };
  42. wireless {
  43. label = "bcm53xx:blue:wireless";
  44. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  45. };
  46. };
  47. gpio-keys {
  48. compatible = "gpio-keys";
  49. button-wps {
  50. label = "WPS";
  51. linux,code = <KEY_WPS_BUTTON>;
  52. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  53. };
  54. button-rfkill {
  55. label = "WiFi";
  56. linux,code = <KEY_RFKILL>;
  57. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  58. };
  59. button-restart {
  60. label = "Reset";
  61. linux,code = <KEY_RESTART>;
  62. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  63. };
  64. };
  65. };
  66. &spi_nor {
  67. status = "okay";
  68. };
  69. &usb3_phy {
  70. status = "okay";
  71. };