summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt/help.fdt
blob: 665f63c260c6b0638120fb9defbfd4822e918752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
$FreeBSD$
###############################################################################
# Tfdt Dfdt manipulation commands

	fdt <subcommand> <arguments>

	Facilities for loading and manipulating device tree data.

###############################################################################
# Tfdt Saddr Dload fdt from an address in memory

	fdt addr <address>

	Copies compiled device tree from a particular location
	in memory.

###############################################################################
# Tfdt Salias DXXX

	fdt alias <address>

	Not Yet Implemented

###############################################################################
# Tfdt Scd DSelect a particular node for future commands

	fdt cd <path>

	Changes the current node to the node specified by the path.
	Path elements are separated by '/'; a leading '/' represents
	the root node.

###############################################################################
# Tfdt Sheader DDump the header of the compiled device tree

	fdt header

	Dumps DTB size, format and other key values.

###############################################################################
# Tfdt Sls DList subnodes of the current node

	fdt ls <path>

	Lists the nodes under the specified path.
	If no path is specified, lists nodes under the current path.

###############################################################################
# Tfdt Smknode DCreate a new node in the device tree

	fdt mknode <name>

	Creates a new node with the specified name.

###############################################################################
# Tfdt Smkprop DAdd a new property to the current node

	fdt mkprop <name> <value> ...

	Creates a new property with the specified name and values.
	Multiple values can be specified and will be concatenated.

###############################################################################
# Tfdt Smres DXXX

	fdt mres

	Dumps the list of reserved memory regions.

###############################################################################
# Tfdt Sprop DDump value of a particular property

	fdt prop <name> <value> ...

	If value is specified, set the given property to the indicated value.
	Otherwise, print the value of the property.

###############################################################################
# Tfdt Spwd DPrint path to current node in device tree

	fdt pwd

	Print path to the current node in the device tree.
	The current node can be changed with "fdt cd".

###############################################################################
# Tfdt Srm DRemove node or property from device tree

	fdt rm <name>

	The named node or property will be removed from the device tree.

###############################################################################
OpenPOWER on IntegriCloud