// SPDX-License-Identifier: (GPL-2.0 OR MIT) | |
/* | |
* Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org> | |
*/ | |
/dts-v1/; | |
#include "cv1800b.dtsi" | |
/ { | |
model = "Milk-V Duo"; | |
compatible = "milkv,duo", "sophgo,cv1800b"; | |
aliases { | |
serial0 = &uart0; | |
serial1 = &uart1; | |
serial2 = &uart2; | |
serial3 = &uart3; | |
serial4 = &uart4; | |
}; | |
chosen { | |
stdout-path = "serial0:115200n8"; | |
}; | |
memory@80000000 { | |
device_type = "memory"; | |
reg = <0x80000000 0x3f40000>; | |
}; | |
}; | |
ðernet0 { | |
status = "okay"; | |
phy-mode = "rmii"; | |
}; | |
&osc { | |
clock-frequency = <25000000>; | |
}; | |
&sdhci0 { | |
status = "okay"; | |
bus-width = <4>; | |
no-1-8-v; | |
no-mmc; | |
no-sdio; | |
}; | |
&spif { | |
status = "okay"; | |
spiflash@0 { | |
compatible = "jedec,spi-nor"; | |
reg = <0>; | |
spi-max-frequency = <75000000>; | |
spi-tx-bus-width = <4>; | |
spi-rx-bus-width = <4>; | |
m25p,fast-read; | |
}; | |
}; | |
&uart0 { | |
status = "okay"; | |
}; |