1config DTC 2 bool 3 4config OF 5 bool 6 7menu "Flattened Device Tree and Open Firmware support" 8 depends on OF 9 10config PROC_DEVICETREE 11 bool "Support for device tree in /proc" 12 depends on PROC_FS && !SPARC 13 help 14 This option adds a device-tree directory under /proc which contains 15 an image of the device tree that the kernel copies from Open 16 Firmware or other boot firmware. If unsure, say Y here. 17 18config OF_FLATTREE 19 bool 20 select DTC 21 22config OF_DYNAMIC 23 def_bool y 24 depends on PPC_OF 25 26config OF_ADDRESS 27 def_bool y 28 depends on !SPARC 29 30config OF_IRQ 31 def_bool y 32 depends on !SPARC 33 34config OF_DEVICE 35 def_bool y 36 37config OF_GPIO 38 def_bool y 39 depends on GPIOLIB && !SPARC 40 help 41 OpenFirmware GPIO accessors 42 43config OF_I2C 44 def_tristate I2C 45 depends on I2C && !SPARC 46 help 47 OpenFirmware I2C accessors 48 49config OF_SPI 50 def_tristate SPI 51 depends on SPI && !SPARC 52 help 53 OpenFirmware SPI accessors 54 55config OF_MDIO 56 def_tristate PHYLIB 57 depends on PHYLIB 58 help 59 OpenFirmware MDIO bus (Ethernet PHY) accessors 60 61endmenu # OF 62