netgear,cg3100d.dts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*
  2. * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. /dts-v1/;
  7. #include "brcm,bcm3380.dtsi"
  8. / {
  9. model = "Netgear CG3100D";
  10. compatible = "netgear,cg3100d", "brcm,bcm3380";
  11. aliases {
  12. serial0 = &uart0;
  13. };
  14. chosen {
  15. stdout-path = "serial0:115200n8";
  16. };
  17. gpio-leds {
  18. compatible = "gpio-leds";
  19. wifi_green {
  20. label = "CG3100D:green:wifi";
  21. gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
  22. };
  23. wps_green {
  24. label = "CG3100D:green:wps";
  25. gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
  26. };
  27. power_red {
  28. label = "CG3100D:red:power";
  29. gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
  30. };
  31. };
  32. };
  33. &leds {
  34. status = "okay";
  35. led@0 {
  36. reg = <0>;
  37. active-low;
  38. label = "CG3100D:green:power";
  39. };
  40. led@1 {
  41. reg = <1>;
  42. active-low;
  43. label = "CG3100D:green:downlink";
  44. };
  45. led@2 {
  46. reg = <2>;
  47. active-low;
  48. label = "CG3100D:orange:downlink";
  49. };
  50. led@3 {
  51. reg = <3>;
  52. active-low;
  53. label = "CG3100D:green:uplink";
  54. };
  55. led@4 {
  56. reg = <4>;
  57. active-low;
  58. label = "CG3100D:orange:uplink";
  59. };
  60. led@6 {
  61. reg = <6>;
  62. active-low;
  63. label = "CG3100D:green:inet";
  64. };
  65. led@7 {
  66. reg = <7>;
  67. active-low;
  68. label = "CG3100D:green:stby";
  69. };
  70. };
  71. &gpio0 {
  72. status = "okay";
  73. };
  74. &uart0 {
  75. u-boot,dm-pre-reloc;
  76. status = "okay";
  77. };