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/input/linux-event-codes. 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/usb/pd.h> 8 #include <dt-bindings/usb/pd.h> 9 #include "rk3588s.dtsi" 9 #include "rk3588s.dtsi" 10 10 11 / { 11 / { 12 model = "Indiedroid Nova"; 12 model = "Indiedroid Nova"; 13 compatible = "indiedroid,nova", "rockc 13 compatible = "indiedroid,nova", "rockchip,rk3588s"; 14 14 15 adc-keys-0 { 15 adc-keys-0 { 16 compatible = "adc-keys"; 16 compatible = "adc-keys"; 17 io-channel-names = "buttons"; 17 io-channel-names = "buttons"; 18 io-channels = <&saradc 0>; 18 io-channels = <&saradc 0>; 19 keyup-threshold-microvolt = <1 19 keyup-threshold-microvolt = <1800000>; 20 poll-interval = <100>; 20 poll-interval = <100>; 21 21 22 button-boot { 22 button-boot { 23 label = "boot"; 23 label = "boot"; 24 linux,code = <KEY_PROG 24 linux,code = <KEY_PROG1>; 25 press-threshold-microv 25 press-threshold-microvolt = <18000>; 26 }; 26 }; 27 }; 27 }; 28 28 29 adc-keys-1 { 29 adc-keys-1 { 30 compatible = "adc-keys"; 30 compatible = "adc-keys"; 31 io-channel-names = "buttons"; 31 io-channel-names = "buttons"; 32 io-channels = <&saradc 1>; 32 io-channels = <&saradc 1>; 33 keyup-threshold-microvolt = <1 33 keyup-threshold-microvolt = <1800000>; 34 poll-interval = <100>; 34 poll-interval = <100>; 35 35 36 button-recovery { 36 button-recovery { 37 label = "recovery"; 37 label = "recovery"; 38 linux,code = <KEY_PROG 38 linux,code = <KEY_PROG2>; 39 press-threshold-microv 39 press-threshold-microvolt = <18000>; 40 }; 40 }; 41 }; 41 }; 42 42 43 aliases { 43 aliases { 44 mmc0 = &sdhci; 44 mmc0 = &sdhci; 45 mmc1 = &sdmmc; 45 mmc1 = &sdmmc; 46 mmc2 = &sdio; 46 mmc2 = &sdio; >> 47 serial2 = &uart2; 47 }; 48 }; 48 49 49 chosen { 50 chosen { 50 stdout-path = "serial2:1500000 51 stdout-path = "serial2:1500000n8"; 51 }; 52 }; 52 53 53 sdio_pwrseq: sdio-pwrseq { 54 sdio_pwrseq: sdio-pwrseq { 54 compatible = "mmc-pwrseq-simpl 55 compatible = "mmc-pwrseq-simple"; 55 clock-names = "ext_clock"; 56 clock-names = "ext_clock"; 56 clocks = <&rtc_hym8563>; 57 clocks = <&rtc_hym8563>; 57 pinctrl-0 = <&wifi_enable_h>; 58 pinctrl-0 = <&wifi_enable_h>; 58 pinctrl-names = "default"; 59 pinctrl-names = "default"; 59 post-power-on-delay-ms = <200> 60 post-power-on-delay-ms = <200>; 60 reset-gpios = <&gpio0 RK_PC7 G 61 reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_LOW>; 61 }; 62 }; 62 63 63 sound { 64 sound { 64 compatible = "audio-graph-card 65 compatible = "audio-graph-card"; 65 label = "rockchip,es8388-codec 66 label = "rockchip,es8388-codec"; 66 widgets = "Microphone", "Mic J 67 widgets = "Microphone", "Mic Jack", 67 "Headphone", "Headph 68 "Headphone", "Headphones"; 68 routing = "LINPUT2", "Mic Jack 69 routing = "LINPUT2", "Mic Jack", 69 "Headphones", "LOUT1 70 "Headphones", "LOUT1", 70 "Headphones", "ROUT1 71 "Headphones", "ROUT1"; 71 dais = <&i2s0_8ch_p0>; 72 dais = <&i2s0_8ch_p0>; 72 }; 73 }; 73 74 74 vbus5v0_typec: vbus5v0-typec-regulator 75 vbus5v0_typec: vbus5v0-typec-regulator { 75 compatible = "regulator-fixed" 76 compatible = "regulator-fixed"; 76 enable-active-high; 77 enable-active-high; 77 gpio = <&gpio4 RK_PA5 GPIO_ACT 78 gpio = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; 78 pinctrl-0 = <&typec5v_pwren>; 79 pinctrl-0 = <&typec5v_pwren>; 79 pinctrl-names = "default"; 80 pinctrl-names = "default"; 80 regulator-name = "vbus5v0_type 81 regulator-name = "vbus5v0_typec"; 81 regulator-min-microvolt = <500 82 regulator-min-microvolt = <5000000>; 82 regulator-max-microvolt = <500 83 regulator-max-microvolt = <5000000>; 83 vin-supply = <&vcc5v0_usb>; 84 vin-supply = <&vcc5v0_usb>; 84 }; 85 }; 85 86 86 vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regul 87 vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { 87 compatible = "regulator-fixed" 88 compatible = "regulator-fixed"; 88 regulator-always-on; 89 regulator-always-on; 89 regulator-boot-on; 90 regulator-boot-on; 90 regulator-max-microvolt = <110 91 regulator-max-microvolt = <1100000>; 91 regulator-min-microvolt = <110 92 regulator-min-microvolt = <1100000>; 92 regulator-name = "vcc_1v1_nldo 93 regulator-name = "vcc_1v1_nldo_s3"; 93 vin-supply = <&vcc5v0_sys>; 94 vin-supply = <&vcc5v0_sys>; 94 }; 95 }; 95 96 96 /* Regulator is enabled whenever vcc_1 97 /* Regulator is enabled whenever vcc_1v8_s0 is above 1.6v */ 97 vcc_3v3_s0: vcc-3v3-s0-regulator { 98 vcc_3v3_s0: vcc-3v3-s0-regulator { 98 compatible = "regulator-fixed" 99 compatible = "regulator-fixed"; 99 regulator-always-on; 100 regulator-always-on; 100 regulator-boot-on; 101 regulator-boot-on; 101 regulator-max-microvolt = <330 102 regulator-max-microvolt = <3300000>; 102 regulator-min-microvolt = <330 103 regulator-min-microvolt = <3300000>; 103 regulator-name = "vcc_3v3_s0"; 104 regulator-name = "vcc_3v3_s0"; 104 vin-supply = <&vcc_3v3_s3>; 105 vin-supply = <&vcc_3v3_s3>; 105 106 106 regulator-state-mem { 107 regulator-state-mem { 107 regulator-off-in-suspe 108 regulator-off-in-suspend; 108 }; 109 }; 109 }; 110 }; 110 111 111 vcc5v0_sys: vcc5v0-sys-regulator { 112 vcc5v0_sys: vcc5v0-sys-regulator { 112 compatible = "regulator-fixed" 113 compatible = "regulator-fixed"; 113 regulator-always-on; 114 regulator-always-on; 114 regulator-boot-on; 115 regulator-boot-on; 115 regulator-max-microvolt = <500 116 regulator-max-microvolt = <5000000>; 116 regulator-min-microvolt = <500 117 regulator-min-microvolt = <5000000>; 117 regulator-name = "vcc5v0_sys"; 118 regulator-name = "vcc5v0_sys"; 118 }; 119 }; 119 120 120 vcc5v0_usb: vcc5v0-usb-regulator { 121 vcc5v0_usb: vcc5v0-usb-regulator { 121 compatible = "regulator-fixed" 122 compatible = "regulator-fixed"; 122 regulator-always-on; 123 regulator-always-on; 123 regulator-boot-on; 124 regulator-boot-on; 124 regulator-max-microvolt = <500 125 regulator-max-microvolt = <5000000>; 125 regulator-min-microvolt = <500 126 regulator-min-microvolt = <5000000>; 126 regulator-name = "vcc5v0_usb"; 127 regulator-name = "vcc5v0_usb"; 127 vin-supply = <&vcc5v0_usbdcin> 128 vin-supply = <&vcc5v0_usbdcin>; 128 }; 129 }; 129 130 130 vcc5v0_usbdcin: vcc5v0-usbdcin-regulat 131 vcc5v0_usbdcin: vcc5v0-usbdcin-regulator { 131 compatible = "regulator-fixed" 132 compatible = "regulator-fixed"; 132 regulator-always-on; 133 regulator-always-on; 133 regulator-boot-on; 134 regulator-boot-on; 134 regulator-max-microvolt = <500 135 regulator-max-microvolt = <5000000>; 135 regulator-min-microvolt = <500 136 regulator-min-microvolt = <5000000>; 136 regulator-name = "vcc5v0_usbdc 137 regulator-name = "vcc5v0_usbdcin"; 137 }; 138 }; 138 }; 139 }; 139 140 140 &combphy0_ps { 141 &combphy0_ps { 141 status = "okay"; 142 status = "okay"; 142 }; 143 }; 143 144 144 &combphy2_psu { << 145 status = "okay"; << 146 }; << 147 << 148 &cpu_l0 { 145 &cpu_l0 { 149 cpu-supply = <&vdd_cpu_lit_s0>; 146 cpu-supply = <&vdd_cpu_lit_s0>; 150 }; 147 }; 151 148 152 &cpu_l1 { 149 &cpu_l1 { 153 cpu-supply = <&vdd_cpu_lit_s0>; 150 cpu-supply = <&vdd_cpu_lit_s0>; 154 }; 151 }; 155 152 156 &cpu_l2 { 153 &cpu_l2 { 157 cpu-supply = <&vdd_cpu_lit_s0>; 154 cpu-supply = <&vdd_cpu_lit_s0>; 158 }; 155 }; 159 156 160 &cpu_l3 { 157 &cpu_l3 { 161 cpu-supply = <&vdd_cpu_lit_s0>; 158 cpu-supply = <&vdd_cpu_lit_s0>; 162 }; 159 }; 163 160 164 &cpu_b0 { 161 &cpu_b0 { 165 cpu-supply = <&vdd_cpu_big0_s0>; 162 cpu-supply = <&vdd_cpu_big0_s0>; 166 }; 163 }; 167 164 168 &cpu_b1 { 165 &cpu_b1 { 169 cpu-supply = <&vdd_cpu_big0_s0>; 166 cpu-supply = <&vdd_cpu_big0_s0>; 170 }; 167 }; 171 168 172 &cpu_b2 { 169 &cpu_b2 { 173 cpu-supply = <&vdd_cpu_big1_s0>; 170 cpu-supply = <&vdd_cpu_big1_s0>; 174 }; 171 }; 175 172 176 &cpu_b3 { 173 &cpu_b3 { 177 cpu-supply = <&vdd_cpu_big1_s0>; 174 cpu-supply = <&vdd_cpu_big1_s0>; 178 }; 175 }; 179 176 180 /* 177 /* 181 * Add labels for each GPIO pin exposed on the 178 * Add labels for each GPIO pin exposed on the 40 pin header. Note that 182 * voltage of each GPIO pin could be either 3. 179 * voltage of each GPIO pin could be either 3.3v or 1.8v (as noted by 183 * label). 180 * label). 184 */ 181 */ 185 &gpio0 { 182 &gpio0 { 186 gpio-line-names = /* GPIO0 A0-A7 */ 183 gpio-line-names = /* GPIO0 A0-A7 */ 187 "", "", "", "", 184 "", "", "", "", 188 "", "", "", "", 185 "", "", "", "", 189 /* GPIO0 B0-B7 */ 186 /* GPIO0 B0-B7 */ 190 "", "", "", "", 187 "", "", "", "", 191 "", "", "", "", 188 "", "", "", "", 192 /* GPIO0 C0-C7 */ 189 /* GPIO0 C0-C7 */ 193 "", "", "", "", 190 "", "", "", "", 194 "", "", "", "", 191 "", "", "", "", 195 /* GPIO0 D0-D7 */ 192 /* GPIO0 D0-D7 */ 196 "HEADER_12_1v8", "", 193 "HEADER_12_1v8", "", "", "HEADER_24_1v8", 197 "", "", "", ""; 194 "", "", "", ""; 198 }; 195 }; 199 196 200 &gpio1 { 197 &gpio1 { 201 gpio-line-names = /* GPIO1 A0-A7 */ 198 gpio-line-names = /* GPIO1 A0-A7 */ 202 "HEADER_27_3v3", "", 199 "HEADER_27_3v3", "", "", "", 203 "HEADER_29_1v8", "", 200 "HEADER_29_1v8", "", "HEADER_7_1v8", "", 204 /* GPIO1 B0-B7 */ 201 /* GPIO1 B0-B7 */ 205 "", "HEADER_31_1v8", 202 "", "HEADER_31_1v8", "HEADER_33_1v8", "", 206 "HEADER_11_1v8", "HE 203 "HEADER_11_1v8", "HEADER_13_1v8", "", "", 207 /* GPIO1 C0-C7 */ 204 /* GPIO1 C0-C7 */ 208 "", "HEADER_28_3v3", 205 "", "HEADER_28_3v3", "", "", 209 "", "", "", "", 206 "", "", "", "", 210 /* GPIO1 D0-D7 */ 207 /* GPIO1 D0-D7 */ 211 "", "", "", "", 208 "", "", "", "", 212 "", "", "HEADER_5_3v 209 "", "", "HEADER_5_3v3", "HEADER_3_3v3"; 213 }; 210 }; 214 211 215 &gpio3 { 212 &gpio3 { 216 gpio-line-names = /* GPIO3 A0-A7 */ 213 gpio-line-names = /* GPIO3 A0-A7 */ 217 "", "", "", "", 214 "", "", "", "", 218 "", "", "", "", 215 "", "", "", "", 219 /* GPIO3 B0-B7 */ 216 /* GPIO3 B0-B7 */ 220 "HEADER_16_1v8", "HE 217 "HEADER_16_1v8", "HEADER_18_1v8", "", "", 221 "", "", "", "HEADER_ 218 "", "", "", "HEADER_19_1v8", 222 /* GPIO3 C0-C7 */ 219 /* GPIO3 C0-C7 */ 223 "HEADER_21_1v8", "HE 220 "HEADER_21_1v8", "HEADER_23_1v8", "", "HEADER_26_1v8", 224 "HEADER_15_1v8", "HE 221 "HEADER_15_1v8", "HEADER_22_1v8", "", "", 225 /* GPIO3 D0-D7 */ 222 /* GPIO3 D0-D7 */ 226 "", "", "", "", 223 "", "", "", "", 227 "", "", "", ""; 224 "", "", "", ""; 228 }; 225 }; 229 226 230 &gpio4 { 227 &gpio4 { 231 gpio-line-names = /* GPIO4 A0-A7 */ 228 gpio-line-names = /* GPIO4 A0-A7 */ 232 "", "", "HEADER_37_3 229 "", "", "HEADER_37_3v3", "HEADER_8_3v3", 233 "HEADER_10_3v3", "", 230 "HEADER_10_3v3", "", "HEADER_32_3v3", "HEADER_35_3v3", 234 /* GPIO4 B0-B7 */ 231 /* GPIO4 B0-B7 */ 235 "", "", "", "HEADER_ 232 "", "", "", "HEADER_40_3v3", 236 "HEADER_38_3v3", "HE 233 "HEADER_38_3v3", "HEADER_36_3v3", "", "", 237 /* GPIO4 C0-C7 */ 234 /* GPIO4 C0-C7 */ 238 "", "", "", "", 235 "", "", "", "", 239 "", "", "", "", 236 "", "", "", "", 240 /* GPIO4 D0-D7 */ 237 /* GPIO4 D0-D7 */ 241 "", "", "", "", 238 "", "", "", "", 242 "", "", "", ""; 239 "", "", "", ""; 243 }; 240 }; 244 241 245 &i2c0 { 242 &i2c0 { 246 pinctrl-0 = <&i2c0m2_xfer>; 243 pinctrl-0 = <&i2c0m2_xfer>; 247 pinctrl-names = "default"; 244 pinctrl-names = "default"; 248 status = "okay"; 245 status = "okay"; 249 246 250 vdd_cpu_big0_s0: regulator@42 { 247 vdd_cpu_big0_s0: regulator@42 { 251 compatible = "rockchip,rk8602" 248 compatible = "rockchip,rk8602"; 252 reg = <0x42>; 249 reg = <0x42>; 253 regulator-always-on; 250 regulator-always-on; 254 regulator-boot-on; 251 regulator-boot-on; 255 regulator-max-microvolt = <105 252 regulator-max-microvolt = <1050000>; 256 regulator-min-microvolt = <550 253 regulator-min-microvolt = <550000>; 257 regulator-name = "vdd_cpu_big0 254 regulator-name = "vdd_cpu_big0_s0"; 258 regulator-ramp-delay = <2300>; 255 regulator-ramp-delay = <2300>; 259 fcs,suspend-voltage-selector = 256 fcs,suspend-voltage-selector = <1>; 260 vin-supply = <&vcc5v0_sys>; 257 vin-supply = <&vcc5v0_sys>; 261 258 262 regulator-state-mem { 259 regulator-state-mem { 263 regulator-off-in-suspe 260 regulator-off-in-suspend; 264 }; 261 }; 265 }; 262 }; 266 263 267 vdd_cpu_big1_s0: regulator@43 { 264 vdd_cpu_big1_s0: regulator@43 { 268 compatible = "rockchip,rk8603" 265 compatible = "rockchip,rk8603", "rockchip,rk8602"; 269 reg = <0x43>; 266 reg = <0x43>; 270 regulator-always-on; 267 regulator-always-on; 271 regulator-boot-on; 268 regulator-boot-on; 272 regulator-max-microvolt = <105 269 regulator-max-microvolt = <1050000>; 273 regulator-min-microvolt = <550 270 regulator-min-microvolt = <550000>; 274 regulator-name = "vdd_cpu_big1 271 regulator-name = "vdd_cpu_big1_s0"; 275 regulator-ramp-delay = <2300>; 272 regulator-ramp-delay = <2300>; 276 fcs,suspend-voltage-selector = 273 fcs,suspend-voltage-selector = <1>; 277 vin-supply = <&vcc5v0_sys>; 274 vin-supply = <&vcc5v0_sys>; 278 275 279 regulator-state-mem { 276 regulator-state-mem { 280 regulator-off-in-suspe 277 regulator-off-in-suspend; 281 }; 278 }; 282 }; 279 }; 283 }; 280 }; 284 281 285 &i2c2 { 282 &i2c2 { 286 status = "okay"; 283 status = "okay"; 287 284 288 vdd_npu_s0: regulator@42 { 285 vdd_npu_s0: regulator@42 { 289 compatible = "rockchip,rk8602" 286 compatible = "rockchip,rk8602"; 290 reg = <0x42>; 287 reg = <0x42>; 291 regulator-always-on; 288 regulator-always-on; 292 regulator-boot-on; 289 regulator-boot-on; 293 regulator-max-microvolt = <950 290 regulator-max-microvolt = <950000>; 294 regulator-min-microvolt = <550 291 regulator-min-microvolt = <550000>; 295 regulator-name = "vdd_npu_s0"; 292 regulator-name = "vdd_npu_s0"; 296 regulator-ramp-delay = <2300>; 293 regulator-ramp-delay = <2300>; 297 fcs,suspend-voltage-selector = 294 fcs,suspend-voltage-selector = <1>; 298 vin-supply = <&vcc5v0_sys>; 295 vin-supply = <&vcc5v0_sys>; 299 296 300 regulator-state-mem { 297 regulator-state-mem { 301 regulator-off-in-suspe 298 regulator-off-in-suspend; 302 }; 299 }; 303 }; 300 }; 304 }; 301 }; 305 302 306 &i2c6 { 303 &i2c6 { 307 pinctrl-0 = <&i2c6m3_xfer>; 304 pinctrl-0 = <&i2c6m3_xfer>; 308 status = "okay"; 305 status = "okay"; 309 306 310 fusb302: typec-portc@22 { 307 fusb302: typec-portc@22 { 311 compatible = "fcs,fusb302"; 308 compatible = "fcs,fusb302"; 312 reg = <0x22>; 309 reg = <0x22>; 313 interrupt-parent = <&gpio0>; 310 interrupt-parent = <&gpio0>; 314 interrupts = <RK_PC4 IRQ_TYPE_ 311 interrupts = <RK_PC4 IRQ_TYPE_LEVEL_LOW>; 315 pinctrl-0 = <&usbc0_int>; 312 pinctrl-0 = <&usbc0_int>; 316 pinctrl-names = "default"; 313 pinctrl-names = "default"; 317 vbus-supply = <&vbus5v0_typec> 314 vbus-supply = <&vbus5v0_typec>; 318 315 319 usb_con: connector { !! 316 connector { 320 compatible = "usb-c-co 317 compatible = "usb-c-connector"; 321 data-role = "dual"; 318 data-role = "dual"; 322 label = "USB-C"; 319 label = "USB-C"; 323 power-role = "dual"; 320 power-role = "dual"; 324 try-power-role = "sink 321 try-power-role = "sink"; 325 source-pdos = <PDO_FIX 322 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 326 sink-pdos = <PDO_FIXED 323 sink-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>; 327 op-sink-microwatt = <1 324 op-sink-microwatt = <1000000>; 328 << 329 ports { << 330 #address-cells << 331 #size-cells = << 332 << 333 port@0 { << 334 reg = << 335 usbc0_ << 336 << 337 }; << 338 }; << 339 << 340 port@1 { << 341 reg = << 342 usbc0_ << 343 << 344 }; << 345 }; << 346 << 347 port@2 { << 348 reg = << 349 dp_alt << 350 << 351 }; << 352 }; << 353 }; << 354 }; 325 }; 355 }; 326 }; 356 327 357 rtc_hym8563: rtc@51 { 328 rtc_hym8563: rtc@51 { 358 compatible = "haoyu,hym8563"; 329 compatible = "haoyu,hym8563"; 359 reg = <0x51>; 330 reg = <0x51>; 360 #clock-cells = <0>; 331 #clock-cells = <0>; 361 clock-output-names = "hym8563" 332 clock-output-names = "hym8563"; 362 interrupt-parent = <&gpio0>; 333 interrupt-parent = <&gpio0>; 363 interrupts = <RK_PB0 IRQ_TYPE_ 334 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; 364 pinctrl-0 = <&hym8563_int>; 335 pinctrl-0 = <&hym8563_int>; 365 pinctrl-names = "default"; 336 pinctrl-names = "default"; 366 wakeup-source; 337 wakeup-source; 367 }; 338 }; 368 }; 339 }; 369 340 370 &i2c7 { 341 &i2c7 { 371 pinctrl-0 = <&i2c7m0_xfer>; 342 pinctrl-0 = <&i2c7m0_xfer>; 372 status = "okay"; 343 status = "okay"; 373 344 374 es8388: audio-codec@11 { 345 es8388: audio-codec@11 { 375 compatible = "everest,es8388"; 346 compatible = "everest,es8388"; 376 reg = <0x11>; 347 reg = <0x11>; 377 assigned-clock-rates = <122880 348 assigned-clock-rates = <12288000>; 378 assigned-clocks = <&cru I2S0_8 349 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; 379 AVDD-supply = <&vcc_3v3_s3>; 350 AVDD-supply = <&vcc_3v3_s3>; >> 351 clock-names = "mclk"; 380 clocks = <&cru I2S0_8CH_MCLKOU 352 clocks = <&cru I2S0_8CH_MCLKOUT>; 381 DVDD-supply = <&vcc_1v8_s3>; 353 DVDD-supply = <&vcc_1v8_s3>; 382 HPVDD-supply = <&vcc_3v3_s3>; 354 HPVDD-supply = <&vcc_3v3_s3>; 383 PVDD-supply = <&vcc_1v8_s3>; 355 PVDD-supply = <&vcc_1v8_s3>; 384 #sound-dai-cells = <0>; 356 #sound-dai-cells = <0>; 385 357 386 port { 358 port { 387 es8388_p0_0: endpoint 359 es8388_p0_0: endpoint { 388 remote-endpoin 360 remote-endpoint = <&i2s0_8ch_p0_0>; 389 }; 361 }; 390 }; 362 }; 391 }; 363 }; 392 }; 364 }; 393 365 394 &i2s0_8ch { 366 &i2s0_8ch { 395 pinctrl-names = "default"; 367 pinctrl-names = "default"; 396 pinctrl-0 = <&i2s0_lrck 368 pinctrl-0 = <&i2s0_lrck 397 &i2s0_mclk 369 &i2s0_mclk 398 &i2s0_sclk 370 &i2s0_sclk 399 &i2s0_sdi0 371 &i2s0_sdi0 400 &i2s0_sdo0>; 372 &i2s0_sdo0>; 401 status = "okay"; 373 status = "okay"; 402 374 403 i2s0_8ch_p0: port { 375 i2s0_8ch_p0: port { 404 i2s0_8ch_p0_0: endpoint { 376 i2s0_8ch_p0_0: endpoint { 405 dai-format = "i2s"; 377 dai-format = "i2s"; 406 mclk-fs = <256>; 378 mclk-fs = <256>; 407 remote-endpoint = <&es 379 remote-endpoint = <&es8388_p0_0>; 408 }; 380 }; 409 }; 381 }; 410 }; 382 }; 411 383 412 &pcie2x1l2 { 384 &pcie2x1l2 { 413 pinctrl-0 = <&rtl8111_perstb>; 385 pinctrl-0 = <&rtl8111_perstb>; 414 pinctrl-names = "default"; 386 pinctrl-names = "default"; 415 status = "okay"; 387 status = "okay"; 416 }; 388 }; 417 389 418 &pinctrl { 390 &pinctrl { 419 bluetooth-pins { 391 bluetooth-pins { 420 bt_reset: bt-reset { 392 bt_reset: bt-reset { 421 rockchip,pins = 393 rockchip,pins = 422 <0 RK_PD4 RK_F 394 <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 423 }; 395 }; 424 396 425 bt_wake_dev: bt-wake-dev { 397 bt_wake_dev: bt-wake-dev { 426 rockchip,pins = 398 rockchip,pins = 427 <0 RK_PC6 RK_F 399 <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 428 }; 400 }; 429 401 430 bt_wake_host: bt-wake-host { 402 bt_wake_host: bt-wake-host { 431 rockchip,pins = 403 rockchip,pins = 432 <0 RK_PC5 RK_F 404 <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_down>; 433 }; 405 }; 434 }; 406 }; 435 407 436 ethernet-pins { 408 ethernet-pins { 437 rtl8111_perstb: rtl8111-perstb 409 rtl8111_perstb: rtl8111-perstb { 438 rockchip,pins = <3 RK_ 410 rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>; 439 }; 411 }; 440 }; 412 }; 441 413 442 hym8563 { 414 hym8563 { 443 415 444 hym8563_int: hym8563-int { 416 hym8563_int: hym8563-int { 445 rockchip,pins = 417 rockchip,pins = 446 <0 RK_PB0 RK_F 418 <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 447 }; 419 }; 448 }; 420 }; 449 421 450 sdio-pwrseq { 422 sdio-pwrseq { 451 wifi_enable_h: wifi-enable-h { 423 wifi_enable_h: wifi-enable-h { 452 rockchip,pins = 424 rockchip,pins = 453 <0 RK_PC7 RK_F 425 <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; 454 }; 426 }; 455 }; 427 }; 456 428 457 usb-typec { 429 usb-typec { 458 usbc0_int: usbc0-int { 430 usbc0_int: usbc0-int { 459 rockchip,pins = 431 rockchip,pins = 460 <0 RK_PC4 RK_F 432 <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>; 461 }; 433 }; 462 434 463 typec5v_pwren: typec5v-pwren { 435 typec5v_pwren: typec5v-pwren { 464 rockchip,pins = 436 rockchip,pins = 465 <4 RK_PA5 RK_F 437 <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 466 }; 438 }; 467 }; 439 }; 468 }; 440 }; 469 441 470 &saradc { 442 &saradc { 471 vref-supply = <&vcca_1v8_s0>; 443 vref-supply = <&vcca_1v8_s0>; 472 status = "okay"; 444 status = "okay"; 473 }; 445 }; 474 446 475 /* HS400 modes seemed to cause io errors. */ 447 /* HS400 modes seemed to cause io errors. */ 476 &sdhci { 448 &sdhci { 477 bus-width = <8>; 449 bus-width = <8>; 478 no-mmc-hs400; 450 no-mmc-hs400; 479 no-sd; 451 no-sd; 480 no-sdio; 452 no-sdio; 481 non-removable; 453 non-removable; 482 vmmc-supply = <&vcc_3v3_s0>; 454 vmmc-supply = <&vcc_3v3_s0>; 483 vqmmc-supply = <&vcc_1v8_s3>; 455 vqmmc-supply = <&vcc_1v8_s3>; 484 status = "okay"; 456 status = "okay"; 485 }; 457 }; 486 458 487 &sdio { 459 &sdio { 488 bus-width = <4>; 460 bus-width = <4>; 489 cap-sd-highspeed; 461 cap-sd-highspeed; 490 cap-sdio-irq; 462 cap-sdio-irq; 491 disable-wp; 463 disable-wp; 492 keep-power-in-suspend; 464 keep-power-in-suspend; 493 max-frequency = <100000000>; 465 max-frequency = <100000000>; 494 mmc-pwrseq = <&sdio_pwrseq>; 466 mmc-pwrseq = <&sdio_pwrseq>; 495 no-mmc; 467 no-mmc; 496 no-sd; 468 no-sd; 497 non-removable; 469 non-removable; 498 sd-uhs-sdr104; 470 sd-uhs-sdr104; 499 vmmc-supply = <&vcc_3v3_s3>; 471 vmmc-supply = <&vcc_3v3_s3>; 500 vqmmc-supply = <&vcc_1v8_s3>; 472 vqmmc-supply = <&vcc_1v8_s3>; 501 status = "okay"; 473 status = "okay"; 502 }; 474 }; 503 475 504 &sdmmc { 476 &sdmmc { 505 bus-width = <4>; 477 bus-width = <4>; 506 cap-mmc-highspeed; 478 cap-mmc-highspeed; 507 cap-sd-highspeed; 479 cap-sd-highspeed; 508 disable-wp; 480 disable-wp; 509 no-sdio; 481 no-sdio; 510 no-mmc; 482 no-mmc; 511 sd-uhs-sdr104; 483 sd-uhs-sdr104; 512 vmmc-supply = <&vcc_3v3_s3>; 484 vmmc-supply = <&vcc_3v3_s3>; 513 vqmmc-supply = <&vccio_sd_s0>; 485 vqmmc-supply = <&vccio_sd_s0>; 514 status = "okay"; 486 status = "okay"; 515 }; 487 }; 516 488 517 &spi2 { 489 &spi2 { 518 #address-cells = <1>; 490 #address-cells = <1>; 519 assigned-clocks = <&cru CLK_SPI2>; 491 assigned-clocks = <&cru CLK_SPI2>; 520 assigned-clock-rates = <200000000>; 492 assigned-clock-rates = <200000000>; 521 num-cs = <1>; 493 num-cs = <1>; 522 pinctrl-0 = <&spi2m2_pins>, <&spi2m2_c 494 pinctrl-0 = <&spi2m2_pins>, <&spi2m2_cs0>; 523 pinctrl-names = "default"; 495 pinctrl-names = "default"; 524 #size-cells = <0>; 496 #size-cells = <0>; 525 status = "okay"; 497 status = "okay"; 526 498 527 pmic@0 { 499 pmic@0 { 528 compatible = "rockchip,rk806"; 500 compatible = "rockchip,rk806"; 529 reg = <0x0>; 501 reg = <0x0>; 530 #gpio-cells = <2>; 502 #gpio-cells = <2>; 531 gpio-controller; 503 gpio-controller; 532 interrupt-parent = <&gpio0>; 504 interrupt-parent = <&gpio0>; 533 interrupts = <RK_PA7 IRQ_TYPE_ 505 interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>; 534 pinctrl-0 = <&pmic_pins>, <&rk 506 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 535 <&rk806_dvs2_null> 507 <&rk806_dvs2_null>, <&rk806_dvs3_null>; 536 pinctrl-names = "default"; 508 pinctrl-names = "default"; 537 spi-max-frequency = <1000000>; 509 spi-max-frequency = <1000000>; 538 510 539 vcc1-supply = <&vcc5v0_sys>; 511 vcc1-supply = <&vcc5v0_sys>; 540 vcc2-supply = <&vcc5v0_sys>; 512 vcc2-supply = <&vcc5v0_sys>; 541 vcc3-supply = <&vcc5v0_sys>; 513 vcc3-supply = <&vcc5v0_sys>; 542 vcc4-supply = <&vcc5v0_sys>; 514 vcc4-supply = <&vcc5v0_sys>; 543 vcc5-supply = <&vcc5v0_sys>; 515 vcc5-supply = <&vcc5v0_sys>; 544 vcc6-supply = <&vcc5v0_sys>; 516 vcc6-supply = <&vcc5v0_sys>; 545 vcc7-supply = <&vcc5v0_sys>; 517 vcc7-supply = <&vcc5v0_sys>; 546 vcc8-supply = <&vcc5v0_sys>; 518 vcc8-supply = <&vcc5v0_sys>; 547 vcc9-supply = <&vcc5v0_sys>; 519 vcc9-supply = <&vcc5v0_sys>; 548 vcc10-supply = <&vcc5v0_sys>; 520 vcc10-supply = <&vcc5v0_sys>; 549 vcc11-supply = <&vcc_2v0_pldo_ 521 vcc11-supply = <&vcc_2v0_pldo_s3>; 550 vcc12-supply = <&vcc5v0_sys>; 522 vcc12-supply = <&vcc5v0_sys>; 551 vcc13-supply = <&vcc_1v1_nldo_ 523 vcc13-supply = <&vcc_1v1_nldo_s3>; 552 vcc14-supply = <&vcc_1v1_nldo_ 524 vcc14-supply = <&vcc_1v1_nldo_s3>; 553 vcca-supply = <&vcc5v0_sys>; 525 vcca-supply = <&vcc5v0_sys>; 554 526 555 rk806_dvs1_null: dvs1-null-pin 527 rk806_dvs1_null: dvs1-null-pins { 556 pins = "gpio_pwrctrl1" !! 528 pins = "gpio_pwrctrl2"; 557 function = "pin_fun0"; 529 function = "pin_fun0"; 558 }; 530 }; 559 531 560 rk806_dvs2_null: dvs2-null-pin 532 rk806_dvs2_null: dvs2-null-pins { 561 pins = "gpio_pwrctrl2" 533 pins = "gpio_pwrctrl2"; 562 function = "pin_fun0"; 534 function = "pin_fun0"; 563 }; 535 }; 564 536 565 rk806_dvs3_null: dvs3-null-pin 537 rk806_dvs3_null: dvs3-null-pins { 566 pins = "gpio_pwrctrl3" 538 pins = "gpio_pwrctrl3"; 567 function = "pin_fun0"; 539 function = "pin_fun0"; 568 }; 540 }; 569 541 570 regulators { 542 regulators { 571 vdd_gpu_s0: dcdc-reg1 543 vdd_gpu_s0: dcdc-reg1 { 572 regulator-boot 544 regulator-boot-on; 573 regulator-enab 545 regulator-enable-ramp-delay = <400>; 574 regulator-max- 546 regulator-max-microvolt = <950000>; 575 regulator-min- 547 regulator-min-microvolt = <550000>; 576 regulator-name 548 regulator-name = "vdd_gpu_s0"; 577 regulator-ramp 549 regulator-ramp-delay = <12500>; 578 regulator-stat 550 regulator-state-mem { 579 regula 551 regulator-off-in-suspend; 580 }; 552 }; 581 }; 553 }; 582 554 583 vdd_cpu_lit_s0: dcdc-r 555 vdd_cpu_lit_s0: dcdc-reg2 { 584 regulator-alwa 556 regulator-always-on; 585 regulator-boot 557 regulator-boot-on; 586 regulator-max- 558 regulator-max-microvolt = <950000>; 587 regulator-min- 559 regulator-min-microvolt = <550000>; 588 regulator-ramp 560 regulator-ramp-delay = <12500>; 589 regulator-name 561 regulator-name = "vdd_cpu_lit_s0"; 590 regulator-stat 562 regulator-state-mem { 591 regula 563 regulator-off-in-suspend; 592 }; 564 }; 593 }; 565 }; 594 566 595 vdd_logic_s0: dcdc-reg 567 vdd_logic_s0: dcdc-reg3 { 596 regulator-alwa 568 regulator-always-on; 597 regulator-boot 569 regulator-boot-on; 598 regulator-max- 570 regulator-max-microvolt = <750000>; 599 regulator-min- 571 regulator-min-microvolt = <675000>; 600 regulator-name 572 regulator-name = "vdd_logic_s0"; 601 regulator-ramp 573 regulator-ramp-delay = <12500>; 602 regulator-stat 574 regulator-state-mem { 603 regula 575 regulator-on-in-suspend; 604 regula 576 regulator-suspend-microvolt = <750000>; 605 }; 577 }; 606 }; 578 }; 607 579 608 vdd_vdenc_s0: dcdc-reg 580 vdd_vdenc_s0: dcdc-reg4 { 609 regulator-alwa 581 regulator-always-on; 610 regulator-boot 582 regulator-boot-on; 611 regulator-max- 583 regulator-max-microvolt = <950000>; 612 regulator-min- 584 regulator-min-microvolt = <550000>; 613 regulator-name 585 regulator-name = "vdd_vdenc_s0"; 614 regulator-ramp 586 regulator-ramp-delay = <12500>; 615 regulator-stat 587 regulator-state-mem { 616 regula 588 regulator-off-in-suspend; 617 }; 589 }; 618 }; 590 }; 619 591 620 vdd_ddr_s0: dcdc-reg5 592 vdd_ddr_s0: dcdc-reg5 { 621 regulator-alwa 593 regulator-always-on; 622 regulator-boot 594 regulator-boot-on; 623 regulator-min- 595 regulator-min-microvolt = <750000>; 624 regulator-max- 596 regulator-max-microvolt = <850000>; 625 regulator-ramp 597 regulator-ramp-delay = <12500>; 626 regulator-name 598 regulator-name = "vdd_ddr_s0"; 627 regulator-stat 599 regulator-state-mem { 628 regula 600 regulator-off-in-suspend; 629 regula 601 regulator-suspend-microvolt = <850000>; 630 }; 602 }; 631 }; 603 }; 632 604 633 vdd2_ddr_s3: dcdc-reg6 605 vdd2_ddr_s3: dcdc-reg6 { 634 regulator-alwa 606 regulator-always-on; 635 regulator-boot 607 regulator-boot-on; 636 regulator-max- 608 regulator-max-microvolt = <1100000>; 637 regulator-min- 609 regulator-min-microvolt = <1100000>; 638 regulator-name 610 regulator-name = "vdd2_ddr_s3"; 639 regulator-stat 611 regulator-state-mem { 640 regula 612 regulator-on-in-suspend; 641 }; 613 }; 642 }; 614 }; 643 615 644 vcc_2v0_pldo_s3: dcdc- 616 vcc_2v0_pldo_s3: dcdc-reg7 { 645 regulator-alwa 617 regulator-always-on; 646 regulator-boot 618 regulator-boot-on; 647 regulator-max- 619 regulator-max-microvolt = <2000000>; 648 regulator-min- 620 regulator-min-microvolt = <2000000>; 649 regulator-name 621 regulator-name = "vdd_2v0_pldo_s3"; 650 regulator-stat 622 regulator-state-mem { 651 regula 623 regulator-on-in-suspend; 652 regula 624 regulator-suspend-microvolt = <2000000>; 653 }; 625 }; 654 }; 626 }; 655 627 656 vcc_3v3_s3: dcdc-reg8 628 vcc_3v3_s3: dcdc-reg8 { 657 regulator-alwa 629 regulator-always-on; 658 regulator-boot 630 regulator-boot-on; 659 regulator-max- 631 regulator-max-microvolt = <3300000>; 660 regulator-min- 632 regulator-min-microvolt = <3300000>; 661 regulator-name 633 regulator-name = "vcc_3v3_s3"; 662 regulator-stat 634 regulator-state-mem { 663 regula 635 regulator-on-in-suspend; 664 regula 636 regulator-suspend-microvolt = <3300000>; 665 }; 637 }; 666 }; 638 }; 667 639 668 vddq_ddr_s0: dcdc-reg9 640 vddq_ddr_s0: dcdc-reg9 { 669 regulator-alwa 641 regulator-always-on; 670 regulator-boot 642 regulator-boot-on; 671 regulator-max- 643 regulator-max-microvolt = <600000>; 672 regulator-min- 644 regulator-min-microvolt = <600000>; 673 regulator-name 645 regulator-name = "vddq_ddr_s0"; 674 regulator-stat 646 regulator-state-mem { 675 regula 647 regulator-off-in-suspend; 676 }; 648 }; 677 }; 649 }; 678 650 679 vcc_1v8_s3: dcdc-reg10 651 vcc_1v8_s3: dcdc-reg10 { 680 regulator-alwa 652 regulator-always-on; 681 regulator-boot 653 regulator-boot-on; 682 regulator-max- 654 regulator-max-microvolt = <1800000>; 683 regulator-min- 655 regulator-min-microvolt = <1800000>; 684 regulator-name 656 regulator-name = "vcc_1v8_s3"; 685 regulator-stat 657 regulator-state-mem { 686 regula 658 regulator-on-in-suspend; 687 regula 659 regulator-suspend-microvolt = <1800000>; 688 }; 660 }; 689 }; 661 }; 690 662 691 vcc_1v8_s0: pldo-reg1 663 vcc_1v8_s0: pldo-reg1 { 692 regulator-alwa 664 regulator-always-on; 693 regulator-boot 665 regulator-boot-on; 694 regulator-max- 666 regulator-max-microvolt = <1800000>; 695 regulator-min- 667 regulator-min-microvolt = <1800000>; 696 regulator-name 668 regulator-name = "vcc_1v8_s0"; 697 regulator-stat 669 regulator-state-mem { 698 regula 670 regulator-off-in-suspend; 699 }; 671 }; 700 }; 672 }; 701 673 702 vcca_1v8_s0: pldo-reg2 674 vcca_1v8_s0: pldo-reg2 { 703 regulator-alwa 675 regulator-always-on; 704 regulator-boot 676 regulator-boot-on; 705 regulator-max- 677 regulator-max-microvolt = <1800000>; 706 regulator-min- 678 regulator-min-microvolt = <1800000>; 707 regulator-name 679 regulator-name = "vcca_1v8_s0"; 708 regulator-stat 680 regulator-state-mem { 709 regula 681 regulator-off-in-suspend; 710 regula 682 regulator-suspend-microvolt = <1800000>; 711 }; 683 }; 712 }; 684 }; 713 685 714 vdda_1v2_s0: pldo-reg3 686 vdda_1v2_s0: pldo-reg3 { 715 regulator-alwa 687 regulator-always-on; 716 regulator-boot 688 regulator-boot-on; 717 regulator-max- 689 regulator-max-microvolt = <1200000>; 718 regulator-min- 690 regulator-min-microvolt = <1200000>; 719 regulator-name 691 regulator-name = "vdda_1v2_s0"; 720 regulator-stat 692 regulator-state-mem { 721 regula 693 regulator-off-in-suspend; 722 }; 694 }; 723 }; 695 }; 724 696 725 vcca_3v3_s0: pldo-reg4 697 vcca_3v3_s0: pldo-reg4 { 726 regulator-alwa 698 regulator-always-on; 727 regulator-boot 699 regulator-boot-on; 728 regulator-max- 700 regulator-max-microvolt = <3300000>; 729 regulator-min- 701 regulator-min-microvolt = <3300000>; 730 regulator-name 702 regulator-name = "vcca_3v3_s0"; 731 regulator-stat 703 regulator-state-mem { 732 regula 704 regulator-off-in-suspend; 733 }; 705 }; 734 }; 706 }; 735 707 736 vccio_sd_s0: pldo-reg5 708 vccio_sd_s0: pldo-reg5 { 737 regulator-alwa 709 regulator-always-on; 738 regulator-boot 710 regulator-boot-on; 739 regulator-max- 711 regulator-max-microvolt = <3300000>; 740 regulator-min- 712 regulator-min-microvolt = <1800000>; 741 regulator-name 713 regulator-name = "vccio_sd_s0"; 742 regulator-stat 714 regulator-state-mem { 743 regula 715 regulator-off-in-suspend; 744 }; 716 }; 745 }; 717 }; 746 718 747 vcc_1v8_s3_pldo6: pldo 719 vcc_1v8_s3_pldo6: pldo-reg6 { 748 regulator-alwa 720 regulator-always-on; 749 regulator-boot 721 regulator-boot-on; 750 regulator-max- 722 regulator-max-microvolt = <1800000>; 751 regulator-min- 723 regulator-min-microvolt = <1800000>; 752 regulator-name 724 regulator-name = "vcc_1v8_s3_pldo6"; 753 regulator-stat 725 regulator-state-mem { 754 regula 726 regulator-on-in-suspend; 755 regula 727 regulator-suspend-microvolt = <1800000>; 756 }; 728 }; 757 }; 729 }; 758 730 759 vdd_0v75_s3: nldo-reg1 731 vdd_0v75_s3: nldo-reg1 { 760 regulator-alwa 732 regulator-always-on; 761 regulator-boot 733 regulator-boot-on; 762 regulator-max- 734 regulator-max-microvolt = <750000>; 763 regulator-min- 735 regulator-min-microvolt = <750000>; 764 regulator-name 736 regulator-name = "vdd_0v75_s3"; 765 regulator-stat 737 regulator-state-mem { 766 regula 738 regulator-on-in-suspend; 767 regula 739 regulator-suspend-microvolt = <750000>; 768 }; 740 }; 769 }; 741 }; 770 742 771 vdda_ddr_pll_s0: nldo- 743 vdda_ddr_pll_s0: nldo-reg2 { 772 regulator-alwa 744 regulator-always-on; 773 regulator-boot 745 regulator-boot-on; 774 regulator-max- 746 regulator-max-microvolt = <850000>; 775 regulator-min- 747 regulator-min-microvolt = <850000>; 776 regulator-name 748 regulator-name = "vdda_ddr_pll_s0"; 777 regulator-stat 749 regulator-state-mem { 778 regula 750 regulator-off-in-suspend; 779 regula 751 regulator-suspend-microvolt = <850000>; 780 }; 752 }; 781 }; 753 }; 782 754 783 avdd_0v75_s0: nldo-reg 755 avdd_0v75_s0: nldo-reg3 { 784 regulator-alwa 756 regulator-always-on; 785 regulator-boot 757 regulator-boot-on; 786 regulator-max- 758 regulator-max-microvolt = <750000>; 787 regulator-min- 759 regulator-min-microvolt = <750000>; 788 regulator-name 760 regulator-name = "avdd_0v75_s0"; 789 regulator-stat 761 regulator-state-mem { 790 regula 762 regulator-off-in-suspend; 791 }; 763 }; 792 }; 764 }; 793 765 794 vdda_0v85_s0: nldo-reg 766 vdda_0v85_s0: nldo-reg4 { 795 regulator-alwa 767 regulator-always-on; 796 regulator-boot 768 regulator-boot-on; 797 regulator-min- 769 regulator-min-microvolt = <850000>; 798 regulator-max- 770 regulator-max-microvolt = <850000>; 799 regulator-name 771 regulator-name = "vdda_0v85_s0"; 800 regulator-stat 772 regulator-state-mem { 801 regula 773 regulator-off-in-suspend; 802 }; 774 }; 803 }; 775 }; 804 776 805 /* Schematics show not 777 /* Schematics show not in use */ 806 nldo-reg5 { 778 nldo-reg5 { 807 }; 779 }; 808 }; 780 }; 809 }; 781 }; 810 }; 782 }; 811 783 812 &tsadc { 784 &tsadc { 813 status = "okay"; 785 status = "okay"; 814 }; 786 }; 815 787 816 &u2phy0 { << 817 status = "okay"; << 818 }; << 819 << 820 &u2phy0_otg { << 821 status = "okay"; << 822 }; << 823 << 824 &u2phy2 { 788 &u2phy2 { 825 status = "okay"; 789 status = "okay"; 826 }; 790 }; 827 791 828 &u2phy2_host { 792 &u2phy2_host { 829 phy-supply = <&vcc5v0_usb>; 793 phy-supply = <&vcc5v0_usb>; 830 status = "okay"; 794 status = "okay"; 831 }; 795 }; 832 796 833 &u2phy3 { 797 &u2phy3 { 834 status = "okay"; 798 status = "okay"; 835 }; 799 }; 836 800 837 &u2phy3_host { 801 &u2phy3_host { 838 phy-supply = <&vcc5v0_usb>; 802 phy-supply = <&vcc5v0_usb>; 839 status = "okay"; 803 status = "okay"; 840 }; 804 }; 841 805 842 &uart2 { 806 &uart2 { 843 pinctrl-0 = <&uart2m0_xfer>; 807 pinctrl-0 = <&uart2m0_xfer>; 844 status = "okay"; 808 status = "okay"; 845 }; 809 }; 846 810 847 /* DMA seems to interfere with bluetooth devic 811 /* DMA seems to interfere with bluetooth device normal operation. */ 848 &uart9 { 812 &uart9 { 849 pinctrl-0 = <&uart9m2_xfer>, <&uart9m2 813 pinctrl-0 = <&uart9m2_xfer>, <&uart9m2_ctsn>, <&uart9m2_rtsn>; 850 pinctrl-names = "default"; 814 pinctrl-names = "default"; 851 /delete-property/ dma-names; 815 /delete-property/ dma-names; 852 /delete-property/ dmas; 816 /delete-property/ dmas; 853 uart-has-rtscts; 817 uart-has-rtscts; 854 status = "okay"; 818 status = "okay"; 855 819 856 bluetooth { 820 bluetooth { 857 compatible = "realtek,rtl8821c 821 compatible = "realtek,rtl8821cs-bt", 858 "realtek,rtl8723b 822 "realtek,rtl8723bs-bt"; 859 device-wake-gpios = <&gpio0 RK 823 device-wake-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; 860 enable-gpios = <&gpio0 RK_PD4 824 enable-gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; 861 host-wake-gpios = <&gpio0 RK_P 825 host-wake-gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; 862 pinctrl-0 = <&bt_reset>, <&bt_ 826 pinctrl-0 = <&bt_reset>, <&bt_wake_dev>, <&bt_wake_host>; 863 pinctrl-names = "default"; 827 pinctrl-names = "default"; 864 }; 828 }; 865 }; 829 }; 866 830 867 &usb_host0_ehci { 831 &usb_host0_ehci { 868 status = "okay"; 832 status = "okay"; 869 }; 833 }; 870 834 871 &usb_host0_ohci { 835 &usb_host0_ohci { 872 status = "okay"; 836 status = "okay"; 873 }; 837 }; 874 838 875 &usb_host0_xhci { << 876 usb-role-switch; << 877 status = "okay"; << 878 << 879 port { << 880 dwc3_0_role_switch: endpoint { << 881 remote-endpoint = <&us << 882 }; << 883 }; << 884 }; << 885 << 886 &usb_host1_ehci { 839 &usb_host1_ehci { 887 status = "okay"; 840 status = "okay"; 888 }; 841 }; 889 842 890 &usb_host1_ohci { 843 &usb_host1_ohci { 891 status = "okay"; 844 status = "okay"; 892 }; << 893 << 894 &usb_host2_xhci { << 895 status = "okay"; << 896 }; << 897 << 898 &usbdp_phy0 { << 899 orientation-switch; << 900 mode-switch; << 901 sbu1-dc-gpios = <&gpio4 RK_PA0 GPIO_AC << 902 sbu2-dc-gpios = <&gpio4 RK_PA1 GPIO_AC << 903 rockchip,dp-lane-mux = <2 3>; << 904 status = "okay"; << 905 << 906 port { << 907 #address-cells = <1>; << 908 #size-cells = <0>; << 909 << 910 usbdp_phy0_orientation_switch: << 911 reg = <0>; << 912 remote-endpoint = <&us << 913 }; << 914 << 915 usbdp_phy0_dp_altmode_mux: end << 916 reg = <1>; << 917 remote-endpoint = <&dp << 918 }; << 919 }; << 920 }; 845 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.