aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/powerpc/booting-without-of.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/powerpc/booting-without-of.txt')
-rw-r--r--Documentation/powerpc/booting-without-of.txt91
1 files changed, 84 insertions, 7 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index 6d1d0856063e..da98154328a0 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -52,7 +52,11 @@ Table of Contents
52 i) Freescale QUICC Engine module (QE) 52 i) Freescale QUICC Engine module (QE)
53 j) CFI or JEDEC memory-mapped NOR flash 53 j) CFI or JEDEC memory-mapped NOR flash
54 k) Global Utilities Block 54 k) Global Utilities Block
55 l) Xilinx IP cores 55 l) Freescale Communications Processor Module
56 m) Chipselect/Local Bus
57 n) 4xx/Axon EMAC ethernet nodes
58 o) Xilinx IP cores
59 p) Freescale Synchronous Serial Interface
56 60
57 VII - Specifying interrupt information for devices 61 VII - Specifying interrupt information for devices
58 1) interrupts property 62 1) interrupts property
@@ -1257,6 +1261,10 @@ platforms are moved over to use the flattened-device-tree model.
1257 services interrupts for this device. 1261 services interrupts for this device.
1258 - phy-handle : The phandle for the PHY connected to this ethernet 1262 - phy-handle : The phandle for the PHY connected to this ethernet
1259 controller. 1263 controller.
1264 - fixed-link : <a b c d e> where a is emulated phy id - choose any,
1265 but unique to the all specified fixed-links, b is duplex - 0 half,
1266 1 full, c is link speed - d#10/d#100/d#1000, d is pause - 0 no
1267 pause, 1 pause, e is asym_pause - 0 no asym_pause, 1 asym_pause.
1260 1268
1261 Recommended properties: 1269 Recommended properties:
1262 1270
@@ -1411,7 +1419,6 @@ platforms are moved over to use the flattened-device-tree model.
1411 1419
1412 Example multi port host USB controller device node : 1420 Example multi port host USB controller device node :
1413 usb@22000 { 1421 usb@22000 {
1414 device_type = "usb";
1415 compatible = "fsl-usb2-mph"; 1422 compatible = "fsl-usb2-mph";
1416 reg = <22000 1000>; 1423 reg = <22000 1000>;
1417 #address-cells = <1>; 1424 #address-cells = <1>;
@@ -1425,7 +1432,6 @@ platforms are moved over to use the flattened-device-tree model.
1425 1432
1426 Example dual role USB controller device node : 1433 Example dual role USB controller device node :
1427 usb@23000 { 1434 usb@23000 {
1428 device_type = "usb";
1429 compatible = "fsl-usb2-dr"; 1435 compatible = "fsl-usb2-dr";
1430 reg = <23000 1000>; 1436 reg = <23000 1000>;
1431 #address-cells = <1>; 1437 #address-cells = <1>;
@@ -1589,7 +1595,6 @@ platforms are moved over to use the flattened-device-tree model.
1589 iii) USB (Universal Serial Bus Controller) 1595 iii) USB (Universal Serial Bus Controller)
1590 1596
1591 Required properties: 1597 Required properties:
1592 - device_type : should be "usb".
1593 - compatible : could be "qe_udc" or "fhci-hcd". 1598 - compatible : could be "qe_udc" or "fhci-hcd".
1594 - mode : the could be "host" or "slave". 1599 - mode : the could be "host" or "slave".
1595 - reg : Offset and length of the register set for the device 1600 - reg : Offset and length of the register set for the device
@@ -1603,7 +1608,6 @@ platforms are moved over to use the flattened-device-tree model.
1603 1608
1604 Example(slave): 1609 Example(slave):
1605 usb@6c0 { 1610 usb@6c0 {
1606 device_type = "usb";
1607 compatible = "qe_udc"; 1611 compatible = "qe_udc";
1608 reg = <6c0 40>; 1612 reg = <6c0 40>;
1609 interrupts = <8b 0>; 1613 interrupts = <8b 0>;
@@ -1616,7 +1620,7 @@ platforms are moved over to use the flattened-device-tree model.
1616 1620
1617 Required properties: 1621 Required properties:
1618 - device_type : should be "network", "hldc", "uart", "transparent" 1622 - device_type : should be "network", "hldc", "uart", "transparent"
1619 "bisync" or "atm". 1623 "bisync", "atm", or "serial".
1620 - compatible : could be "ucc_geth" or "fsl_atm" and so on. 1624 - compatible : could be "ucc_geth" or "fsl_atm" and so on.
1621 - model : should be "UCC". 1625 - model : should be "UCC".
1622 - device-id : the ucc number(1-8), corresponding to UCCx in UM. 1626 - device-id : the ucc number(1-8), corresponding to UCCx in UM.
@@ -1629,6 +1633,13 @@ platforms are moved over to use the flattened-device-tree model.
1629 - interrupt-parent : the phandle for the interrupt controller that 1633 - interrupt-parent : the phandle for the interrupt controller that
1630 services interrupts for this device. 1634 services interrupts for this device.
1631 - pio-handle : The phandle for the Parallel I/O port configuration. 1635 - pio-handle : The phandle for the Parallel I/O port configuration.
1636 - port-number : for UART drivers, the port number to use, between 0 and 3.
1637 This usually corresponds to the /dev/ttyQE device, e.g. <0> = /dev/ttyQE0.
1638 The port number is added to the minor number of the device. Unlike the
1639 CPM UART driver, the port-number is required for the QE UART driver.
1640 - soft-uart : for UART drivers, if specified this means the QE UART device
1641 driver should use "Soft-UART" mode, which is needed on some SOCs that have
1642 broken UART hardware. Soft-UART is provided via a microcode upload.
1632 - rx-clock-name: the UCC receive clock source 1643 - rx-clock-name: the UCC receive clock source
1633 "none": clock source is disabled 1644 "none": clock source is disabled
1634 "brg1" through "brg16": clock source is BRG1-BRG16, respectively 1645 "brg1" through "brg16": clock source is BRG1-BRG16, respectively
@@ -1788,6 +1799,32 @@ platforms are moved over to use the flattened-device-tree model.
1788 }; 1799 };
1789 }; 1800 };
1790 1801
1802 viii) Uploaded QE firmware
1803
1804 If a new firwmare has been uploaded to the QE (usually by the
1805 boot loader), then a 'firmware' child node should be added to the QE
1806 node. This node provides information on the uploaded firmware that
1807 device drivers may need.
1808
1809 Required properties:
1810 - id: The string name of the firmware. This is taken from the 'id'
1811 member of the qe_firmware structure of the uploaded firmware.
1812 Device drivers can search this string to determine if the
1813 firmware they want is already present.
1814 - extended-modes: The Extended Modes bitfield, taken from the
1815 firmware binary. It is a 64-bit number represented
1816 as an array of two 32-bit numbers.
1817 - virtual-traps: The virtual traps, taken from the firmware binary.
1818 It is an array of 8 32-bit numbers.
1819
1820 Example:
1821
1822 firmware {
1823 id = "Soft-UART";
1824 extended-modes = <0 0>;
1825 virtual-traps = <0 0 0 0 0 0 0 0>;
1826 }
1827
1791 j) CFI or JEDEC memory-mapped NOR flash 1828 j) CFI or JEDEC memory-mapped NOR flash
1792 1829
1793 Flash chips (Memory Technology Devices) are often used for solid state 1830 Flash chips (Memory Technology Devices) are often used for solid state
@@ -2269,7 +2306,7 @@ platforms are moved over to use the flattened-device-tree model.
2269 available. 2306 available.
2270 For Axon: 0x0000012a 2307 For Axon: 0x0000012a
2271 2308
2272 l) Xilinx IP cores 2309 o) Xilinx IP cores
2273 2310
2274 The Xilinx EDK toolchain ships with a set of IP cores (devices) for use 2311 The Xilinx EDK toolchain ships with a set of IP cores (devices) for use
2275 in Xilinx Spartan and Virtex FPGAs. The devices cover the whole range 2312 in Xilinx Spartan and Virtex FPGAs. The devices cover the whole range
@@ -2539,6 +2576,46 @@ platforms are moved over to use the flattened-device-tree model.
2539 Requred properties: 2576 Requred properties:
2540 - current-speed : Baud rate of uartlite 2577 - current-speed : Baud rate of uartlite
2541 2578
2579 p) Freescale Synchronous Serial Interface
2580
2581 The SSI is a serial device that communicates with audio codecs. It can
2582 be programmed in AC97, I2S, left-justified, or right-justified modes.
2583
2584 Required properties:
2585 - compatible : compatible list, containing "fsl,ssi"
2586 - cell-index : the SSI, <0> = SSI1, <1> = SSI2, and so on
2587 - reg : offset and length of the register set for the device
2588 - interrupts : <a b> where a is the interrupt number and b is a
2589 field that represents an encoding of the sense and
2590 level information for the interrupt. This should be
2591 encoded based on the information in section 2)
2592 depending on the type of interrupt controller you
2593 have.
2594 - interrupt-parent : the phandle for the interrupt controller that
2595 services interrupts for this device.
2596 - fsl,mode : the operating mode for the SSI interface
2597 "i2s-slave" - I2S mode, SSI is clock slave
2598 "i2s-master" - I2S mode, SSI is clock master
2599 "lj-slave" - left-justified mode, SSI is clock slave
2600 "lj-master" - l.j. mode, SSI is clock master
2601 "rj-slave" - right-justified mode, SSI is clock slave
2602 "rj-master" - r.j., SSI is clock master
2603 "ac97-slave" - AC97 mode, SSI is clock slave
2604 "ac97-master" - AC97 mode, SSI is clock master
2605
2606 Optional properties:
2607 - codec-handle : phandle to a 'codec' node that defines an audio
2608 codec connected to this SSI. This node is typically
2609 a child of an I2C or other control node.
2610
2611 Child 'codec' node required properties:
2612 - compatible : compatible list, contains the name of the codec
2613
2614 Child 'codec' node optional properties:
2615 - clock-frequency : The frequency of the input clock, which typically
2616 comes from an on-board dedicated oscillator.
2617
2618
2542 More devices will be defined as this spec matures. 2619 More devices will be defined as this spec matures.
2543 2620
2544VII - Specifying interrupt information for devices 2621VII - Specifying interrupt information for devices