comtrend,wap-5813n.dts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
  4. */
  5. /dts-v1/;
  6. #include "brcm,bcm6368.dtsi"
  7. / {
  8. model = "Comtrend WAP-5813n";
  9. compatible = "comtrend,wap-5813n", "brcm,bcm6368";
  10. aliases {
  11. serial0 = &uart0;
  12. };
  13. chosen {
  14. stdout-path = "serial0:115200n8";
  15. };
  16. gpio-leds {
  17. compatible = "gpio-leds";
  18. inet_green {
  19. label = "WAP-5813n:green:inet";
  20. gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
  21. };
  22. power_green {
  23. label = "WAP-5813n:green:power";
  24. gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
  25. default-state = "on";
  26. };
  27. wps_green {
  28. label = "WAP-5813n:green:wps";
  29. gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
  30. };
  31. power_red {
  32. label = "WAP-5813n:red:power";
  33. gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
  34. };
  35. inet_red {
  36. label = "WAP-5813n:red:inet";
  37. gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
  38. };
  39. };
  40. };
  41. &ehci {
  42. status = "okay";
  43. };
  44. &gpio0 {
  45. status = "okay";
  46. };
  47. &ohci {
  48. status = "okay";
  49. };
  50. &pflash {
  51. status = "okay";
  52. };
  53. &uart0 {
  54. u-boot,dm-pre-reloc;
  55. status = "okay";
  56. };
  57. &usbh {
  58. status = "okay";
  59. };