Skip to content

Commit

Permalink
k230 uart dts enable
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 25, 2024
1 parent 1c71c45 commit 8d2efa9
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/riscv/boot/dts/canaan/k230-canmv-01studio.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
model = "Canaan CanMV-K230";
compatible = "canaan,canmv-k230", "canaan,kendryte-k230";

aliases {
serial3 = &uart3;
};

chosen {
stdout-path = "serial0:115200n8";
};
Expand All @@ -22,6 +26,9 @@
&uart0 {
status = "okay";
};
&uart3 {
status = "okay";
};
&mmc_sd0{
status = "okay";
no-1-8-v;
Expand Down
7 changes: 7 additions & 0 deletions arch/riscv/boot/dts/canaan/k230-canmv.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
model = "Canaan CanMV-K230";
compatible = "canaan,canmv-k230", "canaan,kendryte-k230";

aliases {
serial3 = &uart3;
};

chosen {
stdout-path = "serial0:115200n8";
};
Expand All @@ -22,6 +26,9 @@
&uart0 {
status = "okay";
};
&uart3 {
status = "okay";
};
&mmc_sd1{
status = "okay";
no-1-8-v;
Expand Down
7 changes: 7 additions & 0 deletions arch/riscv/boot/dts/canaan/k230-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
model = "Kendryte K230 EVB";
compatible = "canaan,k230-usip-lp3-evb", "canaan,kendryte-k230";

aliases {
serial3 = &uart3;
};

chosen {
stdout-path = "serial0:115200n8";
};
Expand All @@ -22,6 +26,9 @@
&uart0 {
status = "okay";
};
&uart3 {
status = "okay";
};

&mmc_sd1{
status = "okay";
Expand Down
6 changes: 6 additions & 0 deletions arch/riscv/boot/dts/canaan/k230d-canmv.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
/ {
model = "Canaan CanMV-K230";
compatible = "canaan,canmv-k230", "canaan,kendryte-k230";
aliases {
serial2 = &uart2;
};

chosen {
stdout-path = "serial0:115200n8";
Expand All @@ -24,6 +27,9 @@
&uart0 {
status = "okay";
};
&uart2 {
status = "okay";
};
&mmc_sd1{
status = "okay";
no-1-8-v;
Expand Down

0 comments on commit 8d2efa9

Please sign in to comment.