/linux-6.12.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
D | cpm.txt | 7 * Root CPM node 10 - compatible : "fsl,cpm1", "fsl,cpm2", or "fsl,qe". 11 - reg : A 48-byte region beginning with CPCR. 14 cpm@119c0 { 15 #address-cells = <1>; 16 #size-cells = <1>; 17 #interrupt-cells = <2>; 18 compatible = "fsl,mpc8272-cpm", "fsl,cpm2"; 22 * Properties common to multiple CPM/QE devices 24 - fsl,cpm-command : This value is ORed with the opcode and command flag [all …]
|
D | serial.txt | 4 - fsl,cpm1-smc-uart 5 - fsl,cpm2-smc-uart 6 - fsl,cpm1-scc-uart 7 - fsl,cpm2-scc-uart 8 - fsl,qe-uart 11 property as described in booting-without-of.txt, section IX.1 in the following 23 compatible = "fsl,mpc8272-scc-uart", 24 "fsl,cpm2-scc-uart"; 27 interrupt-parent = <&PIC>; 28 fsl,cpm-brg = <1>; [all …]
|
/linux-6.12.1/arch/powerpc/boot/dts/ |
D | ep8248e.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 12 #address-cells = <1>; 13 #size-cells = <1>; 16 planetcore-SMC1 = &smc1; 17 planetcore-SCC1 = &scc1; 25 #address-cells = <1>; 26 #size-cells = <0>; 31 d-cache-line-size = <32>; 32 i-cache-line-size = <32>; [all …]
|
D | mpc866ads.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 /dts-v1/; 14 #address-cells = <1>; 15 #size-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 24 d-cache-line-size = <16>; // 16 bytes 25 i-cache-line-size = <16>; // 16 bytes 26 d-cache-size = <0x2000>; // L1, 8K 27 i-cache-size = <0x4000>; // L1, 16K [all …]
|
D | mpc885ads.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 /dts-v1/; 14 #address-cells = <1>; 15 #size-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 24 d-cache-line-size = <16>; 25 i-cache-line-size = <16>; 26 d-cache-size = <8192>; 27 i-cache-size = <8192>; [all …]
|
D | mgcoge.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 /dts-v1/; 13 #address-cells = <1>; 14 #size-cells = <1>; 22 #address-cells = <1>; 23 #size-cells = <0>; 28 d-cache-line-size = <32>; 29 i-cache-line-size = <32>; 30 d-cache-size = <16384>; 31 i-cache-size = <16384>; [all …]
|
D | ep88xc.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 /dts-v1/; 14 #address-cells = <1>; 15 #size-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 24 d-cache-line-size = <16>; 25 i-cache-line-size = <16>; 26 d-cache-size = <8192>; 27 i-cache-size = <8192>; [all …]
|
D | tqm8xx.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 /dts-v1/; 14 #address-cells = <1>; 15 #size-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <0>; 31 d-cache-line-size = <16>; // 16 bytes 32 i-cache-line-size = <16>; // 16 bytes 33 d-cache-size = <0x1000>; // L1, 4K 34 i-cache-size = <0x1000>; // L1, 4K [all …]
|
D | ksi8560.dts | 15 /dts-v1/; 22 #address-cells = <1>; 23 #size-cells = <1>; 32 #address-cells = <1>; 33 #size-cells = <0>; 38 d-cache-line-size = <32>; 39 i-cache-line-size = <32>; 40 d-cache-size = <0x8000>; /* L1, 32K */ 41 i-cache-size = <0x8000>; /* L1, 32K */ 42 timebase-frequency = <0>; /* From U-boot */ [all …]
|
D | tqm8560.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 /dts-v1/; 16 #address-cells = <1>; 17 #size-cells = <1>; 29 #address-cells = <1>; 30 #size-cells = <0>; 35 d-cache-line-size = <32>; 36 i-cache-line-size = <32>; 37 d-cache-size = <32768>; 38 i-cache-size = <32768>; [all …]
|
D | adder875-uboot.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Device Tree Source for MPC885 ADS running U-Boot 9 /dts-v1/; 12 compatible = "analogue-and-micro,adder875"; 13 #address-cells = <1>; 14 #size-cells = <1>; 23 #address-cells = <1>; 24 #size-cells = <0>; 29 d-cache-line-size = <16>; 30 i-cache-line-size = <16>; [all …]
|
D | adder875-redboot.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 /dts-v1/; 12 compatible = "analogue-and-micro,adder875"; 13 #address-cells = <1>; 14 #size-cells = <1>; 23 #address-cells = <1>; 24 #size-cells = <0>; 29 d-cache-line-size = <16>; 30 i-cache-line-size = <16>; 31 d-cache-size = <8192>; [all …]
|
D | stx_gp3_8560.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * STX GP3 - 8560 ADS Device Tree Source 8 /dts-v1/; 14 compatible = "stx,gp3-8560", "stx,gp3"; 15 #address-cells = <1>; 16 #size-cells = <1>; 26 #address-cells = <1>; 27 #size-cells = <0>; 32 d-cache-line-size = <32>; 33 i-cache-line-size = <32>; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/net/ |
D | fsl,cpm-enet.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/fsl,cpm-enet.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Network for cpm enet 10 - Frank Li <Frank.Li@nxp.com> 15 - enum: 16 - fsl,cpm1-scc-enet 17 - fsl,cpm2-scc-enet 18 - fsl,cpm1-fec-enet [all …]
|
/linux-6.12.1/drivers/tty/serial/ |
D | cpm_uart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for CPM (SCC/SMC) serial ports; core driver 14 * (C) 2005-2006 MontaVista Software, Inc. 28 #include <linux/dma-mapping.h> 59 cpm_command(port->command, cmd); in cpm_line_cr_cmd() 69 cbd_t __iomem *bdp = pinfo->tx_bd_base; in cpm_uart_tx_empty() 73 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty() 76 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty() 83 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty() 93 if (pinfo->gpios[GPIO_RTS]) in cpm_uart_set_mctrl() [all …]
|
D | cpm_uart.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Driver for CPM (SCC/SMC) serial ports 28 #define IS_SMC(pinfo) (pinfo->flags & FLAG_SMC) 73 /* value to combine with opcode to form cpm command */ 74 u32 command; member 86 u32 mem = (u32)pinfo->mem_addr; in cpu2cpm_addr() 88 if (likely(val >= mem && val < mem + pinfo->mem_size)) { in cpu2cpm_addr() 89 offset = val - mem; in cpu2cpm_addr() 90 return pinfo->dma_addr + offset; in cpu2cpm_addr() 102 u32 dma = (u32)pinfo->dma_addr; in cpm2cpu_addr() [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-cpm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * (C) 2000-2001 Felix Domke (tmbinc@gmx.net), Gillem (htoa@gmx.net) 15 * Converted to of_platform_device. Renamed to i2c-cpm.c. 28 #include <linux/dma-mapping.h> 34 #include <asm/cpm.h> 119 struct cpm_i2c *cpm; in cpm_i2c_interrupt() local 124 cpm = i2c_get_adapdata(dev_id); in cpm_i2c_interrupt() 125 i2c_reg = cpm->i2c_reg; in cpm_i2c_interrupt() 128 i = in_8(&i2c_reg->i2cer); in cpm_i2c_interrupt() 129 out_8(&i2c_reg->i2cer, i); in cpm_i2c_interrupt() [all …]
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | cpm1.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * processor channels. Some CPM control and status is available 10 * CPM capabilities. I (or someone else) will add definitions as they 11 * are needed. -- Dan 13 * On the MBX board, EPPC-Bug loads CPM microcode into the first 512 24 #include <asm/cpm.h> 26 /* CPM Command register. 308 /* CPM Ethernet through SCCx. 331 uint sen_tbuf0data0; /* Save area 0 - current frame */ 332 uint sen_tbuf0data1; /* Save area 1 - current frame */ [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/ |
D | i2c.txt | 3 The I2C controller is expressed as a bus under the CPM node. 6 - compatible : "fsl,cpm1-i2c", "fsl,cpm2-i2c" 7 - reg : On CPM2 devices, the second resource doesn't specify the I2C 10 - #address-cells : Should be one. The cell is the i2c device address with 12 - #size-cells : Should be zero. 13 - clock-frequency : Can be used to set the i2c clock frequency. If 17 - linux,i2c-index : Can be used to hard code an i2c bus number. By default, 19 - linux,i2c-class : Can be used to override the i2c class. The class is used 28 compatible = "fsl,mpc823-i2c", 29 "fsl,cpm1-i2c"; [all …]
|
D | usb.txt | 4 - compatible : "fsl,cpm1-usb", "fsl,cpm2-usb", "fsl,qe-usb" 8 #address-cells = <1>; 9 #size-cells = <0>; 10 compatible = "fsl,cpm2-usb"; 13 interrupt-parent = <&PIC>; 14 fsl,cpm-command = <2e600000>;
|
/linux-6.12.1/arch/powerpc/sysdev/ |
D | cpm2.c | 4 * Copyright (c) 1999-2001 Dan Malek <dan@embeddedalley.com> 54 #define CPM_MAP_SIZE (0x40000) /* 256k - the PQ3 reserve this amount 55 of space for CPM as it is larger 68 cpmp = &cpm2_immr->im_cpm; in cpm2_reset() 71 /* Reset the CPM. in cpm2_reset() 81 int cpm_command(u32 command, u8 opcode) in cpm_command() argument 89 out_be32(&cpmp->cp_cpcr, command | opcode | CPM_CR_FLG); in cpm_command() 91 if ((in_be32(&cpmp->cp_cpcr) & CPM_CR_FLG) == 0) in cpm_command() 94 printk(KERN_ERR "%s(): Not able to issue CPM command\n", __func__); in cpm_command() 95 ret = -EIO; in cpm_command() [all …]
|
/linux-6.12.1/include/soc/fsl/ |
D | cpm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * SPI Parameter RAM common to QE and CPM. 36 * USB Controller pram common to QE and CPM. 50 /* Fields down below are QE-only */ 87 /* Buffer descriptors used by many of the CPM protocols. */ 109 #define BD_SC_NAK (0x0004) /* NAK - did not respond */ 161 int cpm_command(u32 command, u8 opcode); 163 static inline int cpm_command(u32 command, u8 opcode) in cpm_command() argument 165 return -ENOSYS; in cpm_command()
|
/linux-6.12.1/drivers/iio/light/ |
D | cm32181.c | 1 // SPDX-License-Identifier: GPL-2.0-only 58 /* CPM0 Index 0: device-id (3218 or 32181), 1: Unknown, 2: init_regs_bitmap */ 95 * cm32181_acpi_get_cpm() - Get CPM object from ACPI 101 * Convert ACPI CPM table to array. 103 * Return: -ENODEV for fail. Otherwise is number of elements. 109 union acpi_object *cpm, *elem; in cm32181_acpi_get_cpm() local 116 return -ENODEV; in cm32181_acpi_get_cpm() 121 return -ENODEV; in cm32181_acpi_get_cpm() 124 cpm = buffer.pointer; in cm32181_acpi_get_cpm() 125 if (cpm->package.count > count) in cm32181_acpi_get_cpm() [all …]
|
/linux-6.12.1/drivers/spi/ |
D | spi-fsl-cpm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Freescale SPI controller driver cpm functions. 10 * CPM SPI and QE buffer descriptors mode support: 14 #include <asm/cpm.h> 16 #include <linux/dma-mapping.h> 26 #include "spi-fsl-cpm.h" 27 #include "spi-fsl-lib.h" 28 #include "spi-fsl-spi.h" 54 if (mspi->flags & SPI_QE) { in fsl_spi_cpm_reinit_txrx() 55 qe_issue_cmd(QE_INIT_TX_RX, mspi->subblock, in fsl_spi_cpm_reinit_txrx() [all …]
|
/linux-6.12.1/arch/powerpc/boot/ |
D | cpm-serial.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * CPM serial console support. 113 out_be16(&smc->smcmr, in_be16(&smc->smcmr) & ~3); in smc_disable_port() 119 out_be32(&scc->gsmrl, in_be32(&scc->gsmrl) & ~0x30); in scc_disable_port() 124 out_be16(&smc->smcmr, in_be16(&smc->smcmr) | 3); in smc_enable_port() 130 out_be32(&scc->gsmrl, in_be32(&scc->gsmrl) | 0x30); in scc_enable_port() 138 out_8(¶m->rfcr, 0x10); in cpm_serial_open() 139 out_8(¶m->tfcr, 0x10); in cpm_serial_open() 140 out_be16(¶m->mrblr, 1); in cpm_serial_open() 141 out_be16(¶m->maxidl, 0); in cpm_serial_open() [all …]
|