Skip to content

Commit c5b9ec4

Browse files
P33Mpelwell
authored andcommitted
drivers: pinctrl: add BCM2712D0 EMMC pins
The pad control registers are concatenated onto the GPIO pad control registers, as with previous steppings. Signed-off-by: Jonathan Bell <[email protected]>
1 parent 0907b44 commit c5b9ec4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

drivers/pinctrl/bcm/pinctrl-bcm2712.c

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,17 @@ static const struct pin_regs bcm2712_d0_gpio_pin_regs[] = {
416416
GPIO_REGS(33, 3, 1, 6, 0),
417417
GPIO_REGS(34, 3, 2, 6, 1),
418418
GPIO_REGS(35, 3, 3, 6, 2),
419+
EMMC_REGS(36, 6, 3), /* EMMC_CMD */
420+
EMMC_REGS(37, 6, 4), /* EMMC_DS */
421+
EMMC_REGS(38, 6, 5), /* EMMC_CLK */
422+
EMMC_REGS(39, 6, 6), /* EMMC_DAT0 */
423+
EMMC_REGS(40, 6, 7), /* EMMC_DAT1 */
424+
EMMC_REGS(41, 6, 8), /* EMMC_DAT2 */
425+
EMMC_REGS(42, 6, 9), /* EMMC_DAT3 */
426+
EMMC_REGS(43, 6, 10), /* EMMC_DAT4 */
427+
EMMC_REGS(44, 6, 11), /* EMMC_DAT5 */
428+
EMMC_REGS(45, 6, 12), /* EMMC_DAT6 */
429+
EMMC_REGS(46, 6, 13), /* EMMC_DAT7 */
419430
};
420431

421432
static struct pin_regs bcm2712_d0_aon_gpio_pin_regs[] = {
@@ -468,6 +479,17 @@ static const struct pinctrl_pin_desc bcm2712_d0_gpio_pins[] = {
468479
GPIO_PIN(33),
469480
GPIO_PIN(34),
470481
GPIO_PIN(35),
482+
PINCTRL_PIN(36, "emmc_cmd"),
483+
PINCTRL_PIN(37, "emmc_ds"),
484+
PINCTRL_PIN(38, "emmc_clk"),
485+
PINCTRL_PIN(39, "emmc_dat0"),
486+
PINCTRL_PIN(40, "emmc_dat1"),
487+
PINCTRL_PIN(41, "emmc_dat2"),
488+
PINCTRL_PIN(42, "emmc_dat3"),
489+
PINCTRL_PIN(43, "emmc_dat4"),
490+
PINCTRL_PIN(44, "emmc_dat5"),
491+
PINCTRL_PIN(45, "emmc_dat6"),
492+
PINCTRL_PIN(46, "emmc_dat7"),
471493
};
472494

473495
static struct pinctrl_pin_desc bcm2712_d0_aon_gpio_pins[] = {

0 commit comments

Comments
 (0)