ARM: dts: sama7g5: switch to PMC bindings

Get rid of software defined MCK and switch to PMC bindings
for IPs currently present in device tree.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
This commit is contained in:
Claudiu Beznea 2020-06-02 15:26:12 +03:00 committed by Eugen Hristev
parent 33fa0b6cef
commit 394f520709
2 changed files with 4 additions and 13 deletions

View file

@ -10,6 +10,7 @@
*/ */
#include "skeleton.dtsi" #include "skeleton.dtsi"
#include <dt-bindings/clk/at91.h>
/ { / {
model = "Microchip SAMA7G5 family SoC"; model = "Microchip SAMA7G5 family SoC";
@ -37,12 +38,6 @@
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
}; };
mck: mck {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <200000000>;
};
}; };
ahb { ahb {
@ -74,15 +69,15 @@
sdmmc1: sdio-host@e1208000 { sdmmc1: sdio-host@e1208000 {
compatible = "microchip,sama7g5-sdhci"; compatible = "microchip,sama7g5-sdhci";
reg = <0xe1208000 0x300>; reg = <0xe1208000 0x300>;
clocks = <&mck>, <&mck>, <&mck>; clocks = <&pmc PMC_TYPE_PERIPHERAL 81>, <&pmc PMC_TYPE_GCK 81>;
clock-names = "hclock", "multclk", "baseclk"; clock-names = "hclock", "multclk";
status = "disabled"; status = "disabled";
}; };
uart0: serial@e1824200 { uart0: serial@e1824200 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xe1824200 0x200>; reg = <0xe1824200 0x200>;
clocks = <&mck>; clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
clock-names = "usart"; clock-names = "usart";
status = "disabled"; status = "disabled";
}; };

View file

@ -47,7 +47,3 @@
u-boot,dm-pre-reloc; u-boot,dm-pre-reloc;
}; };
&mck {
u-boot,dm-pre-reloc;
};