22258fa40e
This patch extends the Ebony and Walnut platform code to instantiate the existing ds1742 RTC class driver for the DS1743 RTC/NVRAM chip found on both those boards. The patch uses a helper function to scan the device tree and instantiate the appropriate platform_device based on it, so it should be easy to extend for other boards which have mmio mapped RTC chips. Along with this, the device tree binding for the ds1743 chips is tweaked, based on the existing DS1385 OF binding found at: http://playground.sun.com/1275/proposals/Closed/Remanded/Accepted/346-it.txt Although that document covers the NVRAM portion of the chip, whereas here we're interested in the RTC portion, so it's not entirely clear if that's a good model. This implements only RTC class driver support - that is /dev/rtc0, not /dev/rtc, and the low-level get/set time callbacks remain unimplemented. That means in order to get at the clock you will either need a modified version of hwclock which will look at /dev/rtc0, or you'll need to configure udev to symlink rtc0 to rtc. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
114 lines
2.0 KiB
Plaintext
114 lines
2.0 KiB
Plaintext
config BAMBOO
|
|
bool "Bamboo"
|
|
depends on 44x
|
|
default n
|
|
select 440EP
|
|
select PCI
|
|
help
|
|
This option enables support for the IBM PPC440EP evaluation board.
|
|
|
|
config EBONY
|
|
bool "Ebony"
|
|
depends on 44x
|
|
default y
|
|
select 440GP
|
|
select PCI
|
|
select OF_RTC
|
|
help
|
|
This option enables support for the IBM PPC440GP evaluation board.
|
|
|
|
config SEQUOIA
|
|
bool "Sequoia"
|
|
depends on 44x
|
|
default n
|
|
select 440EPX
|
|
help
|
|
This option enables support for the AMCC PPC440EPX evaluation board.
|
|
|
|
config TAISHAN
|
|
bool "Taishan"
|
|
depends on 44x
|
|
default n
|
|
select 440GX
|
|
select PCI
|
|
help
|
|
This option enables support for the AMCC PPC440GX "Taishan"
|
|
evaluation board.
|
|
|
|
config KATMAI
|
|
bool "Katmai"
|
|
depends on 44x
|
|
default n
|
|
select 440SPe
|
|
select PCI
|
|
select PPC4xx_PCI_EXPRESS
|
|
help
|
|
This option enables support for the AMCC PPC440SPe evaluation board.
|
|
|
|
config RAINIER
|
|
bool "Rainier"
|
|
depends on 44x
|
|
default n
|
|
select 440GRX
|
|
select PCI
|
|
help
|
|
This option enables support for the AMCC PPC440GRX evaluation board.
|
|
|
|
#config LUAN
|
|
# bool "Luan"
|
|
# depends on 44x
|
|
# default n
|
|
# select 440SP
|
|
# help
|
|
# This option enables support for the IBM PPC440SP evaluation board.
|
|
|
|
#config OCOTEA
|
|
# bool "Ocotea"
|
|
# depends on 44x
|
|
# default n
|
|
# select 440GX
|
|
# help
|
|
# This option enables support for the IBM PPC440GX evaluation board.
|
|
|
|
# 44x specific CPU modules, selected based on the board above.
|
|
config 440EP
|
|
bool
|
|
select PPC_FPU
|
|
select IBM440EP_ERR42
|
|
select IBM_NEW_EMAC_ZMII
|
|
|
|
config 440EPX
|
|
bool
|
|
select PPC_FPU
|
|
select IBM_NEW_EMAC_EMAC4
|
|
select IBM_NEW_EMAC_RGMII
|
|
select IBM_NEW_EMAC_ZMII
|
|
|
|
config 440GRX
|
|
bool
|
|
select IBM_NEW_EMAC_EMAC4
|
|
select IBM_NEW_EMAC_RGMII
|
|
select IBM_NEW_EMAC_ZMII
|
|
|
|
config 440GP
|
|
bool
|
|
select IBM_NEW_EMAC_ZMII
|
|
|
|
config 440GX
|
|
bool
|
|
select IBM_NEW_EMAC_EMAC4
|
|
select IBM_NEW_EMAC_RGMII
|
|
select IBM_NEW_EMAC_ZMII #test only
|
|
select IBM_NEW_EMAC_TAH #test only
|
|
|
|
config 440SP
|
|
bool
|
|
|
|
config 440SPe
|
|
select IBM_NEW_EMAC_EMAC4
|
|
bool
|
|
|
|
# 44x errata/workaround config symbols, selected by the CPU models above
|
|
config IBM440EP_ERR42
|
|
bool
|