usb_a9g20-dab-mmx.dtsi 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board
  4. *
  5. * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
  6. */
  7. / {
  8. ahb {
  9. apb {
  10. usart1: serial@fffb4000 {
  11. status = "okay";
  12. };
  13. usart3: serial@fffd0000 {
  14. status = "okay";
  15. };
  16. };
  17. };
  18. i2c-gpio@0 {
  19. status = "okay";
  20. };
  21. leds {
  22. compatible = "gpio-leds";
  23. user_led1 {
  24. label = "user_led1";
  25. gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
  26. };
  27. /*
  28. * led already used by mother board but active as high
  29. * user_led2 {
  30. * label = "user_led2";
  31. * gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
  32. * };
  33. */
  34. user_led3 {
  35. label = "user_led3";
  36. gpios = <&pioB 22 GPIO_ACTIVE_LOW>;
  37. };
  38. user_led4 {
  39. label = "user_led4";
  40. gpios = <&pioB 23 GPIO_ACTIVE_LOW>;
  41. };
  42. red {
  43. label = "red";
  44. gpios = <&pioB 24 GPIO_ACTIVE_LOW>;
  45. };
  46. orange {
  47. label = "orange";
  48. gpios = <&pioB 30 GPIO_ACTIVE_LOW>;
  49. };
  50. green {
  51. label = "green";
  52. gpios = <&pioB 31 GPIO_ACTIVE_LOW>;
  53. };
  54. };
  55. gpio_keys {
  56. compatible = "gpio-keys";
  57. #address-cells = <1>;
  58. #size-cells = <0>;
  59. user_pb1 {
  60. label = "user_pb1";
  61. gpios = <&pioB 25 GPIO_ACTIVE_LOW>;
  62. linux,code = <0x100>;
  63. };
  64. user_pb2 {
  65. label = "user_pb2";
  66. gpios = <&pioB 13 GPIO_ACTIVE_LOW>;
  67. linux,code = <0x101>;
  68. };
  69. user_pb3 {
  70. label = "user_pb3";
  71. gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
  72. linux,code = <0x102>;
  73. };
  74. user_pb4 {
  75. label = "user_pb4";
  76. gpios = <&pioC 9 GPIO_ACTIVE_LOW>;
  77. linux,code = <0x103>;
  78. };
  79. };
  80. };