xref: /openbmc/linux/drivers/of/Kconfig (revision 4dc7ccf7)
1config OF_FLATTREE
2	bool
3	depends on OF
4
5config OF_DYNAMIC
6	def_bool y
7	depends on OF && PPC_OF
8
9config OF_DEVICE
10	def_bool y
11	depends on OF && (SPARC || PPC_OF || MICROBLAZE)
12
13config OF_GPIO
14	def_bool y
15	depends on OF && (PPC_OF || MICROBLAZE) && GPIOLIB
16	help
17	  OpenFirmware GPIO accessors
18
19config OF_I2C
20	def_tristate I2C
21	depends on (PPC_OF || MICROBLAZE) && I2C
22	help
23	  OpenFirmware I2C accessors
24
25config OF_SPI
26	def_tristate SPI
27	depends on OF && (PPC_OF || MICROBLAZE) && SPI
28	help
29	  OpenFirmware SPI accessors
30
31config OF_MDIO
32	def_tristate PHYLIB
33	depends on OF && PHYLIB
34	help
35	  OpenFirmware MDIO bus (Ethernet PHY) accessors
36