Kongyang Liu | 8b2b5fd | 2024-01-28 15:05:24 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| 2 | /* |
| 3 | * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org> |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "cv1800b.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "Milk-V Duo"; |
| 12 | compatible = "milkv,duo", "sophgo,cv1800b"; |
| 13 | |
| 14 | aliases { |
| 15 | serial0 = &uart0; |
| 16 | serial1 = &uart1; |
| 17 | serial2 = &uart2; |
| 18 | serial3 = &uart3; |
| 19 | serial4 = &uart4; |
| 20 | }; |
| 21 | |
| 22 | chosen { |
| 23 | stdout-path = "serial0:115200n8"; |
| 24 | }; |
| 25 | |
| 26 | memory@80000000 { |
| 27 | device_type = "memory"; |
| 28 | reg = <0x80000000 0x3f40000>; |
| 29 | }; |
| 30 | }; |
| 31 | |
Kongyang Liu | af32b89 | 2024-04-20 15:00:28 +0800 | [diff] [blame] | 32 | ðernet0 { |
| 33 | status = "okay"; |
| 34 | phy-mode = "rmii"; |
| 35 | }; |
| 36 | |
Kongyang Liu | 8b2b5fd | 2024-01-28 15:05:24 +0800 | [diff] [blame] | 37 | &osc { |
| 38 | clock-frequency = <25000000>; |
| 39 | }; |
| 40 | |
Kongyang Liu | 8681442 | 2024-03-10 01:51:56 +0800 | [diff] [blame] | 41 | &sdhci0 { |
| 42 | status = "okay"; |
| 43 | bus-width = <4>; |
| 44 | no-1-8-v; |
| 45 | no-mmc; |
| 46 | no-sdio; |
| 47 | }; |
| 48 | |
Kongyang Liu | 60455d6f | 2024-04-20 15:08:24 +0800 | [diff] [blame] | 49 | &spif { |
| 50 | status = "okay"; |
| 51 | |
| 52 | spiflash@0 { |
| 53 | compatible = "jedec,spi-nor"; |
| 54 | reg = <0>; |
| 55 | spi-max-frequency = <75000000>; |
| 56 | spi-tx-bus-width = <4>; |
| 57 | spi-rx-bus-width = <4>; |
| 58 | m25p,fast-read; |
| 59 | }; |
| 60 | }; |
| 61 | |
Kongyang Liu | 8b2b5fd | 2024-01-28 15:05:24 +0800 | [diff] [blame] | 62 | &uart0 { |
| 63 | status = "okay"; |
| 64 | }; |