]> git.ipfire.org Git - thirdparty/u-boot.git/blame - include/dm/uclass-id.h
drivers: Add AXI uclass
[thirdparty/u-boot.git] / include / dm / uclass-id.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
6494d708
SG
2/*
3 * Copyright (c) 2013 Google, Inc
4 *
5 * (C) Copyright 2012
6 * Pavel Herrmann <morpheus.ibis@gmail.com>
6494d708
SG
7 */
8
9#ifndef _DM_UCLASS_ID_H
10#define _DM_UCLASS_ID_H
11
12/* TODO(sjg@chromium.org): this could be compile-time generated */
13enum uclass_id {
14 /* These are used internally by driver model */
15 UCLASS_ROOT = 0,
16 UCLASS_DEMO,
17 UCLASS_TEST,
18 UCLASS_TEST_FDT,
1ca7e206 19 UCLASS_TEST_BUS,
98561572 20 UCLASS_TEST_PROBE,
e8d52918 21 UCLASS_TEST_DUMMY,
c60e1f25 22 UCLASS_SPI_EMUL, /* sandbox SPI device emulator */
c70c71d8 23 UCLASS_I2C_EMUL, /* sandbox I2C device emulator */
36d0d3b4 24 UCLASS_PCI_EMUL, /* sandbox PCI device emulator */
019808f9 25 UCLASS_USB_EMUL, /* sandbox USB bus device emulator */
3d7cf419 26 UCLASS_SIMPLE_BUS, /* bus with child devices */
6494d708 27
3d7cf419 28 /* U-Boot uclasses start here - in alphabetical order */
5decbf53 29 UCLASS_ADC, /* Analog-to-digital converter */
a219639d 30 UCLASS_AHCI, /* SATA disk controller */
09d71aac 31 UCLASS_BLK, /* Block device */
f26c8a8e 32 UCLASS_CLK, /* Clock source, e.g. used by peripherals */
3d7cf419
SG
33 UCLASS_CPU, /* CPU, typically part of an SoC */
34 UCLASS_CROS_EC, /* Chrome OS EC */
2dcf1433 35 UCLASS_DISPLAY, /* Display (e.g. DisplayPort, HDMI) */
a0594cef 36 UCLASS_DMA, /* Direct Memory Access */
05ef48a2 37 UCLASS_EFI, /* EFI managed devices */
3d7cf419 38 UCLASS_ETH, /* Ethernet device */
0040b944 39 UCLASS_GPIO, /* Bank of general-purpose I/O pins */
573a3811 40 UCLASS_FIRMWARE, /* Firmware */
c6202d85 41 UCLASS_I2C, /* I2C bus */
20142019 42 UCLASS_I2C_EEPROM, /* I2C EEPROM device */
3d7cf419 43 UCLASS_I2C_GENERIC, /* Generic I2C device */
3d1957f0 44 UCLASS_I2C_MUX, /* I2C multiplexer */
68e6f221 45 UCLASS_IDE, /* IDE device */
a63e54ab 46 UCLASS_AXI, /* AXI bus */
e76187a3 47 UCLASS_IRQ, /* Interrupt controller */
34ab37ee 48 UCLASS_KEYBOARD, /* Keyboard input device */
5917112c 49 UCLASS_LED, /* Light-emitting diode (LED) */
3d7cf419 50 UCLASS_LPC, /* x86 'low pin count' interface */
6238935d 51 UCLASS_MAILBOX, /* Mailbox controller */
3d7cf419 52 UCLASS_MASS_STORAGE, /* Mass storage device */
4395e06e 53 UCLASS_MISC, /* Miscellaneous device */
e7ecf7cb 54 UCLASS_MMC, /* SD / MMC card or chip */
31d2b4fd 55 UCLASS_MOD_EXP, /* RSA Mod Exp device */
d8587993 56 UCLASS_MTD, /* Memory Technology Device (MTD) device */
5544757c 57 UCLASS_NORTHBRIDGE, /* Intel Northbridge / SDRAM controller */
ffab6945 58 UCLASS_NVME, /* NVM Express device */
f563dc1d 59 UCLASS_PANEL, /* Display panel, such as an LCD */
363bf77a 60 UCLASS_PANEL_BACKLIGHT, /* Backlight controller for panel */
3d7cf419 61 UCLASS_PCH, /* x86 platform controller hub */
ff3e077b
SG
62 UCLASS_PCI, /* PCI bus */
63 UCLASS_PCI_GENERIC, /* Generic PCI bus device */
72e5016f 64 UCLASS_PHY, /* Physical Layer (PHY) device */
d90a5a30 65 UCLASS_PINCONFIG, /* Pin configuration node device */
6f0e7a36 66 UCLASS_PINCTRL, /* Pinctrl (pin muxing/configuration) device */
4e389366 67 UCLASS_PMIC, /* PMIC I/O device */
fc760cb8 68 UCLASS_PWM, /* Pulse-width modulator */
61f5ddcb 69 UCLASS_POWER_DOMAIN, /* (SoC) Power domains */
5fd6badb 70 UCLASS_PWRSEQ, /* Power sequence device */
6f0e7a36 71 UCLASS_RAM, /* RAM controller */
4e389366 72 UCLASS_REGULATOR, /* Regulator device */
ddf56bc7 73 UCLASS_REMOTEPROC, /* Remote Processor device */
89c1e2da 74 UCLASS_RESET, /* Reset controller device */
3d7cf419 75 UCLASS_RTC, /* Real time clock device */
e8a016b5 76 UCLASS_SCSI, /* SCSI device */
3d7cf419 77 UCLASS_SERIAL, /* Serial UART */
7b384ecc 78 UCLASS_SMEM, /* Shared memory interface */
3d7cf419 79 UCLASS_SPI, /* SPI bus */
04868b40 80 UCLASS_SPMI, /* System Power Management Interface bus */
3d7cf419 81 UCLASS_SPI_FLASH, /* SPI flash */
4e389366 82 UCLASS_SPI_GENERIC, /* Generic SPI flash target */
57251285 83 UCLASS_SYSCON, /* System configuration device */
11636258 84 UCLASS_SYSRESET, /* System reset device */
3d7cf419 85 UCLASS_THERMAL, /* Thermal sensor */
c8a7ba9e 86 UCLASS_TIMER, /* Timer device */
f255d31f 87 UCLASS_TPM, /* Trusted Platform Module TIS interface */
de31213f 88 UCLASS_USB, /* USB bus */
449230f0 89 UCLASS_USB_DEV_GENERIC, /* USB generic device */
3d7cf419 90 UCLASS_USB_HUB, /* USB hub */
1acafc73 91 UCLASS_VIDEO, /* Video or LCD device */
801ab9e9 92 UCLASS_VIDEO_BRIDGE, /* Video bridge, e.g. DisplayPort to LVDS */
83510766 93 UCLASS_VIDEO_CONSOLE, /* Text console driver for video device */
0753bc2d 94 UCLASS_WDT, /* Watchdot Timer driver */
6494d708
SG
95
96 UCLASS_COUNT,
97 UCLASS_INVALID = -1,
98};
99
100#endif