0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mips/ingenic/ingenic,cpu.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Bindings for Ingenic XBurst family CPUs
0008
0009 maintainers:
0010 - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
0011
0012 description:
0013 Ingenic XBurst family CPUs shall have the following properties.
0014
0015 properties:
0016 compatible:
0017 oneOf:
0018
0019 - description: Ingenic XBurst®1 CPU Cores
0020 enum:
0021 - ingenic,xburst-mxu1.0
0022 - ingenic,xburst-fpu1.0-mxu1.1
0023 - ingenic,xburst-fpu2.0-mxu2.0
0024
0025 - description: Ingenic XBurst®2 CPU Cores
0026 enum:
0027 - ingenic,xburst2-fpu2.1-mxu2.1-smt
0028
0029 reg:
0030 maxItems: 1
0031
0032 clocks:
0033 maxItems: 1
0034
0035 device_type: true
0036
0037 required:
0038 - device_type
0039 - compatible
0040 - reg
0041 - clocks
0042
0043 additionalProperties: false
0044
0045 examples:
0046 - |
0047 #include <dt-bindings/clock/ingenic,jz4780-cgu.h>
0048
0049 cpus {
0050 #address-cells = <1>;
0051 #size-cells = <0>;
0052
0053 cpu0: cpu@0 {
0054 device_type = "cpu";
0055 compatible = "ingenic,xburst-fpu1.0-mxu1.1";
0056 reg = <0>;
0057
0058 clocks = <&cgu JZ4780_CLK_CPU>;
0059 };
0060
0061 cpu1: cpu@1 {
0062 device_type = "cpu";
0063 compatible = "ingenic,xburst-fpu1.0-mxu1.1";
0064 reg = <1>;
0065
0066 clocks = <&cgu JZ4780_CLK_CORE1>;
0067 };
0068 };
0069 ...