linux/arch/powerpc/boot/dts
Timur Tabi 6bd825f029 powerpc/85xx: use the BRx registers to enable indirect mode on the P1022DS
In order to enable the DIU video controller on the P1022DS, the FPGA needs
to be switched to "indirect mode", where the localbus is disabled and
the FPGA is accessed via writes to localbus chip select signals CS0 and CS1.

To obtain the address of CS0 and CS1, the platform driver uses an "indirect
pixis mode" device tree node.  This node assumes that the localbus 'ranges'
property is sorted in chip-select order.  That is, reg value 0 maps to
CS0, reg value 1 maps to CS1, etc.  This is how the 'ranges' property is
supposed to be arranged.

Unfortunately, the 'ranges' property is often mis-arranged, and not just on
the P1022DS.  Linux normally does not care, since it does not program the
localbus.  But the indirect-mode code on the P1022DS does care.

The "proper" fix is to have U-Boot fix the 'ranges' property, but this would
be too cumbersome.  The names and 'reg' properties of all the localbus
devices would also need to be updated, and determining which localbus device
maps to which chip select is board-specific.

Instead, we determine the CS0/CS1 base addresses the same way that U-boot
does -- by reading the BRx registers directly and mapping them to physical
addresses.  This code is simpler and more reliable, and it does not require
a U-boot or device tree change.

Since the indirect pixis device tree node is no longer needed, the node is
deleted from the DTS.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2012-07-10 07:07:21 -05:00
..
fsl powerpc/mpc85xx: add MPIC message dts node 2012-04-19 15:10:08 -05:00
a4m072.dts powerpc/mpc52xx: add a4m072 board support 2012-03-21 10:40:26 +11:00
acadia.dts
adder875-redboot.dts
adder875-uboot.dts
amigaone.dts powerpc/amigaone: Limit ISA I/O range to 4k in the device tree 2009-06-26 14:37:23 +10:00
arches.dts powerpc/44x: Update Arches dts 2010-02-10 08:21:16 -05:00
asp834x-redboot.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
bamboo.dts
bluestone.dts powerpc/44x: Add PCI MSI node for Maui APM821xx SoC and Bluestone board in DTS 2012-05-03 08:58:21 -04:00
c2k.dts
canyonlands.dts powerpc/4xx: Update Canyonlands and Glacier boards DTS to add HW RNG support 2011-06-28 07:52:07 -04:00
charon.dts powerpc/5200: add support for charon board 2011-09-29 15:34:51 +02:00
cm5200.dts powerpc/5200: dts: refactor dts files 2011-01-03 16:02:51 -07:00
currituck.dts powerpc/47x: Add support for the new IBM currituck platform 2011-12-09 07:51:40 -05:00
digsy_mtc.dts powerpc/5200: dts: digsy_mtc.dts: enable both MSCAN nodes 2011-09-22 23:18:33 +02:00
ebony.dts
eiger.dts powerpc/4xx: Add 16K FIFO size DTS entries on supported platforms 2009-11-04 09:32:10 -05:00
ep88xc.dts
ep405.dts
ep8248e.dts
gamecube.dts powerpc: gamecube: device tree 2009-12-12 22:24:26 -07:00
ge_imp3a.dts powerpc/85xx: Board support for GE IMP3A 2012-03-16 11:15:48 -05:00
gef_ppc9a.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
gef_sbc310.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
gef_sbc610.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
glacier.dts powerpc/4xx: Update Canyonlands and Glacier boards DTS to add HW RNG support 2011-06-28 07:52:07 -04:00
haleakala.dts powerpc/4xx: Add 16K FIFO size DTS entries on supported platforms 2009-11-04 09:32:10 -05:00
holly.dts
hotfoot.dts powerpc/405: Fix missing #{address,size}-cells in i2c node 2011-01-03 16:02:51 -07:00
icon.dts powerpc/44x: Add basic ICON PPC440SPe board support 2010-05-12 07:50:53 -04:00
iss4xx-mpic.dts powerpc/4xx: Simple platform for the ISS 4xx simulator 2010-05-05 11:11:56 -04:00
iss4xx.dts powerpc/4xx: Simple platform for the ISS 4xx simulator 2010-05-05 11:11:56 -04:00
katmai.dts powerpc/4xx: Adding PCIe MSI support 2011-05-26 15:00:37 +10:00
kilauea.dts powerpc/4xx: Adding PCIe MSI support 2011-05-26 15:00:37 +10:00
klondike.dts powerpc/40x: Add APM8018X SOC support 2011-11-30 10:02:15 -05:00
kmeter1.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
ksi8560.dts powerpc/85xx: ksi8560 - declare that localbus is compatbile with simple-bus 2011-10-06 23:32:57 -05:00
kuroboxHD.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
kuroboxHG.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
lite5200.dts powerpc/5200: fix lite5200 ethernet phy address 2010-06-15 14:47:04 -06:00
lite5200b.dts powerpc/5200: dts: refactor dts files 2011-01-03 16:02:51 -07:00
makalu.dts powerpc/4xx: Add 16K FIFO size DTS entries on supported platforms 2009-11-04 09:32:10 -05:00
media5200.dts powerpc/5200: dts: refactor dts files 2011-01-03 16:02:51 -07:00
mgcoge.dts powerpc/82xx: add SPI support for mgcoge 2012-07-10 07:07:20 -05:00
motionpro.dts powerpc/5200: dts: refactor dts files 2011-01-03 16:02:51 -07:00
mpc832x_mds.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc832x_rdb.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc834x_mds.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc836x_mds.dts powerpc/83xx: mpc836x - fix failed phy detection for ucc ethernet on MDS 2012-03-16 14:34:19 -05:00
mpc836x_rdk.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc866ads.dts
mpc885ads.dts
mpc5121ads.dts powerpc/mpc5121: correct DIU compatible property 2010-02-17 07:33:22 -07:00
mpc5200b.dtsi powerpc/5200: mpc5200b.dtsi: add spi node address- and size-cells properties 2011-09-22 23:13:40 +02:00
mpc7448hpc2.dts
mpc8272ads.dts powerpc/82xx: Add CPM USB Gadget support for MPC8272ADS boards 2009-08-25 09:44:06 -05:00
mpc8308_p1m.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8308rdb.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8313erdb.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8315erdb.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8349emitx.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8349emitxgp.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8377_mds.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8377_rdb.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8377_wlan.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8378_mds.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8378_rdb.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8379_mds.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8379_rdb.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8536ds_36b.dts powerpc/85xx: Add some DTS nodes and attributes for mpc8536ds 2012-03-16 10:46:32 -05:00
mpc8536ds.dts powerpc/85xx: Add some DTS nodes and attributes for mpc8536ds 2012-03-16 10:46:32 -05:00
mpc8536ds.dtsi powerpc/85xx: Add some DTS nodes and attributes for mpc8536ds 2012-03-16 10:46:32 -05:00
mpc8540ads.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8541cds.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8544ds.dts powerpc/85xx: Rework MPC8544DS device tree 2011-11-24 02:01:36 -06:00
mpc8544ds.dtsi powerpc/85xx: Rework MPC8544DS device tree 2011-11-24 02:01:36 -06:00
mpc8548cds_32b.dts powerpc/85xx: Refactor mpc8548cds device tree 2012-03-16 15:58:21 -05:00
mpc8548cds_36b.dts powerpc/85xx: mpc8548cds - add 36-bit dts 2012-03-16 15:58:22 -05:00
mpc8548cds.dtsi powerpc/85xx: Refactor mpc8548cds device tree 2012-03-16 15:58:21 -05:00
mpc8555cds.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8560ads.dts powerpc/85xx: Change deprecated binding for 85xx-based boards 2010-08-04 14:22:04 -05:00
mpc8568mds.dts powerpc/85xx: Update SRIO device tree nodes 2011-11-24 02:01:39 -06:00
mpc8569mds.dts mmc: dt: Consolidate DT bindings 2012-05-15 13:29:42 +02:00
mpc8572ds_36b.dts powerpc/85xx: Rework MPC8572DS device tree 2011-11-24 02:01:37 -06:00
mpc8572ds_camp_core0.dts powerpc/85xx: Rework MPC8572DS device tree 2011-11-24 02:01:37 -06:00
mpc8572ds_camp_core1.dts powerpc/85xx: Rework MPC8572DS device tree 2011-11-24 02:01:37 -06:00
mpc8572ds.dts powerpc/85xx: Rework MPC8572DS device tree 2011-11-24 02:01:37 -06:00
mpc8572ds.dtsi powerpc/85xx: Clean up partition nodes in dts for MPC8572DS 2012-03-16 10:46:33 -05:00
mpc8610_hpcd.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8641_hpcn_36b.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mpc8641_hpcn.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
mucmc52.dts powerpc/5200: dts: refactor dts files 2011-01-03 16:02:51 -07:00
obs600.dts powerpc: Add support for OpenBlockS 600 2011-12-08 14:22:52 +11:00
p1010rdb_36b.dts powerpc/85xx: Add a P1010RDB 36-bit address map device tree 2011-11-24 02:01:37 -06:00
p1010rdb.dts powerpc/85xx: Rework P1010RDB and P1010 device tree 2011-11-24 02:01:37 -06:00
p1010rdb.dtsi powerpc/p1010rdb: add EEPROMs to device tree 2012-07-10 07:07:20 -05:00
p1020mbg-pc_32b.dts powerpc/85xx: add the P1020MBG-PC DTS support 2012-03-29 08:14:09 -05:00
p1020mbg-pc_36b.dts powerpc/85xx: add the P1020MBG-PC DTS support 2012-03-29 08:14:09 -05:00
p1020mbg-pc.dtsi powerpc/85xx: add the P1020MBG-PC DTS support 2012-03-29 08:14:09 -05:00
p1020rdb_36b.dts powerpc/85xx: Add P1020RDB 36-bit address map device tree 2011-11-24 02:01:38 -06:00
p1020rdb_camp_core0.dts powerpc/85xx: Simplify P1020RDB CAMP dts using includes 2011-11-24 02:01:35 -06:00
p1020rdb_camp_core1.dts powerpc/85xx: Simplify P1020RDB CAMP dts using includes 2011-11-24 02:01:35 -06:00
p1020rdb-pc_32b.dts powerpc/85xx: Add dts for p1020rdb-pc board 2012-03-16 11:03:44 -05:00
p1020rdb-pc_36b.dts powerpc/85xx: Add dts for p1020rdb-pc board 2012-03-16 11:03:44 -05:00
p1020rdb-pc_camp_core0.dts powerpc/85xx: Add dts for p1020rdb-pc board 2012-03-16 11:03:44 -05:00
p1020rdb-pc_camp_core1.dts powerpc/85xx: Add dts for p1020rdb-pc board 2012-03-16 11:03:44 -05:00
p1020rdb-pc.dtsi powerpc/85xx: Add dts for p1020rdb-pc board 2012-03-16 11:03:44 -05:00
p1020rdb.dts powerpc/85xx: Rework P1020RDB device tree 2011-11-24 02:01:37 -06:00
p1020rdb.dtsi powerpc/85xx: Add dr_mode property in USB nodes 2012-01-18 08:05:42 -06:00
p1020utm-pc_32b.dts powerpc/85xx: add the P1020UTM-PC DTS support 2012-03-29 08:14:11 -05:00
p1020utm-pc_36b.dts powerpc/85xx: add the P1020UTM-PC DTS support 2012-03-29 08:14:11 -05:00
p1020utm-pc.dtsi powerpc/85xx: add the P1020UTM-PC DTS support 2012-03-29 08:14:11 -05:00
p1021mds.dts powerpc/85xx: Add dr_mode property in USB nodes 2012-01-18 08:05:42 -06:00
p1021rdb_36b.dts powerpc/85xx: Added dts for P1021RDB-PC board 2012-03-16 09:44:59 -05:00
p1021rdb.dts powerpc/85xx: Added dts for P1021RDB-PC board 2012-03-16 09:44:59 -05:00
p1021rdb.dtsi powerpc/85xx: Added dts for P1021RDB-PC board 2012-03-16 09:44:59 -05:00
p1022ds_32b.dts powerpc/85xx: create 32-bit DTS for the P1022DS 2012-03-16 10:46:33 -05:00
p1022ds_36b.dts powerpc/85xx: create 32-bit DTS for the P1022DS 2012-03-16 10:46:33 -05:00
p1022ds.dtsi powerpc/85xx: use the BRx registers to enable indirect mode on the P1022DS 2012-07-10 07:07:21 -05:00
p1023rds.dts powerpc/85xx: Rework P1023RDS device tree 2011-11-24 02:01:38 -06:00
p1024rdb_32b.dts powerpc/85xx: Add P1024rdb dts support 2012-07-10 07:07:21 -05:00
p1024rdb_36b.dts powerpc/85xx: Add P1024rdb dts support 2012-07-10 07:07:21 -05:00
p1024rdb.dtsi powerpc/85xx: Add P1024rdb dts support 2012-07-10 07:07:21 -05:00
p1025rdb_32b.dts powerpc/85xx: Add dts for p1025rdb board 2012-03-16 10:46:29 -05:00
p1025rdb_36b.dts powerpc/85xx: Add dts for p1025rdb board 2012-03-16 10:46:29 -05:00
p1025rdb.dtsi powerpc/85xx: Add dts for p1025rdb board 2012-03-16 10:46:29 -05:00
p2020ds.dts powerpc/85xx: Rework P2020DS device tree 2011-11-24 02:01:38 -06:00
p2020ds.dtsi powerpc/85xx: Add dr_mode property in USB nodes 2012-01-18 08:05:42 -06:00
p2020rdb_camp_core0.dts powerpc/85xx: Rework P2020RDB device tree 2011-11-24 02:01:38 -06:00
p2020rdb_camp_core1.dts powerpc/85xx: Rework P2020RDB device tree 2011-11-24 02:01:38 -06:00
p2020rdb-pc_32b.dts powerpc/85xx: Add p2020rdb-pc dts support 2012-03-16 10:46:13 -05:00
p2020rdb-pc_36b.dts powerpc/85xx: Add p2020rdb-pc dts support 2012-03-16 10:46:13 -05:00
p2020rdb-pc.dtsi powerpc/85xx: Add p2020rdb-pc dts support 2012-03-16 10:46:13 -05:00
p2020rdb.dts Revert "powerpc/85xx: p2020rdb - move the NAND address." 2012-07-10 07:07:20 -05:00
p2041rdb.dts powerpc/p2041rdb: add NAND node in device tree 2012-07-10 07:07:21 -05:00
p3041ds.dts powerpc/dts: Removed fsl,msi property from dts. 2012-03-29 08:14:15 -05:00
p3060qds.dts powerpc/dts: Removed fsl,msi property from dts. 2012-03-29 08:14:15 -05:00
p4080ds.dts powerpc/dts: Removed fsl,msi property from dts. 2012-03-29 08:14:15 -05:00
p5020ds.dts powerpc/dts: Removed fsl,msi property from dts. 2012-03-29 08:14:15 -05:00
pcm030.dts powerpc/5200: dts: refactor dts files 2011-01-03 16:02:51 -07:00
pcm032.dts powerpc/5200: dts: refactor dts files 2011-01-03 16:02:51 -07:00
pdm360ng.dts powerpc/5121: add initial support for PDM360NG board 2010-08-01 17:06:44 -06:00
pq2fads.dts
prpmc2800.dts
ps3.dts
rainier.dts
redwood.dts powerpc/4xx: Adding PCIe MSI support 2011-05-26 15:00:37 +10:00
sam440ep.dts
sbc8349.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
sbc8548.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
sbc8641d.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
sequoia.dts ppc4xx: Add crypto and RNG entries to Sequoia DTS 2011-06-28 07:41:09 -04:00
socrates.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
storcenter.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
stx_gp3_8560.dts powerpc/fsl: Removed reg property from 85xx/86xx soc node 2009-05-19 00:50:29 -05:00
stxssa8555.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
taishan.dts powerpc/44x: Use correct phy-address dt nodes on taishan.dts 2011-07-12 09:35:58 -04:00
tqm8xx.dts powerpc: tqm8548/tqm8xx: add and update CAN device nodes 2011-12-01 13:09:32 -05:00
tqm5200.dts powerpc/boot/dts: drop obsolete 'fsl5200-clocking' 2009-10-15 09:58:27 -06:00
tqm8540.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
tqm8541.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
tqm8548-bigflash.dts Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2012-01-06 17:58:22 -08:00
tqm8548.dts Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2012-01-06 17:58:22 -08:00
tqm8555.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
tqm8560.dts powerpc/85xx: specify interrupt for pq3-localbus devices 2011-06-27 08:31:12 -05:00
uc101.dts powerpc/5200: dts: refactor dts files 2011-01-03 16:02:51 -07:00
virtex440-ml507.dts
virtex440-ml510.dts powerpc/virtex: Add ml510 reference design device tree 2009-06-06 10:16:00 -06:00
walnut.dts
warp.dts powerpc/44x: Increase warp SD buffer 2009-12-11 09:52:26 -05:00
wii.dts powerpc: wii: device tree 2009-12-12 22:24:29 -07:00
xcalibur1501.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
xpedite5200_xmon.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
xpedite5200.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
xpedite5301.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
xpedite5330.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
xpedite5370.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
yosemite.dts powerpc/44x: Add NOR flash device to Yosemite dts 2011-08-11 13:50:42 -04:00