Skip to content

Commit

Permalink
dts: k230: add ISP node
Browse files Browse the repository at this point in the history
Signed-off-by: 黄子懿 <[email protected]>
  • Loading branch information
MrThanlon committed Jul 26, 2024
1 parent 82dc121 commit 7782b58
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions arch/riscv/boot/dts/canaan/k230.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,41 @@
status = "okay";
};

isp: isp.0 {
compatible = "verisilicon,isp";
id = <0>;
reg = <0x0 0x90000000 0x0 0x8000>;
interrupts = <129 IRQ_TYPE_LEVEL_HIGH>,
<127 IRQ_TYPE_LEVEL_HIGH>,
<128 IRQ_TYPE_LEVEL_HIGH>;
resets = <&sysctl_reset
K230_RESET_ISP_REG_OFFSET
K230_RESET_ISP_TYPE
K230_RESET_ISP_DONE_BIT
K230_RESET_ISP_ASSERT_BIT>;
reset-names = "isp";
status = "okay";
};

mipi: mipi.0 {
compatible = "verisilicon,mipi";
id = <1>;
reg = <0x0 0x90009800 0x0 0x800>;
interrupts = <115 IRQ_TYPE_LEVEL_HIGH>;
resets = <&sysctl_reset
K230_RESET_CSI0_REG_OFFSET
K230_RESET_CSI0_TYPE
K230_RESET_CSI0_DONE_BIT
K230_RESET_CSI0_ASSERT_BIT>,
<&sysctl_reset
K230_RESET_M0_REG_OFFSET
K230_RESET_M0_TYPE
K230_RESET_M0_DONE_BIT
K230_RESET_M0_ASSERT_BIT>;
reset-names = "csi", "sensor";
status = "okay";
};

display: display-subsystem {
compatible = "canaan,display-subsystem";
ports = <&vo_out>;
Expand Down

0 comments on commit 7782b58

Please sign in to comment.