We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 815d669 commit e4dd3baCopy full SHA for e4dd3ba
boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi
@@ -29,6 +29,7 @@
29
i2c-1 = &i2c1;
30
watchdog0 = &wdt0;
31
rtc = &bm8563_rtc;
32
+ sdhc0 = &sd0;
33
};
34
35
@@ -106,6 +107,22 @@
106
107
status = "okay";
108
pinctrl-0 = <&spim2_default>;
109
pinctrl-names = "default";
110
+ clock-frequency = <20000000>;
111
+ cs-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>, /* LCD */
112
+ <&gpio0 4 GPIO_ACTIVE_LOW>; /* TF-CARD */
113
+
114
+ sd0: sd@1 {
115
+ compatible = "zephyr,sdhc-spi-slot";
116
+ reg = <1>;
117
+ status = "okay";
118
+ spi-max-frequency = <20000000>;
119
+ mmc {
120
+ compatible = "zephyr,sdmmc-disk";
121
+ disk-name = "SD";
122
123
+ };
124
125
126
127
128
&twai {
0 commit comments