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