/Linux-v5.10/arch/arm/boot/dts/ |
D | imx1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include "imx1-pinfunc.h" 7 #include <dt-bindings/clock/imx1-clock.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 16 * pre-existing /chosen node to be available to insert the 34 aitc: aitc-interrupt-controller@223000 { 35 compatible = "fsl,imx1-aitc", "fsl,avic"; [all …]
|
D | imx35.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "imx35-pinfunc.h" 10 #address-cells = <1>; 11 #size-cells = <1>; 14 * pre-existing /chosen node to be available to insert the 38 #address-cells = <1>; 39 #size-cells = <0>; 42 compatible = "arm,arm1136jf-s"; 48 avic: avic-interrupt-controller@68000000 { 49 compatible = "fsl,imx35-avic", "fsl,avic"; [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/clock/ |
D | imx1-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/imx1-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Clock bindings for Freescale i.MX1 CPUs 10 - Alexander Shiyan <shc_work@mail.ru> 13 The clock consumer should specify the desired clock by having the clock 14 ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx1-clock.h 15 for the full list of i.MX1 clock IDs. 19 const: fsl,imx1-ccm [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/i2c/ |
D | i2c-imx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-imx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale Inter IC (I2C) and High Speed Inter IC (HS-I2C) for i.MX 10 - Wolfram Sang <wolfram@the-dreams.de> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - const: fsl,imx1-i2c 19 - const: fsl,imx21-i2c 20 - const: fsl,vf610-i2c [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/display/imx/ |
D | fsl,imx-fb.txt | 3 This framebuffer driver supports devices imx1, imx21, imx25, and imx27. 6 - compatible : "fsl,<chip>-fb", chip should be imx1 or imx21 7 - reg : Should contain 1 register ranges(address and length) 8 - interrupts : One interrupt of the fb dev 11 - display: Phandle to a display node as described in 12 Documentation/devicetree/bindings/display/panel/display-timing.txt 14 - bits-per-pixel: Bits per pixel 15 - fsl,pcr: LCDC PCR value 17 - fsl,aus-mode: boolean to enable AUS mode (only for imx21) 20 - lcd-supply: Regulator for LCD supply voltage. [all …]
|
/Linux-v5.10/drivers/clk/imx/ |
D | clk-imx1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 12 #include <dt-bindings/clock/imx1-clock.h> 73 CLK_OF_DECLARE(imx1_ccm, "fsl,imx1-ccm", mx1_clocks_init_dt);
|
/Linux-v5.10/Documentation/devicetree/bindings/rtc/ |
D | rtc-mxc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/rtc/rtc-mxc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Real Time Clock of the i.MX SoCs 10 - $ref: "rtc.yaml#" 13 - Philippe Reynes <tremyfr@gmail.com> 18 - fsl,imx1-rtc 19 - fsl,imx21-rtc 29 - description: input reference [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/bus/ |
D | imx-weim.txt | 5 wireless and mobile applications that use low-power technology. 11 - compatible: Should contain one of the following: 12 "fsl,imx1-weim" 13 "fsl,imx27-weim" 14 "fsl,imx51-weim" 15 "fsl,imx50-weim" 16 "fsl,imx6q-weim" 17 - reg: A resource specifier for the register space 19 - clocks: the clock, see the example below. 20 - #address-cells: Must be set to 2 to allow memory address translation [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/timer/ |
D | fsl,imxgpt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sascha Hauer <s.hauer@pengutronix.de> 15 - const: fsl,imx1-gpt 16 - const: fsl,imx21-gpt 17 - items: 18 - const: fsl,imx27-gpt 19 - const: fsl,imx21-gpt 20 - const: fsl,imx31-gpt [all …]
|
/Linux-v5.10/drivers/pwm/ |
D | pwm-imx1.c | 1 // SPDX-License-Identifier: GPL-2.0 42 ret = clk_prepare_enable(imx->clk_ipg); in pwm_imx1_clk_prepare_enable() 46 ret = clk_prepare_enable(imx->clk_per); in pwm_imx1_clk_prepare_enable() 48 clk_disable_unprepare(imx->clk_ipg); in pwm_imx1_clk_prepare_enable() 59 clk_disable_unprepare(imx->clk_per); in pwm_imx1_clk_disable_unprepare() 60 clk_disable_unprepare(imx->clk_ipg); in pwm_imx1_clk_disable_unprepare() 74 * Bootloader (u-boot or WinCE+haret) has programmed the PWM in pwm_imx1_config() 86 max = readl(imx->mmio_base + MX1_PWMP); in pwm_imx1_config() 89 writel(max - p, imx->mmio_base + MX1_PWMS); in pwm_imx1_config() 104 value = readl(imx->mmio_base + MX1_PWMC); in pwm_imx1_enable() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/pwm/ |
D | imx-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/imx-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Philipp Zabel <p.zabel@pengutronix.de> 13 "#pwm-cells": 18 - 2 19 - 3 23 - enum: 24 - fsl,imx1-pwm [all …]
|
/Linux-v5.10/include/soc/imx/ |
D | timer.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 17 * This is a stop-gap solution for clock drivers like imx1/imx21 which call 18 * mxc_timer_init() to initialize timer for non-DT boot. It can be removed 19 * when these legacy non-DT support is converted or dropped.
|
/Linux-v5.10/Documentation/devicetree/bindings/spi/ |
D | fsl-imx-cspi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/fsl-imx-cspi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 13 - $ref: "/schemas/spi/spi-controller.yaml#" 18 - const: fsl,imx1-cspi 19 - const: fsl,imx21-cspi 20 - const: fsl,imx27-cspi 21 - const: fsl,imx31-cspi [all …]
|
/Linux-v5.10/arch/m68k/coldfire/ |
D | m53xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * m53xx.c -- platform support for ColdFire 53xx based boards 7 * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com) 37 DEFINE_CLK(0, "imx1-i2c.0", 22, MCF_CLK); 58 DEFINE_CLK(0, "mcfusb-otg.0", 44, MCF_CLK); 59 DEFINE_CLK(0, "mcfusb-host.0", 45, MCF_CLK); 76 &__clk_0_22, /* imx1-i2c.0 */ 97 &__clk_0_44, /* mcfusb-otg.0 */ 98 &__clk_0_45, /* mcfusb-host.0 */ 132 &__clk_0_22, /* imx1-i2c.0 */ [all …]
|
/Linux-v5.10/drivers/rtc/ |
D | rtc-mxc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright 2004-2008 Freescale Semiconductor, Inc. All Rights Reserved. 75 .name = "imx1-rtc", 78 .name = "imx21-rtc", 88 { .compatible = "fsl,imx1-rtc", .data = (const void *)IMX1_RTC }, 89 { .compatible = "fsl,imx21-rtc", .data = (const void *)IMX21_RTC }, 97 return data->devtype == IMX1_RTC; in is_imx1_rtc() 107 void __iomem *ioaddr = pdata->ioaddr; in get_alarm_or_time() 136 void __iomem *ioaddr = pdata->ioaddr; in set_alarm_or_time() 142 tod -= hr * 3600; in set_alarm_or_time() [all …]
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-mxc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 // Copyright (C) 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved. 81 .edge_sel_reg = -EINVAL, 96 .edge_sel_reg = -EINVAL, 121 #define GPIO_DR (mxc_gpio_hwdata->dr_reg) 122 #define GPIO_GDIR (mxc_gpio_hwdata->gdir_reg) 123 #define GPIO_PSR (mxc_gpio_hwdata->psr_reg) 124 #define GPIO_ICR1 (mxc_gpio_hwdata->icr1_reg) 125 #define GPIO_ICR2 (mxc_gpio_hwdata->icr2_reg) 126 #define GPIO_IMR (mxc_gpio_hwdata->imr_reg) [all …]
|
/Linux-v5.10/drivers/bus/ |
D | imx-weim.c | 15 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 67 { .compatible = "fsl,imx1-weim", .data = &imx1_weim_devtype, }, 69 { .compatible = "fsl,imx27-weim", .data = &imx27_weim_devtype, }, 71 { .compatible = "fsl,imx50-weim", .data = &imx50_weim_devtype, }, 72 { .compatible = "fsl,imx6q-weim", .data = &imx50_weim_devtype, }, 74 { .compatible = "fsl,imx51-weim", .data = &imx51_weim_devtype, }, 81 struct device_node *np = pdev->dev.of_node; in imx_weim_gpr_setup() 96 gpr = syscon_regmap_lookup_by_phandle(np, "fsl,weim-cs-gpr"); in imx_weim_gpr_setup() 98 dev_dbg(&pdev->dev, "failed to find weim-cs-gpr\n"); in imx_weim_gpr_setup() 124 dev_err(&pdev->dev, "Invalid 'ranges' configuration\n"); in imx_weim_gpr_setup() [all …]
|
/Linux-v5.10/drivers/video/fbdev/ |
D | imxfb.c | 14 * linux-arm-kernel@lists.arm.linux.org.uk 31 #include <linux/dma-mapping.h> 44 #include <linux/platform_data/video-imxfb.h> 51 #define DRIVER_NAME "imx-fb" 123 /* Used fb-mode. Can be set on kernel command line, therefore file-static. */ 180 .name = "imx1-fb", 183 .name = "imx21-fb", 193 .compatible = "fsl,imx1-fb", 196 .compatible = "fsl,imx21-fb", 206 return fbi->devtype == IMX1_FB; in is_imx1_fb() [all …]
|
/Linux-v5.10/drivers/clocksource/ |
D | timer-imx-gpt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright (C) 2000-2001 Deep Blue Solutions 5 // Copyright (C) 2006-2007 Pavel Pisa (ppisa@pikron.com) 23 * - MX1/MXL 24 * - MX21, MX27. 25 * - MX25, MX31, MX35, MX37, MX51, MX6Q(rev1.0) 26 * - MX6DL, MX6SX, MX6Q(rev1.1+) 93 tmp = readl_relaxed(imxtm->base + MXC_TCTL); in imx1_gpt_irq_disable() 94 writel_relaxed(tmp & ~MX1_2_TCTL_IRQEN, imxtm->base + MXC_TCTL); in imx1_gpt_irq_disable() 100 writel_relaxed(0, imxtm->base + V2_IR); in imx31_gpt_irq_disable() [all …]
|
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2002 Motorola GSG-China 27 #include <linux/dma-mapping.h> 44 #include <linux/platform_data/i2c-imx.h> 51 #define DRIVER_NAME "imx-i2c" 97 * - write zero to clear(w0c) INT flag on i.MX, 98 * - but write one to clear(w1c) INT flag on Vybrid. 100 * - set I2CR_IEN bit enable the module on i.MX, 101 * - but clear I2CR_IEN bit enable the module on Vybrid. 111 * sorted list of clock divider, register value pairs [all …]
|
/Linux-v5.10/drivers/spi/ |
D | spi-imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. 9 #include <linux/dma-mapping.h> 27 #include <linux/platform_data/dma-imx.h> 124 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi() 129 return d->devtype_data->devtype == IMX35_CSPI; in is_imx35_cspi() 134 return d->devtype_data->devtype == IMX51_ECSPI; in is_imx51_ecspi() 139 return d->devtype_data->devtype == IMX53_ECSPI; in is_imx53_ecspi() 145 unsigned int val = readl(spi_imx->base + MXC_CSPIRXDATA); \ 147 if (spi_imx->rx_buf) { \ [all …]
|
/Linux-v5.10/drivers/tty/serial/ |
D | imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 30 #include <linux/dma-mapping.h> 33 #include <linux/platform_data/serial-imx.h> 34 #include <linux/platform_data/dma-imx.h> 78 #define IMX1_UCR1_UARTCLKEN (1<<2) /* UART clock enabled, i.mx1 only */ 125 #define UFCR_RFDIV_REG(x) (((x) < 7 ? 6 - (x) : 6) << 7) 161 /* We've been assigned a range on the "Low-density serial ports" major */ 174 #define DRIVER_NAME "IMX-uart" 268 .name = "imx1-uart", 271 .name = "imx21-uart", [all …]
|