File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
boards/espressif/esp32s3_eye Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 50
50
input-enable;
51
51
bias-disable;
52
52
};
53
+ };
53
54
55
+ sdhc0_default: sdhc0_default {
56
+ group1 {
57
+ pinmux = <SDHC0_CMD_GPIO38>,
58
+ <SDHC0_CLKOUT_GPIO39>,
59
+ <SDHC0_DATA0_GPIO40>;
60
+ bias-pull-up;
61
+ output-high;
62
+ };
54
63
};
55
64
};
Original file line number Diff line number Diff line change 21
21
watchdog0 = &wdt0;
22
22
sw0 = &button0;
23
23
led0 = &green_led;
24
+ sdhc0 = &sdhc0;
24
25
};
25
26
26
27
chosen {
32
33
zephyr,bt-hci = &esp32_bt_hci;
33
34
zephyr,display = &st7789v;
34
35
zephyr,camera = &lcd_cam;
36
+ zephyr,sdhc = &sdhc0;
35
37
};
36
38
37
39
buttons {
208
210
&wifi {
209
211
status = "okay";
210
212
};
213
+
214
+ &sdhc {
215
+ sdhc0: sdhc@0 {
216
+ status = "okay";
217
+
218
+ pinctrl-0 = <&sdhc0_default>;
219
+ pinctrl-names = "default";
220
+ max-bus-freq = <52000000>;
221
+ bus-width = <1>;
222
+
223
+ mmc {
224
+ compatible = "zephyr,sdmmc-disk";
225
+ disk-name = "SD";
226
+ status = "okay";
227
+ };
228
+ };
229
+ };
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ supported:
14
14
- watchdog
15
15
- entropy
16
16
- pwm
17
+ - sdhc
17
18
- dma
18
19
- input
19
20
- video
You can’t perform that action at this time.
0 commit comments