Home
last modified time | relevance | path

Searched +full:sama5d2 +full:- +full:i2c (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/arch/arm/boot/dts/microchip/
H A 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/mfd/at91-usart.h>
13 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
16 #address-cells = <1>;
17 #size-cells = <1>;
18 model = "Atmel SAMA5D2 family SoC";
[all …]
H A 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/at91-usart.h>
16 #include <dt-bindings/mfd/atmel-flexcom.h>
19 #address-cells = <1>;
[all …]
H A Dat91-sama5d2_ptc_ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
3 * at91-sama5d2_ptc_ek.dts - Device Tree file for SAMA5D2 PTC EK board
9 /dts-v1/;
10 #include "sama5d2.dtsi"
11 #include "sama5d2-pinfunc.h"
12 #include <dt-bindings/mfd/atmel-flexcom.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/pinctrl/at91.h>
18 model = "Atmel SAMA5D2 PTC EK";
[all …]
H A Dsama7g5.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sama7g5.dtsi - Device Tree Include file for SAMA7G5 family SoC
12 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/clock/at91.h>
16 #include <dt-bindings/dma/at91.h>
17 #include <dt-bindings/gpio/gpio.h>
18 #include <dt-bindings/mfd/at91-usart.h>
19 #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
[all …]
H A Dat91-sama5d2_xplained.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board
8 /dts-v1/;
9 #include "sama5d2.dtsi"
10 #include "sama5d2-pinfunc.h"
11 #include <dt-bindings/mfd/atmel-flexcom.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
17 model = "Atmel SAMA5D2 Xplained";
[all …]
H A Dat91-sama5d2_icp.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board
11 /dts-v1/;
12 #include "sama5d2.dtsi"
13 #include "sama5d2-pinfunc.h"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/mfd/atmel-flexcom.h>
19 model = "Microchip SAMA5D2-ICP";
20 compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
[all …]
H A Dat91-sama5d27_som1.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d27_som1.dtsi - Device Tree file for SAMA5D27 SoM1 board
9 #include "sama5d2.dtsi"
10 #include "sama5d2-pinfunc.h"
11 #include <dt-bindings/gpio/gpio.h>
15 compatible = "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
23 clock-frequency = <32768>;
27 clock-frequency = <24000000>;
32 sdmmc0: sdio-host@a0000000 {
33 microchip,sdcal-inverted;
[all …]
H A Dlan966x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * lan966x.dtsi - Device Tree Include file for Microchip LAN966 family SoC
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/mfd/atmel-flexcom.h>
14 #include <dt-bindings/dma/at91.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/clock/microchip,lan966x.h>
21 interrupt-parent = <&gic>;
22 #address-cells = <1>;
[all …]
H A Dat91-kizbox3_common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * at91-kizbox3.dts - Device Tree Include file for Overkiz Kizbox 3
12 /dts-v1/;
13 #include "sama5d2.dtsi"
14 #include "sama5d2-pinfunc.h"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/mfd/atmel-flexcom.h>
17 #include <dt-bindings/pinctrl/at91.h>
18 #include <dt-bindings/pwm/pwm.h>
22 compatible = "overkiz,kizbox3", "atmel,sama5d2", "atmel,sama5";
[all …]
H A Dat91-kizbox3-hs.dts1 // SPDX-License-Identifier: GPL-2.0
3 * at91-kizbox3-hs.dts - Device Tree file for Overkiz KIZBOX3-HS board
11 /dts-v1/;
12 #include "at91-kizbox3_common.dtsi"
15 model = "Overkiz KIZBOX3-HS";
16 compatible = "overkiz,kizbox3-hs", "atmel,sama5d2", "atmel,sama5";
18 led-controller-1 {
21 led-1 {
25 led-2 {
29 led-3 {
[all …]
H A Dat91-sama5d27_som1_ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d27_som1_ek.dts - Device Tree file for SAMA5D27-SOM1-EK board
10 /dts-v1/;
11 #include "at91-sama5d27_som1.dtsi"
12 #include <dt-bindings/mfd/atmel-flexcom.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
18 …compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "…
29 stdout-path = "serial0:115200n8";
34 atmel,vbus-gpio = <&pioA PIN_PD20 GPIO_ACTIVE_HIGH>;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/i2c/
H A Datmel,at91sam-i2c.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/i2c/atmel,at91sam-i2c.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: I2C for Atmel/Microchip platforms
11 - Alexandre Belloni <alexandre.belloni@bootlin.com>
16 - items:
17 - enum:
18 - atmel,at91rm9200-i2c
19 - atmel,at91sam9261-i2c
[all …]
/openbmc/u-boot/doc/device-tree-bindings/i2c/
H A Di2c-at91.txt1 I2C for Atmel platforms
4 - compatible : Must be "atmel,at91rm9200-i2c", "atmel,at91sam9261-i2c",
5 "atmel,at91sam9260-i2c", "atmel,at91sam9g20-i2c", "atmel,at91sam9g10-i2c",
6 "atmel,at91sam9x5-i2c", "atmel,sama5d4-i2c" or "atmel,sama5d2-i2c".
7 - reg: physical base address of the controller and length of memory mapped
9 - #address-cells = <1>;
10 - #size-cells = <0>;
11 - clocks: phandles to input clocks.
14 - clock-frequency: Desired I2C bus frequency in Hz, default value is 100000.
15 - Child nodes conforming to i2c bus binding.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Datmel-flexcom.txt3 The Atmel Flexcom is just a wrapper which embeds a SPI controller, an I2C
8 - compatible: Should be "atmel,sama5d2-flexcom"
9 or "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"
10 - reg: Should be the offset/length value for Flexcom dedicated
12 - clocks: Should be the Flexcom peripheral clock from PMC.
13 - #address-cells: Should be <1>
14 - #size-cells: Should be <1>
15 - ranges: Should be one range for the full I/O register region
17 - atmel,flexcom-mode: Should be one of the following values:
18 - <1> for USART
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dsama5d2.dtsi4 model = "Atmel SAMA5D2 family SoC";
5 compatible = "atmel,sama5d2";
16 compatible = "fixed-clock";
17 #clock-cells = <0>;
18 clock-frequency = <0>;
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <0>;
29 compatible = "simple-bus";
30 #address-cells = <1>;
[all …]
H A Dsama5d27_som1.dtsi2 * sama5d27_som1.dtsi - Device Tree file for SAMA5D27 SOM1
7 * This file is dual-licensed: you can use it either under the terms
46 #include "sama5d2.dtsi"
47 #include "sama5d2-pinfunc.h"
50 compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d2", "atmel,sama5";
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_qspi1_sck_cs_default &pinctrl_qspi1_dat_default>;
66 u-boot,dm-pre-reloc;
69 compatible = "spi-flash";
71 spi-max-frequency = <50000000>;
[all …]
H A Dat91-sama5d2_ptc_ek.dts2 * at91-sama5d2_ptc_ek.dts - Device Tree file for SAMA5D2 PTC EK board
7 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include <dt-bindings/gpio/gpio.h>
47 #include "sama5d2.dtsi"
48 #include "sama5d2-pinfunc.h"
51 model = "Atmel SAMA5D2 PTC EK";
52 compatible = "atmel,sama5d2-ptc_ek", "atmel,sama5d2", "atmel,sama5";
55 u-boot,dm-pre-reloc;
56 stdout-path = &uart0;
[all …]
H A Dat91-sama5d2_xplained.dts1 /dts-v1/;
2 #include "sama5d2.dtsi"
3 #include "sama5d2-pinfunc.h"
6 model = "Atmel SAMA5D2 Xplained";
7 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
10 u-boot,dm-pre-reloc;
11 stdout-path = &uart1;
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_onewire_tm_default>;
28 num-ports = <3>;
[all …]
/openbmc/linux/drivers/power/reset/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 bool "ams AS3722 power-off driver"
16 This driver supports turning off board via a ams AS3722 power-off.
35 tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver"
40 SAMA5 SoCs. It is present for example on SAMA5D2 SoC.
43 tristate "Actions Semi ATC260x PMIC power-off driver"
46 This driver provides power-off and restart support for a system
64 Say Y here if you have a Broadcom Kona-based board and you wish
79 bool "Cortina Gemini power-off driver"
88 bool "GPIO power-off driver"
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-at91-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * i2c Support for Atmel's AT91 Two-Wire Interface (TWI)
18 #include <linux/i2c.h>
26 #include "i2c-at91.h"
30 return readl_relaxed(dev->base + reg); in at91_twi_read()
35 writel_relaxed(val, dev->base + reg); in at91_twi_write()
45 dev->imr = at91_twi_read(dev, AT91_TWI_IMR) & AT91_TWI_INT_MASK; in at91_twi_irq_save()
51 at91_twi_write(dev, AT91_TWI_IER, dev->imr); in at91_twi_irq_restore()
58 if (dev->slave_detected) in at91_init_twi_bus()
92 .name = "i2c-at91rm9200",
[all …]
/openbmc/u-boot/drivers/i2c/
H A Dat91_i2c.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Atmel I2C driver.
14 #include <i2c.h>
26 struct at91_i2c_regs *reg = bus->regs; in at91_wait_for_xfer()
30 bus->status = 0; in at91_wait_for_xfer()
33 sr = readl(&reg->sr); in at91_wait_for_xfer()
34 bus->status |= sr; in at91_wait_for_xfer()
37 return -EREMOTEIO; in at91_wait_for_xfer()
42 return -ETIMEDOUT; in at91_wait_for_xfer()
47 struct at91_i2c_regs *reg = bus->regs; in at91_i2c_xfer_msg()
[all …]
/openbmc/u-boot/board/atmel/sama5d2_ptc_ek/
H A Dsama5d2_ptc_ek.c1 // SPDX-License-Identifier: GPL-2.0+
10 #include <i2c.h>
20 #include <asm/arch/sama5d2.h>
37 &smc->cs[3].setup); in board_nand_hw_init()
40 &smc->cs[3].pulse); in board_nand_hw_init()
42 &smc->cs[3].cycle); in board_nand_hw_init()
46 AT91_SMC_TIMINGS_NFSEL(1), &smc->cs[3].timings); in board_nand_hw_init()
51 &smc->cs[3].mode); in board_nand_hw_init()
111 gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; in board_init()
124 gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, in dram_init()
/openbmc/linux/drivers/iio/adc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
33 Say yes here to build support for Analog Devices AD4130-8 SPI analog
41 depends on I2C
44 Say yes here to build support for Analog Devices AD7091R-5 ADC.
47 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
51 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
95 depends on I2C
126 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI"
152 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
[all …]
/openbmc/linux/drivers/pinctrl/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
66 will be called pinctrl-apple-gpio.
69 bool "Axis ARTPEC-6 pin controller driver"
74 This is the driver for the Axis ARTPEC-6 pin controller. This driver
77 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
86 functionality. This driver supports the pinmux, push-pull and
114 controller available on sama5d2 SoC.
117 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
139 tristate "Cypress CY8C95X0 I2C pinctrl and GPIO driver"
140 depends on I2C
[all …]
/openbmc/linux/drivers/gpio/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 this symbol, but new drivers should use the generic gpio-regmap
57 non-sleeping contexts. They can make bitbanged serial protocols
108 # This symbol is selected by both I2C and SPI expanders
118 Enables support for the idio-16 library functions. The idio-16 library
120 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16.
122 If built as a module its name will be gpio-idio-16.
128 tristate "GPIO driver for 74xx-ICs with MMIO access"
132 Say yes here to support GPIO functionality for 74xx-compatible ICs
149 If driver is built as a module it will be called gpio-altera.
[all …]

12