Home
last modified time | relevance | path

Searched +full:bcm2835 +full:- +full:sdhost (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dbrcm,bcm2835-sdhost.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mmc/brcm,bcm2835-sdhost.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM2835 SDHOST controller
10 - Stefan Wahren <stefan.wahren@i2se.com>
13 - $ref: mmc-controller.yaml
17 const: brcm,bcm2835-sdhost
31 dma-names:
32 const: rx-tx
[all …]
/openbmc/qemu/hw/arm/
H A Dbcm2835_peripherals.c9 * See the COPYING file in the top-level directory.
23 /* Capabilities for SD controller: no DMA, high-speed, default clocks etc. */
27 * According to Linux driver & DTS, dma channels 0--10 have separate IRQ,
28 * while channels 11--14 share one IRQ:
44 memory_region_add_subregion_overlap(&ps->peri_mr, ofs, in create_unimp()
45 sysbus_mmio_get_region(SYS_BUS_DEVICE(uds), 0), -1000); in create_unimp()
54 object_initialize_child(obj, "rng", &s->rng, TYPE_BCM2835_RNG); in bcm2835_peripherals_init()
57 object_initialize_child(obj, "thermal", &s->thermal, TYPE_BCM2835_THERMAL); in bcm2835_peripherals_init()
60 object_initialize_child(obj, "gpio", &s->gpio, TYPE_BCM2835_GPIO); in bcm2835_peripherals_init()
62 object_property_add_const_link(OBJECT(&s->gpio), "sdbus-sdhci", in bcm2835_peripherals_init()
[all …]
H A Dbcm2838_peripherals.c6 * SPDX-License-Identifier: GPL-2.0-or-later
21 /* Capabilities for SD controller: no DMA, high-speed, default clocks etc. */
31 memory_region_init(&s->peri_low_mr, obj, "bcm2838-peripherals", in bcm2838_peripherals_init()
32 bc->peri_low_size); in bcm2838_peripherals_init()
33 sysbus_init_mmio(SYS_BUS_DEVICE(s), &s->peri_low_mr); in bcm2838_peripherals_init()
36 object_initialize_child(obj, "emmc2", &s->emmc2, TYPE_SYSBUS_SDHCI); in bcm2838_peripherals_init()
39 object_initialize_child(obj, "gpio", &s->gpio, TYPE_BCM2838_GPIO); in bcm2838_peripherals_init()
41 object_property_add_const_link(OBJECT(&s->gpio), "sdbus-sdhci", in bcm2838_peripherals_init()
42 OBJECT(&s_base->sdhci.sdbus)); in bcm2838_peripherals_init()
43 object_property_add_const_link(OBJECT(&s->gpio), "sdbus-sdhost", in bcm2838_peripherals_init()
[all …]
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm283x.dtsi1 #include <dt-bindings/pinctrl/bcm2835.h>
2 #include <dt-bindings/clock/bcm2835.h>
3 #include <dt-bindings/clock/bcm2835-aux.h>
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/interrupt-controller/irq.h>
6 #include <dt-bindings/soc/bcm2835-pm.h>
8 /* firmware-provided startup stubs live here, where the secondary CPUs are
14 * bcm2835 and bcm2836 implementations, leaving the CPU configuration to
15 * bcm2835.dtsi and bcm2836.dtsi.
19 compatible = "brcm,bcm2835";
[all …]
H A Dbcm2835-rpi-cm1.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "bcm2835.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm2835-rpi-common.dtsi"
6 #include "bcm283x-rpi-led-deprecated.dtsi"
10 led-act {
20 reg_3v3: fixed-regulator {
21 compatible = "regulator-fixed";
22 regulator-name = "3V3";
[all …]
H A Dbcm2835-rpi-b.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "bcm2835.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm2835-rpi-common.dtsi"
6 #include "bcm283x-rpi-led-deprecated.dtsi"
7 #include "bcm283x-rpi-smsc9512.dtsi"
8 #include "bcm283x-rpi-usb-host.dtsi"
11 compatible = "raspberrypi,model-b", "brcm,bcm2835";
22 * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf
[all …]
H A Dbcm2835-rpi-zero.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
7 #include "bcm2835.dtsi"
8 #include "bcm2835-rpi.dtsi"
9 #include "bcm2835-rpi-common.dtsi"
10 #include "bcm283x-rpi-led-deprecated.dtsi"
11 #include "bcm283x-rpi-usb-otg.dtsi"
14 compatible = "raspberrypi,model-zero", "brcm,bcm2835";
31 gpio-line-names = "ID_SDA",
88 pinctrl-names = "default";
[all …]
H A Dbcm2835-rpi-b-plus.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "bcm2835.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm2835-rpi-common.dtsi"
6 #include "bcm283x-rpi-led-deprecated.dtsi"
7 #include "bcm283x-rpi-smsc9514.dtsi"
8 #include "bcm283x-rpi-usb-host.dtsi"
11 compatible = "raspberrypi,model-b-plus", "brcm,bcm2835";
22 * Taken from Raspberry-Pi-B-Plus-V1.2-Schematics.pdf
[all …]
H A Dbcm2835-rpi-zero-w.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
7 #include "bcm2835.dtsi"
8 #include "bcm2835-rpi.dtsi"
9 #include "bcm2835-rpi-common.dtsi"
10 #include "bcm283x-rpi-led-deprecated.dtsi"
11 #include "bcm283x-rpi-usb-otg.dtsi"
12 #include "bcm283x-rpi-wifi-bt.dtsi"
15 compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
25 stdout-path = "serial1:115200n8";
[all …]
H A Dbcm2835-rpi-b-rev2.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "bcm2835.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm2835-rpi-common.dtsi"
6 #include "bcm283x-rpi-led-deprecated.dtsi"
7 #include "bcm283x-rpi-smsc9512.dtsi"
8 #include "bcm283x-rpi-usb-host.dtsi"
11 compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835";
22 * Taken from Raspberry-Pi-Rev-2.0-Model-AB-Schematics.pdf
[all …]
H A Dbcm2835-rpi-a.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "bcm2835.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm2835-rpi-common.dtsi"
6 #include "bcm283x-rpi-led-deprecated.dtsi"
7 #include "bcm283x-rpi-usb-host.dtsi"
10 compatible = "raspberrypi,model-a", "brcm,bcm2835";
21 * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf
28 gpio-line-names = "SDA0",
[all …]
H A Dbcm2835-rpi-a-plus.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "bcm2835.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm2835-rpi-common.dtsi"
6 #include "bcm283x-rpi-led-deprecated.dtsi"
7 #include "bcm283x-rpi-usb-host.dtsi"
10 compatible = "raspberrypi,model-a-plus", "brcm,bcm2835";
27 gpio-line-names = "ID_SDA",
84 pinctrl-names = "default";
[all …]
H A Dbcm2835-rpi-cm1-io1.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "bcm2835-rpi-cm1.dtsi"
4 #include "bcm283x-rpi-usb-host.dtsi"
7 compatible = "raspberrypi,compute-module", "brcm,bcm2835";
19 gpio-line-names = "GPIO0",
76 pinctrl-names = "default";
77 pinctrl-0 = <&gpioout &alt0>;
81 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
82 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
[all …]
H A Dbcm2835-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 * bcm2835, bcm2836 and bcm2837 implementations.
8 interrupt-parent = <&intc>;
11 dma: dma-controller@7e007000 {
12 compatible = "brcm,bcm2835-dma";
25 /* dma channel 11-14 share one irq */
32 interrupt-names = "dma0",
47 "dma-shared-all";
48 #dma-cells = <1>;
49 brcm,dma-channel-mask = <0x7f35>;
[all …]
H A Dbcm2711.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/soc/bcm2835-pm.h>
10 #address-cells = <2>;
11 #size-cells = <1>;
13 interrupt-parent = <&gicv2>;
16 compatible = "brcm,bcm2711-vc5";
20 clk_27MHz: clk-27M {
21 #clock-cells = <0>;
22 compatible = "fixed-clock";
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dbcm2837-rpi-3-b.dts1 /dts-v1/;
3 #include "bcm2835-rpi.dtsi"
4 #include "bcm283x-rpi-smsc9514.dtsi"
5 #include "bcm283x-rpi-usb-host.dtsi"
8 compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
24 pinctrl-names = "default";
25 pinctrl-0 = <&uart0_gpio32 &gpclk2_gpio43>;
31 pinctrl-names = "default";
32 pinctrl-0 = <&uart1_gpio14>;
38 pinctrl-names = "default";
[all …]
H A Dbcm2835-rpi.dtsi1 #include <dt-bindings/power/raspberrypi-power.h>
10 compatible = "gpio-leds";
14 default-state = "keep";
15 linux,default-trigger = "heartbeat";
21 compatible = "raspberrypi,bcm2835-firmware";
26 compatible = "raspberrypi,bcm2835-power";
28 #power-domain-cells = <1>;
34 pinctrl-names = "default";
48 pinctrl-names = "default";
49 pinctrl-0 = <&i2c0_gpio0>;
[all …]
H A Dbcm283x.dtsi1 #include <dt-bindings/pinctrl/bcm2835.h>
2 #include <dt-bindings/clock/bcm2835.h>
3 #include <dt-bindings/clock/bcm2835-aux.h>
4 #include <dt-bindings/gpio/gpio.h>
6 /* firmware-provided startup stubs live here, where the secondary CPUs are
12 * bcm2835 and bcm2836 implementations, leaving the CPU configuration to
13 * bcm2835.dtsi and bcm2836.dtsi.
17 compatible = "brcm,bcm2835";
18 model = "BCM2835";
19 interrupt-parent = <&intc>;
[all …]
/openbmc/qemu/include/hw/sd/
H A Dbcm2835_sdhost.h2 * Raspberry Pi (BCM2835) SD Host Controller
11 * See the COPYING file in the top-level directory.
21 #define TYPE_BCM2835_SDHOST "bcm2835-sdhost"
/openbmc/u-boot/drivers/mmc/
H A Dbcm2835_sdhost.c1 // SPDX-License-Identifier: GPL-2.0
3 * bcm2835 sdhost driver.
6 * (supported by the iproc driver) and a custom sdhost controller
9 * The sdhci controller supports both sdcard and sdio. The sdhost
12 * the sdhost controller allows to use the sdhci controller for wifi
20 * This code was ported to U-Boot by
22 * and is based on drivers/mmc/host/bcm2835.c in Linux which is written by
24 * Copyright (C) 2015-2016 Raspberry Pi (Trading) Ltd.
26 * mmc-bcm2835.c by Gellert Weisz
28 * sdhci-bcm2708.c by Broadcom
[all …]
/openbmc/linux/drivers/mmc/host/
H A Dbcm2835.c1 // SPDX-License-Identifier: GPL-2.0
3 * bcm2835 sdhost driver.
6 * (supported by the iproc driver) and a custom sdhost controller
9 * The sdhci controller supports both sdcard and sdio. The sdhost
12 * the sdhost controller allows to use the sdhci controller for wifi
21 * Copyright (C) 2015-2016 Raspberry Pi (Trading) Ltd.
24 * mmc-bcm2835.c by Gellert Weisz
26 * sdhci-bcm2708.c by Broadcom
27 * sdhci-bcm2835.c by Stephen Warren and Oleksandr Tymoshenko
28 * sdhci.c and sdhci-pci.c by Pierre Ossman
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
94 implements a hardware byte swapper using a 32-bit datum.
123 disabled, it will steal the MMC cards away - rendering them
418 tristate "SDHCI support for the BCM2835 & iProc SD/MMC Controller"
427 If you have a BCM2835 or IPROC platform with SD or MMC devices,
482 MOXA provides one multi-functional card reader which can
483 be found on some embedded hardware such as UC-7112-LX.
534 of Alcor Micro PCI-E card reader
678 tristate "DMA for SDHI SD/SDIO controllers using SYS-DMAC"
683 using SYS-DMAC via DMA Engine. This supports the controllers
[all …]
/openbmc/qemu/include/hw/arm/
H A Dbcm2835_peripherals.h9 * See the COPYING file in the top-level directory.
20 #include "hw/or-irq.h"
33 #include "hw/usb/hcd-dwc2.h"
40 #define TYPE_BCM_SOC_PERIPHERALS_BASE "bcm-soc-peripherals-base"
43 #define TYPE_BCM2835_PERIPHERALS "bcm2835-peripherals"
70 BCM2835SDHostState sdhost; member
/openbmc/qemu/hw/gpio/
H A Dbcm2835_gpio.c2 * Raspberry Pi (BCM2835) GPIO Controller
11 * See the COPYING file in the top-level directory.
61 if (index < sizeof(s->fsel)) { in gpfsel_get()
62 value |= (s->fsel[index] & 0x7) << (3 * i); in gpfsel_get()
73 if (index < sizeof(s->fsel)) { in gpfsel_set()
75 s->fsel[index] = fsel; in gpfsel_set()
79 /* SD controller selection (48-53) */ in gpfsel_set()
80 if (s->sd_fsel != 0 in gpfsel_set()
81 && (s->fsel[48] == 0) /* SD_CLK_R */ in gpfsel_set()
82 && (s->fsel[49] == 0) /* SD_CMD_R */ in gpfsel_set()
[all …]
/openbmc/qemu/hw/sd/
H A Dbcm2835_sdhost.c2 * Raspberry Pi (BCM2835) SD Host Controller
11 * See the COPYING file in the top-level directory.
24 #define TYPE_BCM2835_SDHOST_BUS "bcm2835-sdhost-bus"
29 #define SDCMD 0x00 /* Command to SD card - 16 R/W */ in DECLARE_INSTANCE_CHECKER()
30 #define SDARG 0x04 /* Argument to SD card - 32 R/W */ in DECLARE_INSTANCE_CHECKER()
31 #define SDTOUT 0x08 /* Start value for timeout counter - 32 R/W */ in DECLARE_INSTANCE_CHECKER()
32 #define SDCDIV 0x0c /* Start value for clock divider - 11 R/W */ in DECLARE_INSTANCE_CHECKER()
33 #define SDRSP0 0x10 /* SD card rsp (31:0) - 32 R */ in DECLARE_INSTANCE_CHECKER()
34 #define SDRSP1 0x14 /* SD card rsp (63:32) - 32 R */ in DECLARE_INSTANCE_CHECKER()
35 #define SDRSP2 0x18 /* SD card rsp (95:64) - 32 R */ in DECLARE_INSTANCE_CHECKER()
[all …]

12