blob: cac63c9f49ae8dc3a32ae9e4293c5f70bdd8d459 [file] [log] [blame]
Grant Likely5ab5fc72010-07-05 12:02:13 -06001config DTC
2 bool
3
Stephen Rothwellbcbefae2010-06-29 12:45:51 +10004config OF
5 bool
6
Andres Salomon3cfc5352010-10-10 21:42:33 -06007menu "Device Tree and Open Firmware support"
Grant Likely5ab5fc72010-07-05 12:02:13 -06008 depends on OF
9
Andres Salomonef2a4522010-06-28 22:00:48 -040010config 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
Grant Likelye169cfb2009-11-23 14:53:09 -070018config OF_FLATTREE
19 bool
Grant Likely5ab5fc72010-07-05 12:02:13 -060020 select DTC
Grant Likelye169cfb2009-11-23 14:53:09 -070021
Stephen Neuendorffere6ce1322010-11-18 15:54:56 -080022config OF_EARLY_FLATTREE
23 bool
24 select OF_FLATTREE
25
Andres Salomon3cfc5352010-10-10 21:42:33 -060026config OF_PROMTREE
27 bool
28
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070029config OF_DYNAMIC
30 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060031 depends on PPC_OF
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070032
Grant Likely6b884a82010-06-08 07:48:09 -060033config OF_ADDRESS
34 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060035 depends on !SPARC
Grant Likely6b884a82010-06-08 07:48:09 -060036
Grant Likelye3873442010-06-18 11:09:59 -060037config OF_IRQ
38 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060039 depends on !SPARC
Grant Likelye3873442010-06-18 11:09:59 -060040
Stephen Rothwellf85ff302007-05-01 16:40:36 +100041config OF_DEVICE
42 def_bool y
Anton Vorontsov863fbf42008-04-11 23:06:45 +100043
44config OF_GPIO
45 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060046 depends on GPIOLIB && !SPARC
Anton Vorontsov863fbf42008-04-11 23:06:45 +100047 help
48 OpenFirmware GPIO accessors
Jochen Friedrich612212a2008-04-12 05:22:35 +100049
50config OF_I2C
Jochen Friedrich585468e2008-04-19 00:23:03 +100051 def_tristate I2C
Grant Likely5ab5fc72010-07-05 12:02:13 -060052 depends on I2C && !SPARC
Jochen Friedrich612212a2008-04-12 05:22:35 +100053 help
54 OpenFirmware I2C accessors
Grant Likely284b0182008-05-16 11:37:09 -060055
David Daney4b6ba8a2010-10-26 15:07:13 -070056config OF_NET
57 depends on NETDEVICES
58 def_bool y
59
Grant Likely284b0182008-05-16 11:37:09 -060060config OF_SPI
61 def_tristate SPI
Grant Likely5ab5fc72010-07-05 12:02:13 -060062 depends on SPI && !SPARC
Grant Likely284b0182008-05-16 11:37:09 -060063 help
64 OpenFirmware SPI accessors
Grant Likely8bc487d2009-04-25 12:52:56 +000065
66config OF_MDIO
67 def_tristate PHYLIB
Grant Likely5ab5fc72010-07-05 12:02:13 -060068 depends on PHYLIB
Grant Likely8bc487d2009-04-25 12:52:56 +000069 help
70 OpenFirmware MDIO bus (Ethernet PHY) accessors
Grant Likely5ab5fc72010-07-05 12:02:13 -060071
Sebastian Andrzej Siewior04bea682011-01-24 09:58:55 +053072config OF_PCI
73 def_tristate PCI
Benjamin Herrenschmidt98d9f30c82011-04-11 11:37:07 +100074 depends on PCI
Sebastian Andrzej Siewior04bea682011-01-24 09:58:55 +053075 help
76 OpenFirmware PCI bus accessors
77
Benjamin Herrenschmidt98d9f30c82011-04-11 11:37:07 +100078config OF_PCI_IRQ
79 def_tristate PCI
80 depends on OF_PCI && OF_IRQ
81 help
82 OpenFirmware PCI IRQ routing helpers
83
Grant Likely5ab5fc72010-07-05 12:02:13 -060084endmenu # OF