Skip to content

Commit

Permalink
Merge pull request torvalds#210 from nascs/Radxa_cm3_rpi_cm4_gpiod
Browse files Browse the repository at this point in the history
Changes:
  * Radxa CM3 + RPI CM4 IO: Add gpiod label

Signed-off-by: Stephen Chen <[email protected]>
  • Loading branch information
RadxaStephen authored Sep 13, 2023
2 parents 83fa56b + be8a9c7 commit 8976836
Showing 1 changed file with 115 additions and 0 deletions.
115 changes: 115 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-rpi-cm4-io.dts
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,118 @@
};
};
};

&gpio0 {
gpio-line-names =
/* GPIO0_A0-A3 */
"", "", "", "",
/* GPIO0_A4-A7 */
"", "", "", "",

/* GPIO0_B0-B3 */
"", "", "", "",
/* GPIO0_B4-B7 */
"", "PIN_5", "PIN_3", "PIN_13",

/* GPIO0_C0-C3 */
"", "", "PIN_37", "PIN_15",
/* GPIO0_C4-C7 */
"", "PIN_31", "PIN_33", "PIN_11",

/* GPIO0_D0-D3 */
"PIN_10", "PIN_8", "", "",
/* GPIO0_D4-D7 */
"", "", "", "";
};

&gpio1 {
gpio-line-names =
/* GPIO1_A0-A3 */
"", "", "", "",
/* GPIO1_A4-A7 */
"", "", "", "",

/* GPIO1_B0-B3 */
"", "", "", "",
/* GPIO1_B4-B7 */
"", "", "", "",

/* GPIO1_C0-C3 */
"", "", "", "",
/* GPIO1_C4-C7 */
"", "", "", "",

/* GPIO1_D0-D3 */
"", "", "", "",
/* GPIO1_D4-D7 */
"", "", "", "";
};

&gpio2 {
gpio-line-names =
/* GPIO2_A0-A3 */
"", "", "", "",
/* GPIO2_A4-A7 */
"", "", "", "",

/* GPIO2_B0-B3 */
"", "", "", "",
/* GPIO2_B4-B7 */
"", "", "", "",

/* GPIO2_C0-C3 */
"", "", "", "",
/* GPIO2_C4-C7 */
"", "", "", "",

/* GPIO2_D0-D3 */
"", "", "", "",
/* GPIO2_D4-D7 */
"", "", "", "";
};

&gpio3 {
gpio-line-names =
/* GPIO3_A0-A3 */
"", "", "", "",
/* GPIO3_A4-A7 */
"", "", "", "",

/* GPIO3_B0-B3 */
"", "", "", "",
/* GPIO3_B4-B7 */
"", "", "", "",

/* GPIO3_C0-C3 */
"", "", "", "",
/* GPIO3_C4-C7 */
"", "", "PIN_22", "PIN_12",

/* GPIO3_D0-D3 */
"PIN_35", "PIN_40", "PIN_38", "PIN_18",
/* GPIO3_D4-D7 */
"PIN_19", "PIN_7", "", "";
};

&gpio4 {
gpio-line-names =
/* GPIO4_A0-A3 */
"", "", "", "",
/* GPIO4_A4-A7 */
"", "", "PIN_24", "PIN_36",

/* GPIO4_B0-B3 */
"PIN_21", "PIN_29", "PIN_19", "PIN_23",
/* GPIO4_B4-B7 */
"PIN_27", "PIN_28", "", "",

/* GPIO4_C0-C3 */
"PIN_32", "", "", "",
/* GPIO4_C4-C7 */
"", "", "", "",

/* GPIO4_D0-D3 */
"", "", "", "",
/* GPIO4_D4-D7 */
"", "", "", "";
};

0 comments on commit 8976836

Please sign in to comment.