Skip to content
Discussion options

You must be logged in to vote

hi @lit-af

please try to update the following:

In fnk0085_esp32s3-pinctrl.dtsi:

	sdhc1_default: sdhc1_default {
		group1 {
			pinmux = <SDHC1_CLKOUT_GPIO39>,
				 <SDHC1_CMD_GPIO38>,
				 <SDHC1_DATA0_GPIO40>;
			bias-pull-up;
			output-high;
		};
	};

In fnk0085_esp32s3_procpu.dts:

&sdhc {
	sdhc1: sdhc@1 {
		status = "okay";

		pinctrl-0 = <&sdhc1_default>;
		pinctrl-names = "default";
		max-bus-freq = <52000000>;
		bus-width = <1>;

		mmc {
			compatible = "zephyr,sdmmc-disk";
			disk-name = "SD";
			status = "okay";
		};
	};
};

Notice that you need to define a parent node sdhc and a child node sdhc1 for the slot you decided you use.
Let me know if it works.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lit-af
Comment options

Answer selected by lit-af
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants