[PATCH 3/5] at91sam9263ek: fix SD card in DT
Sam Ravnborg
sam at ravnborg.org
Wed Dec 27 13:18:37 PST 2017
The DT file from the linux kernel uses mmc0 for SD card,
but the evaluation board uses mmc1.
Fix DT file so it has same behaviour like the non-DT
version where mmc1 is used.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
---
arch/arm/dts/at91sam9263ek.dts | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/arch/arm/dts/at91sam9263ek.dts b/arch/arm/dts/at91sam9263ek.dts
index 224748ecc..7d0ae0447 100644
--- a/arch/arm/dts/at91sam9263ek.dts
+++ b/arch/arm/dts/at91sam9263ek.dts
@@ -55,12 +55,13 @@
status = "okay";
};
- mmc0: mmc at fff80000 {
+ mmc1: mmc at fff84000 {
pinctrl-0 = <
- &pinctrl_board_mmc0
- &pinctrl_mmc0_clk
- &pinctrl_mmc0_slot0_cmd_dat0
- &pinctrl_mmc0_slot0_dat1_3>;
+ &pinctrl_board_mmc1
+ &pinctrl_mmc1_clk
+ &pinctrl_mmc1_slot0_cmd_dat0
+ &pinctrl_mmc1_slot0_dat1_3>;
+ cd-gpios = <&pioE 18 GPIO_ACTIVE_HIGH>;
status = "okay";
slot at 0 {
reg = <0>;
@@ -71,8 +72,8 @@
};
pinctrl at fffff200 {
- mmc0 {
- pinctrl_board_mmc0: mmc0-board {
+ mmc1 {
+ pinctrl_board_mmc1: mmc1-board {
atmel,pins =
<AT91_PIOE 18 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PE18 gpio CD pin pull up and deglitch */
AT91_PIOE 19 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PE19 gpio WP pin pull up */
--
2.12.0
More information about the barebox
mailing list