| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/ |
| D | renesas,sh-rtc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/rtc/renesas,sh-rtc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Real Time Clock for Renesas SH and ARM SoCs 10 - Chris Brandt <chris.brandt@renesas.com> 11 - Geert Uytterhoeven <geert+renesas@glider.be> 16 - const: renesas,r7s72100-rtc # RZ/A1H 17 - const: renesas,sh-rtc 25 interrupt-names: [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/rtc/ |
| D | rtc-sh.txt | 1 * Real Time Clock for Renesas SH and ARM SoCs 4 - compatible: Should be "renesas,r7s72100-rtc" and "renesas,sh-rtc" as a 6 - reg: physical base address and length of memory mapped region. 7 - interrupts: 3 interrupts for alarm, period, and carry. 8 - interrupt-names: The interrupts should be labeled as "alarm", "period", and 10 - clocks: The functional clock source for the RTC controller must be listed 13 - clock-names: The functional clock must be labeled as "fck". Other clocks 18 rtc: rtc@fcff1000 { 19 compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc"; 24 interrupt-names = "alarm", "period", "carry"; [all …]
|
| /kernel/linux/linux-4.19/drivers/rtc/ |
| D | rtc-sh.c | 2 * SuperH On-Chip RTC Support 4 * Copyright (C) 2006 - 2009 Paul Mundt 8 * Based on the old arch/sh/kernel/cpu/rtc.c by: 21 #include <linux/rtc.h> 32 #include <asm/rtc.h> 34 /* Default values for RZ/A RTC */ 41 #define DRV_NAME "sh-rtc" 47 #define RSECCNT RTC_REG(1) /* RTC sec */ 48 #define RMINCNT RTC_REG(2) /* RTC min */ 49 #define RHRCNT RTC_REG(3) /* RTC hour */ [all …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-sh.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SuperH On-Chip RTC Support 5 * Copyright (C) 2006 - 2009 Paul Mundt 9 * Based on the old arch/sh/kernel/cpu/rtc.c by: 18 #include <linux/rtc.h> 29 #include <asm/rtc.h> 31 /* Default values for RZ/A RTC */ 38 #define DRV_NAME "sh-rtc" 44 #define RSECCNT RTC_REG(1) /* RTC sec */ 45 #define RMINCNT RTC_REG(2) /* RTC min */ [all …]
|
| /kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh3/ |
| D | setup-sh7710.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2006 - 2009 Paul Mundt 15 #include <asm/rtc.h> 28 RTC, WDT, REF, enumerator 32 /* IRQ0->5 are handled in setup-sh3.c */ 51 INTC_VECT(RTC, 0x480), INTC_VECT(RTC, 0x4a0), 52 INTC_VECT(RTC, 0x4c0), 58 { 0xfffffee2, 0, 16, 4, /* IPRA */ { TMU0, TMU1, TMU2, RTC } }, 89 .name = "sh-rtc", 90 .id = -1, [all …]
|
| D | setup-sh7705.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2006 - 2009 Paul Mundt 15 #include <asm/rtc.h> 31 RTC, WDT, REF_RCMI, enumerator 35 /* IRQ0->5 are handled in setup-sh3.c */ 49 INTC_VECT(RTC, 0x480), INTC_VECT(RTC, 0x4a0), 50 INTC_VECT(RTC, 0x4c0), 56 { 0xfffffee2, 0, 16, 4, /* IPRA */ { TMU0, TMU1, TMU2, RTC } }, 83 .name = "sh-sci", 104 .name = "sh-sci", [all …]
|
| D | setup-sh7720.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Based on arch/sh/kernel/cpu/sh4/setup-sh7750.c: 21 #include <asm/rtc.h> 28 .end = 0xa413fec0 + 0x28 - 1, 43 .name = "sh-rtc", 44 .id = -1, 64 .name = "sh-sci", 85 .name = "sh-sci", 112 .name = "ohci-platform", 113 .id = -1, [all …]
|
| D | setup-sh770x.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Based on setup-sh7709.c 32 RTC, WDT, REF, enumerator 38 INTC_VECT(RTC, 0x480), INTC_VECT(RTC, 0x4a0), 39 INTC_VECT(RTC, 0x4c0), 48 /* IRQ0->5 are handled in setup-sh3.c */ 68 { 0xfffffee2, 0, 16, 4, /* IPRA */ { TMU0, TMU1, TMU2, RTC } }, 103 .name = "sh-rtc", 104 .id = -1, 120 .name = "sh-sci", [all …]
|
| /kernel/linux/linux-4.19/arch/sh/kernel/cpu/sh3/ |
| D | setup-sh7705.c | 4 * Copyright (C) 2006 - 2009 Paul Mundt 18 #include <asm/rtc.h> 33 RTC, WDT, REF_RCMI, enumerator 37 /* IRQ0->5 are handled in setup-sh3.c */ 51 INTC_VECT(RTC, 0x480), INTC_VECT(RTC, 0x4a0), 52 INTC_VECT(RTC, 0x4c0), 58 { 0xfffffee2, 0, 16, 4, /* IPRA */ { TMU0, TMU1, TMU2, RTC } }, 85 .name = "sh-sci", 106 .name = "sh-sci", 132 .name = "sh-rtc", [all …]
|
| D | setup-sh7710.c | 4 * Copyright (C) 2006 - 2009 Paul Mundt 18 #include <asm/rtc.h> 30 RTC, WDT, REF, enumerator 34 /* IRQ0->5 are handled in setup-sh3.c */ 53 INTC_VECT(RTC, 0x480), INTC_VECT(RTC, 0x4a0), 54 INTC_VECT(RTC, 0x4c0), 60 { 0xfffffee2, 0, 16, 4, /* IPRA */ { TMU0, TMU1, TMU2, RTC } }, 91 .name = "sh-rtc", 92 .id = -1, 111 .name = "sh-sci", [all …]
|
| D | setup-sh7720.c | 7 * Based on arch/sh/kernel/cpu/sh4/setup-sh7750.c: 24 #include <asm/rtc.h> 30 .end = 0xa413fec0 + 0x28 - 1, 45 .name = "sh-rtc", 46 .id = -1, 66 .name = "sh-sci", 87 .name = "sh-sci", 114 .name = "ohci-platform", 115 .id = -1, 142 .id = -1, [all …]
|
| D | setup-sh770x.c | 7 * Based on setup-sh7709.c 34 RTC, WDT, REF, enumerator 40 INTC_VECT(RTC, 0x480), INTC_VECT(RTC, 0x4a0), 41 INTC_VECT(RTC, 0x4c0), 50 /* IRQ0->5 are handled in setup-sh3.c */ 70 { 0xfffffee2, 0, 16, 4, /* IPRA */ { TMU0, TMU1, TMU2, RTC } }, 105 .name = "sh-rtc", 106 .id = -1, 122 .name = "sh-sci", 145 .name = "sh-sci", [all …]
|
| /kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh2a/ |
| D | setup-sh7201.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2008 Peter Griffin pgriffin@mpc-data.co.uk 28 RTC, WDT, enumerator 88 INTC_IRQ(RTC, 152), INTC_IRQ(RTC, 153), 89 INTC_IRQ(RTC, 154), 159 { 0xfffe9806, 0, 16, 4, /* IPR09 */ { RTC, WDT, IIC30, 0 } }, 189 .name = "sh-sci", 209 .name = "sh-sci", 229 .name = "sh-sci", 249 .name = "sh-sci", [all …]
|
| D | setup-sh7203.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2007 - 2009 Paul Mundt 36 /* ROM-DEC, SDHI, SRC, and IEB are SH7263 specific */ 37 ROMDEC, FLCTL, SDHI, RTC, RCAN0, RCAN1, enumerator 107 INTC_IRQ(RTC, 231), INTC_IRQ(RTC, 232), 108 INTC_IRQ(RTC, 233), 116 /* SH7263-specific trash */ 155 { 0xfffe0c14, 0, 16, 4, /* IPR16 */ { FLCTL, 0, RTC, RCAN0 } }, 160 { 0xfffe0c14, 0, 16, 4, /* IPR16 */ { FLCTL, SDHI, RTC, RCAN0 } }, 186 .name = "sh-sci", [all …]
|
| D | clock-sh7264.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * arch/sh/kernel/cpu/sh2a/clock-sh7264.c 28 /* Fixed 32 KHz root clock for RTC */ 43 unsigned long rate = clk->parent->rate / pll1_div; in pll_recalc() 101 [MSTP30] = SH_CLK_MSTP8(&r_clk, STBCR3, 0, 0), /* RTC */ 115 CLKDEV_ICK_ID("fck", "sh-sci.0", &mstp_clks[MSTP77]), 116 CLKDEV_ICK_ID("fck", "sh-sci.1", &mstp_clks[MSTP77]), 117 CLKDEV_ICK_ID("fck", "sh-sci.2", &mstp_clks[MSTP77]), 118 CLKDEV_ICK_ID("fck", "sh-sci.3", &mstp_clks[MSTP77]), 119 CLKDEV_ICK_ID("fck", "sh-sci.4", &mstp_clks[MSTP77]), [all …]
|
| /kernel/linux/linux-4.19/arch/sh/kernel/cpu/sh2a/ |
| D | setup-sh7201.c | 4 * Copyright (C) 2008 Peter Griffin pgriffin@mpc-data.co.uk 30 RTC, WDT, enumerator 90 INTC_IRQ(RTC, 152), INTC_IRQ(RTC, 153), 91 INTC_IRQ(RTC, 154), 161 { 0xfffe9806, 0, 16, 4, /* IPR09 */ { RTC, WDT, IIC30, 0 } }, 191 .name = "sh-sci", 211 .name = "sh-sci", 231 .name = "sh-sci", 251 .name = "sh-sci", 271 .name = "sh-sci", [all …]
|
| D | setup-sh7203.c | 4 * Copyright (C) 2007 - 2009 Paul Mundt 38 /* ROM-DEC, SDHI, SRC, and IEB are SH7263 specific */ 39 ROMDEC, FLCTL, SDHI, RTC, RCAN0, RCAN1, enumerator 109 INTC_IRQ(RTC, 231), INTC_IRQ(RTC, 232), 110 INTC_IRQ(RTC, 233), 118 /* SH7263-specific trash */ 157 { 0xfffe0c14, 0, 16, 4, /* IPR16 */ { FLCTL, 0, RTC, RCAN0 } }, 162 { 0xfffe0c14, 0, 16, 4, /* IPR16 */ { FLCTL, SDHI, RTC, RCAN0 } }, 188 .name = "sh-sci", 209 .name = "sh-sci", [all …]
|
| D | clock-sh7264.c | 2 * arch/sh/kernel/cpu/sh2a/clock-sh7264.c 31 /* Fixed 32 KHz root clock for RTC */ 46 unsigned long rate = clk->parent->rate / pll1_div; in pll_recalc() 104 [MSTP30] = SH_CLK_MSTP8(&r_clk, STBCR3, 0, 0), /* RTC */ 118 CLKDEV_ICK_ID("fck", "sh-sci.0", &mstp_clks[MSTP77]), 119 CLKDEV_ICK_ID("fck", "sh-sci.1", &mstp_clks[MSTP77]), 120 CLKDEV_ICK_ID("fck", "sh-sci.2", &mstp_clks[MSTP77]), 121 CLKDEV_ICK_ID("fck", "sh-sci.3", &mstp_clks[MSTP77]), 122 CLKDEV_ICK_ID("fck", "sh-sci.4", &mstp_clks[MSTP77]), 123 CLKDEV_ICK_ID("fck", "sh-sci.5", &mstp_clks[MSTP77]), [all …]
|
| /kernel/linux/linux-4.19/arch/ia64/include/asm/sn/ |
| D | shub_mmr.h | 7 * Copyright (c) 2001-2005 Silicon Graphics, Inc. All rights reserved. 15 /* SHub Inter-Processor Interrupt Registers */ 75 /* Real-time Clock */ 225 /* SHub RTC 1 Interrupt Config Registers */ 260 /* SHub RTC 1 Interrupt Enable Registers */ 269 /* Description: Enable RTC 1 Interrupt */ 276 /* SHub RTC 2 Interrupt Config Registers */ 311 /* SHub RTC 2 Interrupt Enable Registers */ 320 /* Description: Enable RTC 2 Interrupt */ 327 /* SHub RTC 3 Interrupt Config Registers */ [all …]
|
| /kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4a/ |
| D | setup-sh7734.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * arch/sh/kernel/cpu/sh4a/setup-sh7734.c 15 #include <linux/dma-mapping.h> 37 .name = "sh-sci", 58 .name = "sh-sci", 79 .name = "sh-sci", 100 .name = "sh-sci", 121 .name = "sh-sci", 142 .name = "sh-sci", 151 /* RTC */ [all …]
|
| D | setup-sh7780.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <cpu/dma-register.h> 30 .name = "sh-sci", 51 .name = "sh-sci", 72 .name = "sh-tmu", 93 .name = "sh-tmu", 105 .end = 0xffe80000 + 0x58 - 1, 116 .name = "sh-rtc", 117 .id = -1, 209 * vectors are 0x640-0x6a0, 0x780-0x7a0 [all …]
|
| /kernel/linux/linux-4.19/arch/sh/kernel/cpu/sh4a/ |
| D | setup-sh7734.c | 2 * arch/sh/kernel/cpu/sh4a/setup-sh7734.c 18 #include <linux/dma-mapping.h> 39 .name = "sh-sci", 60 .name = "sh-sci", 81 .name = "sh-sci", 102 .name = "sh-sci", 123 .name = "sh-sci", 144 .name = "sh-sci", 153 /* RTC */ 156 .name = "rtc", [all …]
|
| /kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/ |
| D | setup-sh7750.c | 1 // SPDX-License-Identifier: GPL-2.0 21 .end = 0xffc80000 + 0x58 - 1, 32 .name = "sh-rtc", 33 .id = -1, 48 .name = "sh-sci", 68 .name = "sh-sci", 89 .name = "sh-tmu", 114 .name = "sh-tmu", 185 TMU3, TMU4, TMU0, TMU1, TMU2, RTC, SCI1, SCIF, WDT, REF, enumerator 195 INTC_VECT(RTC, 0x480), INTC_VECT(RTC, 0x4a0), [all …]
|
| /kernel/linux/linux-4.19/arch/sh/kernel/cpu/sh4/ |
| D | setup-sh7750.c | 23 .end = 0xffc80000 + 0x58 - 1, 34 .name = "sh-rtc", 35 .id = -1, 50 .name = "sh-sci", 70 .name = "sh-sci", 91 .name = "sh-tmu", 116 .name = "sh-tmu", 187 TMU3, TMU4, TMU0, TMU1, TMU2, RTC, SCI1, SCIF, WDT, REF, enumerator 197 INTC_VECT(RTC, 0x480), INTC_VECT(RTC, 0x4a0), 198 INTC_VECT(RTC, 0x4c0), [all …]
|
| /kernel/linux/linux-4.19/arch/sh/kernel/ |
| D | time.c | 2 * arch/sh/kernel/time.c 6 * Copyright (C) 2002 - 2009 Paul Mundt 7 * Copyright (C) 2002 M. R. Brown <mrbrown@linux-sh.org> 21 #include <linux/rtc.h> 23 #include <asm/rtc.h> 25 /* Dummy RTC ops */ 28 tv->tv_sec = mktime(2000, 1, 1, 0, 0, 0); in null_rtc_get_time() 29 tv->tv_nsec = 0; in null_rtc_get_time() 68 return -EOPNOTSUPP; in rtc_generic_set_time() 83 return -ENODEV; in rtc_generic_init() [all …]
|