mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-14 22:16:03 +01:00
Add spi nor flash controller node for cv18xx SoCs Signed-off-by: Kongyang Liu <seashell11234455@gmail.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
65 lines
876 B
Plaintext
65 lines
876 B
Plaintext
// 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";
|
|
};
|