ARC: [plat-axs10x]: use pgu pll instead of fixed clock

Use PLL driver instead of fixed-clock for PGU pixel clock.
That allows us to support wider range of graphic modes.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
Eugeniy Paltsev 2019-11-19 16:22:14 +03:00 committed by Vineet Gupta
parent f091d5a426
commit 93c53f2397
2 changed files with 12 additions and 5 deletions

View File

@ -28,6 +28,12 @@
clock-frequency = <750000000>; clock-frequency = <750000000>;
}; };
input_clk: input-clk {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <33333333>;
};
core_intc: arc700-intc@cpu { core_intc: arc700-intc@cpu {
compatible = "snps,arc700-intc"; compatible = "snps,arc700-intc";
interrupt-controller; interrupt-controller;

View File

@ -61,12 +61,13 @@
clock-frequency = <25000000>; clock-frequency = <25000000>;
#clock-cells = <0>; #clock-cells = <0>;
}; };
};
pguclk: pguclk { pguclk: pguclk@10080 {
#clock-cells = <0>; compatible = "snps,axs10x-pgu-pll-clock";
compatible = "fixed-clock"; reg = <0x10080 0x10>, <0x110 0x10>;
clock-frequency = <74250000>; #clock-cells = <0>;
}; clocks = <&input_clk>;
}; };
gmac: ethernet@18000 { gmac: ethernet@18000 {