dt-bingings:jpu:jh7110: Add CLK signals to JPU.
authorsamin <samin.guo@starfivetech.com>
Mon, 18 Apr 2022 01:37:59 +0000 (09:37 +0800)
committersamin <samin.guo@starfivetech.com>
Thu, 21 Apr 2022 09:19:52 +0000 (17:19 +0800)
Jpu uses the Clock framework API.

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

index 490ebea..cdfdaef 100644 (file)
                jpu: jpu@11900000 {
                        compatible = "starfive,jpu";
                        reg = <0x0 0x13090000 0x0 0x300>;
-                       clocks = <&jpuclk>;
+                       interrupts = <14>;
+                       clocks = <&clkgen JH7110_CODAJ12_CLK_AXI>,
+                               <&clkgen JH7110_CODAJ12_CLK_CORE>,
+                               <&clkgen JH7110_CODAJ12_CLK_APB>;
                        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";
-                       interrupts = <14>;
+                       reset-names = "rst_axi", "rst_core", "rst_apb";
                        status = "disabled";
                };