]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: sam9x60ek: add clock frequencies to board file
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 7 Oct 2020 15:17:09 +0000 (18:17 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Mon, 19 Oct 2020 06:19:53 +0000 (09:19 +0300)
Slow Xtal and Main Xtal are board specific. Add their proper
frequency to board file.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
arch/arm/dts/sam9x60.dtsi
arch/arm/dts/sam9x60ek.dts

index 41ac1f164c86fe722a334bc98f3fd110e92357b1..51de586e1900603dcef58404c55f14848298399d 100644 (file)
                slow_xtal: slow_xtal {
                        compatible = "fixed-clock";
                        #clock-cells = <0>;
-                       clock-frequency = <0>;
                };
 
                main_xtal: main_xtal {
                        compatible = "fixed-clock";
                        #clock-cells = <0>;
-                       clock-frequency = <0>;
                };
        };
 
index 8767de98b8ddf332c3559ded1a919c9a4d6d3912..44af5d99ee4ce2f45d8886a25ee715d4362763e2 100644 (file)
                i2c0 = &flx0;
        };
 
+       clocks {
+               slow_xtal: slow_xtal {
+                       clock-frequency = <32768>;
+               };
+
+               main_xtal: main_xtal {
+                       clock-frequency = <24000000>;
+               };
+       };
+
        onewire_tm: onewire {
                gpios = <&pioD 14 0>;
                pinctrl-names = "default";