summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/k3-am625-beagleplay.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/dts/k3-am625-beagleplay.dts')
-rw-r--r--arch/arm/dts/k3-am625-beagleplay.dts30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/dts/k3-am625-beagleplay.dts b/arch/arm/dts/k3-am625-beagleplay.dts
new file mode 100644
index 0000000000..b4606ff129
--- /dev/null
+++ b/arch/arm/dts/k3-am625-beagleplay.dts
@@ -0,0 +1,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 */
+ >;
+};