comtrend,ar-5315u.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
  4. */
  5. /dts-v1/;
  6. #include "brcm,bcm6318.dtsi"
  7. / {
  8. model = "Comtrend AR-5315u";
  9. compatible = "comtrend,ar5315-un", "brcm,bcm6318";
  10. aliases {
  11. serial0 = &uart0;
  12. };
  13. chosen {
  14. stdout-path = "serial0:115200n8";
  15. };
  16. };
  17. &ehci {
  18. status = "okay";
  19. };
  20. &leds {
  21. status = "okay";
  22. led@0 {
  23. reg = <0>;
  24. active-low;
  25. label = "AR-5315u:green:wps";
  26. };
  27. led@1 {
  28. reg = <1>;
  29. active-low;
  30. label = "AR-5315u:green:power";
  31. };
  32. led@2 {
  33. reg = <2>;
  34. active-low;
  35. label = "AR-5315u:green:usb";
  36. };
  37. led@8 {
  38. reg = <8>;
  39. active-low;
  40. label = "AR-5315u:green:inet";
  41. };
  42. led@9 {
  43. reg = <9>;
  44. active-low;
  45. label = "AR-5315u:red:inet";
  46. };
  47. led@10 {
  48. reg = <10>;
  49. active-low;
  50. label = "AR-5315u:green:dsl";
  51. };
  52. led@11 {
  53. reg = <11>;
  54. active-low;
  55. label = "AR-5315u:red:power";
  56. };
  57. };
  58. &ohci {
  59. status = "okay";
  60. };
  61. &spi {
  62. status = "okay";
  63. spi-flash@0 {
  64. compatible = "spi-flash";
  65. reg = <0>;
  66. #address-cells = <1>;
  67. #size-cells = <1>;
  68. spi-max-frequency = <62500000>;
  69. };
  70. };
  71. &uart0 {
  72. u-boot,dm-pre-reloc;
  73. status = "okay";
  74. };
  75. &usbh {
  76. status = "okay";
  77. };