02 May, 2008
1 commit
-
Various improvements for configuring the MPC5200 MII link from the
device tree:
* Look for 'current-speed' property for fixed speed MII links
* Look for 'fsl,7-wire-mode' property for boards using the 7 wire mode
* move definition of private data structure out of the header fileSigned-off-by: Grant Likely
Acked-by: Wolfgang Grandegger
29 Apr, 2008
1 commit
-
This patch adds gpiolib support for mpc5200 SOCs.
Signed-off-by: Sascha Hauer
Signed-off-by: Grant Likely
28 Apr, 2008
1 commit
-
The following features are supported:
plane 0 works as a regular frame buffer, can be accessed by /dev/fb0
plane 1 has two AOIs (area of interest), can be accessed by /dev/fb1 and /dev/fb2
plane 2 has two AOIs, can be accessed by /dev/fb3 and /dev/fb4
Special ioctls support AOIsAll /dev/fb* can be used as regular frame buffer devices, except hardware
change can only be made through /dev/fb0. Changing pixel clock has no effect
on other fbs.Limitation of usage of AOIs:
AOIs on the same plane can not be horizonally overlapped
AOIs have horizonal order, i.e. AOI0 should be always on top of AOI1
AOIs can not beyond phisical display area. Application should check AOI geometry
before changing physical resolution on /dev/fb0required command line parameters to preallocate memory for frame buffer diufb.
optional command line parameters to set modes and monitor
video=fslfb:[resolution][,bpp][,monitor]
Syntax:Resolution
xres x yres-bpp@refresh_rate, the -bpp and @refresh_rate are optional
eg, 1024x768, 1280x1024, 1280x1024-32, 1280x1024@60, 1280x1024-32@60, 1280x480-32@60Bpp
bpp=32, bpp=24, or bpp=16Monitor
monitor=0, monitor=1, monitor=2
0 is DVI
1 is Single link LVDS
2 is Double link LVDSNote: switching monitor is a board feather, not DIU feather. MPC8610HPCD has three
monitor ports to swtich to. MPC5121ADS doesn't have additional monitor port. So switching
monirot port for MPC5121ADS has no effect.If compiled as a module, it takes pamameters mode, bpp, monitor with the same syntax above.
Signed-off-by: York Sun
Signed-off-by: Timur Tabi
Cc: Paul Mackerras
Cc: Benjamin Herrenschmidt
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Apr, 2008
1 commit
-
This functionality is definitely experimental, but is capable of running
unmodified PowerPC 440 Linux kernels as guests on a PowerPC 440 host. (Only
tested with 440EP "Bamboo" guests so far, but with appropriate userspace
support other SoC/board combinations should work.)See Documentation/powerpc/kvm_440.txt for technical details.
[stephen: build fix]
Signed-off-by: Hollis Blanchard
Acked-by: Paul Mackerras
Signed-off-by: Stephen Rothwell
Signed-off-by: Avi Kivity
25 Apr, 2008
1 commit
-
The Xilinx 16550 uart core is not a standard 16550 because it uses
word-based addressing rather than byte-based addressing. With
additional properties it is compatible with the open firmware
'ns16550' compatible binding.This code updates the of_serial driver to handle the reg-offset
and reg-shift properties to enable this core to be used.Signed-off-by: John Linn
Acked-by: Arnd Bergmann
Signed-off-by: Josh Boyer
17 Apr, 2008
2 commits
-
- get rid of `model = "UCC"' in the ucc nodes
It isn't used anywhere, so remove it. If we'll ever need something
like this, we'll use compatible property instead.
- replace last occurrences of device-id with cell-index.
Drivers are modified for backward compatibility's sake.Signed-off-by: Anton Vorontsov
Acked-by: Timur Tabi
Signed-off-by: Kumar Gala -
This implements support for the GPIO LIB API. Two calls are still
unimplemented though: irq_to_gpio and gpio_to_irq.Signed-off-by: Anton Vorontsov
Acked-by: Grant Likely
Signed-off-by: Paul Mackerras
15 Apr, 2008
1 commit
-
Add the device tree bindings for the Marvell mv64x60 series of
system controller chips in booting-without-of.text.Signed-off-by: Dale Farnsworth
Acked-by: Mark A. Greer
Signed-off-by: Paul Mackerras
26 Mar, 2008
2 commits
-
This patch alters the bootwrapper for a number of machines (roubhly
all 4xx based cuboot or treeboot platforms) to use aliases instead of
the linux,network-index hack to work out which MAC address to attach
to which ethernet device node.The now obsolete linux,network-index properties are removed from the
corresponding device trees. This won't break backwards compatiblity,
because in cases where this fixup code is relevant, the device tree is
part of the kernel image.The references to linux,network-index are removed from
booting-without-of.txt. Not only is it now deprecated, but as a hack
applicable only when the device tree blob and fixup code were in the
same image, this property never belonged in booting-without-of.txt
which describes the interface between the kernel and firmware or
bootloaders which produce a device tree. By the time the device tree
reaches the kernel, all the MAC addresses must be fully filled in.Signed-off-by: David Gibson
Signed-off-by: Josh Boyer -
Basic documentation for hypervisor-assisted dump.
Signed-off-by: Linas Vepstas
Signed-off-by: Manish Ahuja
Signed-off-by: Paul Mackerras
07 Feb, 2008
3 commits
-
Adds EHCI OF bindings to documentation.
Signed-off-by: Valentine Barshak
Signed-off-by: Josh Boyer -
The ICAP device in Xilinx FPGAs differs slightly between different
FPGAs. The driver needs an additional attribute in the device tree to
distinguish this.Signed-off-by: Stephen Neuendorffer
Signed-off-by: Grant Likely
28 Jan, 2008
4 commits
-
Also:
- rename "fsl_spi" to "fsl,spi";
- add and use cell-index property, if found;
- split probing code out of fsl_spi_init, thus we can call
it for legacy device_type probing and new "compatible" probing.Signed-off-by: Anton Vorontsov
Signed-off-by: Kumar Gala -
Now we're searching for "fsl,qe", "fsl,qe-muram", "fsl,qe-muram-data"
and "fsl,qe-ic".Unfortunately it's still impossible to remove device_type = "qe"
from the existing device trees because older u-boots are looking for it.Signed-off-by: Anton Vorontsov
Signed-off-by: Kumar Gala -
Signed-off-by: Li Yang
Signed-off-by: Kumar Gala -
Signed-off-by: Zhang Wei
Signed-off-by: Ebony Zhu
Signed-off-by: Kumar Gala
24 Jan, 2008
5 commits
-
Update the MPC8610 HPCD files to support the audio driver. Update
booting-without-of.txt with information on the SSI device.Signed-off-by: Timur Tabi
Signed-off-by: Kumar Gala -
Add support for UART serial ports using a Freescale QUICCEngine. Update
booting-without-of.txt to define new properties for a QE UART node. Update
the MPC8323E-MDS device tree to add UCC5 as a UART. Update the QE library
to support slow UCC devices and modules.Signed-off-by: Timur Tabi
Signed-off-by: Kumar Gala -
Define the layout of a binary blob that contains a QE firmware and instructions
on how to upload it. Add function qe_upload_firmware() to parse the blob
and perform the actual upload. Fully define 'struct rsp' in immap_qe.h to
include the actual RISC Special Registers. Added description of a new
QE firmware node to booting-without-of.txt.Signed-off-by: Timur Tabi
Signed-off-by: Kumar Gala -
fixed-link says: register new "Fixed/emulated PHY", i.e. PHY that
not connected to the real MDIO bus.Signed-off-by: Vitaly Bordug
Signed-off-by: Anton Vorontsov
Signed-off-by: Kumar Gala -
Remove device_type = "usb" for 83xx SoC USB controller
Signed-off-by: Li Yang
Signed-off-by: Kumar Gala
17 Jan, 2008
2 commits
-
Fix error in booting-without-of.txt that indicates that a node can inherit
its #address-cells and #size-cells definitions from its parent's parent.
This is not correct.Signed-off-by: Mark A. Greer
Signed-off-by: Paul Mackerras -
Fix documentation once and for ever, because I'm pretty tired of
repeating that I am merely following it. ;-)http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048096.html
http://ozlabs.org/pipermail/linuxppc-dev/2007-November/046977.html
http://ozlabs.org/pipermail/linuxppc-dev/2007-November/046979.htmlhttp://ozlabs.org/pipermail/linuxppc-dev/2007-October/044411.html
http://ozlabs.org/pipermail/linuxppc-dev/2007-October/044413.htmlSigned-off-by: Anton Vorontsov
Signed-off-by: Paul Mackerras
09 Jan, 2008
1 commit
-
This now better describes what the UBoot device tree generator
actually does. In particular:1) Nodes have a label derived from the device name, and a node name
derived from a generic version of the device type, e.g. 'ethernet',
'serial', etc.2) Usage of compound nodes (representing more than one device in the
same IP) which actually works. This requires having a valid
compatible node, and all the other things that a bus normally has.
I've chosen 'xlnx,compound' as the bus name to describe these compound
nodes.In addition, I've clarified some of the language relating to how mhs
nodes should be represent in the device tree.Signed-off-by: Stephen Neuendorffer
Signed-off-by: Grant Likely
14 Dec, 2007
1 commit
-
Add function qe_clock_source() which takes a string containing the name of a
QE clock source (as is typically found in device trees) and returns the
matching enum qe_clock value.Update booting-without-of.txt to indicate that the UCC properties rx-clock
and tx-clock are deprecated and replaced with rx-clock-name and tx-clock-name,
which use strings instead of numbers to indicate QE clock sources.Signed-off-by: Timur Tabi
Signed-off-by: Kumar Gala
12 Dec, 2007
1 commit
-
* Removed address fields in ethernet nodes
* Removed #address-cells, #size-cells from gianfar nodes
* Added cell-index to gianfar and ucc ethernet nodes
* Added enet[0..3] labels
* Renamed compatible node for gianfar mdio to "fsl,gianfar-mdio"
* Removed device_type = "mdio"The matching for gianfar mdio still supports the old "mdio"/"gianfar" combo
but it is now considered deprecated.Signed-off-by: Kumar Gala
06 Dec, 2007
1 commit
-
This clarifies how 'ranges' properties are used, and in particular,
how to get an identity mapping.Signed-off-by: Stephen Neuendorffer
Acked-by: David Gibson
Acked-by: Grant Likely
Signed-off-by: Paul Mackerras
20 Nov, 2007
1 commit
-
A h/w bug requires we program the PHY in RGMII mode for internal delay
on the receive or transmit side only; document the new property values.Signed-off-by: Kim Phillips
Signed-off-by: Kumar Gala
08 Nov, 2007
2 commits
-
…/powerpc-4xx into merge
-
We had an historical confusion in the kernel between cache line
and cache block size. The former is an implementation detail of
the L1 cache which can be useful for performance optimisations,
the later is the actual size on which the cache control
instructions operate, which can be different.For some reason, we had a weird hack reading the right property
on powermac and the wrong one on any other 64 bits (32 bits is
unaffected as it only uses the cputable for cache block size
infos at this stage).This fixes the booting-without-of.txt documentation to mention
the right properties, and fixes the 64 bits initialization code
to look for the block size first, with a fallback to the line
size if the property is missing.Signed-off-by: Benjamin Herrenschmidt
Signed-off-by: Paul Mackerras
01 Nov, 2007
1 commit
-
Signed-off-by: Grant Likely
Acked-by: Stephen Neuendorffer
Signed-off-by: Josh Boyer
22 Oct, 2007
1 commit
-
Add 'fsl,' prefix to 'compatible' property for gpt nodes.
Add 'fsl,' prefix to empty, GPT0 specific 'has-wdt' property.
The fsl, prefix is being added to better match the convention of prefixing
manufacturer specific properties and values with the vendors name.Signed-off-by: Marian Balakowicz
Signed-off-by: Grant Likely
20 Oct, 2007
1 commit
-
Most of these fixes were already submitted for old kernel versions, and were
approved, but for some reason they never made it into the releases.Because this is a consolidation of a couple old missed patches, it touches both
Kconfigs and documentation texts.Signed-off-by: Matt LaPlante
Acked-by: Randy Dunlap
Signed-off-by: Adrian Bunk
17 Oct, 2007
1 commit
-
Add two missing entries to Documentation/powerpc/00-INDEX
Signed-off-by: Rob Landley
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
12 Oct, 2007
1 commit
-
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (408 commits)
[POWERPC] Add memchr() to the bootwrapper
[POWERPC] Implement logging of unhandled signals
[POWERPC] Add legacy serial support for OPB with flattened device tree
[POWERPC] Use 1TB segments
[POWERPC] XilinxFB: Allow fixed framebuffer base address
[POWERPC] XilinxFB: Add support for custom screen resolution
[POWERPC] XilinxFB: Use pdata to pass around framebuffer parameters
[POWERPC] PCI: Add 64-bit physical address support to setup_indirect_pci
[POWERPC] 4xx: Kilauea defconfig file
[POWERPC] 4xx: Kilauea DTS
[POWERPC] 4xx: Add AMCC Kilauea eval board support to platforms/40x
[POWERPC] 4xx: Add AMCC 405EX support to cputable.c
[POWERPC] Adjust TASK_SIZE on ppc32 systems to 3GB that are capable
[POWERPC] Use PAGE_OFFSET to tell if an address is user/kernel in SW TLB handlers
[POWERPC] 85xx: Enable FP emulation in MPC8560 ADS defconfig
[POWERPC] 85xx: Killed
[POWERPC] 85xx: Add cpm nodes for 8541/8555 CDS
[POWERPC] 85xx: Convert mpc8560ads to the new CPM binding.
[POWERPC] mpc8272ads: Remove muram from the CPM reg property.
[POWERPC] Make clockevents work on PPC601 processors
...Fixed up conflict in Documentation/powerpc/booting-without-of.txt manually.
11 Oct, 2007
1 commit
-
Based on BenH's earlier work, this is a new version of the EMAC driver
for the built-in ethernet found on PowerPC 4xx embedded CPUs. The
same ASIC is also found in the Axon bridge chip. This new version is
designed to work in the arch/powerpc tree, using the device tree to
probe the device, rather than the old and ugly arch/ppc OCP layer.This driver is designed to sit alongside the old driver (that lies in
drivers/net/ibm_emac and this one in drivers/net/ibm_newemac). The
old driver is left in place to support arch/ppc until arch/ppc itself
reaches its final demise (not too long now, with luck).This driver still has a number of things that could do with cleaning
up, but I think they can be fixed up after merging. Specifically:
- Should be adjusted to properly use the dma mapping API.
Axon needs this.
- Probe logic needs reworking, in conjuction with the general
probing code for of_platform devices. The dependencies here between
EMAC, MAL, ZMII etc. make this complicated. At present, it usually
works, because we initialize and register the sub-drivers before the
EMAC driver itself, and (being in driver code) runs after the devices
themselves have been instantiated from the device tree.Signed-off-by: David Gibson
Signed-off-by: Jeff Garzik
08 Oct, 2007
1 commit
-
Mode should be "cpu-qe" for QE in CPU mode. "qe" should be reserved
for native QE mode.Signed-off-by: Peter Korsgaard
Signed-off-by: Kumar Gala
05 Oct, 2007
2 commits
-
The way the current CPM binding describes available multi-user (a.k.a.
dual-ported) RAM doesn't work well when there are multiple free regions,
and it doesn't work at all if the region doesn't begin at the start of
the muram area (as the hardware needs to be programmed with offsets into
this area). The latter situation can happen with SMC UARTs on CPM2, as its
parameter RAM is relocatable, u-boot puts it at zero, and the kernel doesn't
support moving it.It is now described with a muram node, similar to QE. The current CPM
binding is sufficiently recent (i.e. never appeared in an official release)
that compatibility with existing device trees is not an issue.The code supporting the new binding is shared between cpm1 and cpm2, rather
than remain separated. QE should be able to use this code as well, once
minor fixes are made to its device trees.Signed-off-by: Scott Wood
Signed-off-by: Kumar Gala -
The localbus node is used to describe devices that are connected via a chip
select or similar mechanism. The advantages over placing the devices under
the root node are that it can be probed without probing other random things
under the root, and that the description of which chip select a given device
uses can be used to set up mappings if the firmware failed to do so in a
useful manner.cuboot-pq2 is updated to match the binding; previously, it called itself
chipselect rather than localbus, and used phandle linkage between the
actual bus node and the control node (the current agreement is to simply use
the fully-qualified address of the control registers, and ignore the overlap
with the IMMR node).Signed-off-by: Scott Wood
Signed-off-by: Kumar Gala