/openbmc/linux/Documentation/devicetree/bindings/rtc/ |
H A D | atmel,at91rm9200-rtc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/rtc/atmel,at91rm9200-rtc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Atmel AT91 RTC 10 - $ref: rtc.yaml# 13 - Alexandre Belloni <alexandre.belloni@bootlin.com> 18 - enum: 19 - atmel,at91rm9200-rtc 20 - atmel,at91sam9x5-rtc [all …]
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91rm9200ek.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * at91rm9200ek.dts - Device Tree file for Atmel AT91RM9200 evaluation kit 7 /dts-v1/; 8 #include "at91rm9200.dtsi" 11 model = "Atmel AT91RM9200 evaluation kit"; 12 compatible = "atmel,at91rm9200ek", "atmel,at91rm9200"; 15 stdout-path = "serial0:115200n8"; 24 clock-frequency = <32768>; 28 clock-frequency = <18432000>; 36 compatible = "atmel,tcb-timer"; [all …]
|
H A D | at91rm9200.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91rm9200.dtsi - Device Tree Include file for AT91RM9200 family SoC 12 #include <dt-bindings/pinctrl/at91.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/clock/at91.h> 16 #include <dt-bindings/mfd/at91-usart.h> 19 #address-cells = <1>; 20 #size-cells = <1>; 21 model = "Atmel AT91RM9200 family SoC"; [all …]
|
H A D | at91sam9rl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9rl.dtsi - Device Tree Include file for AT91SAM9RL family SoC 6 * Alexandre Belloni <alexandre.belloni@free-electrons.com> 9 #include <dt-bindings/pinctrl/at91.h> 10 #include <dt-bindings/clock/at91.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/pwm/pwm.h> 14 #include <dt-bindings/mfd/at91-usart.h> 17 #address-cells = <1>; [all …]
|
H A D | sam9x60.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * sam9x60.dtsi - Device Tree Include file for Microchip SAM9X60 SoC 10 #include <dt-bindings/dma/at91.h> 11 #include <dt-bindings/pinctrl/at91.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/clock/at91.h> 15 #include <dt-bindings/mfd/at91-usart.h> 16 #include <dt-bindings/mfd/atmel-flexcom.h> 19 #address-cells = <1>; [all …]
|
H A D | at91sam9g45.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC 11 #include <dt-bindings/dma/at91.h> 12 #include <dt-bindings/pinctrl/at91.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/clock/at91.h> 16 #include <dt-bindings/mfd/at91-usart.h> 19 #address-cells = <1>; 20 #size-cells = <1>; [all …]
|
H A D | at91sam9263.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * at91sam9263.dtsi - Device Tree Include file for AT91SAM9263 family SoC 5 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 8 #include <dt-bindings/pinctrl/at91.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/clock/at91.h> 12 #include <dt-bindings/mfd/at91-usart.h> 15 #address-cells = <1>; 16 #size-cells = <1>; [all …]
|
H A D | at91sam9n12.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9n12.dtsi - Device Tree include file for AT91SAM9N12 SoC 9 #include <dt-bindings/dma/at91.h> 10 #include <dt-bindings/pinctrl/at91.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/clock/at91.h> 14 #include <dt-bindings/mfd/at91-usart.h> 17 #address-cells = <1>; 18 #size-cells = <1>; [all …]
|
H A D | at91sam9x5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC 11 #include <dt-bindings/dma/at91.h> 12 #include <dt-bindings/pinctrl/at91.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/clock/at91.h> 16 #include <dt-bindings/mfd/at91-usart.h> 19 #address-cells = <1>; 20 #size-cells = <1>; [all …]
|
H A D | at91sam9261.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * at91sam9261.dtsi - Device Tree Include file for AT91SAM9261 SoC 5 * Copyright (C) 2013 Jean-Jacques Hiblot <jjhiblot@traphandler.com> 8 #include <dt-bindings/pinctrl/at91.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/clock/at91.h> 12 #include <dt-bindings/mfd/at91-usart.h> 15 #address-cells = <1>; 16 #size-cells = <1>; [all …]
|
H A D | sama5d2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * sama5d2.dtsi - Device Tree Include file for SAMA5D2 family SoC 9 #include <dt-bindings/dma/at91.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/clock/at91.h> 12 #include <dt-bindings/mfd/at91-usart.h> 13 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 20 interrupt-parent = <&aic>; [all …]
|
H A D | at91sam9260.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9260.dtsi - Device Tree Include file for AT91SAM9260 family SoC 7 * 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 10 #include <dt-bindings/pinctrl/at91.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/clock/at91.h> 14 #include <dt-bindings/mfd/at91-usart.h> 17 #address-cells = <1>; 18 #size-cells = <1>; [all …]
|
H A D | sama5d3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sama5d3.dtsi - Device Tree Include file for SAMA5D3 family SoC 10 #include <dt-bindings/dma/at91.h> 11 #include <dt-bindings/pinctrl/at91.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/clock/at91.h> 15 #include <dt-bindings/mfd/at91-usart.h> 18 #address-cells = <1>; 19 #size-cells = <1>; [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-at91rm9200.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Real Time Clock interface for Linux on Atmel AT91RM9200 7 * Converted to RTC class model by Andrew Victor 10 * Based on s3c2410-rtc.c Simtec Electronics 12 * Based on sa1100-rtc.c by Nils Faerber 13 * Based on rtc.c by Paul Gortmaker 27 #include <linux/rtc.h> 126 * Register read back (of any RTC-register) needed to make sure in at91_rtc_write_idr() 127 * IDR-register write has reached the peripheral before updating in at91_rtc_write_idr() 132 * way to be certain would be to poll the IMR-register, which is in at91_rtc_write_idr() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for RTC class/drivers. 6 ccflags-$(CONFIG_RTC_DEBUG) := -DDEBUG 8 obj-$(CONFIG_RTC_LIB) += lib.o 9 obj-$(CONFIG_RTC_CLASS) += rtc-core.o 10 obj-$(CONFIG_RTC_MC146818_LIB) += rtc-mc146818-lib.o 11 rtc-core-y := class.o interface.o 13 rtc-core-$(CONFIG_RTC_NVMEM) += nvmem.o 14 rtc-core-$(CONFIG_RTC_INTF_DEV) += dev.o 15 rtc-core-$(CONFIG_RTC_INTF_PROC) += proc.o [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | at91sam9rl.dtsi | 2 * at91sam9rl.dtsi - Device Tree Include file for AT91SAM9RL family SoC 4 * Copyright (C) 2014 Alexandre Belloni <alexandre.belloni@free-electrons.com> 10 #include <dt-bindings/pinctrl/at91.h> 11 #include <dt-bindings/clock/at91.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/pwm/pwm.h> 19 interrupt-parent = <&aic>; 42 compatible = "arm,arm926ej-s"; 53 compatible = "fixed-clock"; [all …]
|
H A D | at91sam9263.dtsi | 2 * at91sam9263.dtsi - Device Tree Include file for AT91SAM9263 family SoC 4 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 10 #include <dt-bindings/pinctrl/at91.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/clock/at91.h> 18 interrupt-parent = <&aic>; 40 compatible = "arm,arm926ej-s"; 51 compatible = "fixed-clock"; 52 #clock-cells = <0>; [all …]
|
H A D | at91sam9g45.dtsi | 2 * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC 13 #include <dt-bindings/dma/at91.h> 14 #include <dt-bindings/pinctrl/at91.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/at91.h> 22 interrupt-parent = <&aic>; 45 compatible = "arm,arm926ej-s"; 56 compatible = "fixed-clock"; 57 #clock-cells = <0>; [all …]
|
H A D | at91sam9261.dtsi | 2 * at91sam9261.dtsi - Device Tree Include file for AT91SAM9261 SoC 4 * Copyright (C) 2013 Jean-Jacques Hiblot <jjhiblot@traphandler.com> 10 #include <dt-bindings/pinctrl/at91.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/clock/at91.h> 18 interrupt-parent = <&aic>; 38 compatible = "arm,arm926ej-s"; 49 compatible = "fixed-clock"; 50 #clock-cells = <0>; [all …]
|
H A D | at91sam9n12.dtsi | 2 * at91sam9n12.dtsi - Device Tree include file for AT91SAM9N12 SoC 11 #include <dt-bindings/dma/at91.h> 12 #include <dt-bindings/pinctrl/at91.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/clock/at91.h> 20 interrupt-parent = <&aic>; 42 compatible = "arm,arm926ej-s"; 53 compatible = "fixed-clock"; 54 #clock-cells = <0>; [all …]
|
H A D | at91sam9260.dtsi | 2 * at91sam9260.dtsi - Device Tree Include file for AT91SAM9260 family SoC 6 * 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 12 #include <dt-bindings/pinctrl/at91.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/clock/at91.h> 20 interrupt-parent = <&aic>; 41 compatible = "arm,arm926ej-s"; 52 compatible = "fixed-clock"; 53 #clock-cells = <0>; [all …]
|
H A D | at91sam9x5.dtsi | 2 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC 13 #include <dt-bindings/dma/at91.h> 14 #include <dt-bindings/pinctrl/at91.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/at91.h> 22 interrupt-parent = <&aic>; 45 compatible = "arm,arm926ej-s"; 56 compatible = "fixed-clock"; 57 #clock-cells = <0>; [all …]
|
/openbmc/linux/include/linux/clk/ |
H A D | at91_pmc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Power Management Controller (PMC) - System peripherals registers. 9 * Based on AT91RM9200 datasheet revision E. 25 #define AT91RM9200_PMC_UDP (1 << 1) /* USB Devcice Port Clock [AT91RM9200 only] */ 26 …MCKUDP (1 << 2) /* USB Device Port Master Clock Automatic Disable on Suspend [AT91RM9200 only] */ 27 #define AT91RM9200_PMC_UHP (1 << 4) /* USB Host Port Clock [AT91RM9200 only] */ 57 #define AT91_PMC_UPLLCOUNT (0xf << 20) /* UTMI PLL Start-up Time */ 59 #define AT91_PMC_BIASCOUNT (0xf << 28) /* UTMI BIAS Start-up Time */ 71 #define AT91_PMC_MOSCRCEN (1 << 3) /* Main On-Chip RC Oscillator Enable [some SAM9] */ 72 #define AT91_PMC_OSCOUNT (0xff << 8) /* Main Oscillator Start-up Time */ [all …]
|
/openbmc/u-boot/arch/arm/mach-at91/include/mach/ |
H A D | at91_rtc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * Real Time Clock (RTC) - System peripheral registers. 7 * Based on AT91RM9200 datasheet revision E. 65 #define AT91_RTC_NVTIM (1 << 0) /* Non-valid Time */ 66 #define AT91_RTC_NVCAL (1 << 1) /* Non-valid Calendar */
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-atmel-aic-common.c | 3 * irq-atmel-aic and irq-atmel-aic5 drivers 10 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> 25 #include "irq-atmel-aic-common.h" 45 ct->chip.irq_mask(d); in aic_common_shutdown() 51 struct aic_chip_data *aic = gc->private; in aic_common_set_type() 62 if (!(d->mask & aic->ext_irqs)) in aic_common_set_type() 63 return -EINVAL; in aic_common_set_type() 68 if (!(d->mask & aic->ext_irqs)) in aic_common_set_type() 69 return -EINVAL; in aic_common_set_type() 74 return -EINVAL; in aic_common_set_type() [all …]
|