1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 2 3 /dts-v1/; 3 /dts-v1/; 4 4 5 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 8 #include "rk3566.dtsi" 8 #include "rk3566.dtsi" 9 9 10 / { 10 / { 11 model = "Pine64 Quartz64 Model A"; !! 11 model = "Pine64 RK3566 Quartz64-A Board"; 12 compatible = "pine64,quartz64-a", "roc 12 compatible = "pine64,quartz64-a", "rockchip,rk3566"; 13 13 14 aliases { 14 aliases { 15 ethernet0 = &gmac1; 15 ethernet0 = &gmac1; 16 mmc0 = &sdmmc0; 16 mmc0 = &sdmmc0; 17 mmc1 = &sdhci; 17 mmc1 = &sdhci; 18 }; 18 }; 19 19 20 chosen: chosen { 20 chosen: chosen { 21 stdout-path = "serial2:1500000 21 stdout-path = "serial2:1500000n8"; 22 }; 22 }; 23 23 24 gmac1_clkin: external-gmac1-clock { 24 gmac1_clkin: external-gmac1-clock { 25 compatible = "fixed-clock"; 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; 26 clock-frequency = <125000000>; 27 clock-output-names = "gmac1_cl 27 clock-output-names = "gmac1_clkin"; 28 #clock-cells = <0>; 28 #clock-cells = <0>; 29 }; 29 }; 30 30 31 fan: gpio_fan { 31 fan: gpio_fan { 32 compatible = "gpio-fan"; 32 compatible = "gpio-fan"; 33 gpios = <&gpio0 RK_PD5 GPIO_AC 33 gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; 34 gpio-fan,speed-map = !! 34 gpio-fan,speed-map = <0 0 35 < 0 0>, !! 35 4500 1>; 36 <4500 1>; << 37 pinctrl-names = "default"; 36 pinctrl-names = "default"; 38 pinctrl-0 = <&fan_en_h>; 37 pinctrl-0 = <&fan_en_h>; 39 #cooling-cells = <2>; 38 #cooling-cells = <2>; 40 }; 39 }; 41 40 42 hdmi-con { 41 hdmi-con { 43 compatible = "hdmi-connector"; 42 compatible = "hdmi-connector"; 44 type = "a"; 43 type = "a"; 45 44 46 port { 45 port { 47 hdmi_con_in: endpoint 46 hdmi_con_in: endpoint { 48 remote-endpoin 47 remote-endpoint = <&hdmi_out_con>; 49 }; 48 }; 50 }; 49 }; 51 }; 50 }; 52 51 53 leds { 52 leds { 54 compatible = "gpio-leds"; 53 compatible = "gpio-leds"; 55 54 56 led-work { 55 led-work { 57 label = "work-led"; 56 label = "work-led"; 58 default-state = "off"; 57 default-state = "off"; 59 gpios = <&gpio0 RK_PD3 58 gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>; 60 pinctrl-names = "defau 59 pinctrl-names = "default"; 61 pinctrl-0 = <&work_led 60 pinctrl-0 = <&work_led_enable_h>; 62 retain-state-suspended 61 retain-state-suspended; 63 }; 62 }; 64 63 65 led-diy { 64 led-diy { 66 label = "diy-led"; 65 label = "diy-led"; 67 default-state = "on"; 66 default-state = "on"; 68 gpios = <&gpio0 RK_PD4 67 gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; 69 linux,default-trigger 68 linux,default-trigger = "heartbeat"; 70 pinctrl-names = "defau 69 pinctrl-names = "default"; 71 pinctrl-0 = <&diy_led_ 70 pinctrl-0 = <&diy_led_enable_h>; 72 retain-state-suspended 71 retain-state-suspended; 73 }; 72 }; 74 }; 73 }; 75 74 76 rk817-sound { 75 rk817-sound { 77 compatible = "simple-audio-car 76 compatible = "simple-audio-card"; 78 simple-audio-card,format = "i2 77 simple-audio-card,format = "i2s"; 79 simple-audio-card,name = "Anal 78 simple-audio-card,name = "Analog RK817"; 80 simple-audio-card,mclk-fs = <2 79 simple-audio-card,mclk-fs = <256>; 81 80 82 simple-audio-card,cpu { 81 simple-audio-card,cpu { 83 sound-dai = <&i2s1_8ch 82 sound-dai = <&i2s1_8ch>; 84 }; 83 }; 85 84 86 simple-audio-card,codec { 85 simple-audio-card,codec { 87 sound-dai = <&rk817>; 86 sound-dai = <&rk817>; 88 }; 87 }; 89 }; 88 }; 90 89 91 sdio_pwrseq: sdio-pwrseq { 90 sdio_pwrseq: sdio-pwrseq { 92 compatible = "mmc-pwrseq-simpl 91 compatible = "mmc-pwrseq-simple"; 93 clocks = <&rk817 1>; 92 clocks = <&rk817 1>; 94 clock-names = "ext_clock"; 93 clock-names = "ext_clock"; 95 pinctrl-names = "default"; 94 pinctrl-names = "default"; 96 pinctrl-0 = <&wifi_enable_h>; 95 pinctrl-0 = <&wifi_enable_h>; 97 post-power-on-delay-ms = <100> 96 post-power-on-delay-ms = <100>; 98 power-off-delay-us = <5000000> 97 power-off-delay-us = <5000000>; 99 reset-gpios = <&gpio2 RK_PC2 G 98 reset-gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_LOW>; 100 }; 99 }; 101 100 102 spdif_dit: spdif-dit { 101 spdif_dit: spdif-dit { 103 compatible = "linux,spdif-dit" 102 compatible = "linux,spdif-dit"; 104 #sound-dai-cells = <0>; 103 #sound-dai-cells = <0>; 105 }; 104 }; 106 105 107 spdif_sound: spdif-sound { 106 spdif_sound: spdif-sound { 108 compatible = "simple-audio-car 107 compatible = "simple-audio-card"; 109 simple-audio-card,name = "SPDI 108 simple-audio-card,name = "SPDIF"; 110 109 111 simple-audio-card,cpu { 110 simple-audio-card,cpu { 112 sound-dai = <&spdif>; 111 sound-dai = <&spdif>; 113 }; 112 }; 114 113 115 simple-audio-card,codec { 114 simple-audio-card,codec { 116 sound-dai = <&spdif_di 115 sound-dai = <&spdif_dit>; 117 }; 116 }; 118 }; 117 }; 119 118 120 vcc12v_dcin: vcc12v_dcin { 119 vcc12v_dcin: vcc12v_dcin { 121 compatible = "regulator-fixed" 120 compatible = "regulator-fixed"; 122 regulator-name = "vcc12v_dcin" 121 regulator-name = "vcc12v_dcin"; 123 regulator-always-on; 122 regulator-always-on; 124 regulator-boot-on; 123 regulator-boot-on; 125 regulator-min-microvolt = <120 124 regulator-min-microvolt = <12000000>; 126 regulator-max-microvolt = <120 125 regulator-max-microvolt = <12000000>; 127 }; 126 }; 128 127 129 /* vbus feeds the rk817 usb input. 128 /* vbus feeds the rk817 usb input. 130 * With no battery attached, also feed 129 * With no battery attached, also feeds vcc_bat+ 131 * via ON/OFF_BAT jumper 130 * via ON/OFF_BAT jumper 132 */ 131 */ 133 vbus: vbus { 132 vbus: vbus { 134 compatible = "regulator-fixed" 133 compatible = "regulator-fixed"; 135 regulator-name = "vbus"; 134 regulator-name = "vbus"; 136 regulator-always-on; 135 regulator-always-on; 137 regulator-boot-on; 136 regulator-boot-on; 138 regulator-min-microvolt = <500 137 regulator-min-microvolt = <5000000>; 139 regulator-max-microvolt = <500 138 regulator-max-microvolt = <5000000>; 140 vin-supply = <&vcc12v_dcin>; 139 vin-supply = <&vcc12v_dcin>; 141 }; 140 }; 142 141 143 vcc3v3_pcie_p: vcc3v3-pcie-p-regulator 142 vcc3v3_pcie_p: vcc3v3-pcie-p-regulator { 144 compatible = "regulator-fixed" 143 compatible = "regulator-fixed"; 145 enable-active-high; 144 enable-active-high; 146 gpio = <&gpio0 RK_PC6 GPIO_ACT 145 gpio = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; 147 pinctrl-names = "default"; 146 pinctrl-names = "default"; 148 pinctrl-0 = <&pcie_enable_h>; 147 pinctrl-0 = <&pcie_enable_h>; 149 regulator-name = "vcc3v3_pcie_ 148 regulator-name = "vcc3v3_pcie_p"; 150 regulator-min-microvolt = <330 149 regulator-min-microvolt = <3300000>; 151 regulator-max-microvolt = <330 150 regulator-max-microvolt = <3300000>; 152 vin-supply = <&vcc_3v3>; 151 vin-supply = <&vcc_3v3>; 153 }; 152 }; 154 153 155 vcc5v0_usb: vcc5v0_usb { 154 vcc5v0_usb: vcc5v0_usb { 156 compatible = "regulator-fixed" 155 compatible = "regulator-fixed"; 157 regulator-name = "vcc5v0_usb"; 156 regulator-name = "vcc5v0_usb"; 158 regulator-always-on; 157 regulator-always-on; 159 regulator-boot-on; 158 regulator-boot-on; 160 regulator-min-microvolt = <500 159 regulator-min-microvolt = <5000000>; 161 regulator-max-microvolt = <500 160 regulator-max-microvolt = <5000000>; 162 vin-supply = <&vcc12v_dcin>; 161 vin-supply = <&vcc12v_dcin>; 163 }; 162 }; 164 163 165 /* all four ports are controlled by on 164 /* all four ports are controlled by one gpio 166 * the host ports are sourced from vcc 165 * the host ports are sourced from vcc5v0_usb 167 * the otg port is sourced from vcc5v0 166 * the otg port is sourced from vcc5v0_midu 168 */ 167 */ 169 vcc5v0_usb20_host: vcc5v0_usb20_host { 168 vcc5v0_usb20_host: vcc5v0_usb20_host { 170 compatible = "regulator-fixed" 169 compatible = "regulator-fixed"; 171 enable-active-high; 170 enable-active-high; 172 gpio = <&gpio4 RK_PB5 GPIO_ACT 171 gpio = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; 173 pinctrl-names = "default"; 172 pinctrl-names = "default"; 174 pinctrl-0 = <&vcc5v0_usb20_hos 173 pinctrl-0 = <&vcc5v0_usb20_host_en>; 175 regulator-name = "vcc5v0_usb20 174 regulator-name = "vcc5v0_usb20_host"; 176 regulator-min-microvolt = <500 175 regulator-min-microvolt = <5000000>; 177 regulator-max-microvolt = <500 176 regulator-max-microvolt = <5000000>; 178 vin-supply = <&vcc5v0_usb>; 177 vin-supply = <&vcc5v0_usb>; 179 }; 178 }; 180 179 181 vcc5v0_usb20_otg: vcc5v0_usb20_otg { 180 vcc5v0_usb20_otg: vcc5v0_usb20_otg { 182 compatible = "regulator-fixed" 181 compatible = "regulator-fixed"; 183 enable-active-high; 182 enable-active-high; 184 gpio = <&gpio4 RK_PB5 GPIO_ACT 183 gpio = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; 185 regulator-name = "vcc5v0_usb20 184 regulator-name = "vcc5v0_usb20_otg"; 186 regulator-min-microvolt = <500 185 regulator-min-microvolt = <5000000>; 187 regulator-max-microvolt = <500 186 regulator-max-microvolt = <5000000>; 188 vin-supply = <&dcdc_boost>; 187 vin-supply = <&dcdc_boost>; 189 }; 188 }; 190 189 191 vcc3v3_sd: vcc3v3_sd { 190 vcc3v3_sd: vcc3v3_sd { 192 compatible = "regulator-fixed" 191 compatible = "regulator-fixed"; 193 gpio = <&gpio0 RK_PA5 GPIO_ACT 192 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; 194 pinctrl-names = "default"; 193 pinctrl-names = "default"; 195 pinctrl-0 = <&vcc_sd_h>; 194 pinctrl-0 = <&vcc_sd_h>; 196 regulator-boot-on; 195 regulator-boot-on; 197 regulator-name = "vcc3v3_sd"; 196 regulator-name = "vcc3v3_sd"; 198 regulator-min-microvolt = <330 197 regulator-min-microvolt = <3300000>; 199 regulator-max-microvolt = <330 198 regulator-max-microvolt = <3300000>; 200 vin-supply = <&vcc_3v3>; 199 vin-supply = <&vcc_3v3>; 201 }; 200 }; 202 201 203 /* sourced from vbus and vcc_bat+ via 202 /* sourced from vbus and vcc_bat+ via rk817 sw5 */ 204 vcc_sys: vcc_sys { 203 vcc_sys: vcc_sys { 205 compatible = "regulator-fixed" 204 compatible = "regulator-fixed"; 206 regulator-name = "vcc_sys"; 205 regulator-name = "vcc_sys"; 207 regulator-always-on; 206 regulator-always-on; 208 regulator-boot-on; 207 regulator-boot-on; 209 regulator-min-microvolt = <440 208 regulator-min-microvolt = <4400000>; 210 regulator-max-microvolt = <440 209 regulator-max-microvolt = <4400000>; 211 vin-supply = <&vbus>; 210 vin-supply = <&vbus>; 212 }; 211 }; 213 212 214 /* sourced from vcc_sys, sdio module o 213 /* sourced from vcc_sys, sdio module operates internally at 3.3v */ 215 vcc_wl: vcc_wl { 214 vcc_wl: vcc_wl { 216 compatible = "regulator-fixed" 215 compatible = "regulator-fixed"; 217 regulator-name = "vcc_wl"; 216 regulator-name = "vcc_wl"; 218 regulator-always-on; 217 regulator-always-on; 219 regulator-boot-on; 218 regulator-boot-on; 220 regulator-min-microvolt = <330 219 regulator-min-microvolt = <3300000>; 221 regulator-max-microvolt = <330 220 regulator-max-microvolt = <3300000>; 222 vin-supply = <&vcc_sys>; 221 vin-supply = <&vcc_sys>; 223 }; 222 }; 224 }; 223 }; 225 224 226 &combphy1 { 225 &combphy1 { 227 status = "okay"; 226 status = "okay"; 228 }; 227 }; 229 228 230 &combphy2 { 229 &combphy2 { 231 status = "okay"; 230 status = "okay"; 232 }; 231 }; 233 232 234 &cpu0 { 233 &cpu0 { 235 cpu-supply = <&vdd_cpu>; 234 cpu-supply = <&vdd_cpu>; 236 }; 235 }; 237 236 238 &cpu1 { 237 &cpu1 { 239 cpu-supply = <&vdd_cpu>; 238 cpu-supply = <&vdd_cpu>; 240 }; 239 }; 241 240 242 &cpu2 { 241 &cpu2 { 243 cpu-supply = <&vdd_cpu>; 242 cpu-supply = <&vdd_cpu>; 244 }; 243 }; 245 244 246 &cpu3 { 245 &cpu3 { 247 cpu-supply = <&vdd_cpu>; 246 cpu-supply = <&vdd_cpu>; 248 }; 247 }; 249 248 250 &cpu_thermal { 249 &cpu_thermal { 251 trips { 250 trips { 252 cpu_hot: cpu_hot { 251 cpu_hot: cpu_hot { 253 temperature = <55000>; 252 temperature = <55000>; 254 hysteresis = <2000>; 253 hysteresis = <2000>; 255 type = "active"; 254 type = "active"; 256 }; 255 }; 257 }; 256 }; 258 257 259 cooling-maps { 258 cooling-maps { 260 map1 { 259 map1 { 261 trip = <&cpu_hot>; 260 trip = <&cpu_hot>; 262 cooling-device = <&fan 261 cooling-device = <&fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 263 }; 262 }; 264 }; 263 }; 265 }; 264 }; 266 265 267 &gmac1 { 266 &gmac1 { 268 assigned-clocks = <&cru SCLK_GMAC1_RX_ 267 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>; 269 assigned-clock-parents = <&cru SCLK_GM 268 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>; 270 clock_in_out = "input"; 269 clock_in_out = "input"; 271 phy-supply = <&vcc_3v3>; 270 phy-supply = <&vcc_3v3>; 272 phy-mode = "rgmii"; 271 phy-mode = "rgmii"; 273 pinctrl-names = "default"; 272 pinctrl-names = "default"; 274 pinctrl-0 = <&gmac1m0_miim 273 pinctrl-0 = <&gmac1m0_miim 275 &gmac1m0_tx_bus2 274 &gmac1m0_tx_bus2 276 &gmac1m0_rx_bus2 275 &gmac1m0_rx_bus2 277 &gmac1m0_rgmii_clk 276 &gmac1m0_rgmii_clk 278 &gmac1m0_clkinout 277 &gmac1m0_clkinout 279 &gmac1m0_rgmii_bus>; 278 &gmac1m0_rgmii_bus>; 280 snps,reset-gpio = <&gpio0 RK_PC3 GPIO_ 279 snps,reset-gpio = <&gpio0 RK_PC3 GPIO_ACTIVE_LOW>; 281 snps,reset-active-low; 280 snps,reset-active-low; 282 /* Reset time is 20ms, 100ms for rtl82 281 /* Reset time is 20ms, 100ms for rtl8211f */ 283 snps,reset-delays-us = <0 20000 100000 282 snps,reset-delays-us = <0 20000 100000>; 284 tx_delay = <0x30>; 283 tx_delay = <0x30>; 285 rx_delay = <0x10>; 284 rx_delay = <0x10>; 286 phy-handle = <&rgmii_phy1>; 285 phy-handle = <&rgmii_phy1>; 287 status = "okay"; 286 status = "okay"; 288 }; 287 }; 289 288 290 &gpu { 289 &gpu { 291 mali-supply = <&vdd_gpu>; 290 mali-supply = <&vdd_gpu>; 292 status = "okay"; 291 status = "okay"; 293 }; 292 }; 294 293 295 &hdmi { 294 &hdmi { 296 avdd-0v9-supply = <&vdda_0v9>; 295 avdd-0v9-supply = <&vdda_0v9>; 297 avdd-1v8-supply = <&vcc_1v8>; 296 avdd-1v8-supply = <&vcc_1v8>; 298 status = "okay"; 297 status = "okay"; 299 }; 298 }; 300 299 301 &hdmi_in { 300 &hdmi_in { 302 hdmi_in_vp0: endpoint { 301 hdmi_in_vp0: endpoint { 303 remote-endpoint = <&vp0_out_hd 302 remote-endpoint = <&vp0_out_hdmi>; 304 }; 303 }; 305 }; 304 }; 306 305 307 &hdmi_out { 306 &hdmi_out { 308 hdmi_out_con: endpoint { 307 hdmi_out_con: endpoint { 309 remote-endpoint = <&hdmi_con_i 308 remote-endpoint = <&hdmi_con_in>; 310 }; 309 }; 311 }; 310 }; 312 311 313 &hdmi_sound { 312 &hdmi_sound { 314 status = "okay"; 313 status = "okay"; 315 }; 314 }; 316 315 317 &i2c0 { 316 &i2c0 { 318 status = "okay"; 317 status = "okay"; 319 318 320 vdd_cpu: regulator@1c { 319 vdd_cpu: regulator@1c { 321 compatible = "tcs,tcs4525"; 320 compatible = "tcs,tcs4525"; 322 reg = <0x1c>; 321 reg = <0x1c>; 323 fcs,suspend-voltage-selector = 322 fcs,suspend-voltage-selector = <1>; 324 regulator-name = "vdd_cpu"; 323 regulator-name = "vdd_cpu"; 325 regulator-min-microvolt = <800 324 regulator-min-microvolt = <800000>; 326 regulator-max-microvolt = <115 325 regulator-max-microvolt = <1150000>; 327 regulator-ramp-delay = <2300>; 326 regulator-ramp-delay = <2300>; 328 regulator-always-on; 327 regulator-always-on; 329 regulator-boot-on; 328 regulator-boot-on; 330 vin-supply = <&vcc_sys>; 329 vin-supply = <&vcc_sys>; 331 330 332 regulator-state-mem { 331 regulator-state-mem { 333 regulator-off-in-suspe 332 regulator-off-in-suspend; 334 }; 333 }; 335 }; 334 }; 336 335 337 rk817: pmic@20 { 336 rk817: pmic@20 { 338 compatible = "rockchip,rk817"; 337 compatible = "rockchip,rk817"; 339 reg = <0x20>; 338 reg = <0x20>; 340 interrupt-parent = <&gpio0>; 339 interrupt-parent = <&gpio0>; 341 interrupts = <RK_PA3 IRQ_TYPE_ 340 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>; 342 assigned-clocks = <&cru I2S1_M 341 assigned-clocks = <&cru I2S1_MCLKOUT_TX>; 343 assigned-clock-parents = <&cru 342 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>; 344 clock-names = "mclk"; 343 clock-names = "mclk"; 345 clocks = <&cru I2S1_MCLKOUT_TX 344 clocks = <&cru I2S1_MCLKOUT_TX>; 346 clock-output-names = "rk808-cl 345 clock-output-names = "rk808-clkout1", "rk808-clkout2"; 347 #clock-cells = <1>; 346 #clock-cells = <1>; 348 pinctrl-names = "default"; 347 pinctrl-names = "default"; 349 pinctrl-0 = <&pmic_int_l>, <&i 348 pinctrl-0 = <&pmic_int_l>, <&i2s1m0_mclk>; 350 rockchip,system-power-controll 349 rockchip,system-power-controller; 351 #sound-dai-cells = <0>; 350 #sound-dai-cells = <0>; 352 wakeup-source; 351 wakeup-source; 353 352 354 vcc1-supply = <&vcc_sys>; 353 vcc1-supply = <&vcc_sys>; 355 vcc2-supply = <&vcc_sys>; 354 vcc2-supply = <&vcc_sys>; 356 vcc3-supply = <&vcc_sys>; 355 vcc3-supply = <&vcc_sys>; 357 vcc4-supply = <&vcc_sys>; 356 vcc4-supply = <&vcc_sys>; 358 vcc5-supply = <&vcc_sys>; 357 vcc5-supply = <&vcc_sys>; 359 vcc6-supply = <&vcc_sys>; 358 vcc6-supply = <&vcc_sys>; 360 vcc7-supply = <&vcc_sys>; 359 vcc7-supply = <&vcc_sys>; 361 vcc8-supply = <&vcc_sys>; 360 vcc8-supply = <&vcc_sys>; 362 vcc9-supply = <&dcdc_boost>; 361 vcc9-supply = <&dcdc_boost>; 363 362 364 regulators { 363 regulators { 365 vdd_logic: DCDC_REG1 { 364 vdd_logic: DCDC_REG1 { 366 regulator-alwa 365 regulator-always-on; 367 regulator-boot 366 regulator-boot-on; 368 regulator-min- 367 regulator-min-microvolt = <500000>; 369 regulator-max- 368 regulator-max-microvolt = <1350000>; 370 regulator-ramp 369 regulator-ramp-delay = <6001>; 371 regulator-init 370 regulator-initial-mode = <0x2>; 372 regulator-name 371 regulator-name = "vdd_logic"; 373 regulator-stat 372 regulator-state-mem { 374 regula 373 regulator-on-in-suspend; 375 regula 374 regulator-suspend-microvolt = <900000>; 376 }; 375 }; 377 }; 376 }; 378 377 379 vdd_gpu: DCDC_REG2 { 378 vdd_gpu: DCDC_REG2 { 380 regulator-alwa 379 regulator-always-on; 381 regulator-boot 380 regulator-boot-on; 382 regulator-min- 381 regulator-min-microvolt = <500000>; 383 regulator-max- 382 regulator-max-microvolt = <1350000>; 384 regulator-ramp 383 regulator-ramp-delay = <6001>; 385 regulator-init 384 regulator-initial-mode = <0x2>; 386 regulator-name 385 regulator-name = "vdd_gpu"; 387 regula 386 regulator-state-mem { 388 regula 387 regulator-off-in-suspend; 389 }; 388 }; 390 }; 389 }; 391 390 392 vcc_ddr: DCDC_REG3 { 391 vcc_ddr: DCDC_REG3 { 393 regulator-alwa 392 regulator-always-on; 394 regulator-boot 393 regulator-boot-on; 395 regulator-init 394 regulator-initial-mode = <0x2>; 396 regulator-name 395 regulator-name = "vcc_ddr"; 397 regulator-stat 396 regulator-state-mem { 398 regula 397 regulator-on-in-suspend; 399 }; 398 }; 400 }; 399 }; 401 400 402 vcc_3v3: DCDC_REG4 { 401 vcc_3v3: DCDC_REG4 { 403 regulator-alwa 402 regulator-always-on; 404 regulator-boot 403 regulator-boot-on; 405 regulator-min- 404 regulator-min-microvolt = <3300000>; 406 regulator-max- 405 regulator-max-microvolt = <3300000>; 407 regulator-init 406 regulator-initial-mode = <0x2>; 408 regulator-name 407 regulator-name = "vcc_3v3"; 409 regulator-stat 408 regulator-state-mem { 410 regula 409 regulator-off-in-suspend; 411 }; 410 }; 412 }; 411 }; 413 412 414 vcca1v8_pmu: LDO_REG1 413 vcca1v8_pmu: LDO_REG1 { 415 regulator-alwa 414 regulator-always-on; 416 regulator-boot 415 regulator-boot-on; 417 regulator-min- 416 regulator-min-microvolt = <1800000>; 418 regulator-max- 417 regulator-max-microvolt = <1800000>; 419 regulator-name 418 regulator-name = "vcca1v8_pmu"; 420 regulator-stat 419 regulator-state-mem { 421 regula 420 regulator-on-in-suspend; 422 regula 421 regulator-suspend-microvolt = <1800000>; 423 }; 422 }; 424 }; 423 }; 425 424 426 vdda_0v9: LDO_REG2 { 425 vdda_0v9: LDO_REG2 { 427 regulator-alwa 426 regulator-always-on; 428 regulator-boot 427 regulator-boot-on; 429 regulator-min- 428 regulator-min-microvolt = <900000>; 430 regulator-max- 429 regulator-max-microvolt = <900000>; 431 regulator-name 430 regulator-name = "vdda_0v9"; 432 regulator-stat 431 regulator-state-mem { 433 regula 432 regulator-off-in-suspend; 434 }; 433 }; 435 }; 434 }; 436 435 437 vdda0v9_pmu: LDO_REG3 436 vdda0v9_pmu: LDO_REG3 { 438 regulator-alwa 437 regulator-always-on; 439 regulator-boot 438 regulator-boot-on; 440 regulator-min- 439 regulator-min-microvolt = <900000>; 441 regulator-max- 440 regulator-max-microvolt = <900000>; 442 regulator-name 441 regulator-name = "vdda0v9_pmu"; 443 regulator-stat 442 regulator-state-mem { 444 regula 443 regulator-on-in-suspend; 445 regula 444 regulator-suspend-microvolt = <900000>; 446 }; 445 }; 447 }; 446 }; 448 447 449 vccio_acodec: LDO_REG4 448 vccio_acodec: LDO_REG4 { 450 regulator-alwa 449 regulator-always-on; 451 regulator-boot 450 regulator-boot-on; 452 regulator-min- 451 regulator-min-microvolt = <3300000>; 453 regulator-max- 452 regulator-max-microvolt = <3300000>; 454 regulator-name 453 regulator-name = "vccio_acodec"; 455 regulator-stat 454 regulator-state-mem { 456 regula 455 regulator-off-in-suspend; 457 }; 456 }; 458 }; 457 }; 459 458 460 vccio_sd: LDO_REG5 { 459 vccio_sd: LDO_REG5 { 461 regulator-alwa 460 regulator-always-on; 462 regulator-boot 461 regulator-boot-on; 463 regulator-min- 462 regulator-min-microvolt = <1800000>; 464 regulator-max- 463 regulator-max-microvolt = <3300000>; 465 regulator-name 464 regulator-name = "vccio_sd"; 466 regulator-stat 465 regulator-state-mem { 467 regula 466 regulator-off-in-suspend; 468 }; 467 }; 469 }; 468 }; 470 469 471 vcc3v3_pmu: LDO_REG6 { 470 vcc3v3_pmu: LDO_REG6 { 472 regulator-alwa 471 regulator-always-on; 473 regulator-boot 472 regulator-boot-on; 474 regulator-min- 473 regulator-min-microvolt = <3300000>; 475 regulator-max- 474 regulator-max-microvolt = <3300000>; 476 regulator-name 475 regulator-name = "vcc3v3_pmu"; 477 regulator-stat 476 regulator-state-mem { 478 regula 477 regulator-on-in-suspend; 479 regula 478 regulator-suspend-microvolt = <3300000>; 480 }; 479 }; 481 }; 480 }; 482 481 483 vcc_1v8: LDO_REG7 { 482 vcc_1v8: LDO_REG7 { 484 regulator-alwa 483 regulator-always-on; 485 regulator-boot 484 regulator-boot-on; 486 regulator-min- 485 regulator-min-microvolt = <1800000>; 487 regulator-max- 486 regulator-max-microvolt = <1800000>; 488 regulator-name 487 regulator-name = "vcc_1v8"; 489 regulator-stat 488 regulator-state-mem { 490 regula 489 regulator-off-in-suspend; 491 }; 490 }; 492 }; 491 }; 493 492 494 vcc1v8_dvp: LDO_REG8 { 493 vcc1v8_dvp: LDO_REG8 { 495 regulator-alwa 494 regulator-always-on; 496 regulator-boot 495 regulator-boot-on; 497 regulator-min- 496 regulator-min-microvolt = <1800000>; 498 regulator-max- 497 regulator-max-microvolt = <1800000>; 499 regulator-name 498 regulator-name = "vcc1v8_dvp"; 500 regulator-stat 499 regulator-state-mem { 501 regula 500 regulator-off-in-suspend; 502 }; 501 }; 503 }; 502 }; 504 503 505 vcc2v8_dvp: LDO_REG9 { 504 vcc2v8_dvp: LDO_REG9 { 506 regulator-alwa 505 regulator-always-on; 507 regulator-boot 506 regulator-boot-on; 508 regulator-min- 507 regulator-min-microvolt = <2800000>; 509 regulator-max- 508 regulator-max-microvolt = <2800000>; 510 regulator-name 509 regulator-name = "vcc2v8_dvp"; 511 regulator-stat 510 regulator-state-mem { 512 regula 511 regulator-off-in-suspend; 513 }; 512 }; 514 }; 513 }; 515 514 516 dcdc_boost: BOOST { 515 dcdc_boost: BOOST { 517 regulator-alwa 516 regulator-always-on; 518 regulator-boot 517 regulator-boot-on; 519 regulator-min- 518 regulator-min-microvolt = <5000000>; 520 regulator-max- 519 regulator-max-microvolt = <5000000>; 521 regulator-name 520 regulator-name = "boost"; 522 regulator-stat 521 regulator-state-mem { 523 regula 522 regulator-off-in-suspend; 524 }; 523 }; 525 }; 524 }; 526 525 527 otg_switch: OTG_SWITCH 526 otg_switch: OTG_SWITCH { 528 regulator-name 527 regulator-name = "otg_switch"; 529 regulator-stat 528 regulator-state-mem { 530 regula 529 regulator-off-in-suspend; 531 }; 530 }; 532 }; 531 }; 533 }; 532 }; 534 }; 533 }; 535 }; 534 }; 536 535 537 /* i2c3 is exposed on con40 536 /* i2c3 is exposed on con40 538 * pin 3 - i2c3_sda_m0, pullup to vcc_3v3 537 * pin 3 - i2c3_sda_m0, pullup to vcc_3v3 539 * pin 5 - i2c3_scl_m0, pullup to vcc_3v3 538 * pin 5 - i2c3_scl_m0, pullup to vcc_3v3 540 */ 539 */ 541 &i2c3 { 540 &i2c3 { 542 status = "okay"; 541 status = "okay"; 543 }; 542 }; 544 543 545 &i2s0_8ch { 544 &i2s0_8ch { 546 status = "okay"; 545 status = "okay"; 547 }; 546 }; 548 547 549 &i2s1_8ch { 548 &i2s1_8ch { 550 pinctrl-names = "default"; 549 pinctrl-names = "default"; 551 pinctrl-0 = <&i2s1m0_sclktx 550 pinctrl-0 = <&i2s1m0_sclktx 552 &i2s1m0_lrcktx 551 &i2s1m0_lrcktx 553 &i2s1m0_sdi0 552 &i2s1m0_sdi0 554 &i2s1m0_sdo0>; 553 &i2s1m0_sdo0>; 555 rockchip,trcm-sync-tx-only; 554 rockchip,trcm-sync-tx-only; 556 status = "okay"; 555 status = "okay"; 557 }; 556 }; 558 557 559 &mdio1 { 558 &mdio1 { 560 rgmii_phy1: ethernet-phy@0 { 559 rgmii_phy1: ethernet-phy@0 { 561 compatible = "ethernet-phy-iee 560 compatible = "ethernet-phy-ieee802.3-c22"; 562 reg = <0>; 561 reg = <0>; 563 }; 562 }; 564 }; 563 }; 565 564 566 &pcie2x1 { 565 &pcie2x1 { 567 pinctrl-names = "default"; 566 pinctrl-names = "default"; 568 pinctrl-0 = <&pcie_reset_h>; 567 pinctrl-0 = <&pcie_reset_h>; 569 reset-gpios = <&gpio1 RK_PB2 GPIO_ACTI 568 reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>; 570 vpcie3v3-supply = <&vcc3v3_pcie_p>; 569 vpcie3v3-supply = <&vcc3v3_pcie_p>; 571 status = "okay"; 570 status = "okay"; 572 }; 571 }; 573 572 574 &pinctrl { 573 &pinctrl { 575 bt { 574 bt { 576 bt_enable_h: bt-enable-h { 575 bt_enable_h: bt-enable-h { 577 rockchip,pins = <2 RK_ 576 rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 578 }; 577 }; 579 578 580 bt_host_wake_l: bt-host-wake-l 579 bt_host_wake_l: bt-host-wake-l { 581 rockchip,pins = <2 RK_ 580 rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_down>; 582 }; 581 }; 583 582 584 bt_wake_l: bt-wake-l { 583 bt_wake_l: bt-wake-l { 585 rockchip,pins = <2 RK_ 584 rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; 586 }; 585 }; 587 }; 586 }; 588 587 589 fan { 588 fan { 590 fan_en_h: fan-en-h { 589 fan_en_h: fan-en-h { 591 rockchip,pins = <0 RK_ 590 rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 592 }; 591 }; 593 }; 592 }; 594 593 595 leds { 594 leds { 596 work_led_enable_h: work-led-en 595 work_led_enable_h: work-led-enable-h { 597 rockchip,pins = <0 RK_ 596 rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 598 }; 597 }; 599 598 600 diy_led_enable_h: diy-led-enab 599 diy_led_enable_h: diy-led-enable-h { 601 rockchip,pins = <0 RK_ 600 rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 602 }; 601 }; 603 }; 602 }; 604 603 605 pcie { 604 pcie { 606 pcie_enable_h: pcie-enable-h { 605 pcie_enable_h: pcie-enable-h { 607 rockchip,pins = <0 RK_ 606 rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 608 }; 607 }; 609 608 610 pcie_reset_h: pcie-reset-h { 609 pcie_reset_h: pcie-reset-h { 611 rockchip,pins = <1 RK_ 610 rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 612 }; 611 }; 613 }; 612 }; 614 613 615 pmic { 614 pmic { 616 pmic_int_l: pmic-int-l { 615 pmic_int_l: pmic-int-l { 617 rockchip,pins = <0 RK_ 616 rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 618 }; 617 }; 619 }; 618 }; 620 619 621 usb2 { 620 usb2 { 622 vcc5v0_usb20_host_en: vcc5v0-u 621 vcc5v0_usb20_host_en: vcc5v0-usb20-host-en { 623 rockchip,pins = <4 RK_ 622 rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 624 }; 623 }; 625 }; 624 }; 626 625 627 sdio-pwrseq { 626 sdio-pwrseq { 628 wifi_enable_h: wifi-enable-h { 627 wifi_enable_h: wifi-enable-h { 629 rockchip,pins = <2 RK_ 628 rockchip,pins = <2 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; 630 }; 629 }; 631 }; 630 }; 632 631 633 vcc_sd { 632 vcc_sd { 634 vcc_sd_h: vcc-sd-h { 633 vcc_sd_h: vcc-sd-h { 635 rockchip,pins = <0 RK_ 634 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 636 }; 635 }; 637 }; 636 }; 638 }; 637 }; 639 638 640 &pmu_io_domains { 639 &pmu_io_domains { 641 pmuio1-supply = <&vcc3v3_pmu>; 640 pmuio1-supply = <&vcc3v3_pmu>; 642 pmuio2-supply = <&vcc3v3_pmu>; 641 pmuio2-supply = <&vcc3v3_pmu>; 643 vccio1-supply = <&vccio_acodec>; 642 vccio1-supply = <&vccio_acodec>; 644 vccio2-supply = <&vcc_1v8>; 643 vccio2-supply = <&vcc_1v8>; 645 vccio3-supply = <&vccio_sd>; 644 vccio3-supply = <&vccio_sd>; 646 vccio4-supply = <&vcc_1v8>; 645 vccio4-supply = <&vcc_1v8>; 647 vccio5-supply = <&vcc_3v3>; 646 vccio5-supply = <&vcc_3v3>; 648 vccio6-supply = <&vcc1v8_dvp>; 647 vccio6-supply = <&vcc1v8_dvp>; 649 vccio7-supply = <&vcc_3v3>; 648 vccio7-supply = <&vcc_3v3>; 650 status = "okay"; 649 status = "okay"; 651 }; 650 }; 652 651 653 &sdhci { 652 &sdhci { 654 bus-width = <8>; 653 bus-width = <8>; 655 mmc-hs200-1_8v; 654 mmc-hs200-1_8v; 656 non-removable; 655 non-removable; 657 vmmc-supply = <&vcc_3v3>; 656 vmmc-supply = <&vcc_3v3>; 658 vqmmc-supply = <&vcc_1v8>; 657 vqmmc-supply = <&vcc_1v8>; 659 status = "okay"; 658 status = "okay"; 660 }; 659 }; 661 660 662 &sdmmc0 { 661 &sdmmc0 { 663 bus-width = <4>; 662 bus-width = <4>; 664 cap-sd-highspeed; 663 cap-sd-highspeed; 665 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_ 664 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; 666 disable-wp; 665 disable-wp; 667 pinctrl-names = "default"; 666 pinctrl-names = "default"; 668 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk 667 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; 669 sd-uhs-sdr104; 668 sd-uhs-sdr104; 670 vmmc-supply = <&vcc3v3_sd>; 669 vmmc-supply = <&vcc3v3_sd>; 671 vqmmc-supply = <&vccio_sd>; 670 vqmmc-supply = <&vccio_sd>; 672 status = "okay"; 671 status = "okay"; 673 }; 672 }; 674 673 675 &sdmmc1 { 674 &sdmmc1 { 676 bus-width = <4>; 675 bus-width = <4>; 677 cap-sd-highspeed; 676 cap-sd-highspeed; 678 cap-sdio-irq; 677 cap-sdio-irq; 679 keep-power-in-suspend; 678 keep-power-in-suspend; 680 mmc-pwrseq = <&sdio_pwrseq>; 679 mmc-pwrseq = <&sdio_pwrseq>; 681 non-removable; 680 non-removable; 682 pinctrl-names = "default"; 681 pinctrl-names = "default"; 683 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd 682 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>; 684 sd-uhs-sdr104; 683 sd-uhs-sdr104; 685 vmmc-supply = <&vcc_wl>; 684 vmmc-supply = <&vcc_wl>; 686 vqmmc-supply = <&vcc_1v8>; 685 vqmmc-supply = <&vcc_1v8>; 687 status = "okay"; 686 status = "okay"; 688 }; 687 }; 689 688 690 &sfc { 689 &sfc { 691 pinctrl-0 = <&fspi_pins>; 690 pinctrl-0 = <&fspi_pins>; 692 pinctrl-names = "default"; 691 pinctrl-names = "default"; 693 #address-cells = <1>; 692 #address-cells = <1>; 694 #size-cells = <0>; 693 #size-cells = <0>; 695 status = "disabled"; 694 status = "disabled"; 696 695 697 flash@0 { 696 flash@0 { 698 compatible = "jedec,spi-nor"; 697 compatible = "jedec,spi-nor"; 699 reg = <0>; 698 reg = <0>; 700 spi-max-frequency = <24000000> 699 spi-max-frequency = <24000000>; 701 spi-rx-bus-width = <4>; 700 spi-rx-bus-width = <4>; 702 spi-tx-bus-width = <1>; 701 spi-tx-bus-width = <1>; 703 }; 702 }; 704 }; 703 }; 705 704 706 /* spdif is exposed on con40 pin 18 */ 705 /* spdif is exposed on con40 pin 18 */ 707 &spdif { 706 &spdif { 708 status = "okay"; 707 status = "okay"; 709 }; 708 }; 710 709 711 /* spi1 is exposed on con40 710 /* spi1 is exposed on con40 712 * pin 11 - spi1_mosi_m1 711 * pin 11 - spi1_mosi_m1 713 * pin 13 - spi1_miso_m1 712 * pin 13 - spi1_miso_m1 714 * pin 15 - spi1_clk_m1 713 * pin 15 - spi1_clk_m1 715 * pin 17 - spi1_cs0_m1 714 * pin 17 - spi1_cs0_m1 716 */ 715 */ 717 &spi1 { 716 &spi1 { 718 pinctrl-names = "default"; 717 pinctrl-names = "default"; 719 pinctrl-0 = <&spi1m1_cs0 &spi1m1_pins> 718 pinctrl-0 = <&spi1m1_cs0 &spi1m1_pins>; 720 }; 719 }; 721 720 722 &tsadc { 721 &tsadc { 723 /* tshut mode 0:CRU 1:GPIO */ 722 /* tshut mode 0:CRU 1:GPIO */ 724 rockchip,hw-tshut-mode = <1>; 723 rockchip,hw-tshut-mode = <1>; 725 /* tshut polarity 0:LOW 1:HIGH */ 724 /* tshut polarity 0:LOW 1:HIGH */ 726 rockchip,hw-tshut-polarity = <0>; 725 rockchip,hw-tshut-polarity = <0>; 727 status = "okay"; 726 status = "okay"; 728 }; 727 }; 729 728 730 /* uart0 is exposed on con40 729 /* uart0 is exposed on con40 731 * pin 12 - uart0_tx 730 * pin 12 - uart0_tx 732 * pin 14 - uart0_rx 731 * pin 14 - uart0_rx 733 */ 732 */ 734 &uart0 { 733 &uart0 { 735 pinctrl-names = "default"; 734 pinctrl-names = "default"; 736 pinctrl-0 = <&uart0_xfer>; 735 pinctrl-0 = <&uart0_xfer>; 737 status = "okay"; 736 status = "okay"; 738 }; 737 }; 739 738 740 &uart1 { 739 &uart1 { 741 dma-names = "tx", "rx"; << 742 pinctrl-names = "default"; 740 pinctrl-names = "default"; 743 pinctrl-0 = <&uart1m0_xfer &uart1m0_ct 741 pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>; 744 status = "okay"; 742 status = "okay"; 745 uart-has-rtscts; 743 uart-has-rtscts; 746 744 747 bluetooth { 745 bluetooth { 748 compatible = "brcm,bcm43438-bt 746 compatible = "brcm,bcm43438-bt"; 749 clocks = <&rk817 1>; 747 clocks = <&rk817 1>; 750 clock-names = "lpo"; 748 clock-names = "lpo"; 751 host-wakeup-gpios = <&gpio2 RK 749 host-wakeup-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; 752 device-wakeup-gpios = <&gpio2 750 device-wakeup-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; 753 shutdown-gpios = <&gpio2 RK_PB 751 shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; 754 pinctrl-names = "default"; 752 pinctrl-names = "default"; 755 pinctrl-0 = <&bt_host_wake_l & 753 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 756 vbat-supply = <&vcc_sys>; 754 vbat-supply = <&vcc_sys>; 757 vddio-supply = <&vcca1v8_pmu>; 755 vddio-supply = <&vcca1v8_pmu>; 758 max-speed = <3000000>; 756 max-speed = <3000000>; 759 }; 757 }; 760 }; 758 }; 761 759 762 /* uart2 is exposed on con40 760 /* uart2 is exposed on con40 763 * pin 8 - uart2_tx_m0_debug 761 * pin 8 - uart2_tx_m0_debug 764 * pin 10 - uart2_rx_m0_debug 762 * pin 10 - uart2_rx_m0_debug 765 */ 763 */ 766 &uart2 { 764 &uart2 { 767 status = "okay"; 765 status = "okay"; 768 }; 766 }; 769 767 770 &usb_host0_ehci { 768 &usb_host0_ehci { 771 status = "okay"; 769 status = "okay"; 772 }; 770 }; 773 771 774 &usb_host0_ohci { 772 &usb_host0_ohci { 775 status = "okay"; 773 status = "okay"; 776 }; 774 }; 777 775 778 &usb_host1_ehci { 776 &usb_host1_ehci { 779 status = "okay"; 777 status = "okay"; 780 }; 778 }; 781 779 782 &usb_host1_ohci { 780 &usb_host1_ohci { 783 status = "okay"; 781 status = "okay"; 784 }; 782 }; 785 783 786 &usb_host0_xhci { 784 &usb_host0_xhci { 787 dr_mode = "host"; 785 dr_mode = "host"; 788 status = "okay"; 786 status = "okay"; 789 }; 787 }; 790 788 791 /* usb3 controller is muxed with sata1 */ 789 /* usb3 controller is muxed with sata1 */ 792 &usb_host1_xhci { 790 &usb_host1_xhci { 793 status = "okay"; 791 status = "okay"; 794 }; 792 }; 795 793 796 &usb2phy0 { 794 &usb2phy0 { 797 status = "okay"; 795 status = "okay"; 798 }; 796 }; 799 797 800 &usb2phy0_host { 798 &usb2phy0_host { 801 phy-supply = <&vcc5v0_usb20_host>; 799 phy-supply = <&vcc5v0_usb20_host>; 802 status = "okay"; 800 status = "okay"; 803 }; 801 }; 804 802 805 &usb2phy0_otg { 803 &usb2phy0_otg { 806 phy-supply = <&vcc5v0_usb20_otg>; 804 phy-supply = <&vcc5v0_usb20_otg>; 807 status = "okay"; 805 status = "okay"; 808 }; 806 }; 809 807 810 &usb2phy1 { 808 &usb2phy1 { 811 status = "okay"; 809 status = "okay"; 812 }; 810 }; 813 811 814 &usb2phy1_host { 812 &usb2phy1_host { 815 phy-supply = <&vcc5v0_usb20_host>; 813 phy-supply = <&vcc5v0_usb20_host>; 816 status = "okay"; 814 status = "okay"; 817 }; 815 }; 818 816 819 &usb2phy1_otg { 817 &usb2phy1_otg { 820 phy-supply = <&vcc5v0_usb20_host>; 818 phy-supply = <&vcc5v0_usb20_host>; 821 status = "okay"; 819 status = "okay"; 822 }; 820 }; 823 821 824 &vop { 822 &vop { 825 assigned-clocks = <&cru DCLK_VOP0>, <& 823 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; 826 assigned-clock-parents = <&pmucru PLL_ 824 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; 827 status = "okay"; 825 status = "okay"; 828 }; 826 }; 829 827 830 &vop_mmu { 828 &vop_mmu { 831 status = "okay"; 829 status = "okay"; 832 }; 830 }; 833 831 834 &vp0 { 832 &vp0 { 835 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_E 833 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 836 reg = <ROCKCHIP_VOP2_EP_HDMI0> 834 reg = <ROCKCHIP_VOP2_EP_HDMI0>; 837 remote-endpoint = <&hdmi_in_vp 835 remote-endpoint = <&hdmi_in_vp0>; 838 }; 836 }; 839 }; 837 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.