Skip to content

Commit

Permalink
boards: stm32h747i_disco: Add pmod connector
Browse files Browse the repository at this point in the history
Add pmod connector dts description.

Signed-off-by: Alexander Mihajlovic <alexander@eub.se>
  • Loading branch information
Alexander Mihajlovic committed Mar 12, 2023
1 parent 8a9b146 commit 6eb052f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions boards/arm/stm32h747i_disco/pmod_connector.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright (c) 2023 Elektronikutvecklingsbyrån EUB AB
*
* SPDX-License-Identifier: Apache-2.0
*/

/ {
pmod0: pmod-connector {
compatible = "digilent,pmod";
#gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map = <0 0 &gpioa 11 0>, /* IO1 */
<1 0 &gpioc 3 0>, /* IO2 */
<2 0 &gpioc 2 0>, /* IO3 */
<3 0 &gpioa 12 0>, /* IO4 */
<4 0 &gpioc 6 0>, /* IO5 */
<5 0 &gpioj 13 0>; /* IO6 */
/* IO7 - not connected */
/* IO8 - not connected */
};
};
1 change: 1 addition & 0 deletions boards/arm/stm32h747i_disco/stm32h747i_disco.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include "arduino_r3_connector.dtsi"
#include "pmod_connector.dtsi"

/ {
leds {
Expand Down

0 comments on commit 6eb052f

Please sign in to comment.