/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | nvidia,tegra124-xusb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra124-xusb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra124 xHCI controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 exposed by the Tegra XUSB pad controller. 20 - description: NVIDIA Tegra124 21 const: nvidia,tegra124-xusb [all …]
|
/openbmc/linux/drivers/phy/tegra/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 2 obj-$(CONFIG_PHY_TEGRA_XUSB) += phy-tegra-xusb.o 4 phy-tegra-xusb-y += xusb.o 5 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_124_SOC) += xusb-tegra124.o 6 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_132_SOC) += xusb-tegra124.o 7 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_210_SOC) += xusb-tegra210.o 8 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_186_SOC) += xusb-tegra186.o 9 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_194_SOC) += xusb-tegra186.o 10 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_234_SOC) += xusb-tegra186.o 11 obj-$(CONFIG_PHY_TEGRA194_P2U) += phy-tegra194-p2u.o
|
H A D | xusb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved. 13 #include <linux/phy/tegra/xusb.h> 22 #include "xusb.h" 31 if (args->args_count != 0) in tegra_xusb_pad_of_xlate() 32 return ERR_PTR(-EINVAL); in tegra_xusb_pad_of_xlate() 34 for (i = 0; i < pad->soc->num_lanes; i++) { in tegra_xusb_pad_of_xlate() 35 if (!pad->lanes[i]) in tegra_xusb_pad_of_xlate() 38 if (pad->lanes[i]->dev.of_node == args->np) { in tegra_xusb_pad_of_xlate() 39 phy = pad->lanes[i]; in tegra_xusb_pad_of_xlate() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | nvidia,tegra124-xusb-padctl.txt | 1 Device tree binding for NVIDIA Tegra XUSB pad controller 4 NOTE: It turns out that this binding isn't an accurate description of the XUSB 7 needed for USB. For the new binding, see ../phy/nvidia,tegra-xusb-padctl.txt. 10 The Tegra XUSB pad controller manages a set of lanes, each of which can be 14 This document defines the device-specific binding for the XUSB pad controller. 16 Refer to pinctrl-bindings.txt in this directory for generic information about 17 pin controller device tree bindings and ../phy/phy-bindings.txt for details on 21 -------------------- 22 - compatible: For Tegra124, must contain "nvidia,tegra124-xusb-padctl". 23 Otherwise, must contain '"nvidia,<chip>-xusb-padctl", [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | nvidia,tegra124-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra124-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra124 XUSB pad controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed [all …]
|
/openbmc/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra132.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra124-car.h> 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/memory/tegra124-mc.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/thermal/tegra124-soctherm.h> 9 #include <dt-bindings/soc/tegra-pmc.h> 11 #include "tegra132-peripherals-opp.dtsi" [all …]
|
H A D | tegra210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra210-car.h> 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/memory/tegra210-mc.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 7 #include <dt-bindings/reset/tegra210-car.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/thermal/tegra124-soctherm.h> 10 #include <dt-bindings/soc/tegra-pmc.h> [all …]
|
H A D | tegra132-norrin.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 9 compatible = "nvidia,norrin", "nvidia,tegra132", "nvidia,tegra124"; 18 stdout-path = "serial0:115200n8"; 30 vdd-supply = <&vdd_3v3_hdmi>; 31 pll-supply = <&vdd_hdmi_pll>; 32 hdmi-supply = <&vdd_5v0_hdmi>; 34 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 35 nvidia,hpd-gpio = [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | tegra124.dtsi | 1 #include <dt-bindings/clock/tegra124-car.h> 2 #include <dt-bindings/gpio/tegra-gpio.h> 3 #include <dt-bindings/memory/tegra124-mc.h> 4 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/reset/tegra124-car.h> 8 #include <dt-bindings/thermal/tegra124-soctherm.h> 13 compatible = "nvidia,tegra124"; 14 interrupt-parent = <&lic>; [all …]
|
H A D | tegra210.dtsi | 1 #include <dt-bindings/clock/tegra210-car.h> 2 #include <dt-bindings/gpio/tegra-gpio.h> 3 #include <dt-bindings/memory/tegra210-mc.h> 4 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> 10 interrupt-parent = <&lic>; 11 #address-cells = <2>; 12 #size-cells = <2>; 14 pcie-controller@01003000 { [all …]
|
/openbmc/linux/drivers/pinctrl/tegra/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_PINCTRL_TEGRA) += pinctrl-tegra.o 3 obj-$(CONFIG_PINCTRL_TEGRA20) += pinctrl-tegra20.o 4 obj-$(CONFIG_PINCTRL_TEGRA30) += pinctrl-tegra30.o 5 obj-$(CONFIG_PINCTRL_TEGRA114) += pinctrl-tegra114.o 6 obj-$(CONFIG_PINCTRL_TEGRA124) += pinctrl-tegra124.o 7 obj-$(CONFIG_PINCTRL_TEGRA210) += pinctrl-tegra210.o 8 obj-$(CONFIG_PINCTRL_TEGRA194) += pinctrl-tegra194.o 9 obj-$(CONFIG_PINCTRL_TEGRA234) += pinctrl-tegra234.o 10 obj-$(CONFIG_PINCTRL_TEGRA_XUSB) += pinctrl-tegra-xusb.o
|
H A D | pinctrl-tegra-xusb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> 23 #include "../pinctrl-utils.h" 99 writel(value, padctl->regs + offset); in padctl_writel() 105 return readl(padctl->regs + offset); in padctl_readl() 112 return padctl->soc->num_pins; in tegra_xusb_padctl_get_groups_count() 120 return padctl->soc->pins[group].name; in tegra_xusb_padctl_get_group_name() 129 * For the tegra-xusb pad controller groups are synonymous in tegra_xusb_padctl_get_group_pins() 132 *pins = &pinctrl->desc->pins[group].number; in tegra_xusb_padctl_get_group_pins() 168 if (err != -EINVAL) in tegra_xusb_padctl_parse_subnode() [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0+ 3 # (C) Copyright 2010-2015 Nvidia Corporation. 5 # (C) Copyright 2000-2008 10 obj-y += spl.o 11 obj-y += cpu.o 13 obj-$(CONFIG_CMD_ENTERRCM) += cmd_enterrcm.o 16 obj-y += ap.o 17 obj-y += board.o board2.o 18 obj-y += cache.o 19 obj-y += clock.o [all …]
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra124.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra124-car.h> 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/memory/tegra124-mc.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/reset/tegra124-car.h> 8 #include <dt-bindings/thermal/tegra124-soctherm.h> 9 #include <dt-bindings/soc/tegra-pmc.h> 11 #include "tegra124-peripherals-opp.dtsi" [all …]
|
H A D | tegra124-venice2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "tegra124.dtsi" 8 model = "NVIDIA Tegra124 Venice2"; 9 compatible = "nvidia,venice2", "nvidia,tegra124"; 18 stdout-path = "serial0:115200n8"; 29 vdd-supply = <&vdd_3v3_hdmi>; 30 pll-supply = <&vdd_hdmi_pll>; 31 hdmi-supply = <&vdd_5v0_hdmi>; [all …]
|
H A D | tegra124-nyan.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/thermal/thermal.h> 4 #include "tegra124.dtsi" 14 stdout-path = "serial0:115200n8"; 20 * missing a unit-address. However, the bootloader on these Chromebook 22 * Adding the unit-address causes the bootloader to create a /memory 34 /delete-node/ memory@80000000; 40 vdd-supply = <&vdd_3v3_hdmi>; 41 pll-supply = <&vdd_hdmi_pll>; [all …]
|
H A D | tegra124-jetson-tk1.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "tegra124.dtsi" 7 #include "tegra124-jetson-tk1-emc.dtsi" 10 model = "NVIDIA Tegra124 Jetson TK1"; 11 compatible = "nvidia,jetson-tk1", "nvidia,tegra124"; 17 /* This order keeps the mapping DB9 connector <-> ttyS0 */ 24 stdout-path = "serial0:115200n8"; 34 avddio-pex-supply = <&vdd_1v05_run>; [all …]
|
H A D | tegra124-apalis-v1.2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2016-2018 Toradex AG 6 #include "tegra124.dtsi" 7 #include "tegra124-apalis-emc.dtsi" 21 avddio-pex-supply = <®_1v05_vdd>; 22 avdd-pex-pll-supply = <®_1v05_vdd>; 23 avdd-pll-erefe-supply = <®_1v05_avdd>; 24 dvddio-pex-supply = <®_1v05_vdd>; 25 hvdd-pex-pll-e-supply = <®_module_3v3>; 26 hvdd-pex-supply = <®_module_3v3>; [all …]
|
H A D | tegra124-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 3 * Copyright 2016-2019 Toradex AG 6 #include "tegra124.dtsi" 7 #include "tegra124-apalis-emc.dtsi" 20 avddio-pex-supply = <®_1v05_vdd>; 21 avdd-pex-pll-supply = <®_1v05_vdd>; 22 avdd-pll-erefe-supply = <®_1v05_avdd>; 23 dvddio-pex-supply = <®_1v05_vdd>; 24 hvdd-pex-pll-e-supply = <®_module_3v3>; 25 hvdd-pex-supply = <®_module_3v3>; [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra124/ |
H A D | xusb-padctl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. 6 #define pr_fmt(fmt) "tegra-xusb-padctl: " fmt 13 #include "../xusb-padctl-common.h" 15 #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> 55 "xusb", 94 TEGRA124_LANE("otg-0", 0x004, 0, 0x3, 0, otg), 95 TEGRA124_LANE("otg-1", 0x004, 2, 0x3, 0, otg), 96 TEGRA124_LANE("otg-2", 0x004, 4, 0x3, 0, otg), 97 TEGRA124_LANE("ulpi-0", 0x004, 12, 0x1, 0, usb), [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved. 11 #include <linux/dma-mapping.h> 20 #include <linux/phy/tegra/xusb.h> 321 return readl(tegra->fpci_base + offset); in fpci_readl() 327 writel(value, tegra->fpci_base + offset); in fpci_writel() 332 return readl(tegra->ipfs_base + offset); in ipfs_readl() 338 writel(value, tegra->ipfs_base + offset); in ipfs_writel() 343 return readl(tegra->bar2_base + offset); in bar2_readl() 349 writel(value, tegra->bar2_base + offset); in bar2_writel() [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
H A D | clk_rst.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * (C) Copyright 2010-2014 10 /* PLL registers - there are several PLLs in the clock controller */ 18 /* PLL registers - there are several PLLs in the clock controller */ 38 * Most PLLs use the clk_pll structure, but some have a simpler two-member 39 * structure for which we use clk_pll_simple. The reason for this non- 75 uint crc_reserved2[8]; /* reserved_2[8], 0x60-7C */ 85 uint crc_clk_src[TEGRA_CLK_SOURCES]; /*_I2S1_0... 0x100-1fc */ 87 uint crc_reserved20[32]; /* _reserved_20, 0x200-27c */ 105 uint crc_reserved21[17]; /* _reserved_21, 0x2b0-2f0 */ [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_tegra.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (c) 2008-2009, NVIDIA Corporation. 9 * Copyright (c) 2013-2014, NVIDIA Corporation. 12 #define pr_fmt(fmt) "tegra-pcie: " fmt 21 #include <power-domain.h> 33 #include <asm/arch-tegra/xusb-padctl.h> 34 #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> 41 * a custom Tegra-specific API. ASAP the older Tegra SoCs' code should be 163 * Fields in PADS_REFCLK_CFG*. Those registers form an array of 16-bit 243 writel(value, pcie->afi.start + offset); in afi_writel() [all …]
|
/openbmc/u-boot/include/ |
H A D | fdtdec.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 * drivers and board-specific code within U-Boot. It aims to reduce the 13 * amount of FDT munging required within U-Boot itself, so that driver code 27 #define FDT_ADDR_T_NONE (-1U) 32 #define FDT_ADDR_T_NONE (-1U) 59 * be equal to: end - start + 1. 93 * t: is 1 if the address is aliased (for non-relocatable I/O) below 1MB 96 * bbbbbbbb: is the 8-bit Bus Number 97 * ddddd: is the 5-bit Device Number 98 * fff: is the 3-bit Function Number [all …]
|
/openbmc/u-boot/lib/ |
H A D | fdtdec.c | 1 // SPDX-License-Identifier: GPL-2.0+ 30 * good reason why driver-model conversion is infeasible. Examples include 36 COMPAT(NVIDIA_TEGRA20_EMC, "nvidia,tegra20-emc"), 37 COMPAT(NVIDIA_TEGRA20_EMC_TABLE, "nvidia,tegra20-emc-table"), 38 COMPAT(NVIDIA_TEGRA20_NAND, "nvidia,tegra20-nand"), 39 COMPAT(NVIDIA_TEGRA124_XUSB_PADCTL, "nvidia,tegra124-xusb-padctl"), 40 COMPAT(NVIDIA_TEGRA210_XUSB_PADCTL, "nvidia,tegra210-xusb-padctl"), 42 COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"), 43 COMPAT(SAMSUNG_EXYNOS_USB_PHY, "samsung,exynos-usb-phy"), 44 COMPAT(SAMSUNG_EXYNOS5_USB3_PHY, "samsung,exynos5250-usb3-phy"), [all …]
|