xref: /freebsd/stand/fdt/help.fdt (revision e0c4386e)
1###############################################################################
2# Tfdt Dfdt manipulation commands
3
4	fdt <subcommand> <arguments>
5
6	Facilities for loading and manipulating device tree data.
7
8###############################################################################
9# Tfdt Saddr Dload fdt from an address in memory
10
11	fdt addr <address>
12
13	Copies compiled device tree from a particular location
14	in memory.
15
16###############################################################################
17# Tfdt Salias DXXX
18
19	fdt alias <address>
20
21	Not Yet Implemented
22
23###############################################################################
24# Tfdt Scd DSelect a particular node for future commands
25
26	fdt cd <path>
27
28	Changes the current node to the node specified by the path.
29	Path elements are separated by '/'; a leading '/' represents
30	the root node.
31
32###############################################################################
33# Tfdt Sheader DDump the header of the compiled device tree
34
35	fdt header
36
37	Dumps DTB size, format and other key values.
38
39###############################################################################
40# Tfdt Sls DList subnodes of the current node
41
42	fdt ls <path>
43
44	Lists the nodes under the specified path.
45	If no path is specified, lists nodes under the current path.
46
47###############################################################################
48# Tfdt Smknode DCreate a new node in the device tree
49
50	fdt mknode <name>
51
52	Creates a new node with the specified name.
53
54###############################################################################
55# Tfdt Smkprop DAdd a new property to the current node
56
57	fdt mkprop <name> <value> ...
58
59	Creates a new property with the specified name and values.
60	Multiple values can be specified and will be concatenated.
61
62###############################################################################
63# Tfdt Smres DXXX
64
65	fdt mres
66
67	Dumps the list of reserved memory regions.
68
69###############################################################################
70# Tfdt Sprop DDump value of a particular property
71
72	fdt prop <name> <value> ...
73
74	If value is specified, set the given property to the indicated value.
75	Otherwise, print the value of the property.
76
77###############################################################################
78# Tfdt Spwd DPrint path to current node in device tree
79
80	fdt pwd
81
82	Print path to the current node in the device tree.
83	The current node can be changed with "fdt cd".
84
85###############################################################################
86# Tfdt Srm DRemove node or property from device tree
87
88	fdt rm <name>
89
90	The named node or property will be removed from the device tree.
91
92###############################################################################
93