sfr,nb4-ser.dts 1.4 KB

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