/openbmc/linux/drivers/bus/ |
H A D | bt1-apb.c | 8 * Baikal-T1 APB-bus driver 38 * struct bt1_apb - Baikal-T1 APB EHB private data 40 * @regs: APB EHB registers map. 43 * @rate: APB-bus reference clock rate. 44 * @pclk: APB-reference clock. 45 * @prst: APB domain reset line. 71 static inline unsigned long bt1_apb_n_to_timeout_us(struct bt1_apb *apb, u32 n) in bt1_apb_n_to_timeout_us() argument 75 do_div(timeout, apb->rate); in bt1_apb_n_to_timeout_us() 81 static inline unsigned long bt1_apb_timeout_to_n_us(struct bt1_apb *apb, in bt1_apb_timeout_to_n_us() argument 84 u64 n = (u64)timeout * apb->rate; in bt1_apb_timeout_to_n_us() [all …]
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | arche-apb-ctrl.c | 3 * Arche Platform driver to control APB. 69 struct arche_apb_ctrl_drvdata *apb = platform_get_drvdata(pdev); in coldboot_seq() local 72 if (apb->init_disabled || in coldboot_seq() 73 apb->state == ARCHE_PLATFORM_STATE_ACTIVE) in coldboot_seq() 76 /* Hold APB in reset state */ in coldboot_seq() 77 assert_reset(apb->resetn); in coldboot_seq() 79 if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING && apb->spi_en) in coldboot_seq() 80 devm_gpiod_put(dev, apb->spi_en); in coldboot_seq() 82 /* Enable power to APB */ in coldboot_seq() 83 if (!IS_ERR(apb->vcore)) { in coldboot_seq() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/bus/ |
H A D | baikal,bt1-apb.yaml | 5 $id: http://devicetree.org/schemas/bus/baikal,bt1-apb.yaml# 8 title: Baikal-T1 APB-bus 15 which routes them to the AXI-APB bridge. This interface is a single master 17 addressed APB slave devices. In case of any APB protocol collisions, slave 19 reported to the APB terminator (APB Errors Handler Block). 27 const: baikal,bt1-apb 31 - description: APB EHB MMIO registers 32 - description: APB MMIO region with no any device mapped 44 - description: APB reference clock 52 - description: APB domain reset line [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | csky,apb-intc.txt | 2 C-SKY APB Interrupt Controller 5 C-SKY APB Interrupt Controller is a simple soc interrupt controller 6 on the apb bus and we only use it as root irq controller. 8 - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. 9 - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. 16 Description: Describes APB interrupt controller 23 Definition: must be "csky,apb-intc" 24 "csky,dual-apb-intc" 44 compatible = "csky,apb-intc"; 51 compatible = "csky,dual-apb-intc";
|
H A D | snps,dw-apb-ictl.txt | 1 Synopsys DesignWare APB interrupt controller (dw_apb_ictl) 3 Synopsys DesignWare provides interrupt controller IP for APB known as 5 APB bus, e.g. Marvell Armada 1500. It can also be used as primary interrupt 9 - compatible: shall be "snps,dw-apb-ictl" 29 compatible = "snps,dw-apb-ictl"; 39 compatible = "snps,dw-apb-ictl";
|
/openbmc/linux/arch/riscv/boot/dts/thead/ |
H A D | th1520.dtsi | 125 apb_clk: apb-clk-clock { 168 compatible = "snps,dw-apb-uart"; 178 compatible = "snps,dw-apb-uart"; 188 compatible = "snps,dw-apb-uart"; 198 compatible = "snps,dw-apb-gpio"; 204 compatible = "snps,dw-apb-gpio-port"; 216 compatible = "snps,dw-apb-gpio"; 222 compatible = "snps,dw-apb-gpio-port"; 234 compatible = "snps,dw-apb-gpio"; 240 compatible = "snps,dw-apb-gpio-port"; [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config/swift/ |
H A D | config.yaml | 6 …physpath: /sys/devices/platform/ahb/1e780000.apb/1e780000.apb:bus@1e78a000/1e78a100.i2c/i2c-3/3-00… 19 …physpath: /sys/devices/platform/ahb/1e780000.apb/1e780000.apb:bus@1e78a000/1e78a100.i2c/i2c-3/3-00… 32 …physpath: /sys/devices/platform/ahb/1e780000.apb/1e780000.apb:bus@1e78a000/1e78a100.i2c/i2c-3/3-00… 45 …physpath: /sys/devices/platform/ahb/1e780000.apb/1e780000.apb:bus@1e78a000/1e78a100.i2c/i2c-3/3-00… 59 …physpath: /sys/devices/platform/ahb/1e780000.apb/1e780000.apb:bus@1e78a000/1e78a100.i2c/i2c-3/3-00…
|
/openbmc/linux/Documentation/devicetree/bindings/timer/ |
H A D | snps,dw-apb-timer.yaml | 4 $id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml# 7 title: Synopsys DesignWare APB Timer 15 - const: snps,dw-apb-timer 17 - snps,dw-apb-timer-sp 18 - snps,dw-apb-timer-osc 34 - description: APB interface clock source 63 compatible = "snps,dw-apb-timer"; 71 compatible = "snps,dw-apb-timer"; 79 compatible = "snps,dw-apb-timer";
|
/openbmc/linux/arch/arm/boot/dts/synaptics/ |
H A D | berlin2cd.dtsi | 166 apb@e80000 { 175 compatible = "snps,dw-apb-gpio"; 181 compatible = "snps,dw-apb-gpio-port"; 193 compatible = "snps,dw-apb-gpio"; 199 compatible = "snps,dw-apb-gpio-port"; 211 compatible = "snps,dw-apb-gpio"; 217 compatible = "snps,dw-apb-gpio-port"; 229 compatible = "snps,dw-apb-gpio"; 235 compatible = "snps,dw-apb-gpio-port"; 267 compatible = "snps,dw-apb-ssi"; [all …]
|
H A D | berlin2.dtsi | 176 apb@e80000 { 185 compatible = "snps,dw-apb-gpio"; 191 compatible = "snps,dw-apb-gpio-port"; 203 compatible = "snps,dw-apb-gpio"; 209 compatible = "snps,dw-apb-gpio-port"; 221 compatible = "snps,dw-apb-gpio"; 227 compatible = "snps,dw-apb-gpio-port"; 239 compatible = "snps,dw-apb-gpio"; 245 compatible = "snps,dw-apb-gpio-port"; 257 compatible = "snps,dw-apb-timer"; [all …]
|
H A D | berlin2q.dtsi | 237 apb@e80000 { 246 compatible = "snps,dw-apb-gpio"; 252 compatible = "snps,dw-apb-gpio-port"; 264 compatible = "snps,dw-apb-gpio"; 270 compatible = "snps,dw-apb-gpio-port"; 282 compatible = "snps,dw-apb-gpio"; 288 compatible = "snps,dw-apb-gpio-port"; 300 compatible = "snps,dw-apb-gpio"; 306 compatible = "snps,dw-apb-gpio-port"; 342 compatible = "snps,dw-apb-timer"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/synaptics/ |
H A D | berlin4ct.dtsi | 127 apb@e80000 { 136 compatible = "snps,dw-apb-gpio"; 142 compatible = "snps,dw-apb-gpio-port"; 154 compatible = "snps,dw-apb-gpio"; 160 compatible = "snps,dw-apb-gpio-port"; 172 compatible = "snps,dw-apb-gpio"; 178 compatible = "snps,dw-apb-gpio-port"; 190 compatible = "snps,dw-apb-gpio"; 196 compatible = "snps,dw-apb-gpio-port"; 208 compatible = "snps,dw-apb-ictl"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/serial/ |
H A D | snps-dw-apb-uart.yaml | 4 $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml# 40 - const: snps,dw-apb-uart 43 - brcm,bcm11351-dw-apb-uart 44 - brcm,bcm21664-dw-apb-uart 45 - const: snps,dw-apb-uart 50 - const: snps,dw-apb-uart 51 - const: snps,dw-apb-uart 126 compatible = "snps,dw-apb-uart"; 141 compatible = "snps,dw-apb-uart"; 152 compatible = "snps,dw-apb-uart";
|
/openbmc/linux/drivers/clk/sprd/ |
H A D | sc9860-clk.c | 380 static SPRD_MUX_CLK(ap_apb, "ap-apb", ap_apb_parents, 500 static SPRD_COMP_CLK(aon_apb, "aon-apb", aon_apb_parents, 0x230, 826 static SPRD_SC_GATE_CLK(avs_lit_eb, "avs-lit-eb", "aon-apb", 0x0, 828 static SPRD_SC_GATE_CLK(avs_big_eb, "avs-big-eb", "aon-apb", 0x0, 830 static SPRD_SC_GATE_CLK(ap_intc5_eb, "ap-intc5-eb", "aon-apb", 0x0, 832 static SPRD_SC_GATE_CLK(gpio_eb, "gpio-eb", "aon-apb", 0x0, 834 static SPRD_SC_GATE_CLK(pwm0_eb, "pwm0-eb", "aon-apb", 0x0, 836 static SPRD_SC_GATE_CLK(pwm1_eb, "pwm1-eb", "aon-apb", 0x0, 838 static SPRD_SC_GATE_CLK(pwm2_eb, "pwm2-eb", "aon-apb", 0x0, 840 static SPRD_SC_GATE_CLK(pwm3_eb, "pwm3-eb", "aon-apb", 0x0, [all …]
|
/openbmc/linux/arch/arc/boot/dts/ |
H A D | axc003.dtsi | 55 dw-apb-gpio@2000 { 56 compatible = "snps,dw-apb-gpio"; 62 compatible = "snps,dw-apb-gpio-port"; 74 debug_uart: dw-apb-uart@5000 { 75 compatible = "snps,dw-apb-uart"; 120 * The DW APB ICTL intc on MB is connected to CPU intc via a 121 * DT "invisible" DW APB GPIO block, configured to simply pass thru 125 * ABPG GPIO. Thus set "interrupts = <24>" (DW APB GPIO to core) 126 * instead of "interrupts = <12>" (DW APB ICTL to DW APB GPIO) 134 compatible = "snps,dw-apb-ictl";
|
H A D | axc001.dtsi | 47 dw-apb-gpio@2000 { 48 compatible = "snps,dw-apb-gpio"; 54 compatible = "snps,dw-apb-gpio-port"; 66 debug_uart: dw-apb-uart@5000 { 67 compatible = "snps,dw-apb-uart"; 83 * This INTC is actually connected to DW APB GPIO 96 compatible = "snps,dw-apb-ictl";
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | device_callouts_test.cpp | 324 "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/" in TEST_F() 332 "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/" in TEST_F() 341 "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/" in TEST_F() 351 "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/" in TEST_F() 363 "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/" in TEST_F() 368 "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/" in TEST_F() 386 "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/fsi-master/" in TEST_F() 403 "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/" in TEST_F() 411 "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/" in TEST_F() 420 "/sys/devices/platform/ahb/ahb:apb/1e79b000.fsi/" in TEST_F() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | intel,keembay-phy-usb.yaml | 18 - description: USB APB CPR (clock, power, reset) register 19 - description: USB APB slave register 23 - const: cpr-apb-base 24 - const: slv-apb-base 42 reg-names = "cpr-apb-base", "slv-apb-base";
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | starfive,jh7110-usb.yaml | 41 - description: APB clock 43 - description: UTMI APB clock 49 - const: apb 56 - description: APB clock reset 58 - description: UTMI APB clock reset 63 - const: apb 97 clock-names = "lpm", "stb", "apb", "axi", "utmi_apb"; 102 reset-names = "pwrup", "apb", "axi", "utmi_apb";
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | snps,dw-apb-gpio.yaml | 4 $id: http://devicetree.org/schemas/gpio/snps,dw-apb-gpio.yaml# 7 title: Synopsys DesignWare APB GPIO controller 23 const: snps,dw-apb-gpio 37 - description: APB interface clock source 54 const: snps,dw-apb-gpio-port 118 compatible = "snps,dw-apb-gpio"; 124 compatible = "snps,dw-apb-gpio-port"; 136 compatible = "snps,dw-apb-gpio-port";
|
/openbmc/linux/arch/arm64/boot/dts/bitmain/ |
H A D | bm1880.dtsi | 123 compatible = "snps,dw-apb-gpio"; 127 compatible = "snps,dw-apb-gpio-port"; 141 compatible = "snps,dw-apb-gpio"; 145 compatible = "snps,dw-apb-gpio-port"; 159 compatible = "snps,dw-apb-gpio"; 163 compatible = "snps,dw-apb-gpio-port"; 175 compatible = "snps,dw-apb-uart"; 188 compatible = "snps,dw-apb-uart"; 201 compatible = "snps,dw-apb-uart"; 214 compatible = "snps,dw-apb-uart";
|
/openbmc/u-boot/arch/nds32/include/asm/arch-ag102/ |
H A D | ag102.h | 42 /* AHB-to-APB Bridge Controller */ 50 * APB Device definitions 54 /* APB - SSP (SPI) (without AC97) Controller */ 56 /* UART1 - APB STUART Controller (UART0 in Linux) */ 58 /* APB - SSP with HDA/AC97 Controller */ 60 /* UART2 - APB STUART Controller (UART1 in Linux) */
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | snps,dw-apb-ssi.yaml | 4 $id: http://devicetree.org/schemas/spi/snps,dw-apb-ssi.yaml# 57 - snps,dw-apb-ssi 64 - const: snps,dw-apb-ssi 68 const: amazon,alpine-dw-apb-ssi 72 - const: snps,dw-apb-ssi 97 - description: DW APB SSI controller memory mapped registers 107 - description: APB interface clock source 180 compatible = "snps,dw-apb-ssi";
|
/openbmc/witherspoon-pfault-analysis/power-sequencer/example/ |
H A D | ucd90160.yaml | 4 path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/i2c-11/11-0064 55 path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/i2c-11/11-0060 80 path: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/i2c-11/11-0060
|
/openbmc/linux/Documentation/devicetree/bindings/pwm/ |
H A D | snps,dw-apb-timers-pwm2.yaml | 5 $id: http://devicetree.org/schemas/pwm/snps,dw-apb-timers-pwm2.yaml# 8 title: Synopsys DW-APB timers PWM controller 14 This describes the DesignWare APB timers module when used in the PWM 28 const: snps,dw-apb-timers-pwm2 63 compatible = "snps,dw-apb-timers-pwm2";
|