/* | |
* Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd. | |
* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
&pinctrl { | |
spim2_default: spim2_default { | |
group1 { | |
pinmux = <SPIM2_MISO_GPIO2>, | |
<SPIM2_MOSI_GPIO15>, | |
<SPIM2_SCLK_GPIO14>; | |
}; | |
}; | |
}; | |
&spi2 { | |
status = "okay"; | |
pinctrl-0 = <&spim2_default>; | |
pinctrl-names = "default"; | |
cs-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; | |
sdhc0: sdhc@0 { | |
compatible = "zephyr,mmc-spi-slot"; | |
reg = <0>; | |
status = "okay"; | |
spi-max-frequency = <400000>; | |
}; | |
}; |