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/soc/amlogic 4 $id: http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Amlogic Meson System Control registers 7 title: Amlogic Meson System Control registers 8 8 9 maintainers: 9 maintainers: 10 - Neil Armstrong <neil.armstrong@linaro.org> 10 - Neil Armstrong <neil.armstrong@linaro.org> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 items: 14 items: 15 - enum: 15 - enum: 16 - amlogic,meson-gx-hhi-sysctrl 16 - amlogic,meson-gx-hhi-sysctrl 17 - amlogic,meson-gx-ao-sysctrl 17 - amlogic,meson-gx-ao-sysctrl 18 - amlogic,meson-axg-hhi-sysctrl 18 - amlogic,meson-axg-hhi-sysctrl 19 - amlogic,meson-axg-ao-sysctrl 19 - amlogic,meson-axg-ao-sysctrl 20 - const: simple-mfd 20 - const: simple-mfd 21 - const: syscon 21 - const: syscon 22 22 23 reg: 23 reg: 24 maxItems: 1 24 maxItems: 1 25 25 26 clock-controller: 26 clock-controller: 27 type: object 27 type: object 28 28 29 power-controller: 29 power-controller: 30 $ref: /schemas/power/amlogic,meson-ee-pwrc 30 $ref: /schemas/power/amlogic,meson-ee-pwrc.yaml 31 31 32 pinctrl: 32 pinctrl: 33 type: object 33 type: object 34 34 35 phy: 35 phy: 36 type: object 36 type: object 37 37 38 allOf: 38 allOf: 39 - if: 39 - if: 40 properties: 40 properties: 41 compatible: 41 compatible: 42 enum: 42 enum: 43 - amlogic,meson-gx-hhi-sysctrl 43 - amlogic,meson-gx-hhi-sysctrl 44 - amlogic,meson-axg-hhi-sysctrl 44 - amlogic,meson-axg-hhi-sysctrl 45 then: 45 then: 46 properties: 46 properties: 47 clock-controller: 47 clock-controller: 48 $ref: /schemas/clock/amlogic,gxbb-cl 48 $ref: /schemas/clock/amlogic,gxbb-clkc.yaml# 49 49 50 required: 50 required: 51 - power-controller 51 - power-controller 52 52 53 - if: 53 - if: 54 properties: 54 properties: 55 compatible: 55 compatible: 56 enum: 56 enum: 57 - amlogic,meson-gx-ao-sysctrl 57 - amlogic,meson-gx-ao-sysctrl 58 - amlogic,meson-axg-ao-sysctrl 58 - amlogic,meson-axg-ao-sysctrl 59 then: 59 then: 60 properties: 60 properties: 61 clock-controller: 61 clock-controller: 62 $ref: /schemas/clock/amlogic,gxbb-ao 62 $ref: /schemas/clock/amlogic,gxbb-aoclkc.yaml# 63 63 64 power-controller: false 64 power-controller: false 65 phy: false 65 phy: false 66 66 67 - if: 67 - if: 68 properties: 68 properties: 69 compatible: 69 compatible: 70 enum: 70 enum: 71 - amlogic,meson-gx-hhi-sysctrl 71 - amlogic,meson-gx-hhi-sysctrl 72 then: 72 then: 73 properties: 73 properties: 74 phy: false 74 phy: false 75 75 76 - if: 76 - if: 77 properties: 77 properties: 78 compatible: 78 compatible: 79 enum: 79 enum: 80 - amlogic,meson-axg-hhi-sysctrl 80 - amlogic,meson-axg-hhi-sysctrl 81 then: 81 then: 82 properties: 82 properties: 83 phy: 83 phy: 84 oneOf: 84 oneOf: 85 - $ref: /schemas/phy/amlogic,g12a- 85 - $ref: /schemas/phy/amlogic,g12a-mipi-dphy-analog.yaml 86 - $ref: /schemas/phy/amlogic,meson 86 - $ref: /schemas/phy/amlogic,meson-axg-mipi-pcie-analog.yaml 87 87 88 required: 88 required: 89 - compatible 89 - compatible 90 - reg 90 - reg 91 - clock-controller 91 - clock-controller 92 92 93 additionalProperties: false 93 additionalProperties: false 94 94 95 examples: 95 examples: 96 - | 96 - | 97 bus@c883c000 { 97 bus@c883c000 { 98 compatible = "simple-bus"; 98 compatible = "simple-bus"; 99 reg = <0xc883c000 0x2000>; 99 reg = <0xc883c000 0x2000>; 100 #address-cells = <1>; 100 #address-cells = <1>; 101 #size-cells = <1>; 101 #size-cells = <1>; 102 ranges = <0x0 0xc883c000 0x2000>; 102 ranges = <0x0 0xc883c000 0x2000>; 103 103 104 sysctrl: system-controller@0 { 104 sysctrl: system-controller@0 { 105 compatible = "amlogic,meson-gx-hhi 105 compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon"; 106 reg = <0 0x400>; 106 reg = <0 0x400>; 107 107 108 clock-controller { 108 clock-controller { 109 compatible = "amlogic,gxbb-clk 109 compatible = "amlogic,gxbb-clkc"; 110 #clock-cells = <1>; 110 #clock-cells = <1>; 111 clocks = <&xtal>; 111 clocks = <&xtal>; 112 clock-names = "xtal"; 112 clock-names = "xtal"; 113 }; 113 }; 114 114 115 power-controller { 115 power-controller { 116 compatible = "amlogic,meson-gx 116 compatible = "amlogic,meson-gxbb-pwrc"; 117 #power-domain-cells = <1>; 117 #power-domain-cells = <1>; 118 amlogic,ao-sysctrl = <&sysctrl 118 amlogic,ao-sysctrl = <&sysctrl_AO>; 119 119 120 resets = <&reset_viu>, 120 resets = <&reset_viu>, 121 <&reset_venc>, 121 <&reset_venc>, 122 <&reset_vcbus>, 122 <&reset_vcbus>, 123 <&reset_bt656>, 123 <&reset_bt656>, 124 <&reset_dvin>, 124 <&reset_dvin>, 125 <&reset_rdma>, 125 <&reset_rdma>, 126 <&reset_venci>, 126 <&reset_venci>, 127 <&reset_vencp>, 127 <&reset_vencp>, 128 <&reset_vdac>, 128 <&reset_vdac>, 129 <&reset_vdi6>, 129 <&reset_vdi6>, 130 <&reset_vencl>, 130 <&reset_vencl>, 131 <&reset_vid_lock>; 131 <&reset_vid_lock>; 132 reset-names = "viu", "venc", " 132 reset-names = "viu", "venc", "vcbus", "bt656", "dvin", 133 "rdma", "venci", 133 "rdma", "venci", "vencp", "vdac", "vdi6", 134 "vencl", "vid_lo 134 "vencl", "vid_lock"; 135 clocks = <&clk_vpu>, <&clk_vap 135 clocks = <&clk_vpu>, <&clk_vapb>; 136 clock-names = "vpu", "vapb"; 136 clock-names = "vpu", "vapb"; 137 }; 137 }; 138 }; 138 }; 139 }; 139 }; 140 140 141 bus@c8100000 { 141 bus@c8100000 { 142 compatible = "simple-bus"; 142 compatible = "simple-bus"; 143 reg = <0xc8100000 0x100000>; 143 reg = <0xc8100000 0x100000>; 144 #address-cells = <1>; 144 #address-cells = <1>; 145 #size-cells = <1>; 145 #size-cells = <1>; 146 ranges = <0x0 0xc8100000 0x100000>; 146 ranges = <0x0 0xc8100000 0x100000>; 147 147 148 sysctrl_AO: system-controller@0 { 148 sysctrl_AO: system-controller@0 { 149 compatible = "amlogic,meson-gx-ao- 149 compatible = "amlogic,meson-gx-ao-sysctrl", "simple-mfd", "syscon"; 150 reg = <0 0x100>; 150 reg = <0 0x100>; 151 151 152 clock-controller { 152 clock-controller { 153 compatible = "amlogic,meson-gx 153 compatible = "amlogic,meson-gxbb-aoclkc", "amlogic,meson-gx-aoclkc"; 154 #clock-cells = <1>; 154 #clock-cells = <1>; 155 #reset-cells = <1>; 155 #reset-cells = <1>; 156 clocks = <&xtal>, <&clk81>; 156 clocks = <&xtal>, <&clk81>; 157 clock-names = "xtal", "mpeg-cl 157 clock-names = "xtal", "mpeg-clk"; 158 }; 158 }; 159 }; 159 }; 160 }; 160 }; 161 161 162 - | 162 - | 163 system-controller@ff63c000 { 163 system-controller@ff63c000 { 164 compatible = "amlogic,meson-axg-hhi-sy 164 compatible = "amlogic,meson-axg-hhi-sysctrl", "simple-mfd", "syscon"; 165 reg = <0xff63c000 0x400>; 165 reg = <0xff63c000 0x400>; 166 166 167 clock-controller { 167 clock-controller { 168 compatible = "amlogic,axg-clkc"; 168 compatible = "amlogic,axg-clkc"; 169 #clock-cells = <1>; 169 #clock-cells = <1>; 170 clocks = <&xtal>; 170 clocks = <&xtal>; 171 clock-names = "xtal"; 171 clock-names = "xtal"; 172 }; 172 }; 173 173 174 power-controller { 174 power-controller { 175 compatible = "amlogic,meson-axg-pwr 175 compatible = "amlogic,meson-axg-pwrc"; 176 #power-domain-cells = <1>; 176 #power-domain-cells = <1>; 177 amlogic,ao-sysctrl = <&sysctrl_AO>; 177 amlogic,ao-sysctrl = <&sysctrl_AO>; 178 178 179 resets = <&reset_viu>, 179 resets = <&reset_viu>, 180 <&reset_venc>, 180 <&reset_venc>, 181 <&reset_vcbus>, 181 <&reset_vcbus>, 182 <&reset_vencl>, 182 <&reset_vencl>, 183 <&reset_vid_lock>; 183 <&reset_vid_lock>; 184 reset-names = "viu", "venc", "vcbus 184 reset-names = "viu", "venc", "vcbus", "vencl", "vid_lock"; 185 clocks = <&clk_vpu>, <&clk_vapb>; 185 clocks = <&clk_vpu>, <&clk_vapb>; 186 clock-names = "vpu", "vapb"; 186 clock-names = "vpu", "vapb"; 187 }; 187 }; 188 188 189 phy { 189 phy { 190 compatible = "amlogic,axg-mipi-pcie 190 compatible = "amlogic,axg-mipi-pcie-analog-phy"; 191 #phy-cells = <0>; 191 #phy-cells = <0>; 192 }; 192 }; 193 }; 193 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.