File tree Expand file tree Collapse file tree 3 files changed +78
-4
lines changed
boards/enjoydigital/litex_vexriscv Expand file tree Collapse file tree 3 files changed +78
-4
lines changed Original file line number Diff line number Diff line change 33
44if BOARD_LITEX_VEXRISCV
55
6- if NETWORKING
7-
8- config NET_L2_ETHERNET
6+ configdefault NET_L2_ETHERNET
97 default y
108
11- endif # NETWORKING
9+ configdefault SDHC_LITEX_LITESDCARD_NO_COHERENT_DMA
10+ default y
1211
1312endif # BOARD_LITEX_VEXRISCV
Original file line number Diff line number Diff line change 2626 device_type = "memory";
2727 reg = <0x40000000 0x10000000>;
2828 };
29+
30+ soc {
31+ sdhc0: sdhc@e000e800 {
32+ compatible = "litex,litesdcard-sdhc";
33+ interrupt-parent = <&intc0>;
34+ reg = <0xe000e800 0x4>,
35+ <0xe000e804 0x4>,
36+ <0xe000e808 0x4>,
37+ <0xe000e80c 0x4>,
38+ <0xe000e810 0x4>,
39+ <0xe000e814 0x4>,
40+ <0xe000e818 0x4>,
41+ <0xe000e81c 0x4>,
42+ <0xe000e820 0x4>,
43+ <0xe000e824 0x4>,
44+ <0xe000e828 0x10>,
45+ <0xe000e838 0x4>,
46+ <0xe000e83c 0x4>,
47+ <0xe000e840 0x4>,
48+ <0xe000e844 0x4>,
49+ <0xe000e848 0x8>,
50+ <0xe000e850 0x4>,
51+ <0xe000e854 0x4>,
52+ <0xe000e858 0x4>,
53+ <0xe000e85c 0x4>,
54+ <0xe000e860 0x4>,
55+ <0xe000e864 0x8>,
56+ <0xe000e86c 0x4>,
57+ <0xe000e870 0x4>,
58+ <0xe000e874 0x4>,
59+ <0xe000e878 0x4>,
60+ <0xe000e87c 0x4>,
61+ <0xe000e880 0x4>,
62+ <0xe000e884 0x4>,
63+ <0xe000e888 0x4>;
64+ reg-names = "phy_card_detect",
65+ "phy_clocker_divider",
66+ "phy_init_initialize",
67+ "phy_cmdr_timeout",
68+ "phy_dataw_status",
69+ "phy_datar_timeout",
70+ "phy_settings",
71+ "core_cmd_argument",
72+ "core_cmd_command",
73+ "core_cmd_send",
74+ "core_cmd_response",
75+ "core_cmd_event",
76+ "core_data_event",
77+ "core_block_length",
78+ "core_block_count",
79+ "block2mem_dma_base",
80+ "block2mem_dma_length",
81+ "block2mem_dma_enable",
82+ "block2mem_dma_done",
83+ "block2mem_dma_loop",
84+ "block2mem_dma_offset",
85+ "mem2block_dma_base",
86+ "mem2block_dma_length",
87+ "mem2block_dma_enable",
88+ "mem2block_dma_done",
89+ "mem2block_dma_loop",
90+ "mem2block_dma_offset",
91+ "ev_status",
92+ "ev_pending",
93+ "ev_enable";
94+ interrupts = <5 1>;
95+ status = "okay";
96+ mmc {
97+ compatible = "zephyr,sdmmc-disk";
98+ status = "okay";
99+ disk-name = "SD";
100+ };
101+ };
102+ };
29103};
30104
31105&ctrl0 {
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ supported:
1515 - gpio
1616 - uart
1717 - spi
18+ - sdhc
1819 - i2s
1920 - i2c
2021 - watchdog
You can’t perform that action at this time.
0 commit comments