mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge branch 'master' of git://git.denx.de/u-boot-tegra
This commit is contained in:
@@ -76,6 +76,16 @@
|
||||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_ASIX
|
||||
|
||||
/* PCI host support */
|
||||
#define CONFIG_PCI
|
||||
#define CONFIG_PCI_TEGRA
|
||||
#define CONFIG_PCI_PNP
|
||||
#define CONFIG_CMD_PCI
|
||||
#define CONFIG_CMD_PCI_ENUM
|
||||
|
||||
/* PCI networking support */
|
||||
#define CONFIG_RTL8169
|
||||
|
||||
/* General networking support */
|
||||
#define CONFIG_CMD_NET
|
||||
#define CONFIG_CMD_DHCP
|
||||
|
||||
@@ -78,6 +78,16 @@
|
||||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_ASIX
|
||||
|
||||
/* PCI host support */
|
||||
#define CONFIG_PCI
|
||||
#define CONFIG_PCI_TEGRA
|
||||
#define CONFIG_PCI_PNP
|
||||
#define CONFIG_CMD_PCI
|
||||
#define CONFIG_CMD_PCI_ENUM
|
||||
|
||||
/* PCI networking support */
|
||||
#define CONFIG_RTL8169
|
||||
|
||||
/* General networking support */
|
||||
#define CONFIG_CMD_NET
|
||||
#define CONFIG_CMD_DHCP
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
|
||||
#include <linux/sizes.h>
|
||||
|
||||
/* enable PMIC */
|
||||
#define CONFIG_AS3722_POWER
|
||||
|
||||
#include "tegra124-common.h"
|
||||
|
||||
/* High-level configuration options */
|
||||
@@ -61,6 +64,16 @@
|
||||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_ASIX
|
||||
|
||||
/* PCI host support */
|
||||
#define CONFIG_PCI
|
||||
#define CONFIG_PCI_TEGRA
|
||||
#define CONFIG_PCI_PNP
|
||||
#define CONFIG_CMD_PCI
|
||||
#define CONFIG_CMD_PCI_ENUM
|
||||
|
||||
/* PCI networking support */
|
||||
#define CONFIG_RTL8169
|
||||
|
||||
/* General networking support */
|
||||
#define CONFIG_CMD_NET
|
||||
#define CONFIG_CMD_DHCP
|
||||
|
||||
@@ -47,7 +47,9 @@
|
||||
* Size of malloc() pool
|
||||
*/
|
||||
#define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
#define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||
|
||||
#define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */
|
||||
|
||||
/*
|
||||
* NS16550 Configuration
|
||||
|
||||
@@ -60,6 +60,16 @@
|
||||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_ASIX
|
||||
|
||||
/* PCI host support */
|
||||
#define CONFIG_PCI
|
||||
#define CONFIG_PCI_TEGRA
|
||||
#define CONFIG_PCI_PNP
|
||||
#define CONFIG_CMD_PCI
|
||||
#define CONFIG_CMD_PCI_ENUM
|
||||
|
||||
/* PCI networking support */
|
||||
#define CONFIG_RTL8169
|
||||
|
||||
/* General networking support */
|
||||
#define CONFIG_CMD_NET
|
||||
#define CONFIG_CMD_DHCP
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
#define TEGRA20_CLK_OWR 71
|
||||
#define TEGRA20_CLK_AFI 72
|
||||
#define TEGRA20_CLK_CSITE 73
|
||||
/* 74 */
|
||||
#define TEGRA20_CLK_PCIE_XCLK 74
|
||||
#define TEGRA20_CLK_AVPUCQ 75
|
||||
#define TEGRA20_CLK_LA 76
|
||||
/* 77 */
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
#define TEGRA30_CLK_OWR 71
|
||||
#define TEGRA30_CLK_AFI 72
|
||||
#define TEGRA30_CLK_CSITE 73
|
||||
/* 74 */
|
||||
#define TEGRA30_CLK_PCIEX 74
|
||||
#define TEGRA30_CLK_AVPUCQ 75
|
||||
#define TEGRA30_CLK_LA 76
|
||||
/* 77 */
|
||||
|
||||
7
include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h
Normal file
7
include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H
|
||||
#define _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H 1
|
||||
|
||||
#define TEGRA_XUSB_PADCTL_PCIE 0
|
||||
#define TEGRA_XUSB_PADCTL_SATA 1
|
||||
|
||||
#endif /* _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H */
|
||||
@@ -86,6 +86,11 @@ enum fdt_compat_id {
|
||||
COMPAT_NVIDIA_TEGRA20_SFLASH, /* Tegra 2 SPI flash controller */
|
||||
COMPAT_NVIDIA_TEGRA20_SLINK, /* Tegra 2 SPI SLINK controller */
|
||||
COMPAT_NVIDIA_TEGRA114_SPI, /* Tegra 114 SPI controller */
|
||||
COMPAT_NVIDIA_TEGRA124_PCIE, /* Tegra 124 PCIe controller */
|
||||
COMPAT_NVIDIA_TEGRA30_PCIE, /* Tegra 30 PCIe controller */
|
||||
COMPAT_NVIDIA_TEGRA20_PCIE, /* Tegra 20 PCIe controller */
|
||||
COMPAT_NVIDIA_TEGRA124_XUSB_PADCTL,
|
||||
/* Tegra124 XUSB pad controller */
|
||||
COMPAT_SMSC_LAN9215, /* SMSC 10/100 Ethernet LAN9215 */
|
||||
COMPAT_SAMSUNG_EXYNOS5_SROMC, /* Exynos5 SROMC */
|
||||
COMPAT_SAMSUNG_S3C2440_I2C, /* Exynos I2C Controller */
|
||||
@@ -123,6 +128,7 @@ enum fdt_compat_id {
|
||||
COMPAT_INTEL_PANTHERPOINT_AHCI, /* Intel Pantherpoint AHCI */
|
||||
COMPAT_INTEL_MODEL_206AX, /* Intel Model 206AX CPU */
|
||||
COMPAT_INTEL_GMA, /* Intel Graphics Media Accelerator */
|
||||
COMPAT_AMS_AS3722, /* AMS AS3722 PMIC */
|
||||
|
||||
COMPAT_COUNT,
|
||||
};
|
||||
|
||||
27
include/power/as3722.h
Normal file
27
include/power/as3722.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (C) 2014 NVIDIA Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __POWER_AS3722_H__
|
||||
#define __POWER_AS3722_H__
|
||||
|
||||
#include <asm/types.h>
|
||||
|
||||
#define AS3722_GPIO_OUTPUT_VDDH (1 << 0)
|
||||
#define AS3722_GPIO_INVERT (1 << 1)
|
||||
|
||||
struct udevice;
|
||||
|
||||
int as3722_init(struct udevice **devp);
|
||||
int as3722_sd_enable(struct udevice *pmic, unsigned int sd);
|
||||
int as3722_sd_set_voltage(struct udevice *pmic, unsigned int sd, u8 value);
|
||||
int as3722_ldo_enable(struct udevice *pmic, unsigned int ldo);
|
||||
int as3722_ldo_set_voltage(struct udevice *pmic, unsigned int ldo, u8 value);
|
||||
int as3722_gpio_configure(struct udevice *pmic, unsigned int gpio,
|
||||
unsigned long flags);
|
||||
int as3722_gpio_direction_output(struct udevice *pmic, unsigned int gpio,
|
||||
unsigned int level);
|
||||
|
||||
#endif /* __POWER_AS3722_H__ */
|
||||
Reference in New Issue
Block a user