Home
last modified time | relevance | path

Searched +full:at91rm9200 +full:- +full:tcb (Results 1 – 21 of 21) sorted by relevance

/linux-5.10/Documentation/devicetree/bindings/soc/microchip/
Datmel,at91rm9200-tcb.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/soc/microchip/atmel,at91rm9200-tcb.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 - Alexandre Belloni <alexandre.belloni@bootlin.com>
19 - enum:
20 - atmel,at91rm9200-tcb
21 - atmel,at91sam9x5-tcb
22 - atmel,sama5d2-tcb
23 - const: simple-mfd
[all …]
/linux-5.10/arch/arm/boot/dts/
Dat91rm9200ek.dts1 // 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 …]
Dmpa1600.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * mpa1600.dts - Device Tree file for Phontech MPA 1600
7 /dts-v1/;
8 #include "at91rm9200.dtsi"
12 compatible = "phontech,mpa1600", "atmel,at91rm9200";
20 clock-frequency = <32768>;
24 clock-frequency = <18432000>;
36 compatible = "atmel,tcb-timer";
41 compatible = "atmel,tcb-timer";
47 phy-mode = "rmii";
[all …]
Dat91rm9200.dtsi1 // 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>
18 #address-cells = <1>;
19 #size-cells = <1>;
20 model = "Atmel AT91RM9200 family SoC";
21 compatible = "atmel,at91rm9200";
[all …]
Dsam9x60.dtsi1 // 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/atmel-flexcom.h>
18 #address-cells = <1>;
19 #size-cells = <1>;
[all …]
Dat91sam9260.dtsi1 // 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>
16 #address-cells = <1>;
17 #size-cells = <1>;
20 interrupt-parent = <&aic>;
[all …]
Dat91sam9n12.dtsi1 // 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>
16 #address-cells = <1>;
17 #size-cells = <1>;
20 interrupt-parent = <&aic>;
[all …]
Dat91sam9g45.dtsi1 // 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>
18 #address-cells = <1>;
19 #size-cells = <1>;
22 interrupt-parent = <&aic>;
[all …]
Dat91sam9261.dtsi1 // 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>
14 #address-cells = <1>;
15 #size-cells = <1>;
18 interrupt-parent = <&aic>;
[all …]
Dat91sam9x5.dtsi1 // 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>
18 #address-cells = <1>;
19 #size-cells = <1>;
22 interrupt-parent = <&aic>;
[all …]
Dat91sam9263.dtsi1 // 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>
14 #address-cells = <1>;
15 #size-cells = <1>;
18 interrupt-parent = <&aic>;
[all …]
Dsama5d4.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sama5d4.dtsi - Device Tree Include file for SAMA5D4 family SoC
9 #include <dt-bindings/clock/at91.h>
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>
16 #address-cells = <1>;
17 #size-cells = <1>;
20 interrupt-parent = <&aic>;
[all …]
Dat91sam9rl.dtsi1 // 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>
16 #address-cells = <1>;
17 #size-cells = <1>;
[all …]
Dsama5d2.dtsi1 // 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/iio/adc/at91-sama5d2_adc.h>
15 #address-cells = <1>;
16 #size-cells = <1>;
19 interrupt-parent = <&aic>;
27 #address-cells = <1>;
[all …]
Dsama5d3.dtsi1 // 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>
17 #address-cells = <1>;
18 #size-cells = <1>;
21 interrupt-parent = <&aic>;
[all …]
Dat91-sam9x60ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sam9x60ek.dts - Device Tree file for Microchip SAM9X60-EK board
9 /dts-v1/;
13 model = "Microchip SAM9X60-EK";
23 stdout-path = "serial0:115200n8";
28 clock-frequency = <32768>;
32 clock-frequency = <24000000>;
37 compatible = "simple-bus";
38 #address-cells = <1>;
39 #size-cells = <0>;
[all …]
/linux-5.10/arch/arm/mach-at91/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M
61 bool "AT91RM9200"
72 Select this if you are using Microchip's AT91RM9200 SoC.
138 bool "Timer Counter Blocks (TCB) support"
144 On platforms with 16-bit counters, two timer channels are combined
145 to make a single 32-bit timer.
/linux-5.10/drivers/misc/
Datmel_tclib.c1 // SPDX-License-Identifier: GPL-2.0-only
37 * atmel_tc_alloc - allocate a specified TC block
41 * pre-initialized struct atmel_tc is returned. The caller can access
51 if (tc->allocated) in atmel_tc_alloc()
54 if ((tc->pdev->dev.of_node && tc->id == block) || in atmel_tc_alloc()
55 (tc->pdev->id == block)) { in atmel_tc_alloc()
56 pdev = tc->pdev; in atmel_tc_alloc()
57 tc->allocated = true; in atmel_tc_alloc()
68 * atmel_tc_free - release a specified TC block
77 if (tc->allocated) in atmel_tc_free()
[all …]
/linux-5.10/drivers/counter/
Dmicrochip-tcb-capture.c1 // SPDX-License-Identifier: GPL-2.0-only
87 struct mchp_tc_data *const priv = counter->priv; in mchp_tc_count_function_get()
89 if (priv->qdec_mode) in mchp_tc_count_function_get()
101 struct mchp_tc_data *const priv = counter->priv; in mchp_tc_count_function_set()
104 regmap_read(priv->regmap, ATMEL_TC_BMR, &bmr); in mchp_tc_count_function_set()
105 regmap_read(priv->regmap, ATMEL_TC_REG(priv->channel[0], CMR), &cmr); in mchp_tc_count_function_set()
112 priv->qdec_mode = 0; in mchp_tc_count_function_set()
115 if (priv->tc_cfg->has_gclk) in mchp_tc_count_function_set()
124 if (!priv->tc_cfg->has_qdec) in mchp_tc_count_function_set()
125 return -EINVAL; in mchp_tc_count_function_set()
[all …]
/linux-5.10/drivers/clocksource/
Dtimer-atmel-tcb.c1 // SPDX-License-Identifier: GPL-2.0
24 * - Two channels combine to create a free-running 32 bit counter
27 * - Some chips support 32 bit counter. A single channel is used for
28 * this 32 bit free-running counter. the second channel is not used.
30 * - The third channel may be used to provide a clockevent source, used in
31 * either periodic or oneshot mode. For 16-bit counter its runs at 32 KiHZ,
32 * and can handle delays of up to two seconds. For 32-bit counters, it runs at
163 void __iomem *regs = tcd->regs; in tc_shutdown()
168 clk_disable(tcd->clk); in tc_shutdown()
176 void __iomem *regs = tcd->regs; in tc_set_oneshot()
[all …]
/linux-5.10/drivers/clk/at91/
Dat91rm9200.c1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/clk-provider.h>
6 #include <dt-bindings/clock/at91.h>
86 i = of_property_match_string(np, "clock-names", "slow_xtal"); in at91rm9200_pmc_setup()
92 i = of_property_match_string(np, "clock-names", "main_xtal"); in at91rm9200_pmc_setup()
107 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in at91rm9200_pmc_setup()
118 at91rm9200_pmc->chws[PMC_MAIN] = hw; in at91rm9200_pmc_setup()
126 at91rm9200_pmc->chws[PMC_PLLACK] = hw; in at91rm9200_pmc_setup()
134 at91rm9200_pmc->chws[PMC_PLLBCK] = hw; in at91rm9200_pmc_setup()
146 at91rm9200_pmc->chws[PMC_MCK] = hw; in at91rm9200_pmc_setup()
[all …]