/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | atmel-gpbr.txt | 1 * Device tree bindings for Atmel GPBR (General Purpose Backup Registers) 3 The GPBR are a set of battery-backed registers. 7 "atmel,at91sam9260-gpbr", "syscon" 8 "microchip,sam9x60-gpbr", "syscon" 9 "microchip,sam9x7-gpbr", "microchip,sam9x60-gpbr", "syscon" 10 - reg: contains offset/length value of the GPBR memory 15 gpbr: gpbr@fffffd50 { 16 compatible = "atmel,at91sam9260-gpbr", "syscon";
|
/openbmc/u-boot/drivers/rtc/ |
H A D | at91sam9_rtt.c | 13 * the four GPBR registers. 15 * The at91sam9260 has 4 GPBR (0-3). 18 * make sure u-boot and kernel use the same GPBR ! 33 at91_gpbr_t *gpbr = (at91_gpbr_t *) ATMEL_BASE_GPBR; in rtc_get() local 42 off = readl(&gpbr->reg[AT91_GPBR_INDEX_TIMEOFF]); in rtc_get() 51 at91_gpbr_t *gpbr = (at91_gpbr_t *) ATMEL_BASE_GPBR; in rtc_set() local 59 writel(tim, &gpbr->reg[AT91_GPBR_INDEX_TIMEOFF]); in rtc_set() 69 at91_gpbr_t *gpbr = (at91_gpbr_t *) ATMEL_BASE_GPBR; in rtc_reset() local 74 writel(0, &gpbr->reg[AT91_GPBR_INDEX_TIMEOFF]); in rtc_reset()
|
/openbmc/linux/Documentation/devicetree/bindings/rtc/ |
H A D | atmel,at91sam9260-rtt.yaml | 42 - description: Phandle to the GPBR node. 43 - description: Offset within the GPBR block. 45 Should encode the GPBR register used to store the time base when the 46 RTT is used as an RTC. The first cell should point to the GPBR node 47 and the second one encodes the offset within the GPBR block (or in 48 other words, the GPBR register used to store the time base). 68 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
/openbmc/u-boot/drivers/bootcount/ |
H A D | bootcount_at91.c | 10 * register. This is done so we need to use only one of the four GPBR 15 at91_gpbr_t *gpbr = (at91_gpbr_t *) ATMEL_BASE_GPBR; in bootcount_store() local 18 &gpbr->reg[AT91_GPBR_INDEX_BOOTCOUNT]); in bootcount_store() 23 at91_gpbr_t *gpbr = (at91_gpbr_t *) ATMEL_BASE_GPBR; in bootcount_load() local 25 ulong val = readl(&gpbr->reg[AT91_GPBR_INDEX_BOOTCOUNT]); in bootcount_load()
|
/openbmc/u-boot/arch/arm/mach-at91/include/mach/ |
H A D | at91_gpbr.h | 21 * However, if you use a GPBR please document its use here and 25 * GPBR[0]: offset for RTT timekeeping (u-boot, kernel) 26 * GPBR[1]: unused 27 * GPBR[2]: unused 28 * GPBR[3]: bootcount (u-boot)
|
H A D | at91sam9260.h | 104 /* GPBR(non-XE SoCs): 0xfffffd50 */ 105 /* GPBR(XE SoCs): 0xfffffd60 */
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-at91sam9.c | 42 * choose from, or a "real" RTC module. All systems have multiple GPBR 72 struct regmap *gpbr; member 90 regmap_read(rtc->gpbr, rtc->gpbr_offset, &val); in gpbr_readl() 97 regmap_write(rtc->gpbr, rtc->gpbr_offset, val); in gpbr_writel() 370 rtc->gpbr = syscon_node_to_regmap(args.np); in at91_rtc_probe() 373 if (IS_ERR(rtc->gpbr)) { in at91_rtc_probe() 374 dev_err(&pdev->dev, "failed to retrieve gpbr regmap, aborting.\n"); in at91_rtc_probe()
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | at91sam9260-smartweb.dts | 87 atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 96 gpbr: syscon@fffffd50 { label
|
H A D | at91sam9g45-corvus.dts | 78 atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 82 gpbr: syscon@fffffd60 { label
|
H A D | at91sam9g20-taurus.dts | 96 atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 105 gpbr: syscon@fffffd50 { label
|
H A D | at91sam9g45-gurnard.dts | 131 atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 139 gpbr: syscon@fffffd60 { label
|
H A D | at91sam9g20ek_common.dtsi | 113 atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 121 gpbr: syscon@fffffd50 { label
|
H A D | at91sam9260ek.dts | 146 atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 154 gpbr: syscon@fffffd50 { label
|
H A D | at91sam9m10g45ek.dts | 208 atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 212 gpbr: syscon@fffffd60 { label
|
H A D | at91sam9261.dtsi | 869 gpbr: syscon@fffffd50 { label 870 compatible = "atmel,at91sam9260-gpbr", "syscon";
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91sam9260ek.dts | 121 atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 129 gpbr: syscon@fffffd50 { label
|
H A D | at91sam9g20ek_common.dtsi | 135 atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 143 gpbr: syscon@fffffd50 { label
|
H A D | at91sam9m10g45ek.dts | 223 atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 227 gpbr: syscon@fffffd60 { label
|
H A D | at91sam9263ek.dts | 106 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
H A D | at91sam9rlek.dts | 216 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
H A D | at91sam9261ek.dts | 182 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
H A D | at91-sam9x60ek.dts | 274 &gpbr { 620 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
H A D | at91sam9261.dtsi | 646 gpbr: syscon@fffffd50 { label 647 compatible = "atmel,at91sam9260-gpbr", "syscon";
|
H A D | sama7g5.dtsi | 285 gpbr: gpbr@e001d060 { label 286 compatible = "microchip,sama7g5-gpbr", "syscon";
|
H A D | at91sam9rl.dtsi | 817 gpbr: syscon@fffffd60 { label 818 compatible = "atmel,at91sam9260-gpbr", "syscon";
|