Message ID | 1439242911-715-3-git-send-email-balbi@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
* Felipe Balbi <balbi@ti.com> [150810 14:44]: > AM437x devices sport SCU, TWD and Global timers, > let's add them to DTS so they have a chance to > probe and be used by Linux. Is this one safe to apply already without the Kconfig change? Or will it cause multi_v7_defconfig with the timers selected to not boot properly? Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Aug 12, 2015 at 12:28:16AM -0700, Tony Lindgren wrote: > * Felipe Balbi <balbi@ti.com> [150810 14:44]: > > AM437x devices sport SCU, TWD and Global timers, > > let's add them to DTS so they have a chance to > > probe and be used by Linux. > > Is this one safe to apply already without the Kconfig change? > > Or will it cause multi_v7_defconfig with the timers selected > to not boot properly? I'd have to try :-) But it should be safe, just the timers won't be chosen for anything :-)
Hi, On Wed, Aug 12, 2015 at 09:52:16AM -0500, Felipe Balbi wrote: > On Wed, Aug 12, 2015 at 12:28:16AM -0700, Tony Lindgren wrote: > > * Felipe Balbi <balbi@ti.com> [150810 14:44]: > > > AM437x devices sport SCU, TWD and Global timers, > > > let's add them to DTS so they have a chance to > > > probe and be used by Linux. > > > > Is this one safe to apply already without the Kconfig change? > > > > Or will it cause multi_v7_defconfig with the timers selected > > to not boot properly? > > I'd have to try :-) But it should be safe, just the timers won't be > chosen for anything :-) Just booted with only $subject and patch 1/5, it works just fine. I'll resend the series (now, 4 patches only) and if RMK is fine with patch 1, then I'll add to his patch system.
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index ade28c790f4b..08bcdc8f0b6f 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@ -59,6 +59,27 @@ interrupt-parent = <&gic>; }; + scu: scu@48240000 { + compatible = "arm,cortex-a9-scu"; + reg = <0x48240000 0x100>; + }; + + global_timer: timer@48240200 { + compatible = "arm,cortex-a9-global-timer"; + reg = <0x48240200 0x100>; + interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&gic>; + clocks = <&dpll_mpu_m2_ck>; + }; + + local_timer: timer@48240600 { + compatible = "arm,cortex-a9-twd-timer"; + reg = <0x48240600 0x100>; + interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&gic>; + clocks = <&dpll_mpu_m2_ck>; + }; + l2-cache-controller@48242000 { compatible = "arm,pl310-cache"; reg = <0x48242000 0x1000>;
AM437x devices sport SCU, TWD and Global timers, let's add them to DTS so they have a chance to probe and be used by Linux. Signed-off-by: Felipe Balbi <balbi@ti.com> --- arch/arm/boot/dts/am4372.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)