xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/nds32/cpus.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Andestech Processor Binding
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis binding specifies what properties must be available in the device tree
4*4882a593Smuzhiyunrepresentation of a Andestech Processor Core, which is the root node in the
5*4882a593Smuzhiyuntree.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun	- compatible:
10*4882a593Smuzhiyun		Usage: required
11*4882a593Smuzhiyun		Value type: <string>
12*4882a593Smuzhiyun		Definition: Should be "andestech,<core_name>", "andestech,nds32v3" as fallback.
13*4882a593Smuzhiyun		Must contain "andestech,nds32v3" as the most generic value, in addition to
14*4882a593Smuzhiyun		one of the following identifiers for a particular CPU core:
15*4882a593Smuzhiyun		"andestech,n13"
16*4882a593Smuzhiyun		"andestech,n15"
17*4882a593Smuzhiyun		"andestech,d15"
18*4882a593Smuzhiyun		"andestech,n10"
19*4882a593Smuzhiyun		"andestech,d10"
20*4882a593Smuzhiyun	- device_type
21*4882a593Smuzhiyun		Usage: required
22*4882a593Smuzhiyun		Value type: <string>
23*4882a593Smuzhiyun		Definition: must be "cpu"
24*4882a593Smuzhiyun	- reg: Contains CPU index.
25*4882a593Smuzhiyun	- clock-frequency: Contains the clock frequency for CPU, in Hz.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun* Examples
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun/ {
30*4882a593Smuzhiyun	cpus {
31*4882a593Smuzhiyun		cpu@0 {
32*4882a593Smuzhiyun			device_type = "cpu";
33*4882a593Smuzhiyun			compatible = "andestech,n13", "andestech,nds32v3";
34*4882a593Smuzhiyun			reg = <0x0>;
35*4882a593Smuzhiyun			clock-frequency = <60000000>
36*4882a593Smuzhiyun		};
37*4882a593Smuzhiyun	};
38*4882a593Smuzhiyun};
39