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: 58 brcm,bmips-cbr-reg: 59 description: Reference address of the 59 description: Reference address of the CBR. 60 Some SoC suffer from a BUG where CBR 60 Some SoC suffer from a BUG where CBR(Core Base Register) 61 address might be badly or never init 61 address might be badly or never initialized by the Bootloader 62 or reading it from co-processor regi 62 or reading it from co-processor registers, if the system boots 63 from secondary CPU, results in inval 63 from secondary CPU, results in invalid address. 64 The CBR address is always the same o 64 The CBR address is always the same on the SoC hence it 65 can be provided in DT to handle thes 65 can be provided in DT to handle these broken case. 66 $ref: /schemas/types.yaml#/definitions 66 $ref: /schemas/types.yaml#/definitions/uint32 67 67 68 patternProperties: 68 patternProperties: 69 "^cpu@[0-9]$": 69 "^cpu@[0-9]$": 70 type: object 70 type: object 71 $ref: /schemas/mips/cpus.yaml# 71 $ref: /schemas/mips/cpus.yaml# 72 unevaluatedProperties: false 72 unevaluatedProperties: false 73 73 74 required: 74 required: 75 - mips-hpt-frequency 75 - mips-hpt-frequency 76 76 77 if: 77 if: 78 properties: 78 properties: 79 compatible: 79 compatible: 80 contains: 80 contains: 81 enum: 81 enum: 82 - brcm,bcm6358 82 - brcm,bcm6358 83 - brcm,bcm6368 83 - brcm,bcm6368 84 84 85 then: 85 then: 86 properties: 86 properties: 87 cpus: 87 cpus: 88 required: 88 required: 89 - brcm,bmips-cbr-reg 89 - brcm,bmips-cbr-reg 90 90 91 additionalProperties: true 91 additionalProperties: true 92 92 93 examples: 93 examples: 94 - | 94 - | 95 / { 95 / { 96 compatible = "brcm,bcm3368"; 96 compatible = "brcm,bcm3368"; 97 #address-cells = <1>; 97 #address-cells = <1>; 98 #size-cells = <1>; 98 #size-cells = <1>; 99 model = "Broadcom 3368"; 99 model = "Broadcom 3368"; 100 100 101 cpus { 101 cpus { 102 #address-cells = <1>; 102 #address-cells = <1>; 103 #size-cells = <0>; 103 #size-cells = <0>; 104 104 105 mips-hpt-frequency = <150000000>; 105 mips-hpt-frequency = <150000000>; 106 106 107 cpu@0 { 107 cpu@0 { 108 compatible = "brcm,bmips4350"; 108 compatible = "brcm,bmips4350"; 109 device_type = "cpu"; 109 device_type = "cpu"; 110 reg = <0>; 110 reg = <0>; 111 }; 111 }; 112 112 113 cpu@1 { 113 cpu@1 { 114 compatible = "brcm,bmips4350"; 114 compatible = "brcm,bmips4350"; 115 device_type = "cpu"; 115 device_type = "cpu"; 116 reg = <1>; 116 reg = <1>; 117 }; 117 }; 118 }; 118 }; 119 }; 119 }; 120 ... 120 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.