sfr,nb4-ser.dts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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,bcm6358.dtsi"
  8. / {
  9. model = "SFR NeufBox 4 (Sercomm) Board";
  10. compatible = "sfr,nb4-ser", "brcm,bcm6358";
  11. aliases {
  12. serial0 = &uart0;
  13. };
  14. chosen {
  15. stdout-path = "serial0:115200n8";
  16. };
  17. gpio-leds {
  18. compatible = "gpio-leds";
  19. traffic_white {
  20. label = "NB4-SER:white:traffic";
  21. gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
  22. };
  23. service_blue {
  24. label = "NB4-SER:blue:service";
  25. gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
  26. };
  27. wifi_white {
  28. label = "NB4-SER:white:wifi";
  29. gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
  30. };
  31. service_red {
  32. label = "NB4-SER:red:service";
  33. gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
  34. };
  35. service_green {
  36. label = "NB4-SER:green:service";
  37. gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
  38. };
  39. };
  40. };
  41. &gpio0 {
  42. status = "okay";
  43. };
  44. &leds {
  45. status = "okay";
  46. brcm,clk-div = <1>;
  47. led@0 {
  48. reg = <0>;
  49. active-low;
  50. label = "NB4-SER:white:alarm";
  51. };
  52. led@2 {
  53. reg = <2>;
  54. active-low;
  55. label = "NB4-SER:white:tv";
  56. };
  57. led@3 {
  58. reg = <3>;
  59. active-low;
  60. label = "NB4-SER:white:tel";
  61. };
  62. led@4 {
  63. reg = <4>;
  64. active-low;
  65. label = "NB4-SER:white:adsl";
  66. };
  67. };
  68. &pflash {
  69. status = "okay";
  70. };
  71. &uart0 {
  72. u-boot,dm-pre-reloc;
  73. status = "okay";
  74. };