Skip to content
Snippets Groups Projects
Commit ccbd0f84 authored by leichuan's avatar leichuan Committed by Kenneth Johansson
Browse files

Reorganize GPTC and wdt framework support

parent 58591dae
No related branches found
No related tags found
No related merge requests found
......@@ -685,6 +685,10 @@
clocks = <&i2cclk>;
};
clocksource: gptc-phandle {
#gptc-cells = <3>;
};
gptc0: gptc@b00000 {
compatible = "intel,gptc", "lantiq,gptc";
reg = <0xb00000 0x400>;
......@@ -693,9 +697,7 @@
<GIC_SHARED 120 IRQ_TYPE_EDGE_RISING>,
<GIC_SHARED 122 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "tc1a", "tc2a", "tc3a";
intel,clkevt = <0>;
intel,cpuid = <1>;
intel,clksrc = <2>;
intel,clk = <&clocksource 1 0 1>, <&clocksource 0 2 0>;
clocks = <&pll0aclk SSX4_CLK>, <&clkgate1 GATE_GPTC0_CLK>;
clock-names = "fpi", "gptc";
};
......@@ -708,8 +710,7 @@
<GIC_SHARED 162 IRQ_TYPE_EDGE_RISING>,
<GIC_SHARED 164 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "tc1a", "tc2a", "tc3a";
intel,clkevt = <0 1 2>;
intel,cpuid = <0 2 3>;
intel,clk = <&clocksource 1 0 0>, <&clocksource 1 1 2>, <&clocksource 1 2 3>;
clocks =<&pll0aclk SSX4_CLK>, <&clkgate1 GATE_GPTC1_CLK>;
clock-names = "fpi", "gptc";
};
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment