9
0
Fork 0

Documentation: device tree bindings.

Adjusted Sphinx markup for devicetree bindings pages.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Robert P. J. Day 2014-06-30 08:23:43 -04:00 committed by Sascha Hauer
parent feacb774a8
commit f0333dda0e
4 changed files with 22 additions and 20 deletions

View File

@ -4,18 +4,19 @@ barebox environment
This driver provides an environment for barebox from the devicetree. This driver provides an environment for barebox from the devicetree.
Required properties: Required properties:
- compatible: should be "barebox,environment"
- device-path: path to the environment * ``compatible``: should be ``barebox,environment``
* ``device-path``: path to the environment
The device-path is a multistring property. The first string should be a The device-path is a multistring property. The first string should be a
nodepath to the node containing the physical device of the environment. nodepath to the node containing the physical device of the environment.
The subsequent strings are of the form <type>:<options> to further describe The subsequent strings are of the form <type>:<options> to further describe
the path to the environment. Supported values for <type>: the path to the environment. Supported values for <type>:
partname:<partname> This describes a partition on a device. <partname> can ``partname``:<partname>
be the label for mtd partitions, the number for DOS This describes a partition on a device. <partname> can
partitions (beginning with 0) or the name for GPT be the label for MTD partitions, the number for DOS
partitions partitions (beginning with 0) or the name for GPT partitions.
Example:: Example::

View File

@ -1,9 +1,10 @@
Common leds properties Common leds properties
====================== ======================
- linux,default-trigger barebox,default-trigger: This parameter, if present, is a * ``linux,default-trigger``, ``barebox,default-trigger``: This parameter, if present, is a
string defining the trigger assigned to the LED. Current triggers are: string defining the trigger assigned to the LED. Current triggers are:
"heartbeat" - LED flashes at a constant rate
"panic" - LED turns on when barebox panics * ``heartbeat`` - LED flashes at a constant rate
"net" - LED indicates network activity * ``panic`` - LED turns on when barebox panics
* ``net`` - LED indicates network activity

View File

@ -3,14 +3,14 @@ Freescale i.MX IIM (Ic Identification Module)
Required properties: Required properties:
- compatible: fsl,imx27-iim * ``compatible``: ``fsl,imx27-iim``, ``fsl,imx51-iim``
- reg: physical register base and size * ``reg``: physical register base and size
Optional properties: Optional properties:
- barebox,provide-mac-address: Provide MAC addresses for ethernet devices. This * ``barebox,provide-mac-address``: Provide MAC addresses for Ethernet devices. This
can be multiple entries in the form <&phandle bankno fuseofs> to specify a MAC can be multiple entries in the form <&phandle bankno fuseofs> to assign a MAC
address to a ethernet device. address to an Ethernet device.
Example:: Example::

View File

@ -3,14 +3,14 @@ Freescale i.MX OCOTP (On-Chip OTP)
Required properties: Required properties:
- compatible: fsl,imx6q-ocotp * ``compatible``: ``fsl,imx6q-ocotp``
- reg: physical register base and size * ``reg``: physical register base and size
Optional properties: Optional properties:
- barebox,provide-mac-address: Provide MAC addresses for ethernet devices. This * ``barebox,provide-mac-address``: Provide MAC addresses for Ethernet devices. This
can be multiple entries in the form <&phandle regofs> to specify a MAC can be multiple entries in the form <&phandle regofs> to assign a MAC
address to a ethernet device. address to an Ethernet device.
Example:: Example::