brintos

brintos / linux-shallow public Read only

0
0
Text · 2.8 KiB · 0cc6344 Raw
121 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 platforms8 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's15    BMIPS4355 cable modem CPU instead of the BMIPS5000 application processor.16 17properties:18  $nodename:19    const: '/'20 21  compatible:22    enum:23      - brcm,bcm336824      - brcm,bcm338425      - brcm,bcm3384326      - brcm,bcm3384-viper27      - brcm,bcm33843-viper28      - brcm,bcm632829      - brcm,bcm635830      - brcm,bcm636231      - brcm,bcm636832      - brcm,bcm6316833      - brcm,bcm6326834      - brcm,bcm712535      - brcm,bcm734636      - brcm,bcm735837      - brcm,bcm736038      - brcm,bcm736239      - brcm,bcm742040      - brcm,bcm742541 42  cpus:43    type: object44    additionalProperties: false45    properties:46      '#address-cells':47        const: 148 49      '#size-cells':50        const: 051 52      mips-hpt-frequency:53        description: MIPS counter high precision timer frequency.54         This is common to all CPUs in the system so it lives55         under the "cpus" node.56        $ref: /schemas/types.yaml#/definitions/uint3257 58      brcm,bmips-cbr-reg:59        description: Reference address of the CBR.60          Some SoC suffer from a BUG where CBR(Core Base Register)61          address might be badly or never initialized by the Bootloader62          or reading it from co-processor registers, if the system boots63          from secondary CPU, results in invalid address.64          The CBR address is always the same on the SoC hence it65          can be provided in DT to handle these broken case.66        $ref: /schemas/types.yaml#/definitions/uint3267 68    patternProperties:69      "^cpu@[0-9]$":70        type: object71        $ref: /schemas/mips/cpus.yaml#72        unevaluatedProperties: false73 74    required:75      - mips-hpt-frequency76 77if:78  properties:79    compatible:80      contains:81        enum:82          - brcm,bcm635883          - brcm,bcm636884 85then:86  properties:87    cpus:88      required:89        - brcm,bmips-cbr-reg90 91additionalProperties: true92 93examples:94  - |95     / {96         compatible = "brcm,bcm3368";97         #address-cells = <1>;98         #size-cells = <1>;99         model = "Broadcom 3368";100 101         cpus {102           #address-cells = <1>;103           #size-cells = <0>;104 105           mips-hpt-frequency = <150000000>;106 107           cpu@0 {108             compatible = "brcm,bmips4350";109             device_type = "cpu";110             reg = <0>;111           };112 113           cpu@1 {114             compatible = "brcm,bmips4350";115             device_type = "cpu";116             reg = <1>;117           };118         };119       };120...121