Commit 64324ef3 authored by Anthoine Bourgeois's avatar Anthoine Bourgeois Committed by Tony Lindgren
Browse files

ARM: dts: switch timer config to common devkit8000 devicetree



This patch allow lcd43 and lcd70 flavors to benefit from timer
evolution.

Fixes: e428e250 ("ARM: dts: Configure system timers for omap3")
Signed-off-by: default avatarAnthoine Bourgeois <anthoine.bourgeois@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 486343d3
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -158,6 +158,39 @@
	status = "disabled";
};

/* Unusable as clocksource because of unreliable oscillator */
&counter32k {
	status = "disabled";
};

/* Unusable as clockevent because if unreliable oscillator, allow to idle */
&timer1_target {
	/delete-property/ti,no-reset-on-init;
	/delete-property/ti,no-idle;
	timer@0 {
		/delete-property/ti,timer-alwon;
	};
};

/* Preferred always-on timer for clocksource */
&timer12_target {
	ti,no-reset-on-init;
	ti,no-idle;
	timer@0 {
		/* Always clocked by secure_32k_fck */
	};
};

/* Preferred timer for clockevent */
&timer2_target {
	ti,no-reset-on-init;
	ti,no-idle;
	timer@0 {
		assigned-clocks = <&gpt2_fck>;
		assigned-clock-parents = <&sys_ck>;
	};
};

&twl_gpio {
	ti,use-leds;
	/*
+0 −33
Original line number Diff line number Diff line
@@ -14,36 +14,3 @@
		display2 = &tv0;
	};
};

/* Unusable as clocksource because of unreliable oscillator */
&counter32k {
	status = "disabled";
};

/* Unusable as clockevent because if unreliable oscillator, allow to idle */
&timer1_target {
	/delete-property/ti,no-reset-on-init;
	/delete-property/ti,no-idle;
	timer@0 {
		/delete-property/ti,timer-alwon;
	};
};

/* Preferred always-on timer for clocksource */
&timer12_target {
	ti,no-reset-on-init;
	ti,no-idle;
	timer@0 {
		/* Always clocked by secure_32k_fck */
	};
};

/* Preferred timer for clockevent */
&timer2_target {
	ti,no-reset-on-init;
	ti,no-idle;
	timer@0 {
		assigned-clocks = <&gpt2_fck>;
		assigned-clock-parents = <&sys_ck>;
	};
};