bcm47094-luxul-xwr-3100.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Copyright 2016 Luxul Inc.
  4. */
  5. /dts-v1/;
  6. #include "bcm47094.dtsi"
  7. #include "bcm5301x-nand-cs0-bch4.dtsi"
  8. / {
  9. compatible = "luxul,xwr-3100v1", "brcm,bcm47094", "brcm,bcm4708";
  10. model = "Luxul XWR-3100 V1";
  11. chosen {
  12. bootargs = "console=ttyS0,115200 earlycon";
  13. };
  14. memory@0 {
  15. device_type = "memory";
  16. reg = <0x00000000 0x08000000>,
  17. <0x88000000 0x08000000>;
  18. };
  19. nvram@1eff0000 {
  20. compatible = "brcm,nvram";
  21. reg = <0x1eff0000 0x10000>;
  22. };
  23. leds {
  24. compatible = "gpio-leds";
  25. power {
  26. label = "bcm53xx:green:power";
  27. gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
  28. linux,default-trigger = "default-on";
  29. };
  30. lan3 {
  31. label = "bcm53xx:green:lan3";
  32. gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
  33. };
  34. lan4 {
  35. label = "bcm53xx:green:lan4";
  36. gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
  37. };
  38. wan {
  39. label = "bcm53xx:green:wan";
  40. gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
  41. };
  42. lan1 {
  43. label = "bcm53xx:green:lan1";
  44. gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
  45. };
  46. lan2 {
  47. label = "bcm53xx:green:lan2";
  48. gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
  49. };
  50. usb3 {
  51. label = "bcm53xx:green:usb3";
  52. gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
  53. trigger-sources = <&ohci_port1>, <&ehci_port1>,
  54. <&xhci_port1>;
  55. linux,default-trigger = "usbport";
  56. };
  57. status {
  58. label = "bcm53xx:green:status";
  59. gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
  60. linux,default-trigger = "timer";
  61. };
  62. 2ghz {
  63. label = "bcm53xx:green:2ghz";
  64. gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
  65. };
  66. 5ghz {
  67. label = "bcm53xx:green:5ghz";
  68. gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
  69. };
  70. };
  71. gpio-keys {
  72. compatible = "gpio-keys";
  73. button-restart {
  74. label = "Reset";
  75. linux,code = <KEY_RESTART>;
  76. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  77. };
  78. };
  79. };
  80. &usb3 {
  81. vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
  82. };
  83. &spi_nor {
  84. status = "okay";
  85. };
  86. &usb3_phy {
  87. status = "okay";
  88. };
  89. &srab {
  90. status = "okay";
  91. ports {
  92. port@0 {
  93. reg = <0>;
  94. label = "lan4";
  95. };
  96. port@1 {
  97. reg = <1>;
  98. label = "lan3";
  99. };
  100. port@2 {
  101. reg = <2>;
  102. label = "lan2";
  103. };
  104. port@3 {
  105. reg = <3>;
  106. label = "lan1";
  107. };
  108. port@4 {
  109. reg = <4>;
  110. label = "wan";
  111. };
  112. port@5 {
  113. reg = <5>;
  114. label = "cpu";
  115. ethernet = <&gmac0>;
  116. };
  117. };
  118. };