1config DTC 2 bool 3 4config OF 5 bool 6 7menu "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_PROMTREE 23 bool 24 25config OF_DYNAMIC 26 def_bool y 27 depends on PPC_OF 28 29config OF_ADDRESS 30 def_bool y 31 depends on !SPARC 32 33config OF_IRQ 34 def_bool y 35 depends on !SPARC 36 37config OF_DEVICE 38 def_bool y 39 40config OF_GPIO 41 def_bool y 42 depends on GPIOLIB && !SPARC 43 help 44 OpenFirmware GPIO accessors 45 46config OF_I2C 47 def_tristate I2C 48 depends on I2C && !SPARC 49 help 50 OpenFirmware I2C accessors 51 52config OF_SPI 53 def_tristate SPI 54 depends on SPI && !SPARC 55 help 56 OpenFirmware SPI accessors 57 58config OF_MDIO 59 def_tristate PHYLIB 60 depends on PHYLIB 61 help 62 OpenFirmware MDIO bus (Ethernet PHY) accessors 63 64endmenu # OF 65