OSDN Git Service

arm64: dts: lx2160a: Update can node property
authorKuldeep Singh <singh.kuldeep87k@gmail.com>
Sat, 2 Apr 2022 19:08:55 +0000 (00:38 +0530)
committerShawn Guo <shawnguo@kernel.org>
Mon, 11 Apr 2022 01:39:14 +0000 (09:39 +0800)
fsl,clk-source property is of type uint8 and need to be defined as
"/bits/ 8 <0>". Simply setting value to 0 raise warning:
can@2180000: fsl,clk-source:0: [0, 0, 0, 0] is too long

Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi

index c5daa15..82bd8c0 100644 (file)
                                            QORIQ_CLK_PLL_DIV(8)>,
                                 <&clockgen QORIQ_CLK_SYSCLK 0>;
                        clock-names = "ipg", "per";
-                       fsl,clk-source = <0>;
+                       fsl,clk-source = /bits/ 8 <0>;
                        status = "disabled";
                };
 
                                            QORIQ_CLK_PLL_DIV(8)>,
                                 <&clockgen QORIQ_CLK_SYSCLK 0>;
                        clock-names = "ipg", "per";
-                       fsl,clk-source = <0>;
+                       fsl,clk-source = /bits/ 8 <0>;
                        status = "disabled";
                };