1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2019 Hardkernel Co., Ltd 3 * Copyright (c) 2019 Hardkernel Co., Ltd 4 * Copyright (c) 2020 Theobroma Systems Design 4 * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH 5 * Copyright (c) 2022 Maya Matuszczyk <maccraft 5 * Copyright (c) 2022 Maya Matuszczyk <maccraft123mc@gmail.com> 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 13 #include "rk3326.dtsi" 13 #include "rk3326.dtsi" 14 14 15 / { 15 / { 16 aliases { 16 aliases { 17 mmc0 = &sdmmc; 17 mmc0 = &sdmmc; 18 }; 18 }; 19 19 20 chosen { 20 chosen { 21 stdout-path = "serial2:115200n 21 stdout-path = "serial2:115200n8"; 22 }; 22 }; 23 23 24 backlight: backlight { 24 backlight: backlight { 25 compatible = "pwm-backlight"; 25 compatible = "pwm-backlight"; 26 power-supply = <&vcc_bl>; 26 power-supply = <&vcc_bl>; 27 pwms = <&pwm1 0 25000 0>; 27 pwms = <&pwm1 0 25000 0>; 28 }; 28 }; 29 29 30 /* 30 /* 31 * LED is a tri-state. Driven high it 31 * LED is a tri-state. Driven high it is red, driven low it is 32 * green, and not driven at all (pin s 32 * green, and not driven at all (pin set to input) it is amber. 33 * Additionally, there is a 2nd LED th 33 * Additionally, there is a 2nd LED that is not controllable 34 * that is on (red) when plugged in to 34 * that is on (red) when plugged in to power. 35 */ 35 */ 36 gpio_led: gpio-leds { 36 gpio_led: gpio-leds { 37 compatible = "gpio-leds"; 37 compatible = "gpio-leds"; 38 pinctrl-names = "default"; 38 pinctrl-names = "default"; 39 pinctrl-0 = <&led_pin>; 39 pinctrl-0 = <&led_pin>; 40 40 41 red_green_led: led-0 { 41 red_green_led: led-0 { 42 color = <LED_COLOR_ID_ 42 color = <LED_COLOR_ID_RED>; 43 gpios = <&gpio2 RK_PB5 43 gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>; 44 function = LED_FUNCTIO 44 function = LED_FUNCTION_CHARGING; 45 }; 45 }; 46 }; 46 }; 47 47 48 rk817-sound { 48 rk817-sound { 49 compatible = "simple-audio-car 49 compatible = "simple-audio-card"; 50 simple-audio-card,name = "rk81 50 simple-audio-card,name = "rk817_int"; 51 simple-audio-card,format = "i2 51 simple-audio-card,format = "i2s"; 52 simple-audio-card,hp-det-gpio 52 simple-audio-card,hp-det-gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_HIGH>; 53 simple-audio-card,mclk-fs = <2 53 simple-audio-card,mclk-fs = <256>; 54 simple-audio-card,widgets = 54 simple-audio-card,widgets = 55 "Microphone", "Mic Jac 55 "Microphone", "Mic Jack", 56 "Headphone", "Headphon 56 "Headphone", "Headphones", 57 "Speaker", "Speaker"; 57 "Speaker", "Speaker"; 58 simple-audio-card,routing = 58 simple-audio-card,routing = 59 "MICL", "Mic Jack", 59 "MICL", "Mic Jack", 60 "Headphones", "HPOL", 60 "Headphones", "HPOL", 61 "Headphones", "HPOR", 61 "Headphones", "HPOR", 62 "Speaker", "SPKO"; 62 "Speaker", "SPKO"; 63 63 64 simple-audio-card,codec { 64 simple-audio-card,codec { 65 sound-dai = <&rk817>; 65 sound-dai = <&rk817>; 66 }; 66 }; 67 67 68 simple-audio-card,cpu { 68 simple-audio-card,cpu { 69 sound-dai = <&i2s1_2ch 69 sound-dai = <&i2s1_2ch>; 70 }; 70 }; 71 }; 71 }; 72 72 73 vccsys: vccsys { 73 vccsys: vccsys { 74 compatible = "regulator-fixed" 74 compatible = "regulator-fixed"; 75 regulator-name = "vcc3v8_sys"; 75 regulator-name = "vcc3v8_sys"; 76 regulator-always-on; 76 regulator-always-on; 77 regulator-min-microvolt = <380 77 regulator-min-microvolt = <3800000>; 78 regulator-max-microvolt = <380 78 regulator-max-microvolt = <3800000>; 79 }; 79 }; 80 80 81 vibrator { 81 vibrator { 82 compatible = "pwm-vibrator"; 82 compatible = "pwm-vibrator"; 83 pwms = <&pwm0 0 1000000 0>; 83 pwms = <&pwm0 0 1000000 0>; 84 pwm-names = "enable"; 84 pwm-names = "enable"; 85 }; 85 }; 86 }; 86 }; 87 87 88 &cpu0 { 88 &cpu0 { 89 cpu-supply = <&vdd_arm>; 89 cpu-supply = <&vdd_arm>; 90 }; 90 }; 91 91 92 &cpu1 { 92 &cpu1 { 93 cpu-supply = <&vdd_arm>; 93 cpu-supply = <&vdd_arm>; 94 }; 94 }; 95 95 96 &cpu2 { 96 &cpu2 { 97 cpu-supply = <&vdd_arm>; 97 cpu-supply = <&vdd_arm>; 98 }; 98 }; 99 99 100 &cpu3 { 100 &cpu3 { 101 cpu-supply = <&vdd_arm>; 101 cpu-supply = <&vdd_arm>; 102 }; 102 }; 103 103 104 &cru { 104 &cru { 105 assigned-clocks = <&cru PLL_NPLL>, 105 assigned-clocks = <&cru PLL_NPLL>, 106 <&cru ACLK_BUS_PRE>, <&cru ACL 106 <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>, 107 <&cru HCLK_BUS_PRE>, <&cru HCL 107 <&cru HCLK_BUS_PRE>, <&cru HCLK_PERI_PRE>, 108 <&cru PCLK_BUS_PRE>, <&cru SCL 108 <&cru PCLK_BUS_PRE>, <&cru SCLK_GPU>; 109 109 110 assigned-clock-rates = <1188000000>, 110 assigned-clock-rates = <1188000000>, 111 <200000000>, <200000000>, 111 <200000000>, <200000000>, 112 <150000000>, <150000000>, 112 <150000000>, <150000000>, 113 <100000000>, <200000000>; 113 <100000000>, <200000000>; 114 }; 114 }; 115 115 116 &display_subsystem { 116 &display_subsystem { 117 status = "okay"; 117 status = "okay"; 118 }; 118 }; 119 119 120 &dsi { 120 &dsi { 121 status = "okay"; 121 status = "okay"; 122 122 123 ports { 123 ports { 124 mipi_out: port@1 { 124 mipi_out: port@1 { 125 reg = <1>; 125 reg = <1>; 126 126 127 mipi_out_panel: endpoi 127 mipi_out_panel: endpoint { 128 remote-endpoin 128 remote-endpoint = <&mipi_in_panel>; 129 }; 129 }; 130 }; 130 }; 131 }; 131 }; 132 132 133 internal_display: panel@0 { 133 internal_display: panel@0 { 134 reg = <0>; 134 reg = <0>; 135 backlight = <&backlight>; 135 backlight = <&backlight>; 136 reset-gpios = <&gpio3 RK_PC0 G 136 reset-gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_LOW>; 137 137 138 port { 138 port { 139 mipi_in_panel: endpoin 139 mipi_in_panel: endpoint { 140 remote-endpoin 140 remote-endpoint = <&mipi_out_panel>; 141 }; 141 }; 142 }; 142 }; 143 }; 143 }; 144 }; 144 }; 145 145 146 &dsi_dphy { 146 &dsi_dphy { 147 status = "okay"; 147 status = "okay"; 148 }; 148 }; 149 149 150 &gpu { 150 &gpu { 151 mali-supply = <&vdd_logic>; 151 mali-supply = <&vdd_logic>; 152 status = "okay"; 152 status = "okay"; 153 }; 153 }; 154 154 155 &i2c0 { 155 &i2c0 { 156 clock-frequency = <400000>; 156 clock-frequency = <400000>; 157 i2c-scl-falling-time-ns = <16>; 157 i2c-scl-falling-time-ns = <16>; 158 i2c-scl-rising-time-ns = <280>; 158 i2c-scl-rising-time-ns = <280>; 159 status = "okay"; 159 status = "okay"; 160 160 161 rk817: pmic@20 { 161 rk817: pmic@20 { 162 compatible = "rockchip,rk817"; 162 compatible = "rockchip,rk817"; 163 reg = <0x20>; 163 reg = <0x20>; 164 #clock-cells = <1>; 164 #clock-cells = <1>; 165 clock-names = "mclk"; 165 clock-names = "mclk"; 166 clock-output-names = "rk808-cl 166 clock-output-names = "rk808-clkout1", "xin32k"; 167 clocks = <&cru SCLK_I2S1_OUT>; 167 clocks = <&cru SCLK_I2S1_OUT>; 168 interrupt-parent = <&gpio0>; 168 interrupt-parent = <&gpio0>; 169 interrupts = <RK_PB2 IRQ_TYPE_ 169 interrupts = <RK_PB2 IRQ_TYPE_LEVEL_LOW>; 170 pinctrl-0 = <&pmic_int>, <&i2s 170 pinctrl-0 = <&pmic_int>, <&i2s1_2ch_mclk>; 171 pinctrl-names = "default"; 171 pinctrl-names = "default"; 172 #sound-dai-cells = <0>; 172 #sound-dai-cells = <0>; 173 wakeup-source; 173 wakeup-source; 174 174 175 vcc1-supply = <&vccsys>; 175 vcc1-supply = <&vccsys>; 176 vcc2-supply = <&vccsys>; 176 vcc2-supply = <&vccsys>; 177 vcc3-supply = <&vccsys>; 177 vcc3-supply = <&vccsys>; 178 vcc4-supply = <&vccsys>; 178 vcc4-supply = <&vccsys>; 179 vcc5-supply = <&vccsys>; 179 vcc5-supply = <&vccsys>; 180 vcc6-supply = <&vccsys>; 180 vcc6-supply = <&vccsys>; 181 vcc7-supply = <&vccsys>; 181 vcc7-supply = <&vccsys>; 182 vcc8-supply = <&vccsys>; 182 vcc8-supply = <&vccsys>; 183 183 184 regulators { 184 regulators { 185 vdd_logic: DCDC_REG1 { 185 vdd_logic: DCDC_REG1 { 186 regulator-alwa 186 regulator-always-on; 187 regulator-boot 187 regulator-boot-on; 188 regulator-max- 188 regulator-max-microvolt = <1150000>; 189 regulator-min- 189 regulator-min-microvolt = <950000>; 190 regulator-name 190 regulator-name = "vdd_logic"; 191 regulator-ramp 191 regulator-ramp-delay = <6001>; 192 192 193 regulator-stat 193 regulator-state-mem { 194 regula 194 regulator-on-in-suspend; 195 regula 195 regulator-suspend-microvolt = <950000>; 196 }; 196 }; 197 }; 197 }; 198 198 199 vdd_arm: DCDC_REG2 { 199 vdd_arm: DCDC_REG2 { 200 regulator-alwa 200 regulator-always-on; 201 regulator-boot 201 regulator-boot-on; 202 regulator-max- 202 regulator-max-microvolt = <1350000>; 203 regulator-min- 203 regulator-min-microvolt = <950000>; 204 regulator-name 204 regulator-name = "vdd_arm"; 205 regulator-ramp 205 regulator-ramp-delay = <6001>; 206 206 207 regulator-stat 207 regulator-state-mem { 208 regula 208 regulator-off-in-suspend; 209 regula 209 regulator-suspend-microvolt = <950000>; 210 }; 210 }; 211 }; 211 }; 212 212 213 vcc_ddr: DCDC_REG3 { 213 vcc_ddr: DCDC_REG3 { 214 regulator-alwa 214 regulator-always-on; 215 regulator-boot 215 regulator-boot-on; 216 regulator-name 216 regulator-name = "vcc_ddr"; 217 217 218 regulator-stat 218 regulator-state-mem { 219 regula 219 regulator-on-in-suspend; 220 }; 220 }; 221 }; 221 }; 222 222 223 vcc_3v3: DCDC_REG4 { 223 vcc_3v3: DCDC_REG4 { 224 regulator-alwa 224 regulator-always-on; 225 regulator-boot 225 regulator-boot-on; 226 regulator-max- 226 regulator-max-microvolt = <3300000>; 227 regulator-min- 227 regulator-min-microvolt = <3300000>; 228 regulator-name 228 regulator-name = "vcc_3v3"; 229 229 230 regulator-stat 230 regulator-state-mem { 231 regula 231 regulator-off-in-suspend; 232 regula 232 regulator-suspend-microvolt = <3300000>; 233 }; 233 }; 234 }; 234 }; 235 235 236 vcc_1v8: LDO_REG2 { 236 vcc_1v8: LDO_REG2 { 237 regulator-alwa 237 regulator-always-on; 238 regulator-boot 238 regulator-boot-on; 239 regulator-max- 239 regulator-max-microvolt = <1800000>; 240 regulator-min- 240 regulator-min-microvolt = <1800000>; 241 regulator-name 241 regulator-name = "vcc_1v8"; 242 242 243 regulator-stat 243 regulator-state-mem { 244 regula 244 regulator-on-in-suspend; 245 regula 245 regulator-suspend-microvolt = <1800000>; 246 }; 246 }; 247 }; 247 }; 248 248 249 vdd_1v0: LDO_REG3 { 249 vdd_1v0: LDO_REG3 { 250 regulator-alwa 250 regulator-always-on; 251 regulator-boot 251 regulator-boot-on; 252 regulator-max- 252 regulator-max-microvolt = <1000000>; 253 regulator-min- 253 regulator-min-microvolt = <1000000>; 254 regulator-name 254 regulator-name = "vdd_1v0"; 255 255 256 regulator-stat 256 regulator-state-mem { 257 regula 257 regulator-on-in-suspend; 258 regula 258 regulator-suspend-microvolt = <1000000>; 259 }; 259 }; 260 }; 260 }; 261 261 262 vcc3v3_pmu: LDO_REG4 { 262 vcc3v3_pmu: LDO_REG4 { 263 regulator-alwa 263 regulator-always-on; 264 regulator-boot 264 regulator-boot-on; 265 regulator-max- 265 regulator-max-microvolt = <3300000>; 266 regulator-min- 266 regulator-min-microvolt = <3300000>; 267 regulator-name 267 regulator-name = "vcc3v3_pmu"; 268 268 269 regulator-stat 269 regulator-state-mem { 270 regula 270 regulator-on-in-suspend; 271 regula 271 regulator-suspend-microvolt = <3300000>; 272 }; 272 }; 273 }; 273 }; 274 274 275 vccio_sd: LDO_REG5 { 275 vccio_sd: LDO_REG5 { 276 regulator-alwa 276 regulator-always-on; 277 regulator-boot 277 regulator-boot-on; 278 regulator-max- 278 regulator-max-microvolt = <3300000>; 279 regulator-min- 279 regulator-min-microvolt = <1800000>; 280 regulator-name 280 regulator-name = "vccio_sd"; 281 281 282 regulator-stat 282 regulator-state-mem { 283 regula 283 regulator-on-in-suspend; 284 regula 284 regulator-suspend-microvolt = <3300000>; 285 }; 285 }; 286 }; 286 }; 287 287 288 vcc_sd: LDO_REG6 { 288 vcc_sd: LDO_REG6 { 289 regulator-boot 289 regulator-boot-on; 290 regulator-max- 290 regulator-max-microvolt = <3300000>; 291 regulator-min- 291 regulator-min-microvolt = <3300000>; 292 regulator-name 292 regulator-name = "vcc_sd"; 293 293 294 regulator-stat 294 regulator-state-mem { 295 regula 295 regulator-on-in-suspend; 296 regula 296 regulator-suspend-microvolt = <3300000>; 297 }; 297 }; 298 }; 298 }; 299 299 300 vcc_bl: LDO_REG7 { 300 vcc_bl: LDO_REG7 { 301 regulator-max- 301 regulator-max-microvolt = <3300000>; 302 regulator-min- 302 regulator-min-microvolt = <3300000>; 303 regulator-name 303 regulator-name = "vcc_bl"; 304 304 305 regulator-stat 305 regulator-state-mem { 306 regula 306 regulator-off-in-suspend; 307 regula 307 regulator-suspend-microvolt = <3300000>; 308 }; 308 }; 309 }; 309 }; 310 310 311 vcc_lcd: LDO_REG8 { 311 vcc_lcd: LDO_REG8 { 312 regulator-max- 312 regulator-max-microvolt = <2800000>; 313 regulator-min- 313 regulator-min-microvolt = <2800000>; 314 regulator-name 314 regulator-name = "vcc_lcd"; 315 315 316 regulator-stat 316 regulator-state-mem { 317 regula 317 regulator-off-in-suspend; 318 regula 318 regulator-suspend-microvolt = <2800000>; 319 }; 319 }; 320 }; 320 }; 321 321 322 vcc_wifi: LDO_REG9 { 322 vcc_wifi: LDO_REG9 { 323 regulator-max- 323 regulator-max-microvolt = <3300000>; 324 regulator-min- 324 regulator-min-microvolt = <3300000>; 325 regulator-name 325 regulator-name = "vcc_wifi"; 326 326 327 regulator-stat 327 regulator-state-mem { 328 regula 328 regulator-off-in-suspend; 329 regula 329 regulator-suspend-microvolt = <3300000>; 330 }; 330 }; 331 }; 331 }; 332 332 333 usb_midu: BOOST { 333 usb_midu: BOOST { 334 regulator-alwa 334 regulator-always-on; 335 regulator-boot 335 regulator-boot-on; 336 regulator-max- 336 regulator-max-microvolt = <5400000>; 337 regulator-min- 337 regulator-min-microvolt = <5000000>; 338 regulator-name 338 regulator-name = "usb_midu"; 339 }; 339 }; 340 }; 340 }; 341 341 342 rk817_codec: codec { 342 rk817_codec: codec { 343 rockchip,mic-in-differ 343 rockchip,mic-in-differential; 344 }; 344 }; 345 }; 345 }; 346 }; 346 }; 347 347 348 &i2s1_2ch { 348 &i2s1_2ch { 349 status = "okay"; 349 status = "okay"; 350 }; 350 }; 351 351 352 &io_domains { 352 &io_domains { 353 vccio1-supply = <&vcc_3v3>; 353 vccio1-supply = <&vcc_3v3>; 354 vccio2-supply = <&vccio_sd>; 354 vccio2-supply = <&vccio_sd>; 355 vccio3-supply = <&vcc_3v3>; 355 vccio3-supply = <&vcc_3v3>; 356 vccio4-supply = <&vcc_3v3>; 356 vccio4-supply = <&vcc_3v3>; 357 vccio5-supply = <&vcc_3v3>; 357 vccio5-supply = <&vcc_3v3>; 358 vccio6-supply = <&vcc_3v3>; 358 vccio6-supply = <&vcc_3v3>; 359 status = "okay"; 359 status = "okay"; 360 }; 360 }; 361 361 362 &pmu_io_domains { 362 &pmu_io_domains { 363 pmuio1-supply = <&vcc3v3_pmu>; 363 pmuio1-supply = <&vcc3v3_pmu>; 364 pmuio2-supply = <&vcc3v3_pmu>; 364 pmuio2-supply = <&vcc3v3_pmu>; 365 status = "okay"; 365 status = "okay"; 366 }; 366 }; 367 367 368 &pwm0 { 368 &pwm0 { 369 status = "okay"; 369 status = "okay"; 370 }; 370 }; 371 371 372 &pwm1 { 372 &pwm1 { 373 status = "okay"; 373 status = "okay"; 374 }; 374 }; 375 375 376 &saradc { 376 &saradc { 377 vref-supply = <&vcc_1v8>; 377 vref-supply = <&vcc_1v8>; 378 status = "okay"; 378 status = "okay"; 379 }; 379 }; 380 380 381 &sdmmc { 381 &sdmmc { 382 cap-sd-highspeed; 382 cap-sd-highspeed; 383 card-detect-delay = <200>; 383 card-detect-delay = <200>; 384 cd-gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_ 384 cd-gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_LOW>; 385 sd-uhs-sdr12; 385 sd-uhs-sdr12; 386 sd-uhs-sdr25; 386 sd-uhs-sdr25; 387 sd-uhs-sdr50; 387 sd-uhs-sdr50; 388 sd-uhs-sdr104; 388 sd-uhs-sdr104; 389 vmmc-supply = <&vcc_sd>; 389 vmmc-supply = <&vcc_sd>; 390 vqmmc-supply = <&vccio_sd>; 390 vqmmc-supply = <&vccio_sd>; 391 status = "okay"; 391 status = "okay"; 392 }; 392 }; 393 393 394 &sfc { 394 &sfc { 395 #address-cells = <1>; 395 #address-cells = <1>; 396 pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bu 396 pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus2>; 397 pinctrl-names = "default"; 397 pinctrl-names = "default"; 398 #size-cells = <0>; 398 #size-cells = <0>; 399 status = "okay"; 399 status = "okay"; 400 400 401 flash@0 { 401 flash@0 { 402 compatible = "jedec,spi-nor"; 402 compatible = "jedec,spi-nor"; 403 reg = <0>; 403 reg = <0>; 404 spi-max-frequency = <108000000 404 spi-max-frequency = <108000000>; 405 spi-rx-bus-width = <2>; 405 spi-rx-bus-width = <2>; 406 spi-tx-bus-width = <1>; 406 spi-tx-bus-width = <1>; 407 }; 407 }; 408 }; 408 }; 409 409 410 &tsadc { 410 &tsadc { 411 status = "okay"; 411 status = "okay"; 412 }; 412 }; 413 413 414 &u2phy { 414 &u2phy { 415 status = "okay"; 415 status = "okay"; 416 416 417 u2phy_host: host-port { 417 u2phy_host: host-port { 418 status = "okay"; 418 status = "okay"; 419 }; 419 }; 420 420 421 u2phy_otg: otg-port { 421 u2phy_otg: otg-port { 422 status = "disabled"; 422 status = "disabled"; 423 }; 423 }; 424 }; 424 }; 425 425 426 &usb20_otg { 426 &usb20_otg { 427 status = "okay"; 427 status = "okay"; 428 }; 428 }; 429 429 430 &uart2 { 430 &uart2 { 431 pinctrl-0 = <&uart2m1_xfer>; 431 pinctrl-0 = <&uart2m1_xfer>; 432 pinctrl-names = "default"; 432 pinctrl-names = "default"; 433 status = "okay"; 433 status = "okay"; 434 }; 434 }; 435 435 436 &vopb { 436 &vopb { 437 status = "okay"; 437 status = "okay"; 438 }; 438 }; 439 439 440 &vopb_mmu { 440 &vopb_mmu { 441 status = "okay"; 441 status = "okay"; 442 }; 442 }; 443 443 444 &pinctrl { 444 &pinctrl { 445 headphone { 445 headphone { 446 hp_det: hp-det { 446 hp_det: hp-det { 447 rockchip,pins = <2 RK_ 447 rockchip,pins = <2 RK_PC6 RK_FUNC_GPIO &pcfg_pull_down>; 448 }; 448 }; 449 }; 449 }; 450 450 451 leds { 451 leds { 452 led_pin: led-pin { 452 led_pin: led-pin { 453 rockchip,pins = <2 RK_ 453 rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 454 }; 454 }; 455 }; 455 }; 456 456 457 pmic { 457 pmic { 458 dc_det: dc-det { 458 dc_det: dc-det { 459 rockchip,pins = <0 RK_ 459 rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 460 }; 460 }; 461 461 462 pmic_int: pmic-int { 462 pmic_int: pmic-int { 463 rockchip,pins = <0 RK_ 463 rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; 464 }; 464 }; 465 465 466 soc_slppin_gpio: soc_slppin_gp 466 soc_slppin_gpio: soc_slppin_gpio { 467 rockchip,pins = <0 RK_ 467 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_output_low>; 468 }; 468 }; 469 469 470 soc_slppin_rst: soc_slppin_rst 470 soc_slppin_rst: soc_slppin_rst { 471 rockchip,pins = <0 RK_ 471 rockchip,pins = <0 RK_PA4 2 &pcfg_pull_none>; 472 }; 472 }; 473 473 474 soc_slppin_slp: soc_slppin_slp 474 soc_slppin_slp: soc_slppin_slp { 475 rockchip,pins = <0 RK_ 475 rockchip,pins = <0 RK_PA4 1 &pcfg_pull_none>; 476 }; 476 }; 477 }; 477 }; 478 }; 478 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.