[PATCH v5 05/11] ARM: dts: add imx7d soc dtsi file

Zhi Li lznuaa at gmail.com
Tue Apr 21 12:34:45 PDT 2015


>>> +
>>> +       clocks {
>>> +               #address-cells = <1>;
>>> +               #size-cells = <0>;
>>> +
>>> +               ckil: clock at 0 {
>>> +                       compatible = "fixed-clock";
>>> +                       reg = <0>;
>>> +                       #clock-cells = <0>;
>>> +                       clock-frequency = <32768>;
>>> +                       clock-output-names = "ckil";
>>> +               };
>>> +
>>> +               osc: clock at 1 {
>>> +                       compatible = "fixed-clock";
>>> +                       reg = <1>;
>>> +                       #clock-cells = <0>;
>>> +                       clock-frequency = <24000000>;
>>> +                       clock-output-names = "osc";
>>> +               };
>>> +
>>> +       };
>>
>> Get rid of the clocks container node, and put these under the root.
>
> Okay.

After remove clocks node.
There will be warning

Warning (reg_format): "reg" property in /clock at 0 has invalid length (4
bytes) (#address-cells == 1, #size-cells == 1)
Warning (reg_format): "reg" property in /clock at 1 has invalid length (4
bytes) (#address-cells == 1, #size-cells == 1)

best regards
Frank Li
>
>>



More information about the linux-arm-kernel mailing list