1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/mips/brcm/s 4 $id: http://devicetree.org/schemas/mips/brcm/soc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Broadcom cable/DSL/settop platforms 7 title: Broadcom cable/DSL/settop platforms 8 8 9 maintainers: 9 maintainers: 10 - Florian Fainelli <f.fainelli@gmail.com> 10 - Florian Fainelli <f.fainelli@gmail.com> 11 11 12 description: | 12 description: | 13 Boards Broadcom cable/DSL/settop SoC shall 13 Boards Broadcom cable/DSL/settop SoC shall have the following properties. 14 The experimental -viper variants are for r 14 The experimental -viper variants are for running Linux on the 3384's 15 BMIPS4355 cable modem CPU instead of the B 15 BMIPS4355 cable modem CPU instead of the BMIPS5000 application processor. 16 16 17 properties: 17 properties: 18 $nodename: 18 $nodename: 19 const: '/' 19 const: '/' 20 20 21 compatible: 21 compatible: 22 enum: 22 enum: 23 - brcm,bcm3368 23 - brcm,bcm3368 24 - brcm,bcm3384 24 - brcm,bcm3384 25 - brcm,bcm33843 25 - brcm,bcm33843 26 - brcm,bcm3384-viper 26 - brcm,bcm3384-viper 27 - brcm,bcm33843-viper 27 - brcm,bcm33843-viper 28 - brcm,bcm6328 28 - brcm,bcm6328 29 - brcm,bcm6358 29 - brcm,bcm6358 30 - brcm,bcm6362 30 - brcm,bcm6362 31 - brcm,bcm6368 31 - brcm,bcm6368 32 - brcm,bcm63168 32 - brcm,bcm63168 33 - brcm,bcm63268 33 - brcm,bcm63268 34 - brcm,bcm7125 34 - brcm,bcm7125 35 - brcm,bcm7346 35 - brcm,bcm7346 36 - brcm,bcm7358 36 - brcm,bcm7358 37 - brcm,bcm7360 37 - brcm,bcm7360 38 - brcm,bcm7362 38 - brcm,bcm7362 39 - brcm,bcm7420 39 - brcm,bcm7420 40 - brcm,bcm7425 40 - brcm,bcm7425 41 41 42 cpus: 42 cpus: 43 type: object 43 type: object 44 additionalProperties: false 44 additionalProperties: false 45 properties: 45 properties: 46 '#address-cells': 46 '#address-cells': 47 const: 1 47 const: 1 48 48 49 '#size-cells': 49 '#size-cells': 50 const: 0 50 const: 0 51 51 52 mips-hpt-frequency: 52 mips-hpt-frequency: 53 description: MIPS counter high precisi 53 description: MIPS counter high precision timer frequency. 54 This is common to all CPUs in the sys 54 This is common to all CPUs in the system so it lives 55 under the "cpus" node. 55 under the "cpus" node. 56 $ref: /schemas/types.yaml#/definitions 56 $ref: /schemas/types.yaml#/definitions/uint32 57 57 58 brcm,bmips-cbr-reg: << 59 description: Reference address of the << 60 Some SoC suffer from a BUG where CBR << 61 address might be badly or never init << 62 or reading it from co-processor regi << 63 from secondary CPU, results in inval << 64 The CBR address is always the same o << 65 can be provided in DT to handle thes << 66 $ref: /schemas/types.yaml#/definitions << 67 << 68 patternProperties: 58 patternProperties: 69 "^cpu@[0-9]$": 59 "^cpu@[0-9]$": 70 type: object 60 type: object 71 $ref: /schemas/mips/cpus.yaml# 61 $ref: /schemas/mips/cpus.yaml# 72 unevaluatedProperties: false 62 unevaluatedProperties: false 73 63 74 required: 64 required: 75 - mips-hpt-frequency 65 - mips-hpt-frequency 76 << 77 if: << 78 properties: << 79 compatible: << 80 contains: << 81 enum: << 82 - brcm,bcm6358 << 83 - brcm,bcm6368 << 84 << 85 then: << 86 properties: << 87 cpus: << 88 required: << 89 - brcm,bmips-cbr-reg << 90 66 91 additionalProperties: true 67 additionalProperties: true 92 68 93 examples: 69 examples: 94 - | 70 - | 95 / { 71 / { 96 compatible = "brcm,bcm3368"; 72 compatible = "brcm,bcm3368"; 97 #address-cells = <1>; 73 #address-cells = <1>; 98 #size-cells = <1>; 74 #size-cells = <1>; 99 model = "Broadcom 3368"; 75 model = "Broadcom 3368"; 100 76 101 cpus { 77 cpus { 102 #address-cells = <1>; 78 #address-cells = <1>; 103 #size-cells = <0>; 79 #size-cells = <0>; 104 80 105 mips-hpt-frequency = <150000000>; 81 mips-hpt-frequency = <150000000>; 106 82 107 cpu@0 { 83 cpu@0 { 108 compatible = "brcm,bmips4350"; 84 compatible = "brcm,bmips4350"; 109 device_type = "cpu"; 85 device_type = "cpu"; 110 reg = <0>; 86 reg = <0>; 111 }; 87 }; 112 88 113 cpu@1 { 89 cpu@1 { 114 compatible = "brcm,bmips4350"; 90 compatible = "brcm,bmips4350"; 115 device_type = "cpu"; 91 device_type = "cpu"; 116 reg = <1>; 92 reg = <1>; 117 }; 93 }; 118 }; 94 }; 119 }; 95 }; 120 ... 96 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.