% devicetree
%
% Create devicetree object in MATLAB
%
% Syntax
%
%     dt = devicetree
%
% Description
%
% devicetree returns an object that allows you to create a devicetree
% in MATLAB. You can add nodes and properties to the devicetree to describe
% hardware devices. You can then print your devicetree as a source file for
% use on your hardware board.
%
%   dt = devicetree returns a devicetree object
%
%   Methods
%
%   addRootNode: Add a root node "/" to the devicetree
%
%   addReferenceNode: Add reference to another devicetree node at the
%   root-level
%
%   addIncludeStatement: Include another devicetree file
%
%   addNodeDeletion: Delete a node in the devicetree
%
%   printSource: Print devicetree source file
%
%   Example:
%       % Create devicetree object
%       dt = devicetree;
% 
%       % Add root node & properties
%       rootNode = dt.addRootNode;
%       rootNode.addProperty("model", "Xilinx Zynq ZED");
% 
%       % Add cpu node & properties
%       cpuNode = addNode(rootNode, "cpus");
%       cpuNode0 = addNode(cpuNode, "cpu@0");
%       addProperty(cpuNode0, "compatible", "arm,cortex-a9");
%
%       % Print devicetree source file
%       printSource(dt);

%   Copyright 2021 The MathWorks, Inc.

classdef devicetree < matlabshared.devicetree.tree.DeviceTree
    
end