Skip to content

Commit

Permalink
dts: mvebu: a80x0: Enable SD/eMMC interfaces
Browse files Browse the repository at this point in the history
Enable SDHCI interface on AP and CP0 in A80x0 DTS files

Signed-off-by: Konstantin Porotchkin <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Signed-off-by: Evan Wang <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
  • Loading branch information
Konstantin Porotchkin authored and stroese committed May 29, 2018
1 parent f5db597 commit 61dccf7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/dts/armada-8040-db.dts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@
1 3 0 0 0 0 0 0 0 3 >;
};

&ap_sdhci0 {
pinctrl-names = "default";
pinctrl-0 = <&ap_emmc_pins>;
bus-width = <8>;
status = "okay";
};

&cpm_pinctl {
/* MPP Bus:
* [0-31] = 0xff: Keep default CP0_shared_pins
Expand Down Expand Up @@ -182,6 +189,13 @@
status = "okay";
};

&cpm_sdhci0 {
pinctrl-names = "default";
pinctrl-0 = <&cpm_sdhci_pins>;
bus-width = <4>;
status = "okay";
};

&cps_pinctl {
/* MPP Bus:
* [0-11] RGMII0
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/dts/armada-8040-mcbin.dts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@
status = "okay";
};

/* uSD slot */
&cpm_sdhci0 {
pinctrl-names = "default";
pinctrl-0 = <&cpm_sdhci_pins>;
bus-width = <4>;
status = "okay";
};

&cpm_comphy {
/*
* CP0 Serdes Configuration:
Expand Down

0 comments on commit 61dccf7

Please sign in to comment.