/openbmc/linux/Documentation/devicetree/bindings/soc/imx/ |
H A D | fsl,imx-iomuxc-gpr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peng Fan <peng.fan@nxp.com> 13 i.MX Processors have an IOMUXC General Purpose Register group for 19 - items: 20 - const: fsl,imx8mq-iomuxc-gpr 21 - const: syscon 22 - const: simple-mfd [all …]
|
/openbmc/linux/arch/arm/mach-imx/ |
H A D | mach-imx6q.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2011-2013 Freescale Semiconductor, Inc. 15 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 44 * fixup for PLX PEX8909 bridge to configure GPIO1-7 as output High 45 * as they are used for slots1-7 PERST# 54 if (dev->devfn != 0) in ventana_pciesw_early_fixup() 58 dw |= 0xaaa8; // GPIO1-7 outputs in ventana_pciesw_early_fixup() 62 dw |= 0xfe; // GPIO1-7 output high in ventana_pciesw_early_fixup() 84 struct regmap *gpr; in imx6q_1588_init() local 87 np = of_find_compatible_node(NULL, NULL, "fsl,imx6q-fec"); in imx6q_1588_init() [all …]
|
H A D | mach-imx6sx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 18 struct regmap *gpr; in imx6sx_enet_clk_sel() local 20 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6sx-iomuxc-gpr"); in imx6sx_enet_clk_sel() 21 if (!IS_ERR(gpr)) { in imx6sx_enet_clk_sel() 22 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sx_enet_clk_sel() 24 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sx_enet_clk_sel() 27 pr_err("failed to find fsl,imx6sx-iomux-gpr regmap\n"); in imx6sx_enet_clk_sel() 52 imx6_pm_ccm_init("fsl,imx6sx-ccm"); in imx6sx_init_irq() 60 platform_device_register_simple("imx6q-cpufreq", -1, NULL, 0); in imx6sx_init_late()
|
H A D | mach-imx6sl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 20 struct regmap *gpr; in imx6sl_fec_init() local 23 gpr = syscon_regmap_lookup_by_compatible("fsl,imx6sl-iomuxc-gpr"); in imx6sl_fec_init() 24 if (!IS_ERR(gpr)) { in imx6sl_fec_init() 25 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sl_fec_init() 27 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sl_fec_init() 30 pr_err("failed to find fsl,imx6sl-iomux-gpr regmap\n"); in imx6sl_fec_init() 38 platform_device_register_simple("imx6q-cpufreq", -1, NULL, 0); in imx6sl_init_late() 64 imx6_pm_ccm_init("fsl,imx6sl-ccm"); in imx6sl_init_irq() [all …]
|
H A D | mach-imx7d.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/mfd/syscon/imx7-iomuxc-gpr.h> 40 struct regmap *gpr; in imx7d_enet_clk_sel() local 42 gpr = syscon_regmap_lookup_by_compatible("fsl,imx7d-iomuxc-gpr"); in imx7d_enet_clk_sel() 43 if (!IS_ERR(gpr)) { in imx7d_enet_clk_sel() 44 regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_TX_CLK_SEL_MASK, 0); in imx7d_enet_clk_sel() 45 regmap_update_bits(gpr, IOMUXC_GPR1, IMX7D_GPR1_ENET_CLK_DIR_MASK, 0); in imx7d_enet_clk_sel() 47 pr_err("failed to find fsl,imx7d-iomux-gpr regmap\n"); in imx7d_enet_clk_sel() 66 platform_device_register_simple("imx-cpufreq-dt", -1, NULL, 0); in imx7d_init_late()
|
H A D | pm-imx6.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2011-2014 Freescale Semiconductor, Inc. 13 #include <linux/irqchip/arm-gic.h> 15 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 24 #include <asm/proc-fns.h> 147 0x27c, 0x498, 0x4a4, 0x490, /* SDCLK0, GPR_B0DS-B1DS, GPR_ADDS */ 153 .mmdc_compat = "fsl,imx6q-mmdc", 154 .src_compat = "fsl,imx6q-src", 155 .iomuxc_compat = "fsl,imx6q-iomuxc", 156 .gpc_compat = "fsl,imx6q-gpc", [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pcie_imx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Freescale i.MX6 PCI Express Root-Complex driver 8 * pci-imx6.c: Sean Cross <xobs@kosagi.com> 9 * pcie-designware.c: Jingoo Han <jg1.han@samsung.com> 42 /* PCIe Port Logic registers (memory-mapped) */ 63 /* PHY registers (not memory-mapped) */ 115 return -ETIMEDOUT; in pcie_phy_poll_ack() 143 /* Read from the 16-bit PCIe PHY control registers (not memory-mapped) */ 200 /* wait for ack de-assertion */ in pcie_phy_write() 218 /* wait for ack de-assertion */ in pcie_phy_write() [all …]
|
/openbmc/linux/drivers/phy/freescale/ |
H A D | phy-fsl-imx8m-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/mfd/syscon/imx7-iomuxc-gpr.h> 20 #include <dt-bindings/phy/phy-imx8-pcie.h> 55 const char *gpr; member 79 pad_mode = imx8_phy->refclk_pad_mode; in imx8_pcie_phy_power_on() 80 switch (imx8_phy->drvdata->variant) { in imx8_pcie_phy_power_on() 82 reset_control_assert(imx8_phy->reset); in imx8_pcie_phy_power_on() 84 /* Tune PHY de-emphasis setting to pass PCIe compliance. */ in imx8_pcie_phy_power_on() 85 if (imx8_phy->tx_deemph_gen1) in imx8_pcie_phy_power_on() 86 writel(imx8_phy->tx_deemph_gen1, in imx8_pcie_phy_power_on() [all …]
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pci-imx6.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 18 #include <linux/mfd/syscon/imx7-iomuxc-gpr.h> 36 #include "pcie-designware.h" 45 #define to_imx6_pcie(x) dev_get_drvdata((x)->dev) 71 const char *gpr; member 109 /* PCIe Port Logic registers (memory-mapped) */ 122 /* PHY registers (not memory-mapped) */ 159 WARN_ON(imx6_pcie->drvdata->variant != IMX8MQ && in imx6_pcie_grp_offset() 160 imx6_pcie->drvdata->variant != IMX8MQ_EP && in imx6_pcie_grp_offset() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | fsl,imx-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/fsl,imx-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX Co-Processor 10 This binding provides support for ARM Cortex M4 Co-processor found on some NXP iMX SoCs. 13 - Peng Fan <peng.fan@nxp.com> 18 - fsl,imx6sx-cm4 19 - fsl,imx7d-cm4 20 - fsl,imx7ulp-cm4 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/imx/ |
H A D | ldb.txt | 1 Device-Tree bindings for LVDS Display Bridge (ldb) 6 The LVDS Display Bridge device tree node contains up to two lvds-channel 10 - #address-cells : should be <1> 11 - #size-cells : should be <0> 12 - compatible : should be "fsl,imx53-ldb" or "fsl,imx6q-ldb". 16 - gpr : should be <&gpr> on i.MX53 and i.MX6q. 17 The phandle points to the iomuxc-gpr region containing the LVDS 19 - clocks, clock-names : phandles to the LDB divider and selector clocks and to 21 Documentation/devicetree/bindings/clock/clock-bindings.txt 23 "di0_pll" - LDB LVDS channel 0 mux [all …]
|
H A D | fsl,imx6-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/imx/fsl,imx6-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Philipp Zabel <p.zabel@pengutronix.de> 17 - $ref: ../bridge/synopsys,dw-hdmi.yaml# 22 - fsl,imx6dl-hdmi 23 - fsl,imx6q-hdmi 25 reg-io-width: 31 clock-names: [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | imx6sl.dtsi | 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include "imx6sl-pinfunc.h" 12 #include <dt-bindings/clock/imx6sl-clock.h> 15 #address-cells = <1>; 16 #size-cells = <1>; 19 * pre-existing /chosen node to be available to insert the 21 * Also for U-Boot there must be a pre-existing /memory node. 47 #address-cells = <1>; 48 #size-cells = <0>; 51 compatible = "arm,cortex-a9"; [all …]
|
H A D | fsl-imx8mq.dtsi | 16 #include "fsl-imx8-ca53.dtsi" 17 #include <dt-bindings/clock/imx8mq-clock.h> 18 #include <dt-bindings/gpio/gpio.h> 19 #include <dt-bindings/input/input.h> 20 #include <dt-bindings/interrupt-controller/arm-gic.h> 21 #include <dt-bindings/pinctrl/pins-imx8mq.h> 22 #include <dt-bindings/thermal/thermal.h> 26 interrupt-parent = <&gpc>; 27 #address-cells = <2>; 28 #size-cells = <2>; [all …]
|
H A D | imx53.dtsi | 10 * http://www.opensource.org/licenses/gpl-license.html 15 #include "imx53-pinfunc.h" 16 #include <dt-bindings/clock/imx5-clock.h> 17 #include <dt-bindings/gpio/gpio.h> 18 #include <dt-bindings/input/input.h> 19 #include <dt-bindings/interrupt-controller/irq.h> 38 tzic: tz-interrupt-controller@fffc000 { 39 compatible = "fsl,imx53-tzic", "fsl,tzic"; 40 interrupt-controller; 41 #interrupt-cells = <1>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6sl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include "imx6sl-pinfunc.h" 7 #include <dt-bindings/clock/imx6sl-clock.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 * pre-existing /chosen node to be available to insert the 50 #address-cells = <1>; 51 #size-cells = <0>; 54 compatible = "arm,cortex-a9"; [all …]
|
H A D | imx6ul.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/clock/imx6ul-clock.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include "imx6ul-pinfunc.h" 12 #address-cells = <1>; 13 #size-cells = <1>; 16 * pre-existing /chosen node to be available to insert the 57 #address-cells = <1>; [all …]
|
H A D | imx6sll.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright 2017-2018 NXP. 8 #include <dt-bindings/clock/imx6sll-clock.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include "imx6sll-pinfunc.h" 14 #address-cells = <1>; 15 #size-cells = <1>; 46 #address-cells = <1>; 47 #size-cells = <0>; [all …]
|
/openbmc/u-boot/board/aristainetos/ |
H A D | aristainetos-v2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <asm/arch/imx-regs.h> 15 #include <asm/arch/mx6-pins.h> 18 #include <asm/mach-imx/iomux-v3.h> 19 #include <asm/mach-imx/boot_mode.h> 20 #include <asm/mach-imx/mxc_i2c.h> 21 #include <asm/mach-imx/video.h> 128 /* RST_LOC# PHY reset input (has pull-down!)*/ 252 return -1; in board_spi_cs_gpio() 302 /* control data pad skew - devaddr = 0x02, register = 0x04 */ in board_phy_config() [all …]
|
H A D | aristainetos-v1.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <asm/arch/imx-regs.h> 15 #include <asm/arch/mx6-pins.h> 18 #include <asm/mach-imx/iomux-v3.h> 19 #include <asm/mach-imx/boot_mode.h> 20 #include <asm/mach-imx/mxc_i2c.h> 21 #include <asm/mach-imx/video.h> 102 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in setup_iomux_enet() 107 setbits_le32(&iomux->gpr[1], IOMUXC_GPR1_ENET_CLK_SEL_MASK); in setup_iomux_enet() 158 ? (IMX_GPIO_NR(3, 20)) : -1; in board_spi_cs_gpio() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | fsl,imx27-pinctrl.txt | 4 - compatible: "fsl,imx27-iomuxc" 6 The iomuxc driver node should define subnodes containing of pinctrl configuration subnodes. 9 - fsl,pins: three integers array, represents a group of pins mux and config 21 0 - Primary function 22 1 - Alternate function 23 2 - GPIO 24 Registers: GIUS (GPIO In Use), GPR (General Purpose Register) 28 0 - Input 29 1 - Output 37 0 - A_IN [all …]
|
/openbmc/u-boot/board/boundary/nitrogen6x/ |
H A D | nitrogen6x.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2010-2013 Freescale Semiconductor, Inc. 10 #include <asm/arch/imx-regs.h> 14 #include <asm/arch/mx6-pins.h> 17 #include <asm/mach-imx/iomux-v3.h> 18 #include <asm/mach-imx/mxc_i2c.h> 19 #include <asm/mach-imx/sata.h> 20 #include <asm/mach-imx/spi.h> 21 #include <asm/mach-imx/boot_mode.h> 22 #include <asm/mach-imx/video.h> [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | sata.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <asm/mach-imx/iomux-v3.h> 14 struct iomuxc *const iomuxc_regs = (struct iomuxc *)IOMUXC_BASE_ADDR; in setup_sata() 24 clrsetbits_le32(&iomuxc_regs->gpr[13], in setup_sata()
|
/openbmc/u-boot/board/engicam/imx6q/ |
H A D | imx6q.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 #include <asm/arch/mx6-pins.h> 19 #include <asm/mach-imx/iomux-v3.h> 20 #include <asm/mach-imx/video.h> 56 clrbits_le32(&mxc_ccm->CCGR2, MXC_CCM_CCGR2_IOMUX_IPT_CLK_IO_MASK); in setup_gpmi_nand() 59 clrsetbits_le32(&mxc_ccm->cs2cdr, in setup_gpmi_nand() 68 setbits_le32(&mxc_ccm->CCGR2, MXC_CCM_CCGR2_IOMUX_IPT_CLK_IO_MASK); in setup_gpmi_nand() 71 setbits_le32(&mxc_ccm->CCGR4, in setup_gpmi_nand() 79 setbits_le32(&mxc_ccm->CCGR0, MXC_CCM_CCGR0_APBHDMA_MASK); in setup_gpmi_nand() 116 .bus = -1, [all …]
|
/openbmc/u-boot/drivers/pinctrl/nxp/ |
H A D | pinctrl-imx5.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include "pinctrl-imx.h" 25 .compatible = "fsl,imx53-iomuxc", 29 .compatible = "fsl,imx53-iomuxc-gpr", 36 .name = "imx5-pinctrl",
|