1*8d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*8d13bc63SEmmanuel Vadot%YAML 1.2 3*8d13bc63SEmmanuel Vadot--- 4*8d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/loongarch/cpus.yaml# 5*8d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8d13bc63SEmmanuel Vadot 7*8d13bc63SEmmanuel Vadottitle: LoongArch CPUs 8*8d13bc63SEmmanuel Vadot 9*8d13bc63SEmmanuel Vadotmaintainers: 10*8d13bc63SEmmanuel Vadot - Binbin Zhou <zhoubinbin@loongson.cn> 11*8d13bc63SEmmanuel Vadot 12*8d13bc63SEmmanuel Vadotdescription: 13*8d13bc63SEmmanuel Vadot This document describes the list of LoongArch CPU cores that support FDT, 14*8d13bc63SEmmanuel Vadot it describe the layout of CPUs in a system through the "cpus" node. 15*8d13bc63SEmmanuel Vadot 16*8d13bc63SEmmanuel VadotallOf: 17*8d13bc63SEmmanuel Vadot - $ref: /schemas/cpu.yaml# 18*8d13bc63SEmmanuel Vadot 19*8d13bc63SEmmanuel Vadotproperties: 20*8d13bc63SEmmanuel Vadot compatible: 21*8d13bc63SEmmanuel Vadot enum: 22*8d13bc63SEmmanuel Vadot - loongson,la264 23*8d13bc63SEmmanuel Vadot - loongson,la364 24*8d13bc63SEmmanuel Vadot 25*8d13bc63SEmmanuel Vadot reg: 26*8d13bc63SEmmanuel Vadot maxItems: 1 27*8d13bc63SEmmanuel Vadot 28*8d13bc63SEmmanuel Vadot clocks: 29*8d13bc63SEmmanuel Vadot maxItems: 1 30*8d13bc63SEmmanuel Vadot 31*8d13bc63SEmmanuel Vadotrequired: 32*8d13bc63SEmmanuel Vadot - compatible 33*8d13bc63SEmmanuel Vadot - reg 34*8d13bc63SEmmanuel Vadot - clocks 35*8d13bc63SEmmanuel Vadot 36*8d13bc63SEmmanuel VadotunevaluatedProperties: false 37*8d13bc63SEmmanuel Vadot 38*8d13bc63SEmmanuel Vadotexamples: 39*8d13bc63SEmmanuel Vadot - | 40*8d13bc63SEmmanuel Vadot #include <dt-bindings/clock/loongson,ls2k-clk.h> 41*8d13bc63SEmmanuel Vadot 42*8d13bc63SEmmanuel Vadot cpus { 43*8d13bc63SEmmanuel Vadot #size-cells = <0>; 44*8d13bc63SEmmanuel Vadot #address-cells = <1>; 45*8d13bc63SEmmanuel Vadot 46*8d13bc63SEmmanuel Vadot cpu@0 { 47*8d13bc63SEmmanuel Vadot compatible = "loongson,la264"; 48*8d13bc63SEmmanuel Vadot device_type = "cpu"; 49*8d13bc63SEmmanuel Vadot reg = <0>; 50*8d13bc63SEmmanuel Vadot clocks = <&clk LOONGSON2_NODE_CLK>; 51*8d13bc63SEmmanuel Vadot }; 52*8d13bc63SEmmanuel Vadot 53*8d13bc63SEmmanuel Vadot cpu@1 { 54*8d13bc63SEmmanuel Vadot compatible = "loongson,la264"; 55*8d13bc63SEmmanuel Vadot device_type = "cpu"; 56*8d13bc63SEmmanuel Vadot reg = <1>; 57*8d13bc63SEmmanuel Vadot clocks = <&clk LOONGSON2_NODE_CLK>; 58*8d13bc63SEmmanuel Vadot }; 59*8d13bc63SEmmanuel Vadot }; 60*8d13bc63SEmmanuel Vadot 61*8d13bc63SEmmanuel Vadot... 62