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