Skip to content

Commit

Permalink
k230:add 01studio board
Browse files Browse the repository at this point in the history
Signed-off-by: wangjianxin <[email protected]>
  • Loading branch information
wangjianxin-canaan authored and RevySR committed Jul 17, 2024
1 parent 6713518 commit f0744f4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions arch/riscv/boot/dts/canaan/k230-canmv-01studio.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* Copyright (C) 2024 Yangyu Chen <[email protected]>
*/

#include "k230.dtsi"

/ {
model = "Canaan CanMV-K230";
compatible = "canaan,canmv-k230", "canaan,kendryte-k230";

chosen {
stdout-path = "serial0:115200n8";
};

ddr: memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x40000000>;
};
};

&uart0 {
status = "okay";
};
&mmc_sd0{
status = "okay";
no-1-8-v;
cap-sd-highspeed;
rx_delay_line = <0x0d>;
tx_delay_line = <0xb0>;
};
&mmc_sd1{
status = "okay";
no-1-8-v;
cap-sd-highspeed;
mshc_ctrl_r = <0x00>;
};
&usb0 {
status = "okay";
};
&usb1 {
dr_mode = "host";
status = "okay";
};

0 comments on commit f0744f4

Please sign in to comment.