diff options
author | Becky Bruce <bgill@freescale.com> | 2006-02-07 14:44:08 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-02-10 00:36:21 -0500 |
commit | ad71f123a9e9b809f6c829db1222ce0423a1153c (patch) | |
tree | d0e1bcb25b15360bf6a205de63bbea016adb8004 | |
parent | b37ce281d729181b9862c4e3e112f9b5eea74ac9 (diff) |
[PATCH] powerpc: Add FSL USB node to documentation
Updated the documentation to include the definition of the USB device
node format for Freescale SOC devices.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | Documentation/powerpc/booting-without-of.txt | 60 |
1 files changed, 59 insertions, 1 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index 54e5f9b1536d..d02c64953dcd 100644 --- a/Documentation/powerpc/booting-without-of.txt +++ b/Documentation/powerpc/booting-without-of.txt | |||
@@ -44,7 +44,6 @@ | |||
44 | compiler and the textural representation of | 44 | compiler and the textural representation of |
45 | the tree that can be "compiled" by dtc. | 45 | the tree that can be "compiled" by dtc. |
46 | 46 | ||
47 | |||
48 | November 21, 2005: Rev 0.5 | 47 | November 21, 2005: Rev 0.5 |
49 | - Additions/generalizations for 32-bit | 48 | - Additions/generalizations for 32-bit |
50 | - Changed to reflect the new arch/powerpc | 49 | - Changed to reflect the new arch/powerpc |
@@ -1307,6 +1306,65 @@ platforms are moved over to use the flattened-device-tree model. | |||
1307 | }; | 1306 | }; |
1308 | 1307 | ||
1309 | 1308 | ||
1309 | f) Freescale SOC USB controllers | ||
1310 | |||
1311 | The device node for a USB controller that is part of a Freescale | ||
1312 | SOC is as described in the document "Open Firmware Recommended | ||
1313 | Practice : Universal Serial Bus" with the following modifications | ||
1314 | and additions : | ||
1315 | |||
1316 | Required properties : | ||
1317 | - compatible : Should be "fsl-usb2-mph" for multi port host usb | ||
1318 | controllers, or "fsl-usb2-dr" for dual role usb controllers | ||
1319 | - phy_type : For multi port host usb controllers, should be one of | ||
1320 | "ulpi", or "serial". For dual role usb controllers, should be | ||
1321 | one of "ulpi", "utmi", "utmi_wide", or "serial". | ||
1322 | - reg : Offset and length of the register set for the device | ||
1323 | - port0 : boolean; if defined, indicates port0 is connected for | ||
1324 | fsl-usb2-mph compatible controllers. Either this property or | ||
1325 | "port1" (or both) must be defined for "fsl-usb2-mph" compatible | ||
1326 | controllers. | ||
1327 | - port1 : boolean; if defined, indicates port1 is connected for | ||
1328 | fsl-usb2-mph compatible controllers. Either this property or | ||
1329 | "port0" (or both) must be defined for "fsl-usb2-mph" compatible | ||
1330 | controllers. | ||
1331 | |||
1332 | Recommended properties : | ||
1333 | - interrupts : <a b> where a is the interrupt number and b is a | ||
1334 | field that represents an encoding of the sense and level | ||
1335 | information for the interrupt. This should be encoded based on | ||
1336 | the information in section 2) depending on the type of interrupt | ||
1337 | controller you have. | ||
1338 | - interrupt-parent : the phandle for the interrupt controller that | ||
1339 | services interrupts for this device. | ||
1340 | |||
1341 | Example multi port host usb controller device node : | ||
1342 | usb@22000 { | ||
1343 | device_type = "usb"; | ||
1344 | compatible = "fsl-usb2-mph"; | ||
1345 | reg = <22000 1000>; | ||
1346 | #address-cells = <1>; | ||
1347 | #size-cells = <0>; | ||
1348 | interrupt-parent = <700>; | ||
1349 | interrupts = <27 1>; | ||
1350 | phy_type = "ulpi"; | ||
1351 | port0; | ||
1352 | port1; | ||
1353 | }; | ||
1354 | |||
1355 | Example dual role usb controller device node : | ||
1356 | usb@23000 { | ||
1357 | device_type = "usb"; | ||
1358 | compatible = "fsl-usb2-dr"; | ||
1359 | reg = <23000 1000>; | ||
1360 | #address-cells = <1>; | ||
1361 | #size-cells = <0>; | ||
1362 | interrupt-parent = <700>; | ||
1363 | interrupts = <26 1>; | ||
1364 | phy = "ulpi"; | ||
1365 | }; | ||
1366 | |||
1367 | |||
1310 | More devices will be defined as this spec matures. | 1368 | More devices will be defined as this spec matures. |
1311 | 1369 | ||
1312 | 1370 | ||