at91-wb50n.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * at91-wb50n.dts - Device Tree file for wb50n evaluation board
  4. *
  5. * Copyright (C) 2018 Laird
  6. *
  7. */
  8. /dts-v1/;
  9. #include "at91-wb50n.dtsi"
  10. / {
  11. model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
  12. compatible = "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
  13. gpio-keys {
  14. compatible = "gpio-keys";
  15. button-0 {
  16. label = "BTNESC";
  17. linux,code = <1>; /* ESC button */
  18. gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
  19. wakeup-source;
  20. };
  21. button-1 {
  22. label = "IRQBTN";
  23. linux,code = <99>; /* SysReq button */
  24. gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
  25. wakeup-source;
  26. };
  27. };
  28. leds {
  29. compatible = "gpio-leds";
  30. led0 {
  31. label = "wb50n:blue:led0";
  32. gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
  33. default-state = "off";
  34. };
  35. led1 {
  36. label = "wb50n:green:led1";
  37. gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
  38. default-state = "off";
  39. };
  40. led2 {
  41. label = "wb50n:red:led2";
  42. gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
  43. default-state = "off";
  44. };
  45. };
  46. };
  47. &watchdog {
  48. status = "okay";
  49. };
  50. &mmc0 {
  51. status = "okay";
  52. };
  53. &macb1 {
  54. status = "okay";
  55. };
  56. &dbgu {
  57. status = "okay";
  58. };
  59. /* On BB40 this port is labeled UART1 */
  60. &usart0 {
  61. status = "okay";
  62. };
  63. /* On BB40 this port is labeled UART0 */
  64. &usart1 {
  65. status = "okay";
  66. };
  67. &i2c0 {
  68. status = "okay";
  69. };
  70. &spi1 {
  71. status = "okay";
  72. };
  73. &usb0 {
  74. status = "okay";
  75. };
  76. &usb1 {
  77. status = "okay";
  78. };
  79. &usb2 {
  80. status = "okay";
  81. };