dt-bingings:reset: Add reset node for vdec&&jpeg.
authorsamin <samin.guo@starfivetech.com>
Wed, 22 Dec 2021 07:34:41 +0000 (15:34 +0800)
committersamin <samin.guo@starfivetech.com>
Wed, 22 Dec 2021 07:38:56 +0000 (15:38 +0800)
Add reset bindings for the vdec&jpeg.

Signed-off-by: samin <samin.guo@starfivetech.com>
arch/riscv/boot/dts/starfive/starfive_jh7110.dts

index 906d13e..03ca8e5 100644 (file)
                    interrupts = <14>;
                    clocks = <&jpuclk>;
                    clock-names = "axi_clk", "core_clk", "apb_clk";
+                       resets = <&rstgen RSTN_U0_CODAJ12_AXI>,
+                               <&rstgen RSTN_U0_CODAJ12_CORE>,
+                               <&rstgen RSTN_U0_CODAJ12_APB>;
+                       reset-names = "rst_axi",
+                               "rst_core",
+                               "rst_apb";
                    status = "okay";
                };
 
                                "apb_clk",
                                "aximem_128b";
                    //starfive,vdec_noc_ctrl;
+                   resets = <&rstgen RSTN_U0_WAVE511_AXI>,
+                               <&rstgen RSTN_U0_WAVE511_BPU>,
+                               <&rstgen RSTN_U0_WAVE511_VCE>,
+                               <&rstgen RSTN_U0_WAVE511_APB>,
+                               <&rstgen RSTN_U0_AXIMEM_128B_AXI>;
+                   reset-names = "rst_axi",
+                               "rst_bpu",
+                               "rst_vce",
+                               "rst_apb",
+                               "rst_sram";
                    status = "okay";
                };
                vpu_enc:vpu_enc@130B0000 {