Specifications

=> fdt print /cpus
cpus {
cpu@0 {
compatible = "arm,arm926ejs";
};
};
=>
5.9.7.4. fdt mknode - create new nodes
fdt mknode can be used to attach a new node to the tree. We will use the fdt list command to verify
that the new node has been created and that it is empty:
=> fdt list /
/ {
#address-cells = <0x1>;
#size-cells = <0x1>;
interrupt-parent = <0x1>;
model = "DENX M28EVK";
compatible = "denx,m28evk", "fsl,imx28";
chosen {
};
aliases {
};
memory {
};
cpus {
};
apb@80000000 {
};
ahb@80080000 {
};
regulators {
};
sound {
};
};
=> fdt mknode / testnode
=> fdt list /
/ {
#address-cells = <0x1>;
#size-cells = <0x1>;
interrupt-parent = <0x1>;
model = "DENX M28EVK";
compatible = "denx,m28evk", "fsl,imx28";
testnode {
};
chosen {
};
aliases {
};
memory {
};
cpus {
};
apb@80000000 {
};
ahb@80080000 {
};
regulators {
};
sound {
};
};
=> fdt list /testnode
5.9.7.3. fdt print - recursive print 68