xref: /openbmc/linux/drivers/of/Kconfig (revision bcbefae2)
1bcbefae2SStephen Rothwellconfig OF
2bcbefae2SStephen Rothwell	bool
3bcbefae2SStephen Rothwell
4e169cfbeSGrant Likelyconfig OF_FLATTREE
5e169cfbeSGrant Likely	bool
6e169cfbeSGrant Likely	depends on OF
7e169cfbeSGrant Likely
8fcdeb7feSGrant Likelyconfig OF_DYNAMIC
9fcdeb7feSGrant Likely	def_bool y
10fcdeb7feSGrant Likely	depends on OF && PPC_OF
11fcdeb7feSGrant Likely
126b884a8dSGrant Likelyconfig OF_ADDRESS
136b884a8dSGrant Likely	def_bool y
146b884a8dSGrant Likely	depends on OF && !SPARC
156b884a8dSGrant Likely
16e3873444SGrant Likelyconfig OF_IRQ
17e3873444SGrant Likely	def_bool y
18e3873444SGrant Likely	depends on OF && !SPARC
19e3873444SGrant Likely
20f85ff305SStephen Rothwellconfig OF_DEVICE
21f85ff305SStephen Rothwell	def_bool y
226fa612b5SMichal Simek	depends on OF && (SPARC || PPC_OF || MICROBLAZE)
23863fbf49SAnton Vorontsov
24863fbf49SAnton Vorontsovconfig OF_GPIO
25863fbf49SAnton Vorontsov	def_bool y
266fa612b5SMichal Simek	depends on OF && (PPC_OF || MICROBLAZE) && GPIOLIB
27863fbf49SAnton Vorontsov	help
28863fbf49SAnton Vorontsov	  OpenFirmware GPIO accessors
29612212a3SJochen Friedrich
30612212a3SJochen Friedrichconfig OF_I2C
31585468e5SJochen Friedrich	def_tristate I2C
329fd04992SGrant Likely	depends on OF && !SPARC && I2C
33612212a3SJochen Friedrich	help
34612212a3SJochen Friedrich	  OpenFirmware I2C accessors
35284b0189SGrant Likely
36284b0189SGrant Likelyconfig OF_SPI
37284b0189SGrant Likely	def_tristate SPI
386fa612b5SMichal Simek	depends on OF && (PPC_OF || MICROBLAZE) && SPI
39284b0189SGrant Likely	help
40284b0189SGrant Likely	  OpenFirmware SPI accessors
418bc487d1SGrant Likely
428bc487d1SGrant Likelyconfig OF_MDIO
438bc487d1SGrant Likely	def_tristate PHYLIB
448bc487d1SGrant Likely	depends on OF && PHYLIB
458bc487d1SGrant Likely	help
468bc487d1SGrant Likely	  OpenFirmware MDIO bus (Ethernet PHY) accessors
47