Loading Documentation/devicetree/bindings/arm/spear-timer.txt 0 → 100644 +18 −0 Original line number Diff line number Diff line * SPEAr ARM Timer ** Timer node required properties: - compatible : Should be: "st,spear-timer" - reg: Address range of the timer registers - interrupt-parent: Should be the phandle for the interrupt controller that services interrupts for this device - interrupt: Should contain the timer interrupt number Example: timer@f0000000 { compatible = "st,spear-timer"; reg = <0xf0000000 0x400>; interrupts = <2>; }; arch/arm/boot/dts/spear3xx.dtsi +6 −0 Original line number Diff line number Diff line Loading @@ -139,6 +139,12 @@ interrupts = <12>; status = "disabled"; }; timer@f0000000 { compatible = "st,spear-timer"; reg = <0xf0000000 0x400>; interrupts = <2>; }; }; }; }; arch/arm/boot/dts/spear600.dtsi +6 −0 Original line number Diff line number Diff line Loading @@ -177,6 +177,12 @@ interrupts = <28>; status = "disabled"; }; timer@f0000000 { compatible = "st,spear-timer"; reg = <0xf0000000 0x400>; interrupts = <16>; }; }; }; }; arch/arm/mach-spear3xx/include/mach/generic.h +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ extern struct pl022_ssp_controller pl022_plat_data; extern struct pl08x_platform_data pl080_plat_data; /* Add spear3xx family function declarations here */ void __init spear_setup_timer(resource_size_t base, int irq); void __init spear_setup_of_timer(void); void __init spear3xx_map_io(void); void __init spear3xx_dt_init_irq(void); Loading arch/arm/mach-spear3xx/include/mach/irqs.h +0 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ /* FIXME: probe all these from DT */ #define SPEAR3XX_IRQ_INTRCOMM_RAS_ARM 1 #define SPEAR3XX_IRQ_CPU_GPT1_1 2 #define SPEAR3XX_IRQ_GEN_RAS_1 28 #define SPEAR3XX_IRQ_GEN_RAS_2 29 #define SPEAR3XX_IRQ_GEN_RAS_3 30 Loading Loading
Documentation/devicetree/bindings/arm/spear-timer.txt 0 → 100644 +18 −0 Original line number Diff line number Diff line * SPEAr ARM Timer ** Timer node required properties: - compatible : Should be: "st,spear-timer" - reg: Address range of the timer registers - interrupt-parent: Should be the phandle for the interrupt controller that services interrupts for this device - interrupt: Should contain the timer interrupt number Example: timer@f0000000 { compatible = "st,spear-timer"; reg = <0xf0000000 0x400>; interrupts = <2>; };
arch/arm/boot/dts/spear3xx.dtsi +6 −0 Original line number Diff line number Diff line Loading @@ -139,6 +139,12 @@ interrupts = <12>; status = "disabled"; }; timer@f0000000 { compatible = "st,spear-timer"; reg = <0xf0000000 0x400>; interrupts = <2>; }; }; }; };
arch/arm/boot/dts/spear600.dtsi +6 −0 Original line number Diff line number Diff line Loading @@ -177,6 +177,12 @@ interrupts = <28>; status = "disabled"; }; timer@f0000000 { compatible = "st,spear-timer"; reg = <0xf0000000 0x400>; interrupts = <16>; }; }; }; };
arch/arm/mach-spear3xx/include/mach/generic.h +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ extern struct pl022_ssp_controller pl022_plat_data; extern struct pl08x_platform_data pl080_plat_data; /* Add spear3xx family function declarations here */ void __init spear_setup_timer(resource_size_t base, int irq); void __init spear_setup_of_timer(void); void __init spear3xx_map_io(void); void __init spear3xx_dt_init_irq(void); Loading
arch/arm/mach-spear3xx/include/mach/irqs.h +0 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ /* FIXME: probe all these from DT */ #define SPEAR3XX_IRQ_INTRCOMM_RAS_ARM 1 #define SPEAR3XX_IRQ_CPU_GPT1_1 2 #define SPEAR3XX_IRQ_GEN_RAS_1 28 #define SPEAR3XX_IRQ_GEN_RAS_2 29 #define SPEAR3XX_IRQ_GEN_RAS_3 30 Loading