1 Star 0 Fork 0

Joel/nrf52840

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
sd_nand.overlay 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
Joel 提交于 4个月前 . add usb support
/ {
user_dbg_pin: user-dbg-pin {
compatible = "nordic,gpio-pins";
gpios = <&gpio1 3 (GPIO_ACTIVE_HIGH)>;
status = "okay";
};
};
&gpio0 {
status = "okay";
};
&gpiote0 {
status = "okay";
};
&pinctrl {
spi3_default: spi3_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 21)>,
<NRF_PSEL(SPIM_MISO, 0, 22)>,
<NRF_PSEL(SPIM_MOSI, 0, 19)>;
};
};
spi3_sleep: spi3_sleep {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 21)>,
<NRF_PSEL(SPIM_MISO, 0, 22)>,
<NRF_PSEL(SPIM_MOSI, 0, 19)>;
low-power-enable;
};
};
};
&spi3 {
status = "okay";
pinctrl-0 = <&spi3_default>;
pinctrl-1 = <&spi3_sleep>;
pinctrl-names = "default", "sleep";
cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
sdhc0: sdhc@0 {
compatible = "zephyr,sdhc-spi-slot";
reg = <0>;
status = "okay";
mmc {
compatible = "zephyr,sdmmc-disk";
status = "okay";
};
spi-max-frequency = <25000000>;
};
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/YIJia_Kitchen_Bath/nrf52840.git
git@gitee.com:YIJia_Kitchen_Bath/nrf52840.git
YIJia_Kitchen_Bath
nrf52840
nrf52840
master

搜索帮助