Skip to content

Commit

Permalink
boards: arm: Fix sparkfun_pro_micro_rp2040 gpiomap
Browse files Browse the repository at this point in the history
The SparkFun Pro Micro pins are numbered 1, 0, GND, ... from top left
whereas the SparkFun Pro Micro RP2040 and the RP2040 Community Edition
boards are numbered 0, 1, GND, ... , so the pro_micro: connector gpio-map
should reflect that.

Graphical Datasheet for SparkFun Pro Micro RP2040:
https://cdn.sparkfun.com/assets/e/2/7/6/b/ProMicroRP2040_Graphical_Datasheet.pdf

Graphical Datasheet for SparkFun Pro Micro:
https://cdn.sparkfun.com/assets/f/d/8/0/d/ProMicro16MHzv2.pdf

Signed-off-by: Daniel Irekvist <[email protected]>
  • Loading branch information
ulmanyar committed Mar 8, 2024
1 parent ad7086a commit 87b26c2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>;
gpio-map
= <0 0 &gpio0 0 0> /* D0 */
, <1 0 &gpio0 1 0> /* D1 */
= <0 0 &gpio0 1 0> /* D0 */
, <1 0 &gpio0 0 0> /* D1 */
, <2 0 &gpio0 2 0> /* D2 */
, <3 0 &gpio0 3 0> /* D3 */
, <4 0 &gpio0 4 0> /* D4/A6 */
Expand Down

0 comments on commit 87b26c2

Please sign in to comment.