From 6e5c9ac4fa78f45fff08664223921c0153b50b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=AD=90=E6=87=BF?= Date: Fri, 26 Jul 2024 11:33:06 +0800 Subject: [PATCH] dts: k230: add ISP node MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 黄子懿 --- arch/riscv/boot/dts/canaan/k230.dtsi | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/riscv/boot/dts/canaan/k230.dtsi b/arch/riscv/boot/dts/canaan/k230.dtsi index 641b29b57694d..9b3534d7ee6b0 100644 --- a/arch/riscv/boot/dts/canaan/k230.dtsi +++ b/arch/riscv/boot/dts/canaan/k230.dtsi @@ -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>;