Advertisement
ManU_47

arduino_r3_connector.dtsi

Apr 26th, 2021
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. /*
  2. * Copyright (c) 2019 Linaro Limited
  3. * Copyright (c) 2020 Teslabs Engineering S.L.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0
  6. */
  7.  
  8. / {
  9. arduino_header: connector {
  10. compatible = "arduino-header-r3";
  11. #gpio-cells = <2>;
  12. gpio-map-mask = <0xffffffff 0xffffffc0>;
  13. gpio-map-pass-thru = <0 0x3f>;
  14. gpio-map = <0 0 &gpioa 3 0>, /* A0 */
  15. <1 0 &gpioc 0 0>, /* A1 */
  16. <2 0 &gpioc 3 0>, /* A2 */
  17. <3 0 &gpiob 1 0>, /* A3 */
  18. <4 0 &gpioc 2 0>, /* A4 */
  19. <5 0 &gpiof 10 0>, /* A5 */
  20. <6 0 &gpiob 7 0>, /* D0 */
  21. <7 0 &gpiob 6 0>, /* D1 */
  22. <8 0 &gpiog 14 0>, /* D2 */
  23. <9 0 &gpioe 13 0>, /* D3 */
  24. <10 0 &gpioe 14 0>, /* D4 */
  25. <11 0 &gpioe 11 0>, /* D5 */
  26. <12 0 &gpioe 9 0>, /* D6 */
  27. <13 0 &gpiog 12 0>, /* D7 */
  28. <14 0 &gpiof 3 0>, /* D8 */
  29. <15 0 &gpiod 15 0>, /* D9 */
  30. <16 0 &gpiod 14 0>, /* D10 */
  31. <17 0 &gpiob 5 0>, /* D11 */
  32. <18 0 &gpioa 6 0>, /* D12 */
  33. <19 0 &gpioa 5 0>, /* D13 */
  34. <20 0 &gpiob 9 0>, /* D14 */
  35. <21 0 &gpiob 8 0>; /* D15 */
  36. };
  37. };
  38.  
  39. arduino_i2c: &i2c1 {};
  40. arduino_spi: &spi1 {};
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement