Skip to content

Commit 725a9fa

Browse files
committed
ARM: dts: at91: sama5d2_icp: add bindings for SDMMC1
Add bindings for SDMMC1. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
1 parent f3366d3 commit 725a9fa

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

arch/arm/boot/dts/at91-sama5d2_icp.dts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,17 @@
7575
status = "okay";
7676
};
7777

78+
sdmmc1: sdio-host@b0000000 {
79+
pinctrl-names = "default";
80+
pinctrl-0 = <&pinctrl_sdmmc1_default>;
81+
bus-width = <4>;
82+
#address-cells = <1>;
83+
#size-cells = <0>;
84+
no-1-8-v;
85+
non-removable;
86+
status = "okay";
87+
};
88+
7889
apb {
7990
qspi1: spi@f0024000 {
8091
pinctrl-names = "default";
@@ -515,6 +526,22 @@
515526
};
516527
};
517528

529+
pinctrl_sdmmc1_default: sdmmc1_default {
530+
cmd_data {
531+
pinmux = <PIN_PA18__SDMMC1_DAT0>,
532+
<PIN_PA19__SDMMC1_DAT1>,
533+
<PIN_PA20__SDMMC1_DAT2>,
534+
<PIN_PA21__SDMMC1_DAT3>;
535+
bias-disable;
536+
};
537+
538+
ck_cd {
539+
pinmux = <PIN_PA22__SDMMC1_CK>,
540+
<PIN_PA28__SDMMC1_CMD>;
541+
bias-disable;
542+
};
543+
};
544+
518545
pinctrl_mikrobus_i2c: mikrobus_i2c {
519546
pinmux = <PIN_PD22__TWCK0>,
520547
<PIN_PD21__TWD0>;

0 commit comments

Comments
 (0)