| /freebsd/sys/contrib/device-tree/Bindings/mmc/ |
| H A D | cavium-mmc.txt | 1 * Cavium Octeon & ThunderX MMC controller 3 The highspeed MMC host controller on Caviums SoCs provides an interface 4 for MMC and SD types of memory cards. 10 - compatible : should be one of: 11 cavium,octeon-6130-mmc 12 cavium,octeon-7890-mmc 13 cavium,thunder-8190-mmc 14 cavium,thunder-8390-mmc 15 mmc-slot 16 - reg : mmc controller base registers [all …]
|
| H A D | amlogic,meson-mx-sdio.txt | 1 * Amlogic Meson6, Meson8 and Meson8b SDIO/MMC controller 3 The highspeed MMC host controller on Amlogic SoCs provides an interface 4 for MMC, SD, SDIO and SDHC types of memory cards. 10 to be controlled. Only one slot can be accessed at a time. 13 - compatible : must be one of 14 - "amlogic,meson8-sdio" 15 - "amlogic,meson8b-sdio" 16 along with the generic "amlogic,meson-mx-sdio" 17 - reg : mmc controller base registers 18 - interrupts : mmc controller interrupt [all …]
|
| H A D | mmc-slot.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-slot.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MMC slot properties 10 - Ulf Hansson <ulf.hansson@linaro.org> 13 These properties defines slot properties for MMC controlers that 17 $ref: mmc-controller-common.yaml# 21 pattern: "^slot(@.*)?$" 24 const: mmc-slot [all …]
|
| H A D | mmc-spi-slot.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-spi-slot.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MMC/SD/SDIO slot directly connected to a SPI bus 10 - Ulf Hansson <ulf.hansson@linaro.org> 13 - $ref: mmc-controller.yaml 14 - $ref: /schemas/spi/spi-peripheral-props.yaml 17 The extra properties used by an mmc connected via SPI. 21 const: mmc-spi-slot [all …]
|
| H A D | atmel,hsmci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/atmel,hsmci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Atmel High-Speed MultiMedia Card Interface (HSMCI) 10 The Atmel HSMCI controller provides an interface for MMC, SD, and SDIO memory 14 - Nicolas Ferre <nicolas.ferre@microchip.com> 15 - Aubin Constans <aubin.constans@microchip.com> 18 - $ref: mmc-controller.yaml 33 dma-names: [all …]
|
| H A D | mmc-spi-slot.txt | 1 MMC/SD/SDIO slot directly connected to a SPI bus 4 by mmc.txt and the properties used by the mmc_spi driver. 7 - spi-max-frequency : maximum frequency for this device (Hz). 10 - voltage-ranges : two cells are required, first cell specifies minimum 11 slot voltage (mV), second cell specifies maximum slot voltage (mV). 13 - gpios : may specify GPIOs in this order: Card-Detect GPIO, 14 Write-Protect GPIO. Note that this does not follow the 15 binding from mmc.txt, for historical reasons. 19 mmc-slot@0 { 20 compatible = "fsl,mpc8323rdb-mmc-slot", [all …]
|
| H A D | amlogic,meson-mx-sdio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/amlogic,meson-mx-sdio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Meson6, Meson8 and Meson8b SDIO/MMC controller 10 The highspeed MMC host controller on Amlogic SoCs provides an interface 11 for MMC, SD, SDIO and SDHC types of memory cards. 17 to be controlled. Only one slot can be accessed at a time. 20 - Neil Armstrong <neil.armstrong@linaro.org> 25 - enum: [all …]
|
| H A D | atmel-hsmci.txt | 3 This controller on atmel products provides an interface for MMC, SD and SDIO 7 by mmc.txt and the properties used by the atmel-mci driver. 12 - compatible: should be "atmel,hsmci" 13 - #address-cells: should be one. The cell is the slot id. 14 - #size-cells: should be zero. 15 - at least one slot node 16 - clock-names: tuple listing input clock names. 18 - clocks: phandles to input clocks. 20 The node contains child nodes for each slot that the platform uses 24 mmc0: mmc@f0008000 { [all …]
|
| H A D | fsl-imx-esdhc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/fsl-imx-esdhc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 13 - $ref: sdhci-common.yaml# 17 provides an interface for MMC, SD, and SDIO types of memory cards. 20 by mmc.txt and the properties used by the sdhci-esdhc-imx driver. 25 - enum: 26 - fsl,imx25-esdhc [all …]
|
| H A D | fsl,esdhc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/fsl,esdhc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 for MMC, SD, and SDIO types of memory cards. 14 - Frank Li <Frank.Li@nxp.com> 19 - enum: 20 - fsl,mpc8536-esdhc 21 - fsl,mpc8378-esdhc 22 - fsl,p2020-esdhc [all …]
|
| /freebsd/sys/dev/sdhci/ |
| H A D | sdhci_xenon_fdt.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 #include <dev/mmc/bridge.h> 40 #include <dev/mmc/mmcbrvar.h> 41 #include <dev/mmc/mmcreg.h> 44 #include <dev/mmc/mmc_fdt_helpers.h> 57 { "marvell,armada-3700-sdhci", 1 }, 59 { "marvell,armada-cp110-sdhci", 1 }, 60 { "marvell,armada-ap806-sdhci", 1 }, 61 { "marvell,armada-ap807-sdhci", 1 }, [all …]
|
| H A D | sdhci_xenon_acpi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 33 #include <dev/mmc/bridge.h> 34 #include <dev/mmc/mmcbrvar.h> 35 #include <dev/mmc/mmcreg.h> 37 #include <dev/mmc/mmc_helpers.h> 82 struct sdhci_slot *slot; in sdhci_xenon_acpi_attach() local 88 slot = malloc(sizeof(*slot), M_DEVBUF, M_ZERO | M_WAITOK); in sdhci_xenon_acpi_attach() 94 sc->skip_regulators = true; in sdhci_xenon_acpi_attach() 95 sc->slot = slot; in sdhci_xenon_acpi_attach() [all …]
|
| H A D | sdhci_if.m | 1 #- 32 # Group. This Simplified Specification is provided on a non-confidential 35 # Association, SD Group, SD-3C LLC or other third parties. 41 # is provided "AS-IS" without any representations or warranties of any 42 # kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD 44 # right of the SD Group, SD-3C LLC, the SD Card Association or any third 47 # SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing 48 # herein shall be construed as an obligation by the SD Group, the SD-3C LLC 50 # information, know-how or other confidential information to any third party. 55 # This is the set of callbacks that mmc bridges call into the bus, or [all …]
|
| H A D | sdhci_xenon.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 50 #include <dev/mmc/bridge.h> 51 #include <dev/mmc/mmcbrvar.h> 52 #include <dev/mmc/mmcreg.h> 66 sdhci_xenon_read_1(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_read_1() 71 return (bus_read_1(sc->mem_res, off)); in sdhci_xenon_read_1() 75 sdhci_xenon_write_1(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_write_1() 80 bus_write_1(sc->mem_res, off, val); in sdhci_xenon_write_1() 84 sdhci_xenon_read_2(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_read_2() [all …]
|
| H A D | sdhci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 51 #include <dev/mmc/bridge.h> 52 #include <dev/mmc/mmcreg.h> 53 #include <dev/mmc/mmcbrvar.h> 81 #define RD1(slot, off) SDHCI_READ_1((slot)->bus, (slot), (off)) argument 82 #define RD2(slot, off) SDHCI_READ_2((slot)->bus, (slot), (off)) argument 83 #define RD4(slot, off) SDHCI_READ_4((slot)->bus, (slot), (off)) argument 84 #define RD_MULTI_4(slot, off, ptr, count) \ argument 85 SDHCI_READ_MULTI_4((slot)->bus, (slot), (off), (ptr), (count)) [all …]
|
| H A D | sdhci_fsl_fdt.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2020 - 2021 Alstom Group. 5 * Copyright (c) 2020 - 2021 Semihalf. 44 #include <dev/mmc/bridge.h> 45 #include <dev/mmc/mmcbrvar.h> 46 #include <dev/mmc/mmc_fdt_helpers.h> 56 #define RD4 (sc->read) 57 #define WR4 (sc->write) 195 struct sdhci_slot slot; member [all …]
|
| /freebsd/sys/dev/mmc/ |
| H A D | mmcspi.c | 1 /*- 2 * Copyright (c) 2012-2025 Patrick Kelsey. All rights reserved. 33 * Group. This Simplified Specification is provided on a non-confidential 36 * Association, SD Group, SD-3C LLC or other third parties. 42 * is provided "AS-IS" without any representations or warranties of any 43 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD 45 * right of the SD Group, SD-3C LLC, the SD Card Association or any third 48 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing 49 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC 51 * information, know-how or other confidential information to any third party. [all …]
|
| /freebsd/sys/arm/nvidia/ |
| H A D | tegra_sdhci.c | 1 /*- 54 #include <dev/mmc/bridge.h> 55 #include <dev/mmc/mmcbrvar.h> 95 {"nvidia,tegra124-sdhci", 1}, 96 {"nvidia,tegra210-sdhci", 1}, 114 struct sdhci_slot slot; member 122 return (bus_read_4(sc->mem_res, off)); in RD4() 126 tegra_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in tegra_sdhci_read_1() argument 131 return (bus_read_1(sc->mem_res, off)); in tegra_sdhci_read_1() 135 tegra_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in tegra_sdhci_read_2() argument [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/amlogic/ |
| H A D | meson-g12a-radxa-zero.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/meson-g12a-gpio.h> 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 21 stdout-path = "serial0:115200n8"; 29 cvbs-connector { 31 compatible = "composite-video-connector"; 35 remote-endpoint = <&cvbs_vdac_out>; 40 hdmi-connector { [all …]
|
| H A D | meson-g12a-sei510.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
| H A D | meson-g12a-fbx8am.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /dts-v1/; 12 #include "meson-g12a.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/gpio/meson-g12a-gpio.h> 16 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 21 chassis-type = "embedded"; 25 compatible = "linaro,optee-tz"; 30 gpio-keys-polled { [all …]
|
| /freebsd/sys/arm/ti/ |
| H A D | ti_sdhci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 53 #include <dev/mmc/bridge.h> 54 #include <dev/mmc/mmcreg.h> 55 #include <dev/mmc/mmcbrvar.h> 73 struct sdhci_slot slot; member 90 * Note that vendor Beaglebone dtsi files use "ti,omap3-hsmmc" for the am335x. 93 {"ti,am335-sdhci", 1}, 94 {"ti,omap3-hsmmc", 1}, 95 {"ti,omap4-hsmmc", 1}, [all …]
|
| /freebsd/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_sdhci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 48 #include <dev/mmc/bridge.h> 49 #include <dev/mmc/mmcreg.h> 50 #include <dev/mmc/mmc_fdt_helpers.h> 78 ((((NUM_DMA_SEGS * BCM_SDHCI_BUFFER_SIZE) - 1) / PAGE_SIZE) + 1) 82 #define BCM_SDHCI_SLOT_LEFT(slot) \ argument 83 ((slot)->curcmd->data->len - (slot)->offset) 85 #define BCM_SDHCI_SEGSZ_LEFT(slot) \ argument 87 rounddown(BCM_SDHCI_SLOT_LEFT(slot), BCM_SDHCI_BUFFER_SIZE)) [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/toshiba/ |
| H A D | tmpv7708-visrobo-vrc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 29 mmc-slot@0 { 30 compatible = "mmc-spi-slot"; 33 voltage-ranges = <3200 3400>; 34 spi-max-frequency = <12000000>;
|
| /freebsd/sys/contrib/device-tree/Bindings/spi/ |
| H A D | spi_atmel.txt | 4 - compatible : should be "atmel,at91rm9200-spi" or "microchip,sam9x60-spi". 5 - reg: Address and length of the register set for the device 6 - interrupts: Should contain spi interrupt 7 - cs-gpios: chipselects (optional for SPI controller version >= 2 with the 9 - clock-names: tuple listing input clock names. 11 - clocks: phandles to input clocks. 14 - atmel,fifo-size: maximum number of data the RX and TX FIFOs can store for FIFO 20 compatible = "atmel,at91rm9200-spi"; 23 #address-cells = <1>; 24 #size-cells = <0>; [all …]
|