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 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 8 #include "rk3568.dtsi" 8 #include "rk3568.dtsi" 9 9 10 / { 10 / { 11 model = "Radxa ROCK 3A"; !! 11 model = "Radxa ROCK3 Model A"; 12 compatible = "radxa,rock3a", "rockchip 12 compatible = "radxa,rock3a", "rockchip,rk3568"; 13 13 14 aliases { 14 aliases { 15 ethernet0 = &gmac1; 15 ethernet0 = &gmac1; 16 mmc0 = &sdhci; 16 mmc0 = &sdhci; 17 mmc1 = &sdmmc0; 17 mmc1 = &sdmmc0; 18 mmc2 = &sdmmc2; << 19 }; 18 }; 20 19 21 chosen: chosen { 20 chosen: chosen { 22 stdout-path = "serial2:1500000 21 stdout-path = "serial2:1500000n8"; 23 }; 22 }; 24 23 25 hdmi-con { 24 hdmi-con { 26 compatible = "hdmi-connector"; 25 compatible = "hdmi-connector"; 27 type = "a"; 26 type = "a"; 28 27 29 port { 28 port { 30 hdmi_con_in: endpoint 29 hdmi_con_in: endpoint { 31 remote-endpoin 30 remote-endpoint = <&hdmi_out_con>; 32 }; 31 }; 33 }; 32 }; 34 }; 33 }; 35 34 36 gmac1_clkin: external-gmac1-clock { 35 gmac1_clkin: external-gmac1-clock { 37 compatible = "fixed-clock"; 36 compatible = "fixed-clock"; 38 clock-frequency = <125000000>; 37 clock-frequency = <125000000>; 39 clock-output-names = "gmac1_cl 38 clock-output-names = "gmac1_clkin"; 40 #clock-cells = <0>; 39 #clock-cells = <0>; 41 }; 40 }; 42 41 43 leds { 42 leds { 44 compatible = "gpio-leds"; 43 compatible = "gpio-leds"; 45 44 46 led_user: led-0 { 45 led_user: led-0 { 47 gpios = <&gpio0 RK_PB7 46 gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; 48 function = LED_FUNCTIO 47 function = LED_FUNCTION_HEARTBEAT; 49 color = <LED_COLOR_ID_ 48 color = <LED_COLOR_ID_BLUE>; 50 linux,default-trigger 49 linux,default-trigger = "heartbeat"; 51 pinctrl-names = "defau 50 pinctrl-names = "default"; 52 pinctrl-0 = <&led_user 51 pinctrl-0 = <&led_user_en>; 53 }; 52 }; 54 }; 53 }; 55 54 56 rk809-sound { 55 rk809-sound { 57 compatible = "simple-audio-car 56 compatible = "simple-audio-card"; 58 simple-audio-card,format = "i2 57 simple-audio-card,format = "i2s"; 59 simple-audio-card,name = "Anal 58 simple-audio-card,name = "Analog RK809"; 60 simple-audio-card,mclk-fs = <2 59 simple-audio-card,mclk-fs = <256>; 61 60 62 simple-audio-card,cpu { 61 simple-audio-card,cpu { 63 sound-dai = <&i2s1_8ch 62 sound-dai = <&i2s1_8ch>; 64 }; 63 }; 65 64 66 simple-audio-card,codec { 65 simple-audio-card,codec { 67 sound-dai = <&rk809>; 66 sound-dai = <&rk809>; 68 }; 67 }; 69 }; 68 }; 70 69 71 sdio_pwrseq: sdio-pwrseq { 70 sdio_pwrseq: sdio-pwrseq { 72 compatible = "mmc-pwrseq-simpl 71 compatible = "mmc-pwrseq-simple"; 73 clocks = <&rk809 1>; 72 clocks = <&rk809 1>; 74 clock-names = "ext_clock"; 73 clock-names = "ext_clock"; 75 pinctrl-names = "default"; 74 pinctrl-names = "default"; 76 pinctrl-0 = <&wifi_enable>; 75 pinctrl-0 = <&wifi_enable>; 77 post-power-on-delay-ms = <100> 76 post-power-on-delay-ms = <100>; 78 power-off-delay-us = <5000000> 77 power-off-delay-us = <5000000>; 79 reset-gpios = <&gpio3 RK_PD4 G 78 reset-gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>; 80 }; 79 }; 81 80 82 vcc12v_dcin: vcc12v-dcin-regulator { 81 vcc12v_dcin: vcc12v-dcin-regulator { 83 compatible = "regulator-fixed" 82 compatible = "regulator-fixed"; 84 regulator-name = "vcc12v_dcin" 83 regulator-name = "vcc12v_dcin"; 85 regulator-always-on; 84 regulator-always-on; 86 regulator-boot-on; 85 regulator-boot-on; 87 }; 86 }; 88 87 89 pcie30_avdd0v9: pcie30-avdd0v9-regulat 88 pcie30_avdd0v9: pcie30-avdd0v9-regulator { 90 compatible = "regulator-fixed" 89 compatible = "regulator-fixed"; 91 regulator-name = "pcie30_avdd0 90 regulator-name = "pcie30_avdd0v9"; 92 regulator-always-on; 91 regulator-always-on; 93 regulator-boot-on; 92 regulator-boot-on; 94 regulator-min-microvolt = <900 93 regulator-min-microvolt = <900000>; 95 regulator-max-microvolt = <900 94 regulator-max-microvolt = <900000>; 96 vin-supply = <&vcc3v3_sys>; 95 vin-supply = <&vcc3v3_sys>; 97 }; 96 }; 98 97 99 pcie30_avdd1v8: pcie30-avdd1v8-regulat 98 pcie30_avdd1v8: pcie30-avdd1v8-regulator { 100 compatible = "regulator-fixed" 99 compatible = "regulator-fixed"; 101 regulator-name = "pcie30_avdd1 100 regulator-name = "pcie30_avdd1v8"; 102 regulator-always-on; 101 regulator-always-on; 103 regulator-boot-on; 102 regulator-boot-on; 104 regulator-min-microvolt = <180 103 regulator-min-microvolt = <1800000>; 105 regulator-max-microvolt = <180 104 regulator-max-microvolt = <1800000>; 106 vin-supply = <&vcc3v3_sys>; 105 vin-supply = <&vcc3v3_sys>; 107 }; 106 }; 108 107 109 /* pi6c pcie clock generator */ 108 /* pi6c pcie clock generator */ 110 vcc3v3_pi6c_03: vcc3v3-pi6c-03-regulat 109 vcc3v3_pi6c_03: vcc3v3-pi6c-03-regulator { 111 compatible = "regulator-fixed" 110 compatible = "regulator-fixed"; 112 regulator-name = "vcc3v3_pi6c_ 111 regulator-name = "vcc3v3_pi6c_03"; 113 regulator-always-on; 112 regulator-always-on; 114 regulator-boot-on; 113 regulator-boot-on; 115 regulator-min-microvolt = <330 114 regulator-min-microvolt = <3300000>; 116 regulator-max-microvolt = <330 115 regulator-max-microvolt = <3300000>; 117 vin-supply = <&vcc5v0_sys>; 116 vin-supply = <&vcc5v0_sys>; 118 }; 117 }; 119 118 120 vcc3v3_pcie: vcc3v3-pcie-regulator { 119 vcc3v3_pcie: vcc3v3-pcie-regulator { 121 compatible = "regulator-fixed" 120 compatible = "regulator-fixed"; 122 enable-active-high; 121 enable-active-high; 123 gpios = <&gpio0 RK_PD4 GPIO_AC 122 gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; 124 pinctrl-names = "default"; 123 pinctrl-names = "default"; 125 pinctrl-0 = <&pcie_enable_h>; 124 pinctrl-0 = <&pcie_enable_h>; 126 regulator-name = "vcc3v3_pcie" 125 regulator-name = "vcc3v3_pcie"; 127 regulator-min-microvolt = <330 126 regulator-min-microvolt = <3300000>; 128 regulator-max-microvolt = <330 127 regulator-max-microvolt = <3300000>; 129 vin-supply = <&vcc5v0_sys>; 128 vin-supply = <&vcc5v0_sys>; 130 }; 129 }; 131 130 132 vcc3v3_sys: vcc3v3-sys-regulator { 131 vcc3v3_sys: vcc3v3-sys-regulator { 133 compatible = "regulator-fixed" 132 compatible = "regulator-fixed"; 134 regulator-name = "vcc3v3_sys"; 133 regulator-name = "vcc3v3_sys"; 135 regulator-always-on; 134 regulator-always-on; 136 regulator-boot-on; 135 regulator-boot-on; 137 regulator-min-microvolt = <330 136 regulator-min-microvolt = <3300000>; 138 regulator-max-microvolt = <330 137 regulator-max-microvolt = <3300000>; 139 vin-supply = <&vcc12v_dcin>; 138 vin-supply = <&vcc12v_dcin>; 140 }; 139 }; 141 140 142 vcc5v0_sys: vcc5v0-sys-regulator { 141 vcc5v0_sys: vcc5v0-sys-regulator { 143 compatible = "regulator-fixed" 142 compatible = "regulator-fixed"; 144 regulator-name = "vcc5v0_sys"; 143 regulator-name = "vcc5v0_sys"; 145 regulator-always-on; 144 regulator-always-on; 146 regulator-boot-on; 145 regulator-boot-on; 147 regulator-min-microvolt = <500 146 regulator-min-microvolt = <5000000>; 148 regulator-max-microvolt = <500 147 regulator-max-microvolt = <5000000>; 149 vin-supply = <&vcc12v_dcin>; 148 vin-supply = <&vcc12v_dcin>; 150 }; 149 }; 151 150 152 vcc5v0_usb: vcc5v0-usb-regulator { 151 vcc5v0_usb: vcc5v0-usb-regulator { 153 compatible = "regulator-fixed" 152 compatible = "regulator-fixed"; 154 regulator-name = "vcc5v0_usb"; 153 regulator-name = "vcc5v0_usb"; 155 regulator-always-on; 154 regulator-always-on; 156 regulator-boot-on; 155 regulator-boot-on; 157 regulator-min-microvolt = <500 156 regulator-min-microvolt = <5000000>; 158 regulator-max-microvolt = <500 157 regulator-max-microvolt = <5000000>; 159 vin-supply = <&vcc12v_dcin>; 158 vin-supply = <&vcc12v_dcin>; 160 }; 159 }; 161 160 162 vcc5v0_usb_host: vcc5v0-usb-host-regul 161 vcc5v0_usb_host: vcc5v0-usb-host-regulator { 163 compatible = "regulator-fixed" 162 compatible = "regulator-fixed"; 164 enable-active-high; 163 enable-active-high; 165 gpio = <&gpio0 RK_PA6 GPIO_ACT 164 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; 166 pinctrl-names = "default"; 165 pinctrl-names = "default"; 167 pinctrl-0 = <&vcc5v0_usb_host_ 166 pinctrl-0 = <&vcc5v0_usb_host_en>; 168 regulator-name = "vcc5v0_usb_h 167 regulator-name = "vcc5v0_usb_host"; 169 regulator-min-microvolt = <500 168 regulator-min-microvolt = <5000000>; 170 regulator-max-microvolt = <500 169 regulator-max-microvolt = <5000000>; 171 vin-supply = <&vcc5v0_usb>; 170 vin-supply = <&vcc5v0_usb>; 172 }; 171 }; 173 172 174 vcc5v0_usb_hub: vcc5v0-usb-hub-regulat 173 vcc5v0_usb_hub: vcc5v0-usb-hub-regulator { 175 compatible = "regulator-fixed" 174 compatible = "regulator-fixed"; 176 enable-active-high; 175 enable-active-high; 177 gpio = <&gpio0 RK_PD5 GPIO_ACT 176 gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; 178 pinctrl-names = "default"; 177 pinctrl-names = "default"; 179 pinctrl-0 = <&vcc5v0_usb_hub_e 178 pinctrl-0 = <&vcc5v0_usb_hub_en>; 180 regulator-name = "vcc5v0_usb_h 179 regulator-name = "vcc5v0_usb_hub"; 181 regulator-always-on; 180 regulator-always-on; 182 vin-supply = <&vcc5v0_usb>; 181 vin-supply = <&vcc5v0_usb>; 183 }; 182 }; 184 183 185 vcc5v0_usb_otg: vcc5v0-usb-otg-regulat 184 vcc5v0_usb_otg: vcc5v0-usb-otg-regulator { 186 compatible = "regulator-fixed" 185 compatible = "regulator-fixed"; 187 enable-active-high; 186 enable-active-high; 188 gpio = <&gpio0 RK_PA5 GPIO_ACT 187 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; 189 pinctrl-names = "default"; 188 pinctrl-names = "default"; 190 pinctrl-0 = <&vcc5v0_usb_otg_e 189 pinctrl-0 = <&vcc5v0_usb_otg_en>; 191 regulator-name = "vcc5v0_usb_o 190 regulator-name = "vcc5v0_usb_otg"; 192 regulator-min-microvolt = <500 191 regulator-min-microvolt = <5000000>; 193 regulator-max-microvolt = <500 192 regulator-max-microvolt = <5000000>; 194 vin-supply = <&vcc5v0_usb>; 193 vin-supply = <&vcc5v0_usb>; 195 }; 194 }; 196 195 197 vcc_cam: vcc-cam-regulator { 196 vcc_cam: vcc-cam-regulator { 198 compatible = "regulator-fixed" 197 compatible = "regulator-fixed"; 199 enable-active-high; 198 enable-active-high; 200 gpio = <&gpio1 RK_PB1 GPIO_ACT 199 gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>; 201 pinctrl-names = "default"; 200 pinctrl-names = "default"; 202 pinctrl-0 = <&vcc_cam_en>; 201 pinctrl-0 = <&vcc_cam_en>; 203 regulator-name = "vcc_cam"; 202 regulator-name = "vcc_cam"; 204 regulator-min-microvolt = <330 203 regulator-min-microvolt = <3300000>; 205 regulator-max-microvolt = <330 204 regulator-max-microvolt = <3300000>; 206 vin-supply = <&vcc3v3_sys>; 205 vin-supply = <&vcc3v3_sys>; 207 206 208 regulator-state-mem { 207 regulator-state-mem { 209 regulator-off-in-suspe 208 regulator-off-in-suspend; 210 }; 209 }; 211 }; 210 }; 212 211 213 vcc_mipi: vcc-mipi-regulator { 212 vcc_mipi: vcc-mipi-regulator { 214 compatible = "regulator-fixed" 213 compatible = "regulator-fixed"; 215 enable-active-high; 214 enable-active-high; 216 gpio = <&gpio3 RK_PC0 GPIO_ACT 215 gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; 217 pinctrl-names = "default"; 216 pinctrl-names = "default"; 218 pinctrl-0 = <&vcc_mipi_en>; 217 pinctrl-0 = <&vcc_mipi_en>; 219 regulator-name = "vcc_mipi"; 218 regulator-name = "vcc_mipi"; 220 regulator-min-microvolt = <330 219 regulator-min-microvolt = <3300000>; 221 regulator-max-microvolt = <330 220 regulator-max-microvolt = <3300000>; 222 vin-supply = <&vcc3v3_sys>; 221 vin-supply = <&vcc3v3_sys>; 223 222 224 regulator-state-mem { 223 regulator-state-mem { 225 regulator-off-in-suspe 224 regulator-off-in-suspend; 226 }; 225 }; 227 }; 226 }; 228 }; 227 }; 229 228 230 &combphy0 { 229 &combphy0 { 231 status = "okay"; 230 status = "okay"; 232 }; 231 }; 233 232 234 &combphy1 { 233 &combphy1 { 235 status = "okay"; 234 status = "okay"; 236 }; 235 }; 237 236 238 &combphy2 { 237 &combphy2 { 239 status = "okay"; 238 status = "okay"; 240 }; 239 }; 241 240 242 &cpu0 { 241 &cpu0 { 243 cpu-supply = <&vdd_cpu>; 242 cpu-supply = <&vdd_cpu>; 244 }; 243 }; 245 244 246 &cpu1 { 245 &cpu1 { 247 cpu-supply = <&vdd_cpu>; 246 cpu-supply = <&vdd_cpu>; 248 }; 247 }; 249 248 250 &cpu2 { 249 &cpu2 { 251 cpu-supply = <&vdd_cpu>; 250 cpu-supply = <&vdd_cpu>; 252 }; 251 }; 253 252 254 &cpu3 { 253 &cpu3 { 255 cpu-supply = <&vdd_cpu>; 254 cpu-supply = <&vdd_cpu>; 256 }; 255 }; 257 256 258 &gmac1 { 257 &gmac1 { 259 assigned-clocks = <&cru SCLK_GMAC1_RX_ 258 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>; 260 assigned-clock-parents = <&cru SCLK_GM 259 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&gmac1_clkin>; 261 clock_in_out = "input"; 260 clock_in_out = "input"; 262 phy-handle = <&rgmii_phy1>; 261 phy-handle = <&rgmii_phy1>; 263 phy-mode = "rgmii-id"; 262 phy-mode = "rgmii-id"; 264 phy-supply = <&vcc_3v3>; 263 phy-supply = <&vcc_3v3>; 265 pinctrl-names = "default"; 264 pinctrl-names = "default"; 266 pinctrl-0 = <&gmac1m1_miim 265 pinctrl-0 = <&gmac1m1_miim 267 &gmac1m1_tx_bus2 266 &gmac1m1_tx_bus2 268 &gmac1m1_rx_bus2 267 &gmac1m1_rx_bus2 269 &gmac1m1_rgmii_clk 268 &gmac1m1_rgmii_clk 270 &gmac1m1_clkinout 269 &gmac1m1_clkinout 271 &gmac1m1_rgmii_bus>; 270 &gmac1m1_rgmii_bus>; 272 status = "okay"; 271 status = "okay"; 273 }; 272 }; 274 273 275 &gpu { 274 &gpu { 276 mali-supply = <&vdd_gpu>; 275 mali-supply = <&vdd_gpu>; 277 status = "okay"; 276 status = "okay"; 278 }; 277 }; 279 278 280 &hdmi { 279 &hdmi { 281 avdd-0v9-supply = <&vdda0v9_image>; 280 avdd-0v9-supply = <&vdda0v9_image>; 282 avdd-1v8-supply = <&vcca1v8_image>; 281 avdd-1v8-supply = <&vcca1v8_image>; 283 pinctrl-names = "default"; 282 pinctrl-names = "default"; 284 pinctrl-0 = <&hdmitx_scl &hdmitx_sda & 283 pinctrl-0 = <&hdmitx_scl &hdmitx_sda &hdmitxm1_cec>; 285 status = "okay"; 284 status = "okay"; 286 }; 285 }; 287 286 288 &hdmi_in { 287 &hdmi_in { 289 hdmi_in_vp0: endpoint { 288 hdmi_in_vp0: endpoint { 290 remote-endpoint = <&vp0_out_hd 289 remote-endpoint = <&vp0_out_hdmi>; 291 }; 290 }; 292 }; 291 }; 293 292 294 &hdmi_out { 293 &hdmi_out { 295 hdmi_out_con: endpoint { 294 hdmi_out_con: endpoint { 296 remote-endpoint = <&hdmi_con_i 295 remote-endpoint = <&hdmi_con_in>; 297 }; 296 }; 298 }; 297 }; 299 298 300 &hdmi_sound { 299 &hdmi_sound { 301 status = "okay"; 300 status = "okay"; 302 }; 301 }; 303 302 304 &i2c0 { 303 &i2c0 { 305 status = "okay"; 304 status = "okay"; 306 305 307 vdd_cpu: regulator@1c { 306 vdd_cpu: regulator@1c { 308 compatible = "tcs,tcs4525"; 307 compatible = "tcs,tcs4525"; 309 reg = <0x1c>; 308 reg = <0x1c>; 310 fcs,suspend-voltage-selector = 309 fcs,suspend-voltage-selector = <1>; 311 regulator-name = "vdd_cpu"; 310 regulator-name = "vdd_cpu"; 312 regulator-always-on; 311 regulator-always-on; 313 regulator-boot-on; 312 regulator-boot-on; 314 regulator-min-microvolt = <800 313 regulator-min-microvolt = <800000>; 315 regulator-max-microvolt = <115 314 regulator-max-microvolt = <1150000>; 316 regulator-ramp-delay = <2300>; 315 regulator-ramp-delay = <2300>; 317 vin-supply = <&vcc5v0_sys>; 316 vin-supply = <&vcc5v0_sys>; 318 317 319 regulator-state-mem { 318 regulator-state-mem { 320 regulator-off-in-suspe 319 regulator-off-in-suspend; 321 }; 320 }; 322 }; 321 }; 323 322 324 rk809: pmic@20 { 323 rk809: pmic@20 { 325 compatible = "rockchip,rk809"; 324 compatible = "rockchip,rk809"; 326 reg = <0x20>; 325 reg = <0x20>; 327 interrupt-parent = <&gpio0>; 326 interrupt-parent = <&gpio0>; 328 interrupts = <RK_PA3 IRQ_TYPE_ 327 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>; 329 assigned-clocks = <&cru I2S1_M 328 assigned-clocks = <&cru I2S1_MCLKOUT_TX>; 330 assigned-clock-parents = <&cru 329 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>; 331 #clock-cells = <1>; 330 #clock-cells = <1>; 332 clock-names = "mclk"; 331 clock-names = "mclk"; 333 clocks = <&cru I2S1_MCLKOUT_TX 332 clocks = <&cru I2S1_MCLKOUT_TX>; 334 pinctrl-names = "default"; 333 pinctrl-names = "default"; 335 pinctrl-0 = <&pmic_int>, <&i2s 334 pinctrl-0 = <&pmic_int>, <&i2s1m0_mclk>; 336 rockchip,system-power-controll 335 rockchip,system-power-controller; 337 #sound-dai-cells = <0>; 336 #sound-dai-cells = <0>; 338 vcc1-supply = <&vcc3v3_sys>; 337 vcc1-supply = <&vcc3v3_sys>; 339 vcc2-supply = <&vcc3v3_sys>; 338 vcc2-supply = <&vcc3v3_sys>; 340 vcc3-supply = <&vcc3v3_sys>; 339 vcc3-supply = <&vcc3v3_sys>; 341 vcc4-supply = <&vcc3v3_sys>; 340 vcc4-supply = <&vcc3v3_sys>; 342 vcc5-supply = <&vcc3v3_sys>; 341 vcc5-supply = <&vcc3v3_sys>; 343 vcc6-supply = <&vcc3v3_sys>; 342 vcc6-supply = <&vcc3v3_sys>; 344 vcc7-supply = <&vcc3v3_sys>; 343 vcc7-supply = <&vcc3v3_sys>; 345 vcc8-supply = <&vcc3v3_sys>; 344 vcc8-supply = <&vcc3v3_sys>; 346 vcc9-supply = <&vcc3v3_sys>; 345 vcc9-supply = <&vcc3v3_sys>; 347 wakeup-source; 346 wakeup-source; 348 347 349 regulators { 348 regulators { 350 vdd_logic: DCDC_REG1 { 349 vdd_logic: DCDC_REG1 { 351 regulator-name 350 regulator-name = "vdd_logic"; 352 regulator-alwa 351 regulator-always-on; 353 regulator-boot 352 regulator-boot-on; 354 regulator-init 353 regulator-initial-mode = <0x2>; 355 regulator-min- 354 regulator-min-microvolt = <500000>; 356 regulator-max- 355 regulator-max-microvolt = <1350000>; 357 regulator-ramp 356 regulator-ramp-delay = <6001>; 358 357 359 regulator-stat 358 regulator-state-mem { 360 regula 359 regulator-off-in-suspend; 361 }; 360 }; 362 }; 361 }; 363 362 364 vdd_gpu: DCDC_REG2 { 363 vdd_gpu: DCDC_REG2 { 365 regulator-name 364 regulator-name = "vdd_gpu"; 366 regulator-alwa 365 regulator-always-on; 367 regulator-init 366 regulator-initial-mode = <0x2>; 368 regulator-min- 367 regulator-min-microvolt = <500000>; 369 regulator-max- 368 regulator-max-microvolt = <1350000>; 370 regulator-ramp 369 regulator-ramp-delay = <6001>; 371 370 372 regulator-stat 371 regulator-state-mem { 373 regula 372 regulator-off-in-suspend; 374 }; 373 }; 375 }; 374 }; 376 375 377 vcc_ddr: DCDC_REG3 { 376 vcc_ddr: DCDC_REG3 { 378 regulator-name 377 regulator-name = "vcc_ddr"; 379 regulator-alwa 378 regulator-always-on; 380 regulator-boot 379 regulator-boot-on; 381 regulator-init 380 regulator-initial-mode = <0x2>; 382 381 383 regulator-stat 382 regulator-state-mem { 384 regula 383 regulator-on-in-suspend; 385 }; 384 }; 386 }; 385 }; 387 386 388 vdd_npu: DCDC_REG4 { 387 vdd_npu: DCDC_REG4 { 389 regulator-name 388 regulator-name = "vdd_npu"; 390 regulator-init 389 regulator-initial-mode = <0x2>; 391 regulator-min- 390 regulator-min-microvolt = <500000>; 392 regulator-max- 391 regulator-max-microvolt = <1350000>; 393 regulator-ramp 392 regulator-ramp-delay = <6001>; 394 393 395 regulator-stat 394 regulator-state-mem { 396 regula 395 regulator-off-in-suspend; 397 }; 396 }; 398 }; 397 }; 399 398 400 vcc_1v8: DCDC_REG5 { 399 vcc_1v8: DCDC_REG5 { 401 regulator-name 400 regulator-name = "vcc_1v8"; 402 regulator-alwa 401 regulator-always-on; 403 regulator-boot 402 regulator-boot-on; 404 regulator-min- 403 regulator-min-microvolt = <1800000>; 405 regulator-max- 404 regulator-max-microvolt = <1800000>; 406 405 407 regulator-stat 406 regulator-state-mem { 408 regula 407 regulator-off-in-suspend; 409 }; 408 }; 410 }; 409 }; 411 410 412 vdda0v9_image: LDO_REG 411 vdda0v9_image: LDO_REG1 { 413 regulator-name 412 regulator-name = "vdda0v9_image"; 414 regulator-min- 413 regulator-min-microvolt = <900000>; 415 regulator-max- 414 regulator-max-microvolt = <900000>; 416 415 417 regulator-stat 416 regulator-state-mem { 418 regula 417 regulator-off-in-suspend; 419 }; 418 }; 420 }; 419 }; 421 420 422 vdda_0v9: LDO_REG2 { 421 vdda_0v9: LDO_REG2 { 423 regulator-name 422 regulator-name = "vdda_0v9"; 424 regulator-alwa 423 regulator-always-on; 425 regulator-boot 424 regulator-boot-on; 426 regulator-min- 425 regulator-min-microvolt = <900000>; 427 regulator-max- 426 regulator-max-microvolt = <900000>; 428 427 429 regulator-stat 428 regulator-state-mem { 430 regula 429 regulator-off-in-suspend; 431 }; 430 }; 432 }; 431 }; 433 432 434 vdda0v9_pmu: LDO_REG3 433 vdda0v9_pmu: LDO_REG3 { 435 regulator-name 434 regulator-name = "vdda0v9_pmu"; 436 regulator-alwa 435 regulator-always-on; 437 regulator-boot 436 regulator-boot-on; 438 regulator-min- 437 regulator-min-microvolt = <900000>; 439 regulator-max- 438 regulator-max-microvolt = <900000>; 440 439 441 regulator-stat 440 regulator-state-mem { 442 regula 441 regulator-on-in-suspend; 443 regula 442 regulator-suspend-microvolt = <900000>; 444 }; 443 }; 445 }; 444 }; 446 445 447 vccio_acodec: LDO_REG4 446 vccio_acodec: LDO_REG4 { 448 regulator-name 447 regulator-name = "vccio_acodec"; 449 regulator-alwa 448 regulator-always-on; 450 regulator-min- 449 regulator-min-microvolt = <3300000>; 451 regulator-max- 450 regulator-max-microvolt = <3300000>; 452 451 453 regulator-stat 452 regulator-state-mem { 454 regula 453 regulator-off-in-suspend; 455 }; 454 }; 456 }; 455 }; 457 456 458 vccio_sd: LDO_REG5 { 457 vccio_sd: LDO_REG5 { 459 regulator-name 458 regulator-name = "vccio_sd"; 460 regulator-min- 459 regulator-min-microvolt = <1800000>; 461 regulator-max- 460 regulator-max-microvolt = <3300000>; 462 461 463 regulator-stat 462 regulator-state-mem { 464 regula 463 regulator-off-in-suspend; 465 }; 464 }; 466 }; 465 }; 467 466 468 vcc3v3_pmu: LDO_REG6 { 467 vcc3v3_pmu: LDO_REG6 { 469 regulator-name 468 regulator-name = "vcc3v3_pmu"; 470 regulator-alwa 469 regulator-always-on; 471 regulator-boot 470 regulator-boot-on; 472 regulator-min- 471 regulator-min-microvolt = <3300000>; 473 regulator-max- 472 regulator-max-microvolt = <3300000>; 474 473 475 regulator-stat 474 regulator-state-mem { 476 regula 475 regulator-on-in-suspend; 477 regula 476 regulator-suspend-microvolt = <3300000>; 478 }; 477 }; 479 }; 478 }; 480 479 481 vcca_1v8: LDO_REG7 { 480 vcca_1v8: LDO_REG7 { 482 regulator-name 481 regulator-name = "vcca_1v8"; 483 regulator-alwa 482 regulator-always-on; 484 regulator-boot 483 regulator-boot-on; 485 regulator-min- 484 regulator-min-microvolt = <1800000>; 486 regulator-max- 485 regulator-max-microvolt = <1800000>; 487 486 488 regulator-stat 487 regulator-state-mem { 489 regula 488 regulator-off-in-suspend; 490 }; 489 }; 491 }; 490 }; 492 491 493 vcca1v8_pmu: LDO_REG8 492 vcca1v8_pmu: LDO_REG8 { 494 regulator-name 493 regulator-name = "vcca1v8_pmu"; 495 regulator-alwa 494 regulator-always-on; 496 regulator-boot 495 regulator-boot-on; 497 regulator-min- 496 regulator-min-microvolt = <1800000>; 498 regulator-max- 497 regulator-max-microvolt = <1800000>; 499 498 500 regulator-stat 499 regulator-state-mem { 501 regula 500 regulator-on-in-suspend; 502 regula 501 regulator-suspend-microvolt = <1800000>; 503 }; 502 }; 504 }; 503 }; 505 504 506 vcca1v8_image: LDO_REG 505 vcca1v8_image: LDO_REG9 { 507 regulator-name 506 regulator-name = "vcca1v8_image"; 508 regulator-min- 507 regulator-min-microvolt = <1800000>; 509 regulator-max- 508 regulator-max-microvolt = <1800000>; 510 509 511 regulator-stat 510 regulator-state-mem { 512 regula 511 regulator-off-in-suspend; 513 }; 512 }; 514 }; 513 }; 515 514 516 vcc_3v3: SWITCH_REG1 { 515 vcc_3v3: SWITCH_REG1 { 517 regulator-name 516 regulator-name = "vcc_3v3"; 518 regulator-alwa 517 regulator-always-on; 519 regulator-boot 518 regulator-boot-on; 520 519 521 regulator-stat 520 regulator-state-mem { 522 regula 521 regulator-off-in-suspend; 523 }; 522 }; 524 }; 523 }; 525 524 526 vcc3v3_sd: SWITCH_REG2 525 vcc3v3_sd: SWITCH_REG2 { 527 regulator-name 526 regulator-name = "vcc3v3_sd"; 528 527 529 regulator-stat 528 regulator-state-mem { 530 regula 529 regulator-off-in-suspend; 531 }; 530 }; 532 }; 531 }; 533 }; 532 }; >> 533 >> 534 codec { >> 535 mic-in-differential; >> 536 }; 534 }; 537 }; 535 }; 538 }; 536 539 537 &i2c3 { 540 &i2c3 { 538 pinctrl-names = "default"; 541 pinctrl-names = "default"; 539 pinctrl-0 = <&i2c3m1_xfer>; 542 pinctrl-0 = <&i2c3m1_xfer>; 540 status = "disabled"; 543 status = "disabled"; 541 }; 544 }; 542 545 543 &i2c4 { 546 &i2c4 { 544 pinctrl-names = "default"; 547 pinctrl-names = "default"; 545 pinctrl-0 = <&i2c4m1_xfer>; 548 pinctrl-0 = <&i2c4m1_xfer>; 546 status = "disabled"; 549 status = "disabled"; 547 }; 550 }; 548 551 549 &i2c5 { 552 &i2c5 { 550 status = "okay"; 553 status = "okay"; 551 554 552 hym8563: rtc@51 { 555 hym8563: rtc@51 { 553 compatible = "haoyu,hym8563"; 556 compatible = "haoyu,hym8563"; 554 reg = <0x51>; 557 reg = <0x51>; 555 interrupt-parent = <&gpio0>; 558 interrupt-parent = <&gpio0>; 556 interrupts = <RK_PD3 IRQ_TYPE_ 559 interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>; 557 #clock-cells = <0>; 560 #clock-cells = <0>; 558 clock-output-names = "rtcic_32 561 clock-output-names = "rtcic_32kout"; 559 pinctrl-names = "default"; 562 pinctrl-names = "default"; 560 pinctrl-0 = <&hym8563_int>; 563 pinctrl-0 = <&hym8563_int>; 561 wakeup-source; 564 wakeup-source; 562 }; 565 }; 563 }; 566 }; 564 567 565 &i2s0_8ch { 568 &i2s0_8ch { 566 status = "okay"; 569 status = "okay"; 567 }; 570 }; 568 571 569 &i2s1_8ch { 572 &i2s1_8ch { 570 pinctrl-names = "default"; 573 pinctrl-names = "default"; 571 pinctrl-0 = <&i2s1m0_sclktx &i2s1m0_lr 574 pinctrl-0 = <&i2s1m0_sclktx &i2s1m0_lrcktx &i2s1m0_sdi0 &i2s1m0_sdo0>; 572 rockchip,trcm-sync-tx-only; 575 rockchip,trcm-sync-tx-only; 573 status = "okay"; 576 status = "okay"; 574 }; 577 }; 575 578 576 &i2s2_2ch { 579 &i2s2_2ch { 577 rockchip,trcm-sync-tx-only; 580 rockchip,trcm-sync-tx-only; 578 status = "okay"; 581 status = "okay"; 579 }; 582 }; 580 583 581 &mdio1 { 584 &mdio1 { 582 rgmii_phy1: ethernet-phy@0 { 585 rgmii_phy1: ethernet-phy@0 { 583 compatible = "ethernet-phy-iee 586 compatible = "ethernet-phy-ieee802.3-c22"; 584 reg = <0x0>; 587 reg = <0x0>; 585 pinctrl-names = "default"; 588 pinctrl-names = "default"; 586 pinctrl-0 = <ð_phy_rst>; 589 pinctrl-0 = <ð_phy_rst>; 587 reset-assert-us = <20000>; 590 reset-assert-us = <20000>; 588 reset-deassert-us = <100000>; 591 reset-deassert-us = <100000>; 589 reset-gpios = <&gpio3 RK_PB0 G 592 reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>; 590 }; 593 }; 591 }; 594 }; 592 595 593 &pcie2x1 { 596 &pcie2x1 { 594 pinctrl-names = "default"; 597 pinctrl-names = "default"; 595 pinctrl-0 = <&pcie_reset_h>; 598 pinctrl-0 = <&pcie_reset_h>; 596 reset-gpios = <&gpio3 RK_PC1 GPIO_ACTI 599 reset-gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>; 597 vpcie3v3-supply = <&vcc3v3_pcie>; 600 vpcie3v3-supply = <&vcc3v3_pcie>; 598 status = "okay"; 601 status = "okay"; 599 }; 602 }; 600 603 601 &pcie30phy { 604 &pcie30phy { 602 phy-supply = <&vcc3v3_pi6c_03>; 605 phy-supply = <&vcc3v3_pi6c_03>; 603 status = "okay"; 606 status = "okay"; 604 }; 607 }; 605 608 606 &pcie3x2 { 609 &pcie3x2 { 607 pinctrl-names = "default"; 610 pinctrl-names = "default"; 608 pinctrl-0 = <&pcie30x2m1_pins>; 611 pinctrl-0 = <&pcie30x2m1_pins>; 609 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTI 612 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>; 610 vpcie3v3-supply = <&vcc3v3_pcie>; 613 vpcie3v3-supply = <&vcc3v3_pcie>; 611 status = "okay"; 614 status = "okay"; 612 }; 615 }; 613 616 614 &pinctrl { 617 &pinctrl { 615 cam { 618 cam { 616 vcc_cam_en: vcc_cam_en { 619 vcc_cam_en: vcc_cam_en { 617 rockchip,pins = <1 RK_ 620 rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 618 }; 621 }; 619 }; 622 }; 620 623 621 display { 624 display { 622 vcc_mipi_en: vcc_mipi_en { 625 vcc_mipi_en: vcc_mipi_en { 623 rockchip,pins = <3 RK_ 626 rockchip,pins = <3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; 624 }; 627 }; 625 }; 628 }; 626 629 627 ethernet { 630 ethernet { 628 eth_phy_rst: eth_phy_rst { 631 eth_phy_rst: eth_phy_rst { 629 rockchip,pins = <3 RK_ 632 rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 630 }; 633 }; 631 }; 634 }; 632 635 633 hym8563 { 636 hym8563 { 634 hym8563_int: hym8563-int { 637 hym8563_int: hym8563-int { 635 rockchip,pins = <0 RK_ 638 rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; 636 }; 639 }; 637 }; 640 }; 638 641 639 leds { 642 leds { 640 led_user_en: led_user_en { 643 led_user_en: led_user_en { 641 rockchip,pins = <0 RK_ 644 rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 642 }; 645 }; 643 }; 646 }; 644 647 645 pcie { 648 pcie { 646 pcie_enable_h: pcie-enable-h { 649 pcie_enable_h: pcie-enable-h { 647 rockchip,pins = <0 RK_ 650 rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 648 }; 651 }; 649 652 650 pcie_reset_h: pcie-reset-h { 653 pcie_reset_h: pcie-reset-h { 651 rockchip,pins = <3 RK_ 654 rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; 652 }; 655 }; 653 }; 656 }; 654 657 655 pmic { 658 pmic { 656 pmic_int: pmic_int { 659 pmic_int: pmic_int { 657 rockchip,pins = 660 rockchip,pins = 658 <0 RK_PA3 RK_F 661 <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 659 }; 662 }; 660 }; 663 }; 661 664 662 usb { 665 usb { 663 vcc5v0_usb_host_en: vcc5v0_usb 666 vcc5v0_usb_host_en: vcc5v0_usb_host_en { 664 rockchip,pins = <0 RK_ 667 rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 665 }; 668 }; 666 vcc5v0_usb_hub_en: vcc5v0_usb_ 669 vcc5v0_usb_hub_en: vcc5v0_usb_hub_en { 667 rockchip,pins = <0 RK_ 670 rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 668 }; 671 }; 669 vcc5v0_usb_otg_en: vcc5v0_usb_ 672 vcc5v0_usb_otg_en: vcc5v0_usb_otg_en { 670 rockchip,pins = <0 RK_ 673 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 671 }; 674 }; 672 }; 675 }; 673 676 674 bt { 677 bt { 675 bt_enable: bt-enable { 678 bt_enable: bt-enable { 676 rockchip,pins = <4 RK_ 679 rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 677 }; 680 }; 678 681 679 bt_host_wake: bt-host-wake { 682 bt_host_wake: bt-host-wake { 680 rockchip,pins = <4 RK_ 683 rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; 681 }; 684 }; 682 685 683 bt_wake: bt-wake { 686 bt_wake: bt-wake { 684 rockchip,pins = <4 RK_ 687 rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 685 }; 688 }; 686 }; 689 }; 687 690 688 sdio-pwrseq { 691 sdio-pwrseq { 689 wifi_enable: wifi-enable { 692 wifi_enable: wifi-enable { 690 rockchip,pins = <3 RK_ 693 rockchip,pins = <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 691 }; 694 }; 692 }; 695 }; 693 }; 696 }; 694 697 695 &pmu_io_domains { 698 &pmu_io_domains { 696 pmuio1-supply = <&vcc3v3_pmu>; 699 pmuio1-supply = <&vcc3v3_pmu>; 697 pmuio2-supply = <&vcc3v3_pmu>; 700 pmuio2-supply = <&vcc3v3_pmu>; 698 vccio1-supply = <&vccio_acodec>; 701 vccio1-supply = <&vccio_acodec>; 699 vccio2-supply = <&vcc_1v8>; 702 vccio2-supply = <&vcc_1v8>; 700 vccio3-supply = <&vccio_sd>; 703 vccio3-supply = <&vccio_sd>; 701 vccio4-supply = <&vcc_1v8>; 704 vccio4-supply = <&vcc_1v8>; 702 vccio5-supply = <&vcc_3v3>; 705 vccio5-supply = <&vcc_3v3>; 703 vccio6-supply = <&vcc_1v8>; 706 vccio6-supply = <&vcc_1v8>; 704 vccio7-supply = <&vcc_3v3>; 707 vccio7-supply = <&vcc_3v3>; 705 status = "okay"; 708 status = "okay"; 706 }; 709 }; 707 710 708 &saradc { 711 &saradc { 709 vref-supply = <&vcca_1v8>; 712 vref-supply = <&vcca_1v8>; 710 status = "okay"; 713 status = "okay"; 711 }; 714 }; 712 715 713 &sdhci { 716 &sdhci { 714 bus-width = <8>; 717 bus-width = <8>; 715 max-frequency = <200000000>; 718 max-frequency = <200000000>; 716 non-removable; 719 non-removable; 717 pinctrl-names = "default"; 720 pinctrl-names = "default"; 718 pinctrl-0 = <&emmc_bus8 &emmc_clk &emm 721 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>; 719 vmmc-supply = <&vcc_3v3>; 722 vmmc-supply = <&vcc_3v3>; 720 vqmmc-supply = <&vcc_1v8>; 723 vqmmc-supply = <&vcc_1v8>; 721 status = "okay"; 724 status = "okay"; 722 }; 725 }; 723 726 724 &sdmmc0 { 727 &sdmmc0 { 725 bus-width = <4>; 728 bus-width = <4>; 726 cap-sd-highspeed; 729 cap-sd-highspeed; 727 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_ 730 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; 728 disable-wp; 731 disable-wp; 729 pinctrl-names = "default"; 732 pinctrl-names = "default"; 730 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk 733 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; 731 sd-uhs-sdr50; 734 sd-uhs-sdr50; 732 vmmc-supply = <&vcc3v3_sd>; 735 vmmc-supply = <&vcc3v3_sd>; 733 vqmmc-supply = <&vccio_sd>; 736 vqmmc-supply = <&vccio_sd>; 734 status = "okay"; 737 status = "okay"; 735 }; 738 }; 736 739 737 &sdmmc2 { 740 &sdmmc2 { 738 bus-width = <4>; 741 bus-width = <4>; 739 disable-wp; 742 disable-wp; 740 cap-sd-highspeed; 743 cap-sd-highspeed; 741 cap-sdio-irq; 744 cap-sdio-irq; 742 keep-power-in-suspend; 745 keep-power-in-suspend; 743 mmc-pwrseq = <&sdio_pwrseq>; 746 mmc-pwrseq = <&sdio_pwrseq>; 744 non-removable; 747 non-removable; 745 pinctrl-names = "default"; 748 pinctrl-names = "default"; 746 pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_ 749 pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>; 747 sd-uhs-sdr12; << 748 sd-uhs-sdr25; << 749 sd-uhs-sdr50; << 750 sd-uhs-sdr104; 750 sd-uhs-sdr104; 751 vmmc-supply = <&vcc3v3_sys>; 751 vmmc-supply = <&vcc3v3_sys>; 752 vqmmc-supply = <&vcc_1v8>; 752 vqmmc-supply = <&vcc_1v8>; 753 status = "okay"; 753 status = "okay"; 754 }; << 755 << 756 &sfc { << 757 #address-cells = <1>; << 758 #size-cells = <0>; << 759 status = "okay"; << 760 << 761 flash@0 { << 762 compatible = "jedec,spi-nor"; << 763 reg = <0x0>; << 764 spi-max-frequency = <104000000 << 765 spi-rx-bus-width = <4>; << 766 spi-tx-bus-width = <1>; << 767 }; << 768 }; 754 }; 769 755 770 &tsadc { 756 &tsadc { 771 rockchip,hw-tshut-mode = <1>; 757 rockchip,hw-tshut-mode = <1>; 772 rockchip,hw-tshut-polarity = <0>; 758 rockchip,hw-tshut-polarity = <0>; 773 status = "okay"; 759 status = "okay"; 774 }; 760 }; 775 761 776 &uart1 { 762 &uart1 { 777 pinctrl-names = "default"; 763 pinctrl-names = "default"; 778 pinctrl-0 = <&uart1m0_xfer &uart1m0_ct 764 pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>; 779 uart-has-rtscts; 765 uart-has-rtscts; 780 status = "okay"; 766 status = "okay"; 781 767 782 bluetooth { 768 bluetooth { 783 compatible = "brcm,bcm43438-bt 769 compatible = "brcm,bcm43438-bt"; 784 clocks = <&rk809 1>; 770 clocks = <&rk809 1>; 785 clock-names = "lpo"; 771 clock-names = "lpo"; 786 device-wakeup-gpios = <&gpio4 772 device-wakeup-gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; 787 host-wakeup-gpios = <&gpio4 RK 773 host-wakeup-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; 788 shutdown-gpios = <&gpio4 RK_PB 774 shutdown-gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; 789 pinctrl-names = "default"; 775 pinctrl-names = "default"; 790 pinctrl-0 = <&bt_host_wake &bt 776 pinctrl-0 = <&bt_host_wake &bt_wake &bt_enable>; 791 vbat-supply = <&vcc3v3_sys>; 777 vbat-supply = <&vcc3v3_sys>; 792 vddio-supply = <&vcc_1v8>; 778 vddio-supply = <&vcc_1v8>; 793 /* vddio comes from regulator 779 /* vddio comes from regulator on module, use IO bank voltage instead */ 794 }; 780 }; 795 }; 781 }; 796 782 797 &uart2 { 783 &uart2 { 798 status = "okay"; 784 status = "okay"; 799 }; 785 }; 800 786 801 &usb_host0_ehci { 787 &usb_host0_ehci { 802 status = "okay"; 788 status = "okay"; 803 }; 789 }; 804 790 805 &usb_host0_ohci { 791 &usb_host0_ohci { 806 status = "okay"; 792 status = "okay"; 807 }; 793 }; 808 794 809 &usb_host0_xhci { 795 &usb_host0_xhci { 810 extcon = <&usb2phy0>; 796 extcon = <&usb2phy0>; 811 status = "okay"; 797 status = "okay"; 812 }; 798 }; 813 799 814 &usb_host1_ehci { 800 &usb_host1_ehci { 815 status = "okay"; 801 status = "okay"; 816 }; 802 }; 817 803 818 &usb_host1_ohci { 804 &usb_host1_ohci { 819 status = "okay"; 805 status = "okay"; 820 }; 806 }; 821 807 822 &usb_host1_xhci { 808 &usb_host1_xhci { 823 status = "okay"; 809 status = "okay"; 824 }; 810 }; 825 811 826 &usb2phy0 { 812 &usb2phy0 { 827 status = "okay"; 813 status = "okay"; 828 }; 814 }; 829 815 830 &usb2phy0_host { 816 &usb2phy0_host { 831 phy-supply = <&vcc5v0_usb_host>; 817 phy-supply = <&vcc5v0_usb_host>; 832 status = "okay"; 818 status = "okay"; 833 }; 819 }; 834 820 835 &usb2phy0_otg { 821 &usb2phy0_otg { 836 phy-supply = <&vcc5v0_usb_otg>; 822 phy-supply = <&vcc5v0_usb_otg>; 837 status = "okay"; 823 status = "okay"; 838 }; 824 }; 839 825 840 &usb2phy1 { 826 &usb2phy1 { 841 status = "okay"; 827 status = "okay"; 842 }; 828 }; 843 829 844 &usb2phy1_host { 830 &usb2phy1_host { 845 phy-supply = <&vcc5v0_usb_host>; 831 phy-supply = <&vcc5v0_usb_host>; 846 status = "okay"; 832 status = "okay"; 847 }; 833 }; 848 834 849 &usb2phy1_otg { 835 &usb2phy1_otg { 850 phy-supply = <&vcc5v0_usb_host>; 836 phy-supply = <&vcc5v0_usb_host>; 851 status = "okay"; 837 status = "okay"; 852 }; 838 }; 853 839 854 &vop { 840 &vop { 855 assigned-clocks = <&cru DCLK_VOP0>, <& 841 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; 856 assigned-clock-parents = <&pmucru PLL_ 842 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; 857 status = "okay"; 843 status = "okay"; 858 }; 844 }; 859 845 860 &vop_mmu { 846 &vop_mmu { 861 status = "okay"; 847 status = "okay"; 862 }; 848 }; 863 849 864 &vp0 { 850 &vp0 { 865 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_E 851 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 866 reg = <ROCKCHIP_VOP2_EP_HDMI0> 852 reg = <ROCKCHIP_VOP2_EP_HDMI0>; 867 remote-endpoint = <&hdmi_in_vp 853 remote-endpoint = <&hdmi_in_vp0>; 868 }; 854 }; 869 }; 855 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.