]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: sama7g5: add PMC bindings
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 2 Jun 2020 12:24:25 +0000 (15:24 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 7 Jan 2021 07:44:15 +0000 (09:44 +0200)
Add DT bindings for PMC driver.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
arch/arm/dts/sama7g5.dtsi
arch/arm/dts/sama7g5ek-u-boot.dtsi

index d27d246a682162a948c197a227b389d07d3343ae..623680624478dd403ffc3226fc2516a04bb6db6e 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
 
+                       pmc: pmc@e0018000 {
+                               compatible = "microchip,sama7g5-pmc";
+                               reg = <0xe0018000 0x200>;
+                               #clock-cells = <2>;
+                               clocks = <&clk32 1>, <&clk32 0>, <&main_xtal>, <&main_rc>;
+                               clock-names = "td_slck", "md_slck", "main_xtal", "main_rc";
+                               status = "okay";
+                       };
+
                        clk32: sckc@e001d050 {
                                compatible = "microchip,sam9x60-sckc";
                                reg = <0xe001d050 0x4>;
index d10448e0316ca2ed4b904b40dbeb6203e1bd7e92..428b98c3033f6b065d2023f9306d96853e62dcb1 100644 (file)
        u-boot,dm-pre-reloc;
 };
 
+&pmc {
+       u-boot,dm-pre-reloc;
+};
+
 &slow_rc_osc {
        u-boot,dm-pre-reloc;
 };