1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2017 Fuzhou Rockchip Electron 3 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. 4 * Copyright (c) 2018 Akash Gajjar <Akash_Gajja 4 * Copyright (c) 2018 Akash Gajjar <Akash_Gajjar@mentor.com> 5 */ 5 */ 6 6 7 #include <dt-bindings/input/linux-event-codes. 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 8 #include <dt-bindings/pwm/pwm.h> 9 #include "rk3399.dtsi" 9 #include "rk3399.dtsi" >> 10 #include "rk3399-opp.dtsi" 10 11 11 / { 12 / { 12 aliases { << 13 ethernet0 = &gmac; << 14 mmc0 = &sdio0; << 15 mmc1 = &sdmmc; << 16 mmc2 = &sdhci; << 17 }; << 18 << 19 chosen { 13 chosen { 20 stdout-path = "serial2:1500000 14 stdout-path = "serial2:1500000n8"; 21 }; 15 }; 22 16 23 /* enable for panel backlight support << 24 backlight: backlight { << 25 compatible = "pwm-backlight"; << 26 brightness-levels = <0 4 8 16 << 27 default-brightness-level = <5> << 28 pwms = <&pwm0 0 1000000 0>; << 29 status = "disabled"; << 30 }; << 31 << 32 clkin_gmac: external-gmac-clock { 17 clkin_gmac: external-gmac-clock { 33 compatible = "fixed-clock"; 18 compatible = "fixed-clock"; 34 clock-frequency = <125000000>; 19 clock-frequency = <125000000>; 35 clock-output-names = "clkin_gm 20 clock-output-names = "clkin_gmac"; 36 #clock-cells = <0>; 21 #clock-cells = <0>; 37 }; 22 }; 38 23 39 gpio-keys { 24 gpio-keys { 40 compatible = "gpio-keys"; 25 compatible = "gpio-keys"; 41 autorepeat; 26 autorepeat; 42 pinctrl-names = "default"; 27 pinctrl-names = "default"; 43 pinctrl-0 = <&pwrbtn>; 28 pinctrl-0 = <&pwrbtn>; 44 29 45 key-power { !! 30 power { 46 debounce-interval = <1 31 debounce-interval = <100>; 47 gpios = <&gpio0 RK_PA5 32 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; 48 label = "GPIO Key Powe 33 label = "GPIO Key Power"; 49 linux,code = <KEY_POWE 34 linux,code = <KEY_POWER>; 50 wakeup-source; 35 wakeup-source; 51 }; 36 }; 52 }; 37 }; 53 38 54 ir-receiver { << 55 compatible = "gpio-ir-receiver << 56 gpios = <&gpio0 RK_PA6 GPIO_AC << 57 pinctrl-0 = <&ir_int>; << 58 pinctrl-names = "default"; << 59 }; << 60 << 61 leds { 39 leds { 62 compatible = "gpio-leds"; 40 compatible = "gpio-leds"; 63 pinctrl-names = "default"; 41 pinctrl-names = "default"; 64 pinctrl-0 = <&work_led_pin>, < 42 pinctrl-0 = <&work_led_pin>, <&diy_led_pin>; 65 43 66 work_led: led-0 { 44 work_led: led-0 { 67 label = "work"; 45 label = "work"; 68 default-state = "on"; 46 default-state = "on"; 69 gpios = <&gpio0 RK_PB3 47 gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>; 70 }; 48 }; 71 49 72 diy_led: led-1 { 50 diy_led: led-1 { 73 label = "diy"; 51 label = "diy"; 74 default-state = "off"; 52 default-state = "off"; 75 gpios = <&gpio0 RK_PA2 53 gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>; 76 }; 54 }; 77 }; 55 }; 78 56 79 fan: pwm-fan { 57 fan: pwm-fan { 80 compatible = "pwm-fan"; 58 compatible = "pwm-fan"; 81 cooling-levels = <0 100 150 20 << 82 #cooling-cells = <2>; 59 #cooling-cells = <2>; 83 fan-supply = <&vcc12v_dcin>; 60 fan-supply = <&vcc12v_dcin>; 84 pwms = <&pwm1 0 50000 0>; 61 pwms = <&pwm1 0 50000 0>; 85 }; 62 }; 86 63 87 sdio_pwrseq: sdio-pwrseq { 64 sdio_pwrseq: sdio-pwrseq { 88 compatible = "mmc-pwrseq-simpl 65 compatible = "mmc-pwrseq-simple"; 89 clocks = <&rk808 1>; 66 clocks = <&rk808 1>; 90 clock-names = "ext_clock"; 67 clock-names = "ext_clock"; 91 pinctrl-names = "default"; 68 pinctrl-names = "default"; 92 pinctrl-0 = <&wifi_enable_h>; 69 pinctrl-0 = <&wifi_enable_h>; 93 reset-gpios = <&gpio0 RK_PB2 G 70 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 94 }; 71 }; 95 72 96 sound { 73 sound { 97 compatible = "audio-graph-card 74 compatible = "audio-graph-card"; 98 label = "Analog"; 75 label = "Analog"; 99 dais = <&i2s1_p0>; 76 dais = <&i2s1_p0>; 100 }; 77 }; 101 78 102 sound-dit { 79 sound-dit { 103 compatible = "audio-graph-card 80 compatible = "audio-graph-card"; 104 label = "SPDIF"; 81 label = "SPDIF"; 105 dais = <&spdif_p0>; 82 dais = <&spdif_p0>; 106 }; 83 }; 107 84 108 spdif-dit { 85 spdif-dit { 109 compatible = "linux,spdif-dit" 86 compatible = "linux,spdif-dit"; 110 #sound-dai-cells = <0>; 87 #sound-dai-cells = <0>; 111 88 112 port { 89 port { 113 dit_p0_0: endpoint { 90 dit_p0_0: endpoint { 114 remote-endpoin 91 remote-endpoint = <&spdif_p0_0>; 115 }; 92 }; 116 }; 93 }; 117 }; 94 }; 118 95 119 avdd: avdd-regulator { << 120 compatible = "regulator-fixed" << 121 regulator-name = "avdd"; << 122 regulator-min-microvolt = <110 << 123 regulator-max-microvolt = <110 << 124 vin-supply = <&vcc3v3_s0>; << 125 }; << 126 << 127 vcc12v_dcin: vcc12v-dcin { 96 vcc12v_dcin: vcc12v-dcin { 128 compatible = "regulator-fixed" 97 compatible = "regulator-fixed"; 129 regulator-name = "vcc12v_dcin" 98 regulator-name = "vcc12v_dcin"; 130 regulator-always-on; 99 regulator-always-on; 131 regulator-boot-on; 100 regulator-boot-on; 132 regulator-min-microvolt = <120 101 regulator-min-microvolt = <12000000>; 133 regulator-max-microvolt = <120 102 regulator-max-microvolt = <12000000>; 134 }; 103 }; 135 104 136 /* switched by pmic_sleep */ 105 /* switched by pmic_sleep */ 137 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 106 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 138 compatible = "regulator-fixed" 107 compatible = "regulator-fixed"; 139 regulator-name = "vcc1v8_s3"; 108 regulator-name = "vcc1v8_s3"; 140 regulator-always-on; 109 regulator-always-on; 141 regulator-boot-on; 110 regulator-boot-on; 142 regulator-min-microvolt = <180 111 regulator-min-microvolt = <1800000>; 143 regulator-max-microvolt = <180 112 regulator-max-microvolt = <1800000>; 144 vin-supply = <&vcc_1v8>; 113 vin-supply = <&vcc_1v8>; 145 }; 114 }; 146 115 147 /* micro SD card power */ 116 /* micro SD card power */ 148 vcc3v0_sd: vcc3v0-sd { 117 vcc3v0_sd: vcc3v0-sd { 149 compatible = "regulator-fixed" 118 compatible = "regulator-fixed"; 150 enable-active-high; 119 enable-active-high; 151 gpio = <&gpio0 RK_PA1 GPIO_ACT 120 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; 152 pinctrl-names = "default"; 121 pinctrl-names = "default"; 153 pinctrl-0 = <&sdmmc0_pwr_h>; 122 pinctrl-0 = <&sdmmc0_pwr_h>; 154 regulator-name = "vcc3v0_sd"; 123 regulator-name = "vcc3v0_sd"; 155 regulator-always-on; 124 regulator-always-on; 156 regulator-min-microvolt = <300 125 regulator-min-microvolt = <3000000>; 157 regulator-max-microvolt = <300 126 regulator-max-microvolt = <3000000>; 158 vin-supply = <&vcc3v3_sys>; 127 vin-supply = <&vcc3v3_sys>; 159 128 160 regulator-state-mem { 129 regulator-state-mem { 161 regulator-off-in-suspe 130 regulator-off-in-suspend; 162 }; 131 }; 163 }; 132 }; 164 133 165 vcc3v3_pcie: vcc3v3-pcie-regulator { 134 vcc3v3_pcie: vcc3v3-pcie-regulator { 166 compatible = "regulator-fixed" 135 compatible = "regulator-fixed"; 167 enable-active-high; 136 enable-active-high; 168 gpio = <&gpio1 RK_PD0 GPIO_ACT 137 gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>; 169 pinctrl-names = "default"; 138 pinctrl-names = "default"; 170 pinctrl-0 = <&pcie_pwr_en>; 139 pinctrl-0 = <&pcie_pwr_en>; 171 regulator-name = "vcc3v3_pcie" 140 regulator-name = "vcc3v3_pcie"; 172 regulator-always-on; 141 regulator-always-on; 173 regulator-boot-on; 142 regulator-boot-on; 174 vin-supply = <&vcc12v_dcin>; 143 vin-supply = <&vcc12v_dcin>; 175 }; 144 }; 176 145 177 vcc3v3_sys: vcc3v3-sys { 146 vcc3v3_sys: vcc3v3-sys { 178 compatible = "regulator-fixed" 147 compatible = "regulator-fixed"; 179 regulator-name = "vcc3v3_sys"; 148 regulator-name = "vcc3v3_sys"; 180 regulator-always-on; 149 regulator-always-on; 181 regulator-boot-on; 150 regulator-boot-on; 182 regulator-min-microvolt = <330 151 regulator-min-microvolt = <3300000>; 183 regulator-max-microvolt = <330 152 regulator-max-microvolt = <3300000>; 184 vin-supply = <&vcc5v0_sys>; 153 vin-supply = <&vcc5v0_sys>; 185 }; 154 }; 186 155 187 /* Actually 3 regulators (host0, 1, 2) 156 /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */ 188 vcc5v0_host: vcc5v0-host-regulator { 157 vcc5v0_host: vcc5v0-host-regulator { 189 compatible = "regulator-fixed" 158 compatible = "regulator-fixed"; 190 enable-active-high; 159 enable-active-high; 191 gpio = <&gpio4 RK_PD2 GPIO_ACT 160 gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; 192 pinctrl-names = "default"; 161 pinctrl-names = "default"; 193 pinctrl-0 = <&vcc5v0_host_en>; 162 pinctrl-0 = <&vcc5v0_host_en>; 194 regulator-name = "vcc5v0_host" 163 regulator-name = "vcc5v0_host"; 195 regulator-always-on; 164 regulator-always-on; 196 vin-supply = <&vcc5v0_usb>; 165 vin-supply = <&vcc5v0_usb>; 197 }; 166 }; 198 167 199 vcc5v0_typec: vcc5v0-typec-regulator { 168 vcc5v0_typec: vcc5v0-typec-regulator { 200 compatible = "regulator-fixed" 169 compatible = "regulator-fixed"; 201 enable-active-high; 170 enable-active-high; 202 gpio = <&gpio1 RK_PA3 GPIO_ACT 171 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; 203 pinctrl-names = "default"; 172 pinctrl-names = "default"; 204 pinctrl-0 = <&vcc5v0_typec_en> 173 pinctrl-0 = <&vcc5v0_typec_en>; 205 regulator-name = "vcc5v0_typec 174 regulator-name = "vcc5v0_typec"; 206 regulator-always-on; 175 regulator-always-on; 207 vin-supply = <&vcc5v0_usb>; 176 vin-supply = <&vcc5v0_usb>; 208 }; 177 }; 209 178 210 vcc5v0_sys: vcc5v0-sys { 179 vcc5v0_sys: vcc5v0-sys { 211 compatible = "regulator-fixed" 180 compatible = "regulator-fixed"; 212 regulator-name = "vcc5v0_sys"; 181 regulator-name = "vcc5v0_sys"; 213 regulator-always-on; 182 regulator-always-on; 214 regulator-boot-on; 183 regulator-boot-on; 215 regulator-min-microvolt = <500 184 regulator-min-microvolt = <5000000>; 216 regulator-max-microvolt = <500 185 regulator-max-microvolt = <5000000>; 217 vin-supply = <&vcc12v_dcin>; 186 vin-supply = <&vcc12v_dcin>; 218 }; 187 }; 219 188 220 vcc5v0_usb: vcc5v0-usb { 189 vcc5v0_usb: vcc5v0-usb { 221 compatible = "regulator-fixed" 190 compatible = "regulator-fixed"; 222 regulator-name = "vcc5v0_usb"; 191 regulator-name = "vcc5v0_usb"; 223 regulator-always-on; 192 regulator-always-on; 224 regulator-boot-on; 193 regulator-boot-on; 225 regulator-min-microvolt = <500 194 regulator-min-microvolt = <5000000>; 226 regulator-max-microvolt = <500 195 regulator-max-microvolt = <5000000>; 227 vin-supply = <&vcc12v_dcin>; 196 vin-supply = <&vcc12v_dcin>; 228 }; 197 }; 229 198 230 vdd_log: vdd-log { 199 vdd_log: vdd-log { 231 compatible = "pwm-regulator"; 200 compatible = "pwm-regulator"; 232 pwms = <&pwm2 0 25000 1>; 201 pwms = <&pwm2 0 25000 1>; 233 pwm-supply = <&vcc5v0_sys>; << 234 regulator-name = "vdd_log"; 202 regulator-name = "vdd_log"; 235 regulator-always-on; 203 regulator-always-on; 236 regulator-boot-on; 204 regulator-boot-on; 237 regulator-min-microvolt = <800 205 regulator-min-microvolt = <800000>; 238 regulator-max-microvolt = <170 206 regulator-max-microvolt = <1700000>; >> 207 vin-supply = <&vcc5v0_sys>; 239 }; 208 }; 240 }; 209 }; 241 210 242 &cpu_l0 { 211 &cpu_l0 { 243 cpu-supply = <&vdd_cpu_l>; 212 cpu-supply = <&vdd_cpu_l>; 244 }; 213 }; 245 214 246 &cpu_l1 { 215 &cpu_l1 { 247 cpu-supply = <&vdd_cpu_l>; 216 cpu-supply = <&vdd_cpu_l>; 248 }; 217 }; 249 218 250 &cpu_l2 { 219 &cpu_l2 { 251 cpu-supply = <&vdd_cpu_l>; 220 cpu-supply = <&vdd_cpu_l>; 252 }; 221 }; 253 222 254 &cpu_l3 { 223 &cpu_l3 { 255 cpu-supply = <&vdd_cpu_l>; 224 cpu-supply = <&vdd_cpu_l>; 256 }; 225 }; 257 226 258 &cpu_b0 { 227 &cpu_b0 { 259 cpu-supply = <&vdd_cpu_b>; 228 cpu-supply = <&vdd_cpu_b>; 260 }; 229 }; 261 230 262 &cpu_b1 { 231 &cpu_b1 { 263 cpu-supply = <&vdd_cpu_b>; 232 cpu-supply = <&vdd_cpu_b>; 264 }; 233 }; 265 234 266 &cpu_thermal { << 267 trips { << 268 cpu_warm: cpu_warm { << 269 temperature = <55000>; << 270 hysteresis = <2000>; << 271 type = "active"; << 272 }; << 273 << 274 cpu_hot: cpu_hot { << 275 temperature = <65000>; << 276 hysteresis = <2000>; << 277 type = "active"; << 278 }; << 279 }; << 280 << 281 cooling-maps { << 282 map2 { << 283 trip = <&cpu_warm>; << 284 cooling-device = <&fan << 285 }; << 286 << 287 map3 { << 288 trip = <&cpu_hot>; << 289 cooling-device = <&fan << 290 }; << 291 }; << 292 }; << 293 << 294 &emmc_phy { 235 &emmc_phy { 295 status = "okay"; 236 status = "okay"; 296 }; 237 }; 297 238 298 &gmac { 239 &gmac { 299 assigned-clocks = <&cru SCLK_RMII_SRC> 240 assigned-clocks = <&cru SCLK_RMII_SRC>; 300 assigned-clock-parents = <&clkin_gmac> 241 assigned-clock-parents = <&clkin_gmac>; 301 clock_in_out = "input"; 242 clock_in_out = "input"; 302 phy-supply = <&vcc_lan>; 243 phy-supply = <&vcc_lan>; 303 phy-mode = "rgmii"; 244 phy-mode = "rgmii"; 304 pinctrl-names = "default"; 245 pinctrl-names = "default"; 305 pinctrl-0 = <&rgmii_pins>; 246 pinctrl-0 = <&rgmii_pins>; 306 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ 247 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; 307 snps,reset-active-low; 248 snps,reset-active-low; 308 snps,reset-delays-us = <0 10000 50000> 249 snps,reset-delays-us = <0 10000 50000>; 309 tx_delay = <0x28>; 250 tx_delay = <0x28>; 310 rx_delay = <0x11>; 251 rx_delay = <0x11>; 311 status = "okay"; 252 status = "okay"; 312 }; 253 }; 313 254 314 &hdmi { 255 &hdmi { 315 ddc-i2c-bus = <&i2c3>; 256 ddc-i2c-bus = <&i2c3>; 316 pinctrl-names = "default"; 257 pinctrl-names = "default"; 317 pinctrl-0 = <&hdmi_cec>; 258 pinctrl-0 = <&hdmi_cec>; 318 status = "okay"; 259 status = "okay"; 319 }; 260 }; 320 261 321 &hdmi_sound { 262 &hdmi_sound { 322 status = "okay"; 263 status = "okay"; 323 }; 264 }; 324 265 325 &gpu { 266 &gpu { 326 mali-supply = <&vdd_gpu>; 267 mali-supply = <&vdd_gpu>; 327 status = "okay"; 268 status = "okay"; 328 }; 269 }; 329 270 330 &i2c0 { 271 &i2c0 { 331 clock-frequency = <400000>; 272 clock-frequency = <400000>; 332 i2c-scl-rising-time-ns = <168>; 273 i2c-scl-rising-time-ns = <168>; 333 i2c-scl-falling-time-ns = <4>; 274 i2c-scl-falling-time-ns = <4>; 334 status = "okay"; 275 status = "okay"; 335 276 336 rk808: pmic@1b { 277 rk808: pmic@1b { 337 compatible = "rockchip,rk808"; 278 compatible = "rockchip,rk808"; 338 reg = <0x1b>; 279 reg = <0x1b>; 339 interrupt-parent = <&gpio3>; 280 interrupt-parent = <&gpio3>; 340 interrupts = <10 IRQ_TYPE_LEVE 281 interrupts = <10 IRQ_TYPE_LEVEL_LOW>; 341 #clock-cells = <1>; 282 #clock-cells = <1>; 342 clock-output-names = "xin32k", 283 clock-output-names = "xin32k", "rk808-clkout2"; 343 pinctrl-names = "default"; 284 pinctrl-names = "default"; 344 pinctrl-0 = <&pmic_int_l>; 285 pinctrl-0 = <&pmic_int_l>; 345 rockchip,system-power-controll 286 rockchip,system-power-controller; 346 wakeup-source; 287 wakeup-source; 347 288 348 vcc1-supply = <&vcc5v0_sys>; 289 vcc1-supply = <&vcc5v0_sys>; 349 vcc2-supply = <&vcc5v0_sys>; 290 vcc2-supply = <&vcc5v0_sys>; 350 vcc3-supply = <&vcc5v0_sys>; 291 vcc3-supply = <&vcc5v0_sys>; 351 vcc4-supply = <&vcc5v0_sys>; 292 vcc4-supply = <&vcc5v0_sys>; 352 vcc6-supply = <&vcc5v0_sys>; 293 vcc6-supply = <&vcc5v0_sys>; 353 vcc7-supply = <&vcc5v0_sys>; 294 vcc7-supply = <&vcc5v0_sys>; 354 vcc8-supply = <&vcc3v3_sys>; 295 vcc8-supply = <&vcc3v3_sys>; 355 vcc9-supply = <&vcc5v0_sys>; 296 vcc9-supply = <&vcc5v0_sys>; 356 vcc10-supply = <&vcc5v0_sys>; 297 vcc10-supply = <&vcc5v0_sys>; 357 vcc11-supply = <&vcc5v0_sys>; 298 vcc11-supply = <&vcc5v0_sys>; 358 vcc12-supply = <&vcc3v3_sys>; 299 vcc12-supply = <&vcc3v3_sys>; 359 vddio-supply = <&vcca_1v8>; 300 vddio-supply = <&vcca_1v8>; 360 301 361 regulators { 302 regulators { 362 vdd_center: DCDC_REG1 303 vdd_center: DCDC_REG1 { 363 regulator-name 304 regulator-name = "vdd_center"; 364 regulator-alwa 305 regulator-always-on; 365 regulator-boot 306 regulator-boot-on; 366 regulator-min- 307 regulator-min-microvolt = <750000>; 367 regulator-max- 308 regulator-max-microvolt = <1350000>; 368 regulator-ramp 309 regulator-ramp-delay = <6001>; 369 regulator-stat 310 regulator-state-mem { 370 regula 311 regulator-off-in-suspend; 371 }; 312 }; 372 }; 313 }; 373 314 374 vdd_cpu_l: DCDC_REG2 { 315 vdd_cpu_l: DCDC_REG2 { 375 regulator-name 316 regulator-name = "vdd_cpu_l"; 376 regulator-alwa 317 regulator-always-on; 377 regulator-boot 318 regulator-boot-on; 378 regulator-min- 319 regulator-min-microvolt = <750000>; 379 regulator-max- 320 regulator-max-microvolt = <1350000>; 380 regulator-ramp 321 regulator-ramp-delay = <6001>; 381 regulator-stat 322 regulator-state-mem { 382 regula 323 regulator-off-in-suspend; 383 }; 324 }; 384 }; 325 }; 385 326 386 vcc_ddr: DCDC_REG3 { 327 vcc_ddr: DCDC_REG3 { 387 regulator-name 328 regulator-name = "vcc_ddr"; 388 regulator-alwa 329 regulator-always-on; 389 regulator-boot 330 regulator-boot-on; 390 regulator-stat 331 regulator-state-mem { 391 regula 332 regulator-on-in-suspend; 392 }; 333 }; 393 }; 334 }; 394 335 395 vcc_1v8: DCDC_REG4 { 336 vcc_1v8: DCDC_REG4 { 396 regulator-name 337 regulator-name = "vcc_1v8"; 397 regulator-alwa 338 regulator-always-on; 398 regulator-boot 339 regulator-boot-on; 399 regulator-min- 340 regulator-min-microvolt = <1800000>; 400 regulator-max- 341 regulator-max-microvolt = <1800000>; 401 regulator-stat 342 regulator-state-mem { 402 regula 343 regulator-on-in-suspend; 403 regula 344 regulator-suspend-microvolt = <1800000>; 404 }; 345 }; 405 }; 346 }; 406 347 407 vcc1v8_dvp: LDO_REG1 { 348 vcc1v8_dvp: LDO_REG1 { 408 regulator-name 349 regulator-name = "vcc1v8_dvp"; 409 regulator-alwa 350 regulator-always-on; 410 regulator-boot 351 regulator-boot-on; 411 regulator-min- 352 regulator-min-microvolt = <1800000>; 412 regulator-max- 353 regulator-max-microvolt = <1800000>; 413 regulator-stat 354 regulator-state-mem { 414 regula 355 regulator-off-in-suspend; 415 }; 356 }; 416 }; 357 }; 417 358 418 vcc3v0_touch: LDO_REG2 359 vcc3v0_touch: LDO_REG2 { 419 regulator-name 360 regulator-name = "vcc3v0_touch"; >> 361 regulator-always-on; >> 362 regulator-boot-on; 420 regulator-min- 363 regulator-min-microvolt = <3000000>; 421 regulator-max- 364 regulator-max-microvolt = <3000000>; 422 regulator-stat 365 regulator-state-mem { 423 regula 366 regulator-off-in-suspend; 424 }; 367 }; 425 }; 368 }; 426 369 427 vcca_1v8: LDO_REG3 { 370 vcca_1v8: LDO_REG3 { 428 regulator-name 371 regulator-name = "vcca_1v8"; 429 regulator-alwa 372 regulator-always-on; 430 regulator-boot 373 regulator-boot-on; 431 regulator-min- 374 regulator-min-microvolt = <1800000>; 432 regulator-max- 375 regulator-max-microvolt = <1800000>; 433 regulator-stat 376 regulator-state-mem { 434 regula 377 regulator-on-in-suspend; 435 regula 378 regulator-suspend-microvolt = <1800000>; 436 }; 379 }; 437 }; 380 }; 438 381 439 vcc_sdio: LDO_REG4 { 382 vcc_sdio: LDO_REG4 { 440 regulator-name 383 regulator-name = "vcc_sdio"; 441 regulator-alwa 384 regulator-always-on; 442 regulator-boot 385 regulator-boot-on; 443 regulator-min- 386 regulator-min-microvolt = <1800000>; 444 regulator-max- 387 regulator-max-microvolt = <3000000>; 445 regulator-stat 388 regulator-state-mem { 446 regula 389 regulator-on-in-suspend; 447 regula 390 regulator-suspend-microvolt = <3000000>; 448 }; 391 }; 449 }; 392 }; 450 393 451 vcca3v0_codec: LDO_REG 394 vcca3v0_codec: LDO_REG5 { 452 regulator-name 395 regulator-name = "vcca3v0_codec"; 453 regulator-alwa 396 regulator-always-on; 454 regulator-boot 397 regulator-boot-on; 455 regulator-min- 398 regulator-min-microvolt = <3000000>; 456 regulator-max- 399 regulator-max-microvolt = <3000000>; 457 regulator-stat 400 regulator-state-mem { 458 regula 401 regulator-off-in-suspend; 459 }; 402 }; 460 }; 403 }; 461 404 462 vcc_1v5: LDO_REG6 { 405 vcc_1v5: LDO_REG6 { 463 regulator-name 406 regulator-name = "vcc_1v5"; 464 regulator-alwa 407 regulator-always-on; 465 regulator-boot 408 regulator-boot-on; 466 regulator-min- 409 regulator-min-microvolt = <1500000>; 467 regulator-max- 410 regulator-max-microvolt = <1500000>; 468 regulator-stat 411 regulator-state-mem { 469 regula 412 regulator-on-in-suspend; 470 regula 413 regulator-suspend-microvolt = <1500000>; 471 }; 414 }; 472 }; 415 }; 473 416 474 vcca1v8_codec: LDO_REG 417 vcca1v8_codec: LDO_REG7 { 475 regulator-name 418 regulator-name = "vcca1v8_codec"; 476 regulator-alwa 419 regulator-always-on; 477 regulator-boot 420 regulator-boot-on; 478 regulator-min- 421 regulator-min-microvolt = <1800000>; 479 regulator-max- 422 regulator-max-microvolt = <1800000>; 480 regulator-stat 423 regulator-state-mem { 481 regula 424 regulator-off-in-suspend; 482 }; 425 }; 483 }; 426 }; 484 427 485 vcc_3v0: LDO_REG8 { 428 vcc_3v0: LDO_REG8 { 486 regulator-name 429 regulator-name = "vcc_3v0"; 487 regulator-alwa 430 regulator-always-on; 488 regulator-boot 431 regulator-boot-on; 489 regulator-min- 432 regulator-min-microvolt = <3000000>; 490 regulator-max- 433 regulator-max-microvolt = <3000000>; 491 regulator-stat 434 regulator-state-mem { 492 regula 435 regulator-on-in-suspend; 493 regula 436 regulator-suspend-microvolt = <3000000>; 494 }; 437 }; 495 }; 438 }; 496 439 497 vcc3v3_s3: vcc_lan: SW 440 vcc3v3_s3: vcc_lan: SWITCH_REG1 { 498 regulator-name 441 regulator-name = "vcc3v3_s3"; 499 regulator-alwa 442 regulator-always-on; 500 regulator-boot 443 regulator-boot-on; 501 regulator-stat 444 regulator-state-mem { 502 regula 445 regulator-off-in-suspend; 503 }; 446 }; 504 }; 447 }; 505 448 506 vcc3v3_s0: SWITCH_REG2 449 vcc3v3_s0: SWITCH_REG2 { 507 regulator-name 450 regulator-name = "vcc3v3_s0"; >> 451 regulator-always-on; >> 452 regulator-boot-on; 508 regulator-stat 453 regulator-state-mem { 509 regula 454 regulator-off-in-suspend; 510 }; 455 }; 511 }; 456 }; 512 }; 457 }; 513 }; 458 }; 514 459 515 vdd_cpu_b: regulator@40 { 460 vdd_cpu_b: regulator@40 { 516 compatible = "silergy,syr827"; 461 compatible = "silergy,syr827"; 517 reg = <0x40>; 462 reg = <0x40>; 518 fcs,suspend-voltage-selector = 463 fcs,suspend-voltage-selector = <1>; 519 pinctrl-names = "default"; 464 pinctrl-names = "default"; 520 pinctrl-0 = <&vsel1_pin>; 465 pinctrl-0 = <&vsel1_pin>; 521 regulator-name = "vdd_cpu_b"; 466 regulator-name = "vdd_cpu_b"; 522 regulator-min-microvolt = <712 467 regulator-min-microvolt = <712500>; 523 regulator-max-microvolt = <150 468 regulator-max-microvolt = <1500000>; 524 regulator-ramp-delay = <1000>; 469 regulator-ramp-delay = <1000>; 525 regulator-always-on; 470 regulator-always-on; 526 regulator-boot-on; 471 regulator-boot-on; 527 vin-supply = <&vcc5v0_sys>; 472 vin-supply = <&vcc5v0_sys>; 528 473 529 regulator-state-mem { 474 regulator-state-mem { 530 regulator-off-in-suspe 475 regulator-off-in-suspend; 531 }; 476 }; 532 }; 477 }; 533 478 534 vdd_gpu: regulator@41 { 479 vdd_gpu: regulator@41 { 535 compatible = "silergy,syr828"; 480 compatible = "silergy,syr828"; 536 reg = <0x41>; 481 reg = <0x41>; 537 fcs,suspend-voltage-selector = 482 fcs,suspend-voltage-selector = <1>; 538 pinctrl-names = "default"; 483 pinctrl-names = "default"; 539 pinctrl-0 = <&vsel2_pin>; 484 pinctrl-0 = <&vsel2_pin>; 540 regulator-name = "vdd_gpu"; 485 regulator-name = "vdd_gpu"; 541 regulator-min-microvolt = <712 486 regulator-min-microvolt = <712500>; 542 regulator-max-microvolt = <150 487 regulator-max-microvolt = <1500000>; 543 regulator-ramp-delay = <1000>; 488 regulator-ramp-delay = <1000>; 544 regulator-always-on; 489 regulator-always-on; 545 regulator-boot-on; 490 regulator-boot-on; 546 vin-supply = <&vcc5v0_sys>; 491 vin-supply = <&vcc5v0_sys>; 547 492 548 regulator-state-mem { 493 regulator-state-mem { 549 regulator-off-in-suspe 494 regulator-off-in-suspend; 550 }; 495 }; 551 }; 496 }; 552 }; 497 }; 553 498 554 &i2c1 { 499 &i2c1 { 555 i2c-scl-rising-time-ns = <300>; 500 i2c-scl-rising-time-ns = <300>; 556 i2c-scl-falling-time-ns = <15>; 501 i2c-scl-falling-time-ns = <15>; 557 status = "okay"; 502 status = "okay"; 558 }; 503 }; 559 504 560 &i2c3 { 505 &i2c3 { 561 i2c-scl-rising-time-ns = <450>; 506 i2c-scl-rising-time-ns = <450>; 562 i2c-scl-falling-time-ns = <15>; 507 i2c-scl-falling-time-ns = <15>; 563 status = "okay"; 508 status = "okay"; 564 }; 509 }; 565 510 566 &i2c4 { 511 &i2c4 { 567 i2c-scl-rising-time-ns = <600>; 512 i2c-scl-rising-time-ns = <600>; 568 i2c-scl-falling-time-ns = <20>; 513 i2c-scl-falling-time-ns = <20>; 569 status = "okay"; 514 status = "okay"; 570 515 571 fusb0: typec-portc@22 { 516 fusb0: typec-portc@22 { 572 compatible = "fcs,fusb302"; 517 compatible = "fcs,fusb302"; 573 reg = <0x22>; 518 reg = <0x22>; 574 interrupt-parent = <&gpio1>; 519 interrupt-parent = <&gpio1>; 575 interrupts = <RK_PA2 IRQ_TYPE_ 520 interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>; 576 pinctrl-names = "default"; 521 pinctrl-names = "default"; 577 pinctrl-0 = <&fusb0_int>; 522 pinctrl-0 = <&fusb0_int>; 578 vbus-supply = <&vcc5v0_typec>; 523 vbus-supply = <&vcc5v0_typec>; 579 status = "okay"; 524 status = "okay"; 580 }; 525 }; 581 << 582 /* enable for pine64 touch screen supp << 583 touch: touchscreen@5d { << 584 compatible = "goodix,gt911"; << 585 reg = <0x5d>; << 586 interrupt-parent = <&gpio4>; << 587 interrupts = <RK_PD5 IRQ_TYPE_ << 588 AVDD28-supply = <&vcc3v0_touch << 589 VDDIO-supply = <&vcc3v0_touch> << 590 irq-gpios = <&gpio4 RK_PD5 GPI << 591 reset-gpios = <&gpio4 RK_PD6 G << 592 status = "disabled"; << 593 }; << 594 }; 526 }; 595 527 596 &i2s0 { 528 &i2s0 { 597 rockchip,playback-channels = <8>; 529 rockchip,playback-channels = <8>; 598 rockchip,capture-channels = <8>; 530 rockchip,capture-channels = <8>; 599 status = "okay"; 531 status = "okay"; 600 }; 532 }; 601 533 602 &i2s1 { 534 &i2s1 { 603 rockchip,playback-channels = <2>; 535 rockchip,playback-channels = <2>; 604 rockchip,capture-channels = <2>; 536 rockchip,capture-channels = <2>; 605 status = "okay"; 537 status = "okay"; 606 538 607 i2s1_p0: port { 539 i2s1_p0: port { 608 i2s1_p0_0: endpoint { 540 i2s1_p0_0: endpoint { 609 dai-format = "i2s"; 541 dai-format = "i2s"; 610 mclk-fs = <256>; 542 mclk-fs = <256>; 611 remote-endpoint = <&es 543 remote-endpoint = <&es8316_p0_0>; 612 }; 544 }; 613 }; 545 }; 614 }; 546 }; 615 547 616 &i2s2 { 548 &i2s2 { 617 status = "okay"; 549 status = "okay"; 618 }; 550 }; 619 551 620 &io_domains { 552 &io_domains { 621 status = "okay"; 553 status = "okay"; 622 554 623 bt656-supply = <&vcc1v8_dvp>; 555 bt656-supply = <&vcc1v8_dvp>; 624 audio-supply = <&vcc_3v0>; 556 audio-supply = <&vcc_3v0>; 625 sdmmc-supply = <&vcc_sdio>; 557 sdmmc-supply = <&vcc_sdio>; 626 gpio1830-supply = <&vcc_3v0>; 558 gpio1830-supply = <&vcc_3v0>; 627 }; 559 }; 628 560 629 /* enable for pine64 panel display support */ << 630 &mipi_dsi { << 631 clock-master; << 632 status = "disabled"; << 633 << 634 ports { << 635 mipi_out: port@1 { << 636 reg = <1>; << 637 << 638 mipi_out_panel: endpoi << 639 remote-endpoin << 640 }; << 641 }; << 642 }; << 643 << 644 mipi_panel: panel@0 { << 645 compatible = "feiyang,fy07024d << 646 reg = <0>; << 647 avdd-supply = <&avdd>; << 648 backlight = <&backlight>; << 649 dvdd-supply = <&vcc3v3_s0>; << 650 << 651 port { << 652 mipi_in_panel: endpoin << 653 remote-endpoin << 654 }; << 655 }; << 656 }; << 657 }; << 658 << 659 &pcie0 { 561 &pcie0 { 660 ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_ 562 ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; 661 num-lanes = <4>; 563 num-lanes = <4>; 662 pinctrl-names = "default"; 564 pinctrl-names = "default"; 663 pinctrl-0 = <&pcie_perst>; 565 pinctrl-0 = <&pcie_perst>; 664 vpcie12v-supply = <&vcc12v_dcin>; 566 vpcie12v-supply = <&vcc12v_dcin>; 665 vpcie3v3-supply = <&vcc3v3_pcie>; 567 vpcie3v3-supply = <&vcc3v3_pcie>; 666 status = "okay"; 568 status = "okay"; 667 }; 569 }; 668 570 669 &pcie_phy { 571 &pcie_phy { 670 status = "okay"; 572 status = "okay"; 671 }; 573 }; 672 574 673 &pmu_io_domains { 575 &pmu_io_domains { 674 pmu1830-supply = <&vcc_3v0>; 576 pmu1830-supply = <&vcc_3v0>; 675 status = "okay"; 577 status = "okay"; 676 }; 578 }; 677 579 678 &pinctrl { 580 &pinctrl { 679 bt { 581 bt { 680 bt_enable_h: bt-enable-h { 582 bt_enable_h: bt-enable-h { 681 rockchip,pins = <0 RK_ 583 rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 682 }; 584 }; 683 585 684 bt_host_wake_l: bt-host-wake-l 586 bt_host_wake_l: bt-host-wake-l { 685 rockchip,pins = <0 RK_ 587 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_down>; 686 }; 588 }; 687 589 688 bt_wake_l: bt-wake-l { 590 bt_wake_l: bt-wake-l { 689 rockchip,pins = <2 RK_ 591 rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 690 }; 592 }; 691 }; 593 }; 692 594 693 buttons { 595 buttons { 694 pwrbtn: pwrbtn { 596 pwrbtn: pwrbtn { 695 rockchip,pins = <0 RK_ 597 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 696 }; 598 }; 697 }; 599 }; 698 600 699 fusb302x { 601 fusb302x { 700 fusb0_int: fusb0-int { 602 fusb0_int: fusb0-int { 701 rockchip,pins = <1 RK_ 603 rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>; 702 }; << 703 }; << 704 << 705 ir { << 706 ir_int: ir-int { << 707 rockchip,pins = <0 RK_ << 708 }; 604 }; 709 }; 605 }; 710 606 711 leds { 607 leds { 712 work_led_pin: work-led-pin { 608 work_led_pin: work-led-pin { 713 rockchip,pins = <0 RK_ 609 rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 714 }; 610 }; 715 611 716 diy_led_pin: diy-led-pin { 612 diy_led_pin: diy-led-pin { 717 rockchip,pins = <0 RK_ 613 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 718 }; 614 }; 719 }; 615 }; 720 616 721 pcie { 617 pcie { 722 pcie_perst: pcie-perst { 618 pcie_perst: pcie-perst { 723 rockchip,pins = <2 RK_ 619 rockchip,pins = <2 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 724 }; 620 }; 725 621 726 pcie_pwr_en: pcie-pwr-en { 622 pcie_pwr_en: pcie-pwr-en { 727 rockchip,pins = <1 RK_ 623 rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; 728 }; 624 }; 729 }; 625 }; 730 626 731 pmic { 627 pmic { 732 pmic_int_l: pmic-int-l { 628 pmic_int_l: pmic-int-l { 733 rockchip,pins = <3 RK_ 629 rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; 734 }; 630 }; 735 631 736 vsel1_pin: vsel1-pin { 632 vsel1_pin: vsel1-pin { 737 rockchip,pins = <1 RK_ 633 rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>; 738 }; 634 }; 739 635 740 vsel2_pin: vsel2-pin { 636 vsel2_pin: vsel2-pin { 741 rockchip,pins = <1 RK_ 637 rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>; 742 }; 638 }; 743 }; 639 }; 744 640 745 sdcard { 641 sdcard { 746 sdmmc0_pwr_h: sdmmc0-pwr-h { 642 sdmmc0_pwr_h: sdmmc0-pwr-h { 747 rockchip,pins = <0 RK_ 643 rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; 748 }; 644 }; 749 645 750 }; 646 }; 751 647 752 sdio-pwrseq { 648 sdio-pwrseq { 753 wifi_enable_h: wifi-enable-h { 649 wifi_enable_h: wifi-enable-h { 754 rockchip,pins = <0 RK_ 650 rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 755 }; 651 }; 756 }; 652 }; 757 653 758 usb-typec { 654 usb-typec { 759 vcc5v0_typec_en: vcc5v0_typec_ 655 vcc5v0_typec_en: vcc5v0_typec_en { 760 rockchip,pins = <1 RK_ 656 rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 761 }; 657 }; 762 }; 658 }; 763 659 764 usb2 { 660 usb2 { 765 vcc5v0_host_en: vcc5v0-host-en 661 vcc5v0_host_en: vcc5v0-host-en { 766 rockchip,pins = <4 RK_ 662 rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 767 }; 663 }; 768 }; 664 }; 769 }; 665 }; 770 666 771 &pwm0 { 667 &pwm0 { 772 status = "okay"; 668 status = "okay"; 773 }; 669 }; 774 670 775 &pwm1 { 671 &pwm1 { 776 status = "okay"; 672 status = "okay"; 777 }; 673 }; 778 674 779 &pwm2 { 675 &pwm2 { 780 status = "okay"; 676 status = "okay"; 781 }; 677 }; 782 678 783 &saradc { 679 &saradc { 784 vref-supply = <&vcca1v8_s3>; 680 vref-supply = <&vcca1v8_s3>; 785 status = "okay"; 681 status = "okay"; 786 }; 682 }; 787 683 788 &sdio0 { 684 &sdio0 { 789 bus-width = <4>; 685 bus-width = <4>; 790 cap-sd-highspeed; 686 cap-sd-highspeed; 791 cap-sdio-irq; 687 cap-sdio-irq; 792 disable-wp; 688 disable-wp; 793 keep-power-in-suspend; 689 keep-power-in-suspend; 794 mmc-pwrseq = <&sdio_pwrseq>; 690 mmc-pwrseq = <&sdio_pwrseq>; 795 non-removable; 691 non-removable; 796 pinctrl-names = "default"; 692 pinctrl-names = "default"; 797 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &s 693 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; 798 sd-uhs-sdr104; 694 sd-uhs-sdr104; 799 status = "okay"; 695 status = "okay"; 800 }; 696 }; 801 697 802 &sdmmc { 698 &sdmmc { 803 bus-width = <4>; 699 bus-width = <4>; 804 cap-sd-highspeed; 700 cap-sd-highspeed; 805 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 701 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 806 disable-wp; 702 disable-wp; 807 max-frequency = <150000000>; 703 max-frequency = <150000000>; 808 pinctrl-names = "default"; 704 pinctrl-names = "default"; 809 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sd 705 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; 810 vmmc-supply = <&vcc3v0_sd>; 706 vmmc-supply = <&vcc3v0_sd>; 811 vqmmc-supply = <&vcc_sdio>; 707 vqmmc-supply = <&vcc_sdio>; 812 status = "okay"; 708 status = "okay"; 813 }; 709 }; 814 710 815 &sdhci { 711 &sdhci { 816 bus-width = <8>; 712 bus-width = <8>; 817 mmc-hs200-1_8v; 713 mmc-hs200-1_8v; 818 non-removable; 714 non-removable; 819 status = "okay"; 715 status = "okay"; 820 }; 716 }; 821 717 822 &spdif { 718 &spdif { 823 pinctrl-0 = <&spdif_bus_1>; 719 pinctrl-0 = <&spdif_bus_1>; 824 720 825 spdif_p0: port { 721 spdif_p0: port { 826 spdif_p0_0: endpoint { 722 spdif_p0_0: endpoint { 827 remote-endpoint = <&di 723 remote-endpoint = <&dit_p0_0>; 828 }; 724 }; 829 }; 725 }; 830 }; 726 }; 831 727 832 &spi1 { 728 &spi1 { 833 status = "okay"; 729 status = "okay"; 834 730 835 flash@0 { 731 flash@0 { 836 compatible = "jedec,spi-nor"; 732 compatible = "jedec,spi-nor"; 837 reg = <0>; 733 reg = <0>; 838 spi-max-frequency = <10000000> 734 spi-max-frequency = <10000000>; 839 }; 735 }; 840 }; 736 }; 841 737 842 &tcphy0 { 738 &tcphy0 { 843 status = "okay"; 739 status = "okay"; 844 }; 740 }; 845 741 846 &tcphy1 { 742 &tcphy1 { 847 status = "okay"; 743 status = "okay"; 848 }; 744 }; 849 745 850 &tsadc { 746 &tsadc { 851 /* tshut mode 0:CRU 1:GPIO */ 747 /* tshut mode 0:CRU 1:GPIO */ 852 rockchip,hw-tshut-mode = <1>; 748 rockchip,hw-tshut-mode = <1>; 853 /* tshut polarity 0:LOW 1:HIGH */ 749 /* tshut polarity 0:LOW 1:HIGH */ 854 rockchip,hw-tshut-polarity = <1>; 750 rockchip,hw-tshut-polarity = <1>; 855 status = "okay"; 751 status = "okay"; 856 }; 752 }; 857 753 858 &u2phy0 { 754 &u2phy0 { 859 status = "okay"; 755 status = "okay"; 860 756 861 u2phy0_otg: otg-port { 757 u2phy0_otg: otg-port { 862 status = "okay"; 758 status = "okay"; 863 }; 759 }; 864 760 865 u2phy0_host: host-port { 761 u2phy0_host: host-port { 866 phy-supply = <&vcc5v0_host>; 762 phy-supply = <&vcc5v0_host>; 867 status = "okay"; 763 status = "okay"; 868 }; 764 }; 869 }; 765 }; 870 766 871 &u2phy1 { 767 &u2phy1 { 872 status = "okay"; 768 status = "okay"; 873 769 874 u2phy1_otg: otg-port { 770 u2phy1_otg: otg-port { 875 status = "okay"; 771 status = "okay"; 876 }; 772 }; 877 773 878 u2phy1_host: host-port { 774 u2phy1_host: host-port { 879 phy-supply = <&vcc5v0_host>; 775 phy-supply = <&vcc5v0_host>; 880 status = "okay"; 776 status = "okay"; 881 }; 777 }; 882 }; 778 }; 883 779 884 &uart0 { 780 &uart0 { 885 pinctrl-names = "default"; 781 pinctrl-names = "default"; 886 pinctrl-0 = <&uart0_xfer &uart0_cts &u 782 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; 887 status = "okay"; 783 status = "okay"; 888 784 889 bluetooth { 785 bluetooth { 890 compatible = "brcm,bcm43438-bt 786 compatible = "brcm,bcm43438-bt"; 891 clocks = <&rk808 1>; 787 clocks = <&rk808 1>; 892 clock-names = "lpo"; 788 clock-names = "lpo"; 893 device-wakeup-gpios = <&gpio2 789 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 894 host-wakeup-gpios = <&gpio0 RK 790 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 895 shutdown-gpios = <&gpio0 RK_PB 791 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 896 pinctrl-names = "default"; 792 pinctrl-names = "default"; 897 pinctrl-0 = <&bt_host_wake_l & 793 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 898 vbat-supply = <&vcc3v3_sys>; 794 vbat-supply = <&vcc3v3_sys>; 899 vddio-supply = <&vcc_1v8>; 795 vddio-supply = <&vcc_1v8>; 900 }; 796 }; 901 }; 797 }; 902 798 903 &uart2 { 799 &uart2 { 904 status = "okay"; 800 status = "okay"; 905 }; 801 }; 906 802 907 &usb_host0_ehci { 803 &usb_host0_ehci { 908 status = "okay"; 804 status = "okay"; 909 }; 805 }; 910 806 911 &usb_host0_ohci { 807 &usb_host0_ohci { 912 status = "okay"; 808 status = "okay"; 913 }; 809 }; 914 810 915 &usb_host1_ehci { 811 &usb_host1_ehci { 916 status = "okay"; 812 status = "okay"; 917 }; 813 }; 918 814 919 &usb_host1_ohci { 815 &usb_host1_ohci { 920 status = "okay"; 816 status = "okay"; 921 }; 817 }; 922 818 923 &usbdrd3_0 { 819 &usbdrd3_0 { 924 status = "okay"; 820 status = "okay"; 925 }; 821 }; 926 822 927 &usbdrd_dwc3_0 { 823 &usbdrd_dwc3_0 { 928 status = "okay"; 824 status = "okay"; 929 dr_mode = "host"; 825 dr_mode = "host"; 930 }; 826 }; 931 827 932 &usbdrd3_1 { 828 &usbdrd3_1 { 933 status = "okay"; 829 status = "okay"; 934 }; 830 }; 935 831 936 &usbdrd_dwc3_1 { 832 &usbdrd_dwc3_1 { 937 status = "okay"; 833 status = "okay"; 938 dr_mode = "host"; 834 dr_mode = "host"; 939 }; 835 }; 940 836 941 &vopb { 837 &vopb { 942 status = "okay"; 838 status = "okay"; 943 }; 839 }; 944 840 945 &vopb_mmu { 841 &vopb_mmu { 946 status = "okay"; 842 status = "okay"; 947 }; 843 }; 948 844 949 &vopl { 845 &vopl { 950 status = "okay"; 846 status = "okay"; 951 }; 847 }; 952 848 953 &vopl_mmu { 849 &vopl_mmu { 954 status = "okay"; 850 status = "okay"; 955 }; 851 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.