1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mips/brcm/soc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom cable/DSL/settop platforms
8
9maintainers:
10  - Florian Fainelli <f.fainelli@gmail.com>
11
12description: |
13    Boards Broadcom cable/DSL/settop SoC shall have the following properties.
14    The experimental -viper variants are for running Linux on the 3384's
15    BMIPS4355 cable modem CPU instead of the BMIPS5000 application processor.
16
17properties:
18  $nodename:
19    const: '/'
20
21  compatible:
22    enum:
23      - brcm,bcm3368
24      - brcm,bcm3384
25      - brcm,bcm33843
26      - brcm,bcm3384-viper
27      - brcm,bcm33843-viper
28      - brcm,bcm6328
29      - brcm,bcm6358
30      - brcm,bcm6362
31      - brcm,bcm6368
32      - brcm,bcm63168
33      - brcm,bcm63268
34      - brcm,bcm7125
35      - brcm,bcm7346
36      - brcm,bcm7358
37      - brcm,bcm7360
38      - brcm,bcm7362
39      - brcm,bcm7420
40      - brcm,bcm7425
41
42  cpus:
43    type: object
44    additionalProperties: false
45    properties:
46      '#address-cells':
47        const: 1
48
49      '#size-cells':
50        const: 0
51
52      mips-hpt-frequency:
53        description: MIPS counter high precision timer frequency.
54         This is common to all CPUs in the system so it lives
55         under the "cpus" node.
56        $ref: /schemas/types.yaml#/definitions/uint32
57
58    patternProperties:
59      "^cpu@[0-9]$":
60        type: object
61        $ref: /schemas/mips/cpus.yaml#
62        unevaluatedProperties: false
63
64    required:
65      - mips-hpt-frequency
66
67additionalProperties: true
68
69examples:
70  - |
71     / {
72         compatible = "brcm,bcm3368";
73         #address-cells = <1>;
74         #size-cells = <1>;
75         model = "Broadcom 3368";
76
77         cpus {
78           #address-cells = <1>;
79           #size-cells = <0>;
80
81           mips-hpt-frequency = <150000000>;
82
83           cpu@0 {
84             compatible = "brcm,bmips4350";
85             device_type = "cpu";
86             reg = <0>;
87           };
88
89           cpu@1 {
90             compatible = "brcm,bmips4350";
91             device_type = "cpu";
92             reg = <1>;
93           };
94         };
95       };
96...
97