1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/interconnec 4 $id: http://devicetree.org/schemas/interconnect/qcom,qcm2290.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm QCM2290 Network-On-Chip interc 7 title: Qualcomm QCM2290 Network-On-Chip interconnect 8 8 9 maintainers: 9 maintainers: 10 - Shawn Guo <shawn.guo@linaro.org> 10 - Shawn Guo <shawn.guo@linaro.org> 11 11 12 description: | 12 description: | 13 The Qualcomm QCM2290 interconnect providers 13 The Qualcomm QCM2290 interconnect providers support adjusting the 14 bandwidth requirements between the various N 14 bandwidth requirements between the various NoC fabrics. 15 15 16 allOf: << 17 - $ref: qcom,rpm-common.yaml# << 18 << 19 properties: 16 properties: 20 reg: 17 reg: 21 maxItems: 1 18 maxItems: 1 22 19 23 compatible: 20 compatible: 24 enum: 21 enum: 25 - qcom,qcm2290-bimc 22 - qcom,qcm2290-bimc 26 - qcom,qcm2290-cnoc 23 - qcom,qcm2290-cnoc 27 - qcom,qcm2290-snoc 24 - qcom,qcm2290-snoc 28 25 >> 26 '#interconnect-cells': >> 27 const: 1 >> 28 >> 29 clock-names: >> 30 items: >> 31 - const: bus >> 32 - const: bus_a >> 33 >> 34 clocks: >> 35 items: >> 36 - description: Bus Clock >> 37 - description: Bus A Clock >> 38 29 # Child node's properties 39 # Child node's properties 30 patternProperties: 40 patternProperties: 31 '^interconnect-[a-z0-9]+$': 41 '^interconnect-[a-z0-9]+$': 32 type: object 42 type: object 33 description: 43 description: 34 The interconnect providers do not have a 44 The interconnect providers do not have a separate QoS register space, 35 but share parent's space. 45 but share parent's space. 36 46 37 allOf: << 38 - $ref: qcom,rpm-common.yaml# << 39 << 40 properties: 47 properties: 41 compatible: 48 compatible: 42 enum: 49 enum: 43 - qcom,qcm2290-qup-virt 50 - qcom,qcm2290-qup-virt 44 - qcom,qcm2290-mmrt-virt 51 - qcom,qcm2290-mmrt-virt 45 - qcom,qcm2290-mmnrt-virt 52 - qcom,qcm2290-mmnrt-virt 46 53 >> 54 '#interconnect-cells': >> 55 const: 1 >> 56 >> 57 clock-names: >> 58 items: >> 59 - const: bus >> 60 - const: bus_a >> 61 >> 62 clocks: >> 63 items: >> 64 - description: Bus Clock >> 65 - description: Bus A Clock >> 66 47 required: 67 required: 48 - compatible 68 - compatible >> 69 - '#interconnect-cells' >> 70 - clock-names >> 71 - clocks 49 72 50 unevaluatedProperties: false !! 73 additionalProperties: false 51 74 52 required: 75 required: 53 - compatible 76 - compatible 54 - reg 77 - reg >> 78 - '#interconnect-cells' >> 79 - clock-names >> 80 - clocks 55 81 56 unevaluatedProperties: false !! 82 additionalProperties: false 57 83 58 examples: 84 examples: 59 - | 85 - | 60 #include <dt-bindings/clock/qcom,rpmcc.h> 86 #include <dt-bindings/clock/qcom,rpmcc.h> 61 87 62 snoc: interconnect@1880000 { 88 snoc: interconnect@1880000 { 63 compatible = "qcom,qcm2290-snoc"; 89 compatible = "qcom,qcm2290-snoc"; 64 reg = <0x01880000 0x60200>; 90 reg = <0x01880000 0x60200>; 65 #interconnect-cells = <1>; 91 #interconnect-cells = <1>; >> 92 clock-names = "bus", "bus_a"; >> 93 clocks = <&rpmcc RPM_SMD_SNOC_CLK>, >> 94 <&rpmcc RPM_SMD_SNOC_A_CLK>; 66 95 67 qup_virt: interconnect-qup { 96 qup_virt: interconnect-qup { 68 compatible = "qcom,qcm2290-qup-vir 97 compatible = "qcom,qcm2290-qup-virt"; 69 #interconnect-cells = <1>; 98 #interconnect-cells = <1>; >> 99 clock-names = "bus", "bus_a"; >> 100 clocks = <&rpmcc RPM_SMD_QUP_CLK>, >> 101 <&rpmcc RPM_SMD_QUP_A_CLK>; 70 }; 102 }; 71 103 72 mmnrt_virt: interconnect-mmnrt { 104 mmnrt_virt: interconnect-mmnrt { 73 compatible = "qcom,qcm2290-mmnrt-v 105 compatible = "qcom,qcm2290-mmnrt-virt"; 74 #interconnect-cells = <1>; 106 #interconnect-cells = <1>; >> 107 clock-names = "bus", "bus_a"; >> 108 clocks = <&rpmcc RPM_SMD_MMNRT_CLK>, >> 109 <&rpmcc RPM_SMD_MMNRT_A_CLK>; 75 }; 110 }; 76 111 77 mmrt_virt: interconnect-mmrt { 112 mmrt_virt: interconnect-mmrt { 78 compatible = "qcom,qcm2290-mmrt-vi 113 compatible = "qcom,qcm2290-mmrt-virt"; 79 #interconnect-cells = <1>; 114 #interconnect-cells = <1>; >> 115 clock-names = "bus", "bus_a"; >> 116 clocks = <&rpmcc RPM_SMD_MMRT_CLK>, >> 117 <&rpmcc RPM_SMD_MMRT_A_CLK>; 80 }; 118 }; 81 }; 119 }; 82 120 83 cnoc: interconnect@1900000 { 121 cnoc: interconnect@1900000 { 84 compatible = "qcom,qcm2290-cnoc"; 122 compatible = "qcom,qcm2290-cnoc"; 85 reg = <0x01900000 0x8200>; 123 reg = <0x01900000 0x8200>; 86 #interconnect-cells = <1>; 124 #interconnect-cells = <1>; >> 125 clock-names = "bus", "bus_a"; >> 126 clocks = <&rpmcc RPM_SMD_CNOC_CLK>, >> 127 <&rpmcc RPM_SMD_CNOC_A_CLK>; 87 }; 128 }; 88 129 89 bimc: interconnect@4480000 { 130 bimc: interconnect@4480000 { 90 compatible = "qcom,qcm2290-bimc"; 131 compatible = "qcom,qcm2290-bimc"; 91 reg = <0x04480000 0x80000>; 132 reg = <0x04480000 0x80000>; 92 #interconnect-cells = <1>; 133 #interconnect-cells = <1>; >> 134 clock-names = "bus", "bus_a"; >> 135 clocks = <&rpmcc RPM_SMD_BIMC_CLK>, >> 136 <&rpmcc RPM_SMD_BIMC_A_CLK>; 93 }; 137 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.