mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
riscv: dts: canaan: Correct the formatting issues about k230 dts
Correct the errors in the spacing format, and move the aliases from the SoC's dtsi to the board's dts, since it's more standard. Signed-off-by: Jiayu Du <jiayu.riscv@isrc.iscas.ac.cn> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
This commit is contained in:
parent
980512a5ca
commit
f7e74a96da
|
|
@ -9,6 +9,10 @@ / {
|
|||
model = "Canaan CanMV-K230";
|
||||
compatible = "canaan,canmv-k230", "canaan,kendryte-k230";
|
||||
|
||||
aliases {
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,6 +9,10 @@ / {
|
|||
model = "Kendryte K230 EVB";
|
||||
compatible = "canaan,k230-usip-lp3-evb", "canaan,kendryte-k230";
|
||||
|
||||
aliases {
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -11,10 +11,6 @@ / {
|
|||
#size-cells = <2>;
|
||||
compatible = "canaan,kendryte-k230";
|
||||
|
||||
aliases {
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
@ -75,7 +71,7 @@ soc {
|
|||
ranges;
|
||||
|
||||
plic: interrupt-controller@f00000000 {
|
||||
compatible = "canaan,k230-plic" ,"thead,c900-plic";
|
||||
compatible = "canaan,k230-plic", "thead,c900-plic";
|
||||
reg = <0xf 0x00000000 0x0 0x04000000>;
|
||||
interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>;
|
||||
interrupt-controller;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user