summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/k3-am625-beagleplay.dts
blob: b4606ff129508c9bfaa44e32da1666d15dc3c0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/dts-v1/;

#include <arm64/ti/k3-am625-beagleplay.dts>

/ {
	chosen {
		stdout-path = &main_uart0;
	};
};

&sd_pins_default {
	pinctrl-single,pins = <
		AM62X_IOPAD(0x023c, PIN_INPUT, 0) /* (A21) MMC1_CMD */
		AM62X_IOPAD(0x0234, PIN_INPUT, 0) /* (B22) MMC1_CLK */
		AM62X_IOPAD(0x0230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */
		AM62X_IOPAD(0x022c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */
		AM62X_IOPAD(0x0228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */
		AM62X_IOPAD(0x0224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */
		/*
		 * The upstream dts configures this as MMC1_SDCD.GPIO1_48 and
		 * uses main_gpio1 48 as card detect GPIO. With this the
		 * MMC driver doesn't doesn't detect the card. Upstream
		 * dts has the ti,fails-without-test-cd property which
		 * purpose seems to be to work around this issue. This
		 * doesn't work either in barebox. For now configure the
		 * pin as native SDHCI card detect.
		 */
		AM62X_IOPAD(0x0240, PIN_INPUT, 0) /* (D17) MMC1_SDCD */
	>;
};