1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2016 Fuzhou Rockchip Electron 3 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 #include <dt-bindings/pwm/pwm.h> 7 #include <dt-bindings/pwm/pwm.h> 8 #include "rk3399-base.dtsi" !! 8 #include "rk3399.dtsi" 9 9 10 / { 10 / { 11 model = "Rockchip RK3399 Evaluation Bo 11 model = "Rockchip RK3399 Evaluation Board"; 12 compatible = "rockchip,rk3399-evb", "r 12 compatible = "rockchip,rk3399-evb", "rockchip,rk3399"; 13 13 14 aliases { 14 aliases { 15 ethernet0 = &gmac; << 16 mmc0 = &sdhci; 15 mmc0 = &sdhci; 17 }; 16 }; 18 17 19 backlight: backlight { 18 backlight: backlight { 20 compatible = "pwm-backlight"; 19 compatible = "pwm-backlight"; 21 brightness-levels = < 20 brightness-levels = < 22 0 1 2 3 4 21 0 1 2 3 4 5 6 7 23 8 9 10 11 12 1 22 8 9 10 11 12 13 14 15 24 16 17 18 19 20 2 23 16 17 18 19 20 21 22 23 25 24 25 26 27 28 2 24 24 25 26 27 28 29 30 31 26 32 33 34 35 36 3 25 32 33 34 35 36 37 38 39 27 40 41 42 43 44 4 26 40 41 42 43 44 45 46 47 28 48 49 50 51 52 5 27 48 49 50 51 52 53 54 55 29 56 57 58 59 60 6 28 56 57 58 59 60 61 62 63 30 64 65 66 67 68 6 29 64 65 66 67 68 69 70 71 31 72 73 74 75 76 7 30 72 73 74 75 76 77 78 79 32 80 81 82 83 84 8 31 80 81 82 83 84 85 86 87 33 88 89 90 91 92 9 32 88 89 90 91 92 93 94 95 34 96 97 98 99 100 10 33 96 97 98 99 100 101 102 103 35 104 105 106 107 108 10 34 104 105 106 107 108 109 110 111 36 112 113 114 115 116 11 35 112 113 114 115 116 117 118 119 37 120 121 122 123 124 12 36 120 121 122 123 124 125 126 127 38 128 129 130 131 132 13 37 128 129 130 131 132 133 134 135 39 136 137 138 139 140 14 38 136 137 138 139 140 141 142 143 40 144 145 146 147 148 14 39 144 145 146 147 148 149 150 151 41 152 153 154 155 156 15 40 152 153 154 155 156 157 158 159 42 160 161 162 163 164 16 41 160 161 162 163 164 165 166 167 43 168 169 170 171 172 17 42 168 169 170 171 172 173 174 175 44 176 177 178 179 180 18 43 176 177 178 179 180 181 182 183 45 184 185 186 187 188 18 44 184 185 186 187 188 189 190 191 46 192 193 194 195 196 19 45 192 193 194 195 196 197 198 199 47 200 201 202 203 204 20 46 200 201 202 203 204 205 206 207 48 208 209 210 211 212 21 47 208 209 210 211 212 213 214 215 49 216 217 218 219 220 22 48 216 217 218 219 220 221 222 223 50 224 225 226 227 228 22 49 224 225 226 227 228 229 230 231 51 232 233 234 235 236 23 50 232 233 234 235 236 237 238 239 52 240 241 242 243 244 24 51 240 241 242 243 244 245 246 247 53 248 249 250 251 252 25 52 248 249 250 251 252 253 254 255>; 54 default-brightness-level = <20 53 default-brightness-level = <200>; 55 pwms = <&pwm0 0 25000 0>; 54 pwms = <&pwm0 0 25000 0>; 56 }; 55 }; 57 56 58 edp_panel: edp-panel { 57 edp_panel: edp-panel { 59 compatible = "lg,lp079qx1-sp0v 58 compatible = "lg,lp079qx1-sp0v"; 60 backlight = <&backlight>; 59 backlight = <&backlight>; 61 enable-gpios = <&gpio1 RK_PB5 60 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; 62 power-supply = <&vcc3v3_s0>; 61 power-supply = <&vcc3v3_s0>; 63 62 64 port { 63 port { 65 panel_in_edp: endpoint 64 panel_in_edp: endpoint { 66 remote-endpoin 65 remote-endpoint = <&edp_out_panel>; 67 }; 66 }; 68 }; 67 }; 69 }; 68 }; 70 69 71 clkin_gmac: external-gmac-clock { 70 clkin_gmac: external-gmac-clock { 72 compatible = "fixed-clock"; 71 compatible = "fixed-clock"; 73 clock-frequency = <125000000>; 72 clock-frequency = <125000000>; 74 clock-output-names = "clkin_gm 73 clock-output-names = "clkin_gmac"; 75 #clock-cells = <0>; 74 #clock-cells = <0>; 76 }; 75 }; 77 76 78 vdd_center: vdd-center { 77 vdd_center: vdd-center { 79 compatible = "pwm-regulator"; 78 compatible = "pwm-regulator"; 80 pwms = <&pwm3 0 25000 0>; 79 pwms = <&pwm3 0 25000 0>; 81 regulator-name = "vdd_center"; 80 regulator-name = "vdd_center"; 82 regulator-min-microvolt = <800 81 regulator-min-microvolt = <800000>; 83 regulator-max-microvolt = <140 82 regulator-max-microvolt = <1400000>; 84 regulator-always-on; 83 regulator-always-on; 85 regulator-boot-on; 84 regulator-boot-on; 86 status = "okay"; 85 status = "okay"; 87 }; 86 }; 88 87 89 vcc3v3_sys: vcc3v3-sys { 88 vcc3v3_sys: vcc3v3-sys { 90 compatible = "regulator-fixed" 89 compatible = "regulator-fixed"; 91 regulator-name = "vcc3v3_sys"; 90 regulator-name = "vcc3v3_sys"; 92 regulator-always-on; 91 regulator-always-on; 93 regulator-boot-on; 92 regulator-boot-on; 94 regulator-min-microvolt = <330 93 regulator-min-microvolt = <3300000>; 95 regulator-max-microvolt = <330 94 regulator-max-microvolt = <3300000>; 96 }; 95 }; 97 96 98 vcc5v0_sys: vcc5v0-sys { 97 vcc5v0_sys: vcc5v0-sys { 99 compatible = "regulator-fixed" 98 compatible = "regulator-fixed"; 100 regulator-name = "vcc5v0_sys"; 99 regulator-name = "vcc5v0_sys"; 101 regulator-always-on; 100 regulator-always-on; 102 regulator-boot-on; 101 regulator-boot-on; 103 regulator-min-microvolt = <500 102 regulator-min-microvolt = <5000000>; 104 regulator-max-microvolt = <500 103 regulator-max-microvolt = <5000000>; 105 }; 104 }; 106 105 107 vcc5v0_host: vcc5v0-host-regulator { 106 vcc5v0_host: vcc5v0-host-regulator { 108 compatible = "regulator-fixed" 107 compatible = "regulator-fixed"; 109 enable-active-high; 108 enable-active-high; 110 gpio = <&gpio4 RK_PD1 GPIO_ACT 109 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; 111 pinctrl-names = "default"; 110 pinctrl-names = "default"; 112 pinctrl-0 = <&vcc5v0_host_en>; 111 pinctrl-0 = <&vcc5v0_host_en>; 113 regulator-name = "vcc5v0_host" 112 regulator-name = "vcc5v0_host"; 114 vin-supply = <&vcc5v0_sys>; 113 vin-supply = <&vcc5v0_sys>; 115 }; 114 }; 116 115 117 vcc_phy: vcc-phy-regulator { 116 vcc_phy: vcc-phy-regulator { 118 compatible = "regulator-fixed" 117 compatible = "regulator-fixed"; 119 regulator-name = "vcc_phy"; 118 regulator-name = "vcc_phy"; 120 regulator-always-on; 119 regulator-always-on; 121 regulator-boot-on; 120 regulator-boot-on; 122 }; 121 }; 123 122 124 vcc_phy: vcc-phy-regulator { 123 vcc_phy: vcc-phy-regulator { 125 compatible = "regulator-fixed" 124 compatible = "regulator-fixed"; 126 regulator-name = "vcc_phy"; 125 regulator-name = "vcc_phy"; 127 regulator-always-on; 126 regulator-always-on; 128 regulator-boot-on; 127 regulator-boot-on; 129 }; 128 }; 130 129 131 }; 130 }; 132 131 133 &edp { 132 &edp { 134 status = "okay"; 133 status = "okay"; 135 force-hpd; 134 force-hpd; 136 135 137 ports { 136 ports { 138 edp_out: port@1 { 137 edp_out: port@1 { 139 reg = <1>; 138 reg = <1>; 140 #address-cells = <1>; 139 #address-cells = <1>; 141 #size-cells = <0>; 140 #size-cells = <0>; 142 141 143 edp_out_panel: endpoin 142 edp_out_panel: endpoint@0 { 144 reg = <0>; 143 reg = <0>; 145 remote-endpoin 144 remote-endpoint = <&panel_in_edp>; 146 }; 145 }; 147 }; 146 }; 148 }; 147 }; 149 }; 148 }; 150 149 151 &emmc_phy { 150 &emmc_phy { 152 status = "okay"; 151 status = "okay"; 153 }; 152 }; 154 153 155 &gmac { 154 &gmac { 156 assigned-clocks = <&cru SCLK_RMII_SRC> 155 assigned-clocks = <&cru SCLK_RMII_SRC>; 157 assigned-clock-parents = <&clkin_gmac> 156 assigned-clock-parents = <&clkin_gmac>; 158 clock_in_out = "input"; 157 clock_in_out = "input"; 159 phy-supply = <&vcc_phy>; 158 phy-supply = <&vcc_phy>; 160 phy-mode = "rgmii"; 159 phy-mode = "rgmii"; 161 pinctrl-names = "default"; 160 pinctrl-names = "default"; 162 pinctrl-0 = <&rgmii_pins>; 161 pinctrl-0 = <&rgmii_pins>; 163 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ 162 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; 164 snps,reset-active-low; 163 snps,reset-active-low; 165 snps,reset-delays-us = <0 10000 50000> 164 snps,reset-delays-us = <0 10000 50000>; 166 tx_delay = <0x28>; 165 tx_delay = <0x28>; 167 rx_delay = <0x11>; 166 rx_delay = <0x11>; 168 status = "okay"; 167 status = "okay"; 169 }; 168 }; 170 169 171 &i2c0 { 170 &i2c0 { 172 status = "okay"; 171 status = "okay"; 173 172 174 rk808: pmic@1b { 173 rk808: pmic@1b { 175 compatible = "rockchip,rk808"; 174 compatible = "rockchip,rk808"; 176 reg = <0x1b>; 175 reg = <0x1b>; 177 interrupt-parent = <&gpio1>; 176 interrupt-parent = <&gpio1>; 178 interrupts = <21 IRQ_TYPE_LEVE 177 interrupts = <21 IRQ_TYPE_LEVEL_LOW>; 179 pinctrl-names = "default"; 178 pinctrl-names = "default"; 180 pinctrl-0 = <&pmic_int_l>; 179 pinctrl-0 = <&pmic_int_l>; 181 rockchip,system-power-controll 180 rockchip,system-power-controller; 182 wakeup-source; 181 wakeup-source; 183 #clock-cells = <1>; 182 #clock-cells = <1>; 184 clock-output-names = "rk808-cl 183 clock-output-names = "rk808-clkout1", "rk808-clkout2"; 185 184 186 vcc1-supply = <&vcc3v3_sys>; 185 vcc1-supply = <&vcc3v3_sys>; 187 vcc2-supply = <&vcc3v3_sys>; 186 vcc2-supply = <&vcc3v3_sys>; 188 vcc3-supply = <&vcc3v3_sys>; 187 vcc3-supply = <&vcc3v3_sys>; 189 vcc4-supply = <&vcc3v3_sys>; 188 vcc4-supply = <&vcc3v3_sys>; 190 vcc6-supply = <&vcc3v3_sys>; 189 vcc6-supply = <&vcc3v3_sys>; 191 vcc7-supply = <&vcc3v3_sys>; 190 vcc7-supply = <&vcc3v3_sys>; 192 vcc8-supply = <&vcc3v3_sys>; 191 vcc8-supply = <&vcc3v3_sys>; 193 vcc9-supply = <&vcc3v3_sys>; 192 vcc9-supply = <&vcc3v3_sys>; 194 vcc10-supply = <&vcc3v3_sys>; 193 vcc10-supply = <&vcc3v3_sys>; 195 vcc11-supply = <&vcc3v3_sys>; 194 vcc11-supply = <&vcc3v3_sys>; 196 vcc12-supply = <&vcc3v3_sys>; 195 vcc12-supply = <&vcc3v3_sys>; 197 vddio-supply = <&vcc1v8_pmu>; 196 vddio-supply = <&vcc1v8_pmu>; 198 197 199 regulators { 198 regulators { 200 vdd_log: DCDC_REG1 { 199 vdd_log: DCDC_REG1 { 201 regulator-name 200 regulator-name = "vdd_log"; 202 regulator-min- 201 regulator-min-microvolt = <750000>; 203 regulator-max- 202 regulator-max-microvolt = <1350000>; 204 regulator-ramp 203 regulator-ramp-delay = <6001>; 205 regulator-alwa 204 regulator-always-on; 206 regulator-boot 205 regulator-boot-on; 207 regulator-stat 206 regulator-state-mem { 208 regula 207 regulator-on-in-suspend; 209 regula 208 regulator-suspend-microvolt = <900000>; 210 }; 209 }; 211 }; 210 }; 212 211 213 vdd_cpu_l: DCDC_REG2 { 212 vdd_cpu_l: DCDC_REG2 { 214 regulator-name 213 regulator-name = "vdd_cpu_l"; 215 regulator-min- 214 regulator-min-microvolt = <750000>; 216 regulator-max- 215 regulator-max-microvolt = <1350000>; 217 regulator-ramp 216 regulator-ramp-delay = <6001>; 218 regulator-alwa 217 regulator-always-on; 219 regulator-boot 218 regulator-boot-on; 220 regulator-stat 219 regulator-state-mem { 221 regula 220 regulator-off-in-suspend; 222 }; 221 }; 223 }; 222 }; 224 223 225 vcc_ddr: DCDC_REG3 { 224 vcc_ddr: DCDC_REG3 { 226 regulator-name 225 regulator-name = "vcc_ddr"; 227 regulator-alwa 226 regulator-always-on; 228 regulator-boot 227 regulator-boot-on; 229 regulator-stat 228 regulator-state-mem { 230 regula 229 regulator-on-in-suspend; 231 }; 230 }; 232 }; 231 }; 233 232 234 vcc_1v8: DCDC_REG4 { 233 vcc_1v8: DCDC_REG4 { 235 regulator-name 234 regulator-name = "vcc_1v8"; 236 regulator-min- 235 regulator-min-microvolt = <1800000>; 237 regulator-max- 236 regulator-max-microvolt = <1800000>; 238 regulator-alwa 237 regulator-always-on; 239 regulator-boot 238 regulator-boot-on; 240 regulator-stat 239 regulator-state-mem { 241 regula 240 regulator-on-in-suspend; 242 regula 241 regulator-suspend-microvolt = <1800000>; 243 }; 242 }; 244 }; 243 }; 245 244 246 vcc1v8_dvp: LDO_REG1 { 245 vcc1v8_dvp: LDO_REG1 { 247 regulator-name 246 regulator-name = "vcc1v8_dvp"; 248 regulator-min- 247 regulator-min-microvolt = <1800000>; 249 regulator-max- 248 regulator-max-microvolt = <1800000>; 250 regulator-alwa 249 regulator-always-on; 251 regulator-boot 250 regulator-boot-on; 252 regulator-stat 251 regulator-state-mem { 253 regula 252 regulator-off-in-suspend; 254 }; 253 }; 255 }; 254 }; 256 255 257 vcc3v0_tp: LDO_REG2 { 256 vcc3v0_tp: LDO_REG2 { 258 regulator-name 257 regulator-name = "vcc3v0_tp"; 259 regulator-min- 258 regulator-min-microvolt = <3000000>; 260 regulator-max- 259 regulator-max-microvolt = <3000000>; 261 regulator-alwa 260 regulator-always-on; 262 regulator-boot 261 regulator-boot-on; 263 regulator-stat 262 regulator-state-mem { 264 regula 263 regulator-off-in-suspend; 265 }; 264 }; 266 }; 265 }; 267 266 268 vcc1v8_pmu: LDO_REG3 { 267 vcc1v8_pmu: LDO_REG3 { 269 regulator-name 268 regulator-name = "vcc1v8_pmu"; 270 regulator-min- 269 regulator-min-microvolt = <1800000>; 271 regulator-max- 270 regulator-max-microvolt = <1800000>; 272 regulator-alwa 271 regulator-always-on; 273 regulator-boot 272 regulator-boot-on; 274 regulator-stat 273 regulator-state-mem { 275 regula 274 regulator-on-in-suspend; 276 regula 275 regulator-suspend-microvolt = <1800000>; 277 }; 276 }; 278 }; 277 }; 279 278 280 vcc_sd: LDO_REG4 { 279 vcc_sd: LDO_REG4 { 281 regulator-name 280 regulator-name = "vcc_sd"; 282 regulator-min- 281 regulator-min-microvolt = <1800000>; 283 regulator-max- 282 regulator-max-microvolt = <3000000>; 284 regulator-alwa 283 regulator-always-on; 285 regulator-boot 284 regulator-boot-on; 286 regulator-stat 285 regulator-state-mem { 287 regula 286 regulator-on-in-suspend; 288 regula 287 regulator-suspend-microvolt = <3000000>; 289 }; 288 }; 290 }; 289 }; 291 290 292 vcca3v0_codec: LDO_REG 291 vcca3v0_codec: LDO_REG5 { 293 regulator-name 292 regulator-name = "vcca3v0_codec"; 294 regulator-min- 293 regulator-min-microvolt = <3000000>; 295 regulator-max- 294 regulator-max-microvolt = <3000000>; 296 regulator-alwa 295 regulator-always-on; 297 regulator-boot 296 regulator-boot-on; 298 regulator-stat 297 regulator-state-mem { 299 regula 298 regulator-off-in-suspend; 300 }; 299 }; 301 }; 300 }; 302 301 303 vcc_1v5: LDO_REG6 { 302 vcc_1v5: LDO_REG6 { 304 regulator-name 303 regulator-name = "vcc_1v5"; 305 regulator-min- 304 regulator-min-microvolt = <1500000>; 306 regulator-max- 305 regulator-max-microvolt = <1500000>; 307 regulator-alwa 306 regulator-always-on; 308 regulator-boot 307 regulator-boot-on; 309 regulator-stat 308 regulator-state-mem { 310 regula 309 regulator-on-in-suspend; 311 regula 310 regulator-suspend-microvolt = <1500000>; 312 }; 311 }; 313 }; 312 }; 314 313 315 vcca1v8_codec: LDO_REG 314 vcca1v8_codec: LDO_REG7 { 316 regulator-name 315 regulator-name = "vcca1v8_codec"; 317 regulator-min- 316 regulator-min-microvolt = <1800000>; 318 regulator-max- 317 regulator-max-microvolt = <1800000>; 319 regulator-alwa 318 regulator-always-on; 320 regulator-boot 319 regulator-boot-on; 321 regulator-stat 320 regulator-state-mem { 322 regula 321 regulator-off-in-suspend; 323 }; 322 }; 324 }; 323 }; 325 324 326 vcc_3v0: LDO_REG8 { 325 vcc_3v0: LDO_REG8 { 327 regulator-name 326 regulator-name = "vcc_3v0"; 328 regulator-min- 327 regulator-min-microvolt = <3000000>; 329 regulator-max- 328 regulator-max-microvolt = <3000000>; 330 regulator-alwa 329 regulator-always-on; 331 regulator-boot 330 regulator-boot-on; 332 regulator-stat 331 regulator-state-mem { 333 regula 332 regulator-on-in-suspend; 334 regula 333 regulator-suspend-microvolt = <3000000>; 335 }; 334 }; 336 }; 335 }; 337 336 338 vcc3v3_s3: SWITCH_REG1 337 vcc3v3_s3: SWITCH_REG1 { 339 regulator-name 338 regulator-name = "vcc3v3_s3"; 340 regulator-alwa 339 regulator-always-on; 341 regulator-boot 340 regulator-boot-on; 342 regulator-stat 341 regulator-state-mem { 343 regula 342 regulator-on-in-suspend; 344 }; 343 }; 345 }; 344 }; 346 345 347 vcc3v3_s0: SWITCH_REG2 346 vcc3v3_s0: SWITCH_REG2 { 348 regulator-name 347 regulator-name = "vcc3v3_s0"; 349 regulator-alwa 348 regulator-always-on; 350 regulator-boot 349 regulator-boot-on; 351 regulator-stat 350 regulator-state-mem { 352 regula 351 regulator-off-in-suspend; 353 }; 352 }; 354 }; 353 }; 355 }; 354 }; 356 }; 355 }; 357 356 358 vdd_cpu_b: regulator@40 { 357 vdd_cpu_b: regulator@40 { 359 compatible = "silergy,syr827"; 358 compatible = "silergy,syr827"; 360 reg = <0x40>; 359 reg = <0x40>; 361 fcs,suspend-voltage-selector = 360 fcs,suspend-voltage-selector = <1>; 362 regulator-name = "vdd_cpu_b"; 361 regulator-name = "vdd_cpu_b"; 363 regulator-min-microvolt = <712 362 regulator-min-microvolt = <712500>; 364 regulator-max-microvolt = <150 363 regulator-max-microvolt = <1500000>; 365 regulator-ramp-delay = <1000>; 364 regulator-ramp-delay = <1000>; 366 regulator-always-on; 365 regulator-always-on; 367 regulator-boot-on; 366 regulator-boot-on; 368 vin-supply = <&vcc5v0_sys>; 367 vin-supply = <&vcc5v0_sys>; 369 368 370 regulator-state-mem { 369 regulator-state-mem { 371 regulator-off-in-suspe 370 regulator-off-in-suspend; 372 }; 371 }; 373 }; 372 }; 374 373 375 vdd_gpu: regulator@41 { 374 vdd_gpu: regulator@41 { 376 compatible = "silergy,syr828"; 375 compatible = "silergy,syr828"; 377 reg = <0x41>; 376 reg = <0x41>; 378 fcs,suspend-voltage-selector = 377 fcs,suspend-voltage-selector = <1>; 379 regulator-name = "vdd_gpu"; 378 regulator-name = "vdd_gpu"; 380 regulator-min-microvolt = <712 379 regulator-min-microvolt = <712500>; 381 regulator-max-microvolt = <150 380 regulator-max-microvolt = <1500000>; 382 regulator-ramp-delay = <1000>; 381 regulator-ramp-delay = <1000>; 383 regulator-always-on; 382 regulator-always-on; 384 regulator-boot-on; 383 regulator-boot-on; 385 vin-supply = <&vcc5v0_sys>; 384 vin-supply = <&vcc5v0_sys>; 386 385 387 regulator-state-mem { 386 regulator-state-mem { 388 regulator-off-in-suspe 387 regulator-off-in-suspend; 389 }; 388 }; 390 }; 389 }; 391 }; 390 }; 392 391 393 &pwm0 { 392 &pwm0 { 394 status = "okay"; 393 status = "okay"; 395 }; 394 }; 396 395 397 &pwm2 { 396 &pwm2 { 398 status = "okay"; 397 status = "okay"; 399 }; 398 }; 400 399 401 &pwm3 { 400 &pwm3 { 402 status = "okay"; 401 status = "okay"; 403 }; 402 }; 404 403 405 &sdhci { 404 &sdhci { 406 bus-width = <8>; 405 bus-width = <8>; 407 mmc-hs400-1_8v; 406 mmc-hs400-1_8v; 408 mmc-hs400-enhanced-strobe; 407 mmc-hs400-enhanced-strobe; 409 non-removable; 408 non-removable; 410 status = "okay"; 409 status = "okay"; 411 }; 410 }; 412 411 413 &pcie_phy { 412 &pcie_phy { 414 status = "disabled"; 413 status = "disabled"; 415 }; 414 }; 416 415 417 &pcie0 { 416 &pcie0 { 418 ep-gpios = <&gpio3 RK_PB5 GPIO_ACTIVE_ 417 ep-gpios = <&gpio3 RK_PB5 GPIO_ACTIVE_HIGH>; 419 num-lanes = <4>; 418 num-lanes = <4>; 420 pinctrl-names = "default"; 419 pinctrl-names = "default"; 421 pinctrl-0 = <&pcie_clkreqn_cpm>; 420 pinctrl-0 = <&pcie_clkreqn_cpm>; 422 status = "disabled"; 421 status = "disabled"; 423 }; 422 }; 424 423 425 &u2phy0 { 424 &u2phy0 { 426 status = "okay"; 425 status = "okay"; 427 }; 426 }; 428 427 429 &u2phy0_host { 428 &u2phy0_host { 430 phy-supply = <&vcc5v0_host>; 429 phy-supply = <&vcc5v0_host>; 431 status = "okay"; 430 status = "okay"; 432 }; 431 }; 433 432 434 &u2phy1 { 433 &u2phy1 { 435 status = "okay"; 434 status = "okay"; 436 }; 435 }; 437 436 438 &u2phy1_host { 437 &u2phy1_host { 439 phy-supply = <&vcc5v0_host>; 438 phy-supply = <&vcc5v0_host>; 440 status = "okay"; 439 status = "okay"; 441 }; 440 }; 442 441 443 &uart2 { 442 &uart2 { 444 status = "okay"; 443 status = "okay"; 445 }; 444 }; 446 445 447 &usb_host0_ehci { 446 &usb_host0_ehci { 448 status = "okay"; 447 status = "okay"; 449 }; 448 }; 450 449 451 &usb_host0_ohci { 450 &usb_host0_ohci { 452 status = "okay"; 451 status = "okay"; 453 }; 452 }; 454 453 455 &usb_host1_ehci { 454 &usb_host1_ehci { 456 status = "okay"; 455 status = "okay"; 457 }; 456 }; 458 457 459 &usb_host1_ohci { 458 &usb_host1_ohci { 460 status = "okay"; 459 status = "okay"; 461 }; 460 }; 462 461 463 &pinctrl { 462 &pinctrl { 464 pmic { 463 pmic { 465 pmic_int_l: pmic-int-l { 464 pmic_int_l: pmic-int-l { 466 rockchip,pins = 465 rockchip,pins = 467 <1 RK_PC5 RK_F 466 <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>; 468 }; 467 }; 469 }; 468 }; 470 469 471 usb2 { 470 usb2 { 472 vcc5v0_host_en: vcc5v0-host-en 471 vcc5v0_host_en: vcc5v0-host-en { 473 rockchip,pins = 472 rockchip,pins = 474 <4 RK_PD1 RK_F 473 <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; 475 }; 474 }; 476 }; 475 }; 477 }; 476 }; 478 477 479 &vopb { 478 &vopb { 480 status = "okay"; 479 status = "okay"; 481 }; 480 }; 482 481 483 &vopb_mmu { 482 &vopb_mmu { 484 status = "okay"; 483 status = "okay"; 485 }; 484 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.