bcm4708-netgear-r6250.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. /*
  2. * Broadcom BCM470X / BCM5301X arm platform code.
  3. * DTS for Netgear R6250 V1
  4. *
  5. * Copyright 2013 Hauke Mehrtens <[email protected]>
  6. *
  7. * Licensed under the GNU/GPL. See COPYING for details.
  8. */
  9. /dts-v1/;
  10. #include "bcm4708.dtsi"
  11. #include "bcm5301x-nand-cs0-bch8.dtsi"
  12. / {
  13. compatible = "netgear,r6250v1", "brcm,bcm4708";
  14. model = "Netgear R6250 V1 (BCM4708)";
  15. chosen {
  16. bootargs = "console=ttyS0,115200 earlycon";
  17. };
  18. memory@0 {
  19. device_type = "memory";
  20. reg = <0x00000000 0x08000000>,
  21. <0x88000000 0x08000000>;
  22. };
  23. leds {
  24. compatible = "gpio-leds";
  25. logo {
  26. label = "bcm53xx:white:logo";
  27. gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
  28. linux,default-trigger = "default-on";
  29. };
  30. power0 {
  31. label = "bcm53xx:green:power";
  32. gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
  33. linux,default-trigger = "default-on";
  34. };
  35. power1 {
  36. label = "bcm53xx:amber:power";
  37. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  38. };
  39. usb {
  40. label = "bcm53xx:blue:usb";
  41. gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
  42. trigger-sources = <&ohci_port1>, <&ehci_port1>,
  43. <&xhci_port1>;
  44. linux,default-trigger = "usbport";
  45. };
  46. wireless {
  47. label = "bcm53xx:blue:wireless";
  48. gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
  49. };
  50. };
  51. gpio-keys {
  52. compatible = "gpio-keys";
  53. button-wps {
  54. label = "WPS";
  55. linux,code = <KEY_WPS_BUTTON>;
  56. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  57. };
  58. button-rfkill {
  59. label = "WiFi";
  60. linux,code = <KEY_RFKILL>;
  61. gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
  62. };
  63. button-restart {
  64. label = "Reset";
  65. linux,code = <KEY_RESTART>;
  66. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  67. };
  68. };
  69. };
  70. &usb3 {
  71. vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  72. };
  73. &spi_nor {
  74. status = "okay";
  75. };
  76. &usb3_phy {
  77. status = "okay";
  78. };
  79. &srab {
  80. status = "okay";
  81. ports {
  82. port@0 {
  83. reg = <0>;
  84. label = "lan4";
  85. };
  86. port@1 {
  87. reg = <1>;
  88. label = "lan3";
  89. };
  90. port@2 {
  91. reg = <2>;
  92. label = "lan2";
  93. };
  94. port@3 {
  95. reg = <3>;
  96. label = "lan1";
  97. };
  98. port@4 {
  99. reg = <4>;
  100. label = "wan";
  101. };
  102. port@5 {
  103. reg = <5>;
  104. label = "cpu";
  105. ethernet = <&gmac0>;
  106. };
  107. };
  108. };