bcm47094-luxul-xwr-3150-v1.dts 1.9 KB

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