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/leds/common.h> 6 #include <dt-bindings/leds/common.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 = "Hardkernel ODROID-M2"; 12 model = "Hardkernel ODROID-M2"; 13 compatible = "hardkernel,odroid-m2", " 13 compatible = "hardkernel,odroid-m2", "rockchip,rk3588s"; 14 14 15 aliases { 15 aliases { 16 ethernet0 = &gmac1; 16 ethernet0 = &gmac1; 17 mmc0 = &sdhci; 17 mmc0 = &sdhci; 18 mmc1 = &sdmmc; 18 mmc1 = &sdmmc; 19 }; 19 }; 20 20 21 chosen { 21 chosen { 22 stdout-path = "serial2:1500000 22 stdout-path = "serial2:1500000n8"; 23 }; 23 }; 24 24 25 leds { 25 leds { 26 compatible = "gpio-leds"; 26 compatible = "gpio-leds"; 27 pinctrl-names = "default"; 27 pinctrl-names = "default"; 28 pinctrl-0 = <&pwr_led>, <&sys_ 28 pinctrl-0 = <&pwr_led>, <&sys_led>; 29 29 30 led_pwr: led-0 { 30 led_pwr: led-0 { 31 color = <LED_COLOR_ID_ 31 color = <LED_COLOR_ID_RED>; 32 default-state = "on"; 32 default-state = "on"; 33 function = LED_FUNCTIO 33 function = LED_FUNCTION_POWER; 34 gpios = <&gpio1 RK_PB5 34 gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; 35 linux,default-trigger 35 linux,default-trigger = "default-on"; 36 }; 36 }; 37 37 38 led_sys: led-1 { 38 led_sys: led-1 { 39 color = <LED_COLOR_ID_ 39 color = <LED_COLOR_ID_BLUE>; 40 default-state = "on"; 40 default-state = "on"; 41 function = LED_FUNCTIO 41 function = LED_FUNCTION_HEARTBEAT; 42 gpios = <&gpio1 RK_PB1 42 gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>; 43 linux,default-trigger 43 linux,default-trigger = "heartbeat"; 44 }; 44 }; 45 }; 45 }; 46 46 47 fan: pwm-fan { 47 fan: pwm-fan { 48 compatible = "pwm-fan"; 48 compatible = "pwm-fan"; 49 #cooling-cells = <2>; 49 #cooling-cells = <2>; 50 cooling-levels = <0 192 224 25 50 cooling-levels = <0 192 224 255>; 51 fan-supply = <&vcc5v0_sys>; 51 fan-supply = <&vcc5v0_sys>; 52 pwms = <&pwm0 0 22222 0>; 52 pwms = <&pwm0 0 22222 0>; 53 }; 53 }; 54 54 55 vcc_1v1_nldo_s3: regulator-1v1-vcc-nld 55 vcc_1v1_nldo_s3: regulator-1v1-vcc-nldo-s3 { 56 compatible = "regulator-fixed" 56 compatible = "regulator-fixed"; 57 regulator-name = "vcc_1v1_nldo 57 regulator-name = "vcc_1v1_nldo_s3"; 58 regulator-always-on; 58 regulator-always-on; 59 regulator-boot-on; 59 regulator-boot-on; 60 regulator-min-microvolt = <110 60 regulator-min-microvolt = <1100000>; 61 regulator-max-microvolt = <110 61 regulator-max-microvolt = <1100000>; 62 vin-supply = <&vcc4v0_sys>; 62 vin-supply = <&vcc4v0_sys>; 63 }; 63 }; 64 64 65 vcc3v3_lcd: regulator-3v3-vcc-lcd { 65 vcc3v3_lcd: regulator-3v3-vcc-lcd { 66 compatible = "regulator-fixed" 66 compatible = "regulator-fixed"; 67 enable-active-high; 67 enable-active-high; 68 gpios = <&gpio4 RK_PA3 GPIO_AC 68 gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; 69 pinctrl-names = "default"; 69 pinctrl-names = "default"; 70 pinctrl-0 = <&lcd_pwren>; 70 pinctrl-0 = <&lcd_pwren>; 71 regulator-name = "vcc3v3_lcd"; 71 regulator-name = "vcc3v3_lcd"; 72 regulator-min-microvolt = <330 72 regulator-min-microvolt = <3300000>; 73 regulator-max-microvolt = <330 73 regulator-max-microvolt = <3300000>; 74 vin-supply = <&vcc_3v3_s3>; 74 vin-supply = <&vcc_3v3_s3>; 75 }; 75 }; 76 76 77 vcc3v3_pcie: regulator-3v3-vcc-pcie { 77 vcc3v3_pcie: regulator-3v3-vcc-pcie { 78 compatible = "regulator-fixed" 78 compatible = "regulator-fixed"; 79 enable-active-high; 79 enable-active-high; 80 gpios = <&gpio0 RK_PC6 GPIO_AC 80 gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; 81 pinctrl-names = "default"; 81 pinctrl-names = "default"; 82 pinctrl-0 = <&pcie_pwren>; 82 pinctrl-0 = <&pcie_pwren>; 83 regulator-name = "vcc3v3_pcie" 83 regulator-name = "vcc3v3_pcie"; 84 regulator-min-microvolt = <330 84 regulator-min-microvolt = <3300000>; 85 regulator-max-microvolt = <330 85 regulator-max-microvolt = <3300000>; 86 vin-supply = <&vcc_3v3_s3>; 86 vin-supply = <&vcc_3v3_s3>; 87 }; 87 }; 88 88 89 vcc_3v3_s0: regulator-3v3-vcc-s0 { 89 vcc_3v3_s0: regulator-3v3-vcc-s0 { 90 compatible = "regulator-fixed" 90 compatible = "regulator-fixed"; 91 regulator-name = "vcc_3v3_s0"; 91 regulator-name = "vcc_3v3_s0"; 92 regulator-always-on; 92 regulator-always-on; 93 regulator-boot-on; 93 regulator-boot-on; 94 regulator-min-microvolt = <330 94 regulator-min-microvolt = <3300000>; 95 regulator-max-microvolt = <330 95 regulator-max-microvolt = <3300000>; 96 vin-supply = <&vcc_3v3_s3>; 96 vin-supply = <&vcc_3v3_s3>; 97 }; 97 }; 98 98 99 vcc4v0_sys: regulator-4v0-vcc-sys { 99 vcc4v0_sys: regulator-4v0-vcc-sys { 100 compatible = "regulator-fixed" 100 compatible = "regulator-fixed"; 101 regulator-name = "vcc4v0_sys"; 101 regulator-name = "vcc4v0_sys"; 102 regulator-always-on; 102 regulator-always-on; 103 regulator-boot-on; 103 regulator-boot-on; 104 regulator-min-microvolt = <480 104 regulator-min-microvolt = <4800000>; 105 regulator-max-microvolt = <480 105 regulator-max-microvolt = <4800000>; 106 vin-supply = <&vcc12v_dcin>; 106 vin-supply = <&vcc12v_dcin>; 107 }; 107 }; 108 108 109 vcc5v0_sys: regulator-5v0-vcc-sys { 109 vcc5v0_sys: regulator-5v0-vcc-sys { 110 compatible = "regulator-fixed" 110 compatible = "regulator-fixed"; 111 enable-active-high; 111 enable-active-high; 112 gpios = <&gpio0 RK_PD3 GPIO_AC 112 gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>; 113 pinctrl-names = "default"; 113 pinctrl-names = "default"; 114 pinctrl-0 = <&vcc5v0_pwren>; 114 pinctrl-0 = <&vcc5v0_pwren>; 115 regulator-name = "vcc5v0_sys"; 115 regulator-name = "vcc5v0_sys"; 116 regulator-always-on; 116 regulator-always-on; 117 regulator-boot-on; 117 regulator-boot-on; 118 regulator-min-microvolt = <500 118 regulator-min-microvolt = <5000000>; 119 regulator-max-microvolt = <500 119 regulator-max-microvolt = <5000000>; 120 vin-supply = <&vcc12v_dcin>; 120 vin-supply = <&vcc12v_dcin>; 121 }; 121 }; 122 122 123 vcc5v0_usb2_host: regulator-5v0-vcc-us 123 vcc5v0_usb2_host: regulator-5v0-vcc-usb2-host { 124 compatible = "regulator-fixed" 124 compatible = "regulator-fixed"; 125 enable-active-high; 125 enable-active-high; 126 gpios = <&gpio1 RK_PC6 GPIO_AC 126 gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>; 127 pinctrl-names = "default"; 127 pinctrl-names = "default"; 128 pinctrl-0 = <&usb2_host_pwren> 128 pinctrl-0 = <&usb2_host_pwren>; 129 regulator-name = "vcc5v0_usb2_ 129 regulator-name = "vcc5v0_usb2_host"; 130 regulator-min-microvolt = <500 130 regulator-min-microvolt = <5000000>; 131 regulator-max-microvolt = <500 131 regulator-max-microvolt = <5000000>; 132 vin-supply = <&vcc5v0_sys>; 132 vin-supply = <&vcc5v0_sys>; 133 }; 133 }; 134 134 135 vcc5v0_usb3_host: regulator-5v0-vcc-us 135 vcc5v0_usb3_host: regulator-5v0-vcc-usb3-host { 136 compatible = "regulator-fixed" 136 compatible = "regulator-fixed"; 137 enable-active-high; 137 enable-active-high; 138 gpios = <&gpio1 RK_PA6 GPIO_AC 138 gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>; 139 pinctrl-names = "default"; 139 pinctrl-names = "default"; 140 pinctrl-0 = <&usb3_host_pwren> 140 pinctrl-0 = <&usb3_host_pwren>; 141 regulator-name = "vcc5v0_usb3_ 141 regulator-name = "vcc5v0_usb3_host"; 142 regulator-min-microvolt = <500 142 regulator-min-microvolt = <5000000>; 143 regulator-max-microvolt = <500 143 regulator-max-microvolt = <5000000>; 144 vin-supply = <&vcc5v0_sys>; 144 vin-supply = <&vcc5v0_sys>; 145 }; 145 }; 146 146 147 vcc5v0_usb3_typec: regulator-5v0-vcc-u 147 vcc5v0_usb3_typec: regulator-5v0-vcc-usb3-typec { 148 compatible = "regulator-fixed" 148 compatible = "regulator-fixed"; 149 enable-active-high; 149 enable-active-high; 150 gpios = <&gpio0 RK_PA0 GPIO_AC 150 gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; 151 pinctrl-names = "default"; 151 pinctrl-names = "default"; 152 pinctrl-0 = <&usb3_typec_pwren 152 pinctrl-0 = <&usb3_typec_pwren>; 153 regulator-name = "vcc5v0_usb3_ 153 regulator-name = "vcc5v0_usb3_typec"; 154 regulator-min-microvolt = <500 154 regulator-min-microvolt = <5000000>; 155 regulator-max-microvolt = <500 155 regulator-max-microvolt = <5000000>; 156 vin-supply = <&vcc5v0_sys>; 156 vin-supply = <&vcc5v0_sys>; 157 }; 157 }; 158 158 159 vcca: regulator-5v0-vcca { 159 vcca: regulator-5v0-vcca { 160 compatible = "regulator-fixed" 160 compatible = "regulator-fixed"; 161 regulator-name = "vcca"; 161 regulator-name = "vcca"; 162 regulator-always-on; 162 regulator-always-on; 163 regulator-boot-on; 163 regulator-boot-on; 164 regulator-min-microvolt = <500 164 regulator-min-microvolt = <5000000>; 165 regulator-max-microvolt = <500 165 regulator-max-microvolt = <5000000>; 166 vin-supply = <&vcc12v_dcin>; 166 vin-supply = <&vcc12v_dcin>; 167 }; 167 }; 168 168 169 vcc12v_dcin: regulator-12v0-vcc-dcin { 169 vcc12v_dcin: regulator-12v0-vcc-dcin { 170 compatible = "regulator-fixed" 170 compatible = "regulator-fixed"; 171 regulator-name = "vcc12v_dcin" 171 regulator-name = "vcc12v_dcin"; 172 regulator-always-on; 172 regulator-always-on; 173 regulator-boot-on; 173 regulator-boot-on; 174 regulator-min-microvolt = <120 174 regulator-min-microvolt = <12000000>; 175 regulator-max-microvolt = <120 175 regulator-max-microvolt = <12000000>; 176 }; 176 }; 177 }; 177 }; 178 178 179 &combphy0_ps { 179 &combphy0_ps { 180 status = "okay"; 180 status = "okay"; 181 }; 181 }; 182 182 183 &combphy2_psu { 183 &combphy2_psu { 184 status = "okay"; 184 status = "okay"; 185 }; 185 }; 186 186 187 &cpu_b0 { 187 &cpu_b0 { 188 cpu-supply = <&vdd_cpu_big0_s0>; 188 cpu-supply = <&vdd_cpu_big0_s0>; 189 }; 189 }; 190 190 191 &cpu_b1 { 191 &cpu_b1 { 192 cpu-supply = <&vdd_cpu_big0_s0>; 192 cpu-supply = <&vdd_cpu_big0_s0>; 193 }; 193 }; 194 194 195 &cpu_b2 { 195 &cpu_b2 { 196 cpu-supply = <&vdd_cpu_big1_s0>; 196 cpu-supply = <&vdd_cpu_big1_s0>; 197 }; 197 }; 198 198 199 &cpu_b3 { 199 &cpu_b3 { 200 cpu-supply = <&vdd_cpu_big1_s0>; 200 cpu-supply = <&vdd_cpu_big1_s0>; 201 }; 201 }; 202 202 203 &cpu_l0 { 203 &cpu_l0 { 204 cpu-supply = <&vdd_cpu_lit_s0>; 204 cpu-supply = <&vdd_cpu_lit_s0>; 205 }; 205 }; 206 206 207 &cpu_l1 { 207 &cpu_l1 { 208 cpu-supply = <&vdd_cpu_lit_s0>; 208 cpu-supply = <&vdd_cpu_lit_s0>; 209 }; 209 }; 210 210 211 &cpu_l2 { 211 &cpu_l2 { 212 cpu-supply = <&vdd_cpu_lit_s0>; 212 cpu-supply = <&vdd_cpu_lit_s0>; 213 }; 213 }; 214 214 215 &cpu_l3 { 215 &cpu_l3 { 216 cpu-supply = <&vdd_cpu_lit_s0>; 216 cpu-supply = <&vdd_cpu_lit_s0>; 217 }; 217 }; 218 218 219 &gmac1 { 219 &gmac1 { 220 clock_in_out = "output"; 220 clock_in_out = "output"; 221 phy-handle = <&rgmii_phy1>; 221 phy-handle = <&rgmii_phy1>; 222 phy-mode = "rgmii-id"; 222 phy-mode = "rgmii-id"; 223 phy-supply = <&vcc_3v3_s0>; 223 phy-supply = <&vcc_3v3_s0>; 224 pinctrl-names = "default"; 224 pinctrl-names = "default"; 225 pinctrl-0 = <&gmac1_miim 225 pinctrl-0 = <&gmac1_miim 226 &gmac1_tx_bus2 226 &gmac1_tx_bus2 227 &gmac1_rx_bus2 227 &gmac1_rx_bus2 228 &gmac1_rgmii_clk 228 &gmac1_rgmii_clk 229 &gmac1_rgmii_bus 229 &gmac1_rgmii_bus 230 &gmac1_clkinout>; 230 &gmac1_clkinout>; 231 status = "okay"; 231 status = "okay"; 232 }; 232 }; 233 233 234 &gpu { 234 &gpu { 235 mali-supply = <&vdd_gpu_s0>; 235 mali-supply = <&vdd_gpu_s0>; 236 status = "okay"; 236 status = "okay"; 237 }; 237 }; 238 238 239 &i2c0 { 239 &i2c0 { 240 pinctrl-names = "default"; 240 pinctrl-names = "default"; 241 pinctrl-0 = <&i2c0m2_xfer>; 241 pinctrl-0 = <&i2c0m2_xfer>; 242 status = "okay"; 242 status = "okay"; 243 243 244 vdd_cpu_big0_s0: regulator@42 { 244 vdd_cpu_big0_s0: regulator@42 { 245 compatible = "rockchip,rk8602" 245 compatible = "rockchip,rk8602"; 246 reg = <0x42>; 246 reg = <0x42>; 247 fcs,suspend-voltage-selector = 247 fcs,suspend-voltage-selector = <1>; 248 regulator-name = "vdd_cpu_big0 248 regulator-name = "vdd_cpu_big0_s0"; 249 regulator-always-on; 249 regulator-always-on; 250 regulator-boot-on; 250 regulator-boot-on; 251 regulator-min-microvolt = <550 251 regulator-min-microvolt = <550000>; 252 regulator-max-microvolt = <105 252 regulator-max-microvolt = <1050000>; 253 regulator-ramp-delay = <2300>; 253 regulator-ramp-delay = <2300>; 254 vin-supply = <&vcc4v0_sys>; 254 vin-supply = <&vcc4v0_sys>; 255 255 256 regulator-state-mem { 256 regulator-state-mem { 257 regulator-off-in-suspe 257 regulator-off-in-suspend; 258 }; 258 }; 259 }; 259 }; 260 260 261 vdd_cpu_big1_s0: regulator@43 { 261 vdd_cpu_big1_s0: regulator@43 { 262 compatible = "rockchip,rk8603" 262 compatible = "rockchip,rk8603", "rockchip,rk8602"; 263 reg = <0x43>; 263 reg = <0x43>; 264 fcs,suspend-voltage-selector = 264 fcs,suspend-voltage-selector = <1>; 265 regulator-name = "vdd_cpu_big1 265 regulator-name = "vdd_cpu_big1_s0"; 266 regulator-always-on; 266 regulator-always-on; 267 regulator-boot-on; 267 regulator-boot-on; 268 regulator-min-microvolt = <550 268 regulator-min-microvolt = <550000>; 269 regulator-max-microvolt = <105 269 regulator-max-microvolt = <1050000>; 270 regulator-ramp-delay = <2300>; 270 regulator-ramp-delay = <2300>; 271 vin-supply = <&vcc4v0_sys>; 271 vin-supply = <&vcc4v0_sys>; 272 272 273 regulator-state-mem { 273 regulator-state-mem { 274 regulator-off-in-suspe 274 regulator-off-in-suspend; 275 }; 275 }; 276 }; 276 }; 277 }; 277 }; 278 278 279 &i2c2 { 279 &i2c2 { 280 status = "okay"; 280 status = "okay"; 281 281 282 vdd_npu_s0: regulator@42 { 282 vdd_npu_s0: regulator@42 { 283 compatible = "rockchip,rk8602" 283 compatible = "rockchip,rk8602"; 284 reg = <0x42>; 284 reg = <0x42>; 285 fcs,suspend-voltage-selector = 285 fcs,suspend-voltage-selector = <1>; 286 regulator-name = "vdd_npu_s0"; 286 regulator-name = "vdd_npu_s0"; 287 regulator-always-on; 287 regulator-always-on; 288 regulator-boot-on; 288 regulator-boot-on; 289 regulator-min-microvolt = <550 289 regulator-min-microvolt = <550000>; 290 regulator-max-microvolt = <950 290 regulator-max-microvolt = <950000>; 291 regulator-ramp-delay = <2300>; 291 regulator-ramp-delay = <2300>; 292 vin-supply = <&vcc4v0_sys>; 292 vin-supply = <&vcc4v0_sys>; 293 293 294 regulator-state-mem { 294 regulator-state-mem { 295 regulator-off-in-suspe 295 regulator-off-in-suspend; 296 }; 296 }; 297 }; 297 }; 298 }; 298 }; 299 299 300 &i2c8 { 300 &i2c8 { 301 clock-frequency = <400000>; 301 clock-frequency = <400000>; 302 pinctrl-names = "default"; 302 pinctrl-names = "default"; 303 pinctrl-0 = <&i2c8m2_xfer>; 303 pinctrl-0 = <&i2c8m2_xfer>; 304 status = "okay"; 304 status = "okay"; 305 305 306 usbc0: usb-typec@22 { 306 usbc0: usb-typec@22 { 307 compatible = "fcs,fusb302"; 307 compatible = "fcs,fusb302"; 308 reg = <0x22>; 308 reg = <0x22>; 309 interrupt-parent = <&gpio4>; 309 interrupt-parent = <&gpio4>; 310 interrupts = <RK_PA5 IRQ_TYPE_ 310 interrupts = <RK_PA5 IRQ_TYPE_LEVEL_LOW>; 311 pinctrl-names = "default"; 311 pinctrl-names = "default"; 312 pinctrl-0 = <&usbc0_int>; 312 pinctrl-0 = <&usbc0_int>; 313 vbus-supply = <&vcc5v0_usb3_ty 313 vbus-supply = <&vcc5v0_usb3_typec>; 314 314 315 connector { 315 connector { 316 compatible = "usb-c-co 316 compatible = "usb-c-connector"; 317 data-role = "dual"; 317 data-role = "dual"; 318 label = "USB-C"; 318 label = "USB-C"; 319 op-sink-microwatt = <1 319 op-sink-microwatt = <1000000>; 320 power-role = "dual"; 320 power-role = "dual"; 321 sink-pdos = <PDO_FIXED 321 sink-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>; 322 source-pdos = <PDO_FIX 322 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 323 try-power-role = "sour 323 try-power-role = "source"; 324 324 325 ports { 325 ports { 326 #address-cells 326 #address-cells = <1>; 327 #size-cells = 327 #size-cells = <0>; 328 328 329 port@0 { 329 port@0 { 330 reg = 330 reg = <0>; 331 331 332 usbc0_ 332 usbc0_role_switch: endpoint { 333 333 remote-endpoint = <&usb_host0_xhci_role_switch>; 334 }; 334 }; 335 }; 335 }; 336 336 337 port@1 { 337 port@1 { 338 reg = 338 reg = <1>; 339 339 340 usbc0_ 340 usbc0_orientation_switch: endpoint { 341 341 remote-endpoint = <&usbdp_phy0_orientation_switch>; 342 }; 342 }; 343 }; 343 }; 344 344 345 port@2 { 345 port@2 { 346 reg = 346 reg = <2>; 347 347 348 usbc0_ 348 usbc0_dp_altmode_mux: endpoint { 349 349 remote-endpoint = <&usbdp_phy0_dp_altmode_mux>; 350 }; 350 }; 351 }; 351 }; 352 }; 352 }; 353 }; 353 }; 354 }; 354 }; 355 355 356 pcf8563: rtc@51 { 356 pcf8563: rtc@51 { 357 compatible = "nxp,pcf8563"; 357 compatible = "nxp,pcf8563"; 358 reg = <0x51>; 358 reg = <0x51>; 359 interrupt-parent = <&gpio0>; 359 interrupt-parent = <&gpio0>; 360 interrupts = <RK_PB0 IRQ_TYPE_ 360 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; 361 pinctrl-names = "default"; 361 pinctrl-names = "default"; 362 pinctrl-0 = <&pcf8563_int>; 362 pinctrl-0 = <&pcf8563_int>; 363 wakeup-source; 363 wakeup-source; 364 }; 364 }; 365 }; 365 }; 366 366 367 &mdio1 { 367 &mdio1 { 368 rgmii_phy1: ethernet-phy@1 { 368 rgmii_phy1: ethernet-phy@1 { 369 compatible = "ethernet-phy-id0 369 compatible = "ethernet-phy-id001c.c916"; 370 reg = <1>; 370 reg = <1>; 371 reset-assert-us = <20000>; 371 reset-assert-us = <20000>; 372 reset-deassert-us = <100000>; 372 reset-deassert-us = <100000>; 373 reset-gpios = <&gpio3 RK_PB7 G 373 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; 374 }; 374 }; 375 }; 375 }; 376 376 377 &package_thermal { 377 &package_thermal { 378 polling-delay = <1000>; 378 polling-delay = <1000>; 379 379 380 trips { 380 trips { 381 package_fan0: package-fan0 { 381 package_fan0: package-fan0 { 382 hysteresis = <2000>; 382 hysteresis = <2000>; 383 temperature = <60000>; 383 temperature = <60000>; 384 type = "active"; 384 type = "active"; 385 }; 385 }; 386 }; 386 }; 387 387 388 cooling-maps { 388 cooling-maps { 389 map0 { 389 map0 { 390 cooling-device = <&fan 390 cooling-device = <&fan 1 THERMAL_NO_LIMIT>; 391 trip = <&package_fan0> 391 trip = <&package_fan0>; 392 }; 392 }; 393 }; 393 }; 394 }; 394 }; 395 395 396 &pcie2x1l2 { 396 &pcie2x1l2 { 397 pinctrl-names = "default"; 397 pinctrl-names = "default"; 398 pinctrl-0 = <&pcie20x1_pins>; 398 pinctrl-0 = <&pcie20x1_pins>; 399 reset-gpios = <&gpio1 RK_PA7 GPIO_ACTI 399 reset-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>; 400 vpcie3v3-supply = <&vcc3v3_pcie>; 400 vpcie3v3-supply = <&vcc3v3_pcie>; 401 status = "okay"; 401 status = "okay"; 402 }; 402 }; 403 403 404 &pinctrl { 404 &pinctrl { 405 lcd { 405 lcd { 406 lcd_pwren: lcd-pwren { 406 lcd_pwren: lcd-pwren { 407 rockchip,pins = <4 RK_ 407 rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 408 }; 408 }; 409 }; 409 }; 410 410 411 leds { 411 leds { 412 pwr_led: pwr-led { 412 pwr_led: pwr-led { 413 rockchip,pins = <1 RK_ 413 rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 414 }; 414 }; 415 415 416 sys_led: sys-led { 416 sys_led: sys-led { 417 rockchip,pins = <1 RK_ 417 rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 418 }; 418 }; 419 }; 419 }; 420 420 421 pcie { 421 pcie { 422 pcie20x1_pins: pcie20x1-pins { 422 pcie20x1_pins: pcie20x1-pins { 423 rockchip,pins = 423 rockchip,pins = 424 <1 RK_PA0 4 &p 424 <1 RK_PA0 4 &pcfg_pull_none>, 425 <1 RK_PA7 RK_F 425 <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>, 426 <1 RK_PA1 4 &p 426 <1 RK_PA1 4 &pcfg_pull_none>; 427 }; 427 }; 428 428 429 pcie_pwren: pcie-pwren { 429 pcie_pwren: pcie-pwren { 430 rockchip,pins = <0 RK_ 430 rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 431 }; 431 }; 432 }; 432 }; 433 433 434 regulator { 434 regulator { 435 vcc5v0_pwren: vcc5v0-pwren { 435 vcc5v0_pwren: vcc5v0-pwren { 436 rockchip,pins = <0 RK_ 436 rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 437 }; 437 }; 438 }; 438 }; 439 439 440 rtc { 440 rtc { 441 pcf8563_int: pcf8563-int { 441 pcf8563_int: pcf8563-int { 442 rockchip,pins = <0 RK_ 442 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 443 }; 443 }; 444 }; 444 }; 445 445 446 usb { 446 usb { 447 usb2_host_pwren: usb2-host-pwr 447 usb2_host_pwren: usb2-host-pwren { 448 rockchip,pins = <1 RK_ 448 rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 449 }; 449 }; 450 450 451 usb3_host_pwren: usb3-host-pwr 451 usb3_host_pwren: usb3-host-pwren { 452 rockchip,pins = <1 RK_ 452 rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 453 }; 453 }; 454 454 455 usb3_typec_pwren: usb3-typec-p 455 usb3_typec_pwren: usb3-typec-pwren { 456 rockchip,pins = <0 RK_ 456 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; 457 }; 457 }; 458 458 459 usbc0_int: usbc0-int { 459 usbc0_int: usbc0-int { 460 rockchip,pins = <4 RK_ 460 rockchip,pins = <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 461 }; 461 }; 462 }; 462 }; 463 }; 463 }; 464 464 465 &pwm0 { 465 &pwm0 { 466 pinctrl-names = "default"; 466 pinctrl-names = "default"; 467 pinctrl-0 = <&pwm0m2_pins>; 467 pinctrl-0 = <&pwm0m2_pins>; 468 status = "okay"; 468 status = "okay"; 469 }; 469 }; 470 470 471 &saradc { 471 &saradc { 472 vref-supply = <&vcca_1v8_s0>; 472 vref-supply = <&vcca_1v8_s0>; 473 status = "okay"; 473 status = "okay"; 474 }; 474 }; 475 475 476 &sdhci { 476 &sdhci { 477 bus-width = <8>; 477 bus-width = <8>; 478 mmc-hs400-1_8v; 478 mmc-hs400-1_8v; 479 mmc-hs400-enhanced-strobe; 479 mmc-hs400-enhanced-strobe; 480 no-sd; 480 no-sd; 481 no-sdio; 481 no-sdio; 482 non-removable; 482 non-removable; 483 vmmc-supply = <&vcc_3v3_s0>; 483 vmmc-supply = <&vcc_3v3_s0>; 484 vqmmc-supply = <&vcc_1v8_s0>; 484 vqmmc-supply = <&vcc_1v8_s0>; 485 status = "okay"; 485 status = "okay"; 486 }; 486 }; 487 487 488 &sdmmc { 488 &sdmmc { 489 bus-width = <4>; 489 bus-width = <4>; 490 cap-sd-highspeed; 490 cap-sd-highspeed; 491 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_ 491 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; 492 disable-wp; 492 disable-wp; 493 max-frequency = <150000000>; 493 max-frequency = <150000000>; 494 no-mmc; 494 no-mmc; 495 no-sdio; 495 no-sdio; 496 sd-uhs-sdr104; 496 sd-uhs-sdr104; 497 vmmc-supply = <&vcc_3v3_s3>; 497 vmmc-supply = <&vcc_3v3_s3>; 498 vqmmc-supply = <&vccio_sd_s0>; 498 vqmmc-supply = <&vccio_sd_s0>; 499 status = "okay"; 499 status = "okay"; 500 }; 500 }; 501 501 502 &spi2 { 502 &spi2 { 503 assigned-clocks = <&cru CLK_SPI2>; 503 assigned-clocks = <&cru CLK_SPI2>; 504 assigned-clock-rates = <200000000>; 504 assigned-clock-rates = <200000000>; 505 num-cs = <1>; 505 num-cs = <1>; 506 pinctrl-names = "default"; 506 pinctrl-names = "default"; 507 pinctrl-0 = <&spi2m2_cs0>, <&spi2m2_pi 507 pinctrl-0 = <&spi2m2_cs0>, <&spi2m2_pins>; 508 status = "okay"; 508 status = "okay"; 509 509 510 pmic@0 { 510 pmic@0 { 511 compatible = "rockchip,rk806"; 511 compatible = "rockchip,rk806"; 512 reg = <0x0>; 512 reg = <0x0>; 513 #gpio-cells = <2>; 513 #gpio-cells = <2>; 514 gpio-controller; 514 gpio-controller; 515 interrupt-parent = <&gpio0>; 515 interrupt-parent = <&gpio0>; 516 interrupts = <RK_PA7 IRQ_TYPE_ 516 interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>; 517 pinctrl-names = "default"; 517 pinctrl-names = "default"; 518 pinctrl-0 = <&pmic_pins>, <&rk 518 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 519 <&rk806_dvs2_null> 519 <&rk806_dvs2_null>, <&rk806_dvs3_null>; 520 spi-max-frequency = <1000000>; 520 spi-max-frequency = <1000000>; 521 system-power-controller; 521 system-power-controller; 522 522 523 vcc1-supply = <&vcc4v0_sys>; 523 vcc1-supply = <&vcc4v0_sys>; 524 vcc2-supply = <&vcc4v0_sys>; 524 vcc2-supply = <&vcc4v0_sys>; 525 vcc3-supply = <&vcc4v0_sys>; 525 vcc3-supply = <&vcc4v0_sys>; 526 vcc4-supply = <&vcc4v0_sys>; 526 vcc4-supply = <&vcc4v0_sys>; 527 vcc5-supply = <&vcc4v0_sys>; 527 vcc5-supply = <&vcc4v0_sys>; 528 vcc6-supply = <&vcc4v0_sys>; 528 vcc6-supply = <&vcc4v0_sys>; 529 vcc7-supply = <&vcc4v0_sys>; 529 vcc7-supply = <&vcc4v0_sys>; 530 vcc8-supply = <&vcc4v0_sys>; 530 vcc8-supply = <&vcc4v0_sys>; 531 vcc9-supply = <&vcc4v0_sys>; 531 vcc9-supply = <&vcc4v0_sys>; 532 vcc10-supply = <&vcc4v0_sys>; 532 vcc10-supply = <&vcc4v0_sys>; 533 vcc11-supply = <&vcc_2v0_pldo_ 533 vcc11-supply = <&vcc_2v0_pldo_s3>; 534 vcc12-supply = <&vcc4v0_sys>; 534 vcc12-supply = <&vcc4v0_sys>; 535 vcc13-supply = <&vcc_1v1_nldo_ 535 vcc13-supply = <&vcc_1v1_nldo_s3>; 536 vcc14-supply = <&vcc_1v1_nldo_ 536 vcc14-supply = <&vcc_1v1_nldo_s3>; 537 vcca-supply = <&vcca>; 537 vcca-supply = <&vcca>; 538 538 539 rk806_dvs1_null: dvs1-null-pin 539 rk806_dvs1_null: dvs1-null-pins { 540 pins = "gpio_pwrctrl1" 540 pins = "gpio_pwrctrl1"; 541 function = "pin_fun0"; 541 function = "pin_fun0"; 542 }; 542 }; 543 543 544 rk806_dvs2_null: dvs2-null-pin 544 rk806_dvs2_null: dvs2-null-pins { 545 pins = "gpio_pwrctrl2" 545 pins = "gpio_pwrctrl2"; 546 function = "pin_fun0"; 546 function = "pin_fun0"; 547 }; 547 }; 548 548 549 rk806_dvs3_null: dvs3-null-pin 549 rk806_dvs3_null: dvs3-null-pins { 550 pins = "gpio_pwrctrl3" 550 pins = "gpio_pwrctrl3"; 551 function = "pin_fun0"; 551 function = "pin_fun0"; 552 }; 552 }; 553 553 554 regulators { 554 regulators { 555 vdd_gpu_s0: dcdc-reg1 555 vdd_gpu_s0: dcdc-reg1 { 556 regulator-name 556 regulator-name = "vdd_gpu_s0"; 557 regulator-boot 557 regulator-boot-on; 558 regulator-min- 558 regulator-min-microvolt = <550000>; 559 regulator-max- 559 regulator-max-microvolt = <950000>; 560 regulator-ramp 560 regulator-ramp-delay = <12500>; 561 regulator-enab 561 regulator-enable-ramp-delay = <400>; 562 562 563 regulator-stat 563 regulator-state-mem { 564 regula 564 regulator-off-in-suspend; 565 }; 565 }; 566 }; 566 }; 567 567 568 vdd_cpu_lit_s0: dcdc-r 568 vdd_cpu_lit_s0: dcdc-reg2 { 569 regulator-name 569 regulator-name = "vdd_cpu_lit_s0"; 570 regulator-alwa 570 regulator-always-on; 571 regulator-boot 571 regulator-boot-on; 572 regulator-min- 572 regulator-min-microvolt = <550000>; 573 regulator-max- 573 regulator-max-microvolt = <950000>; 574 regulator-ramp 574 regulator-ramp-delay = <12500>; 575 575 576 regulator-stat 576 regulator-state-mem { 577 regula 577 regulator-off-in-suspend; 578 }; 578 }; 579 }; 579 }; 580 580 581 vdd_logic_s0: dcdc-reg 581 vdd_logic_s0: dcdc-reg3 { 582 regulator-name 582 regulator-name = "vdd_logic_s0"; 583 regulator-alwa 583 regulator-always-on; 584 regulator-boot 584 regulator-boot-on; 585 regulator-min- 585 regulator-min-microvolt = <675000>; 586 regulator-max- 586 regulator-max-microvolt = <750000>; 587 regulator-ramp 587 regulator-ramp-delay = <12500>; 588 588 589 regulator-stat 589 regulator-state-mem { 590 regula 590 regulator-off-in-suspend; 591 regula 591 regulator-suspend-microvolt = <750000>; 592 }; 592 }; 593 }; 593 }; 594 594 595 vdd_vdenc_s0: dcdc-reg 595 vdd_vdenc_s0: dcdc-reg4 { 596 regulator-name 596 regulator-name = "vdd_vdenc_s0"; 597 regulator-alwa 597 regulator-always-on; 598 regulator-boot 598 regulator-boot-on; 599 regulator-min- 599 regulator-min-microvolt = <550000>; 600 regulator-max- 600 regulator-max-microvolt = <950000>; 601 regulator-ramp 601 regulator-ramp-delay = <12500>; 602 602 603 regulator-stat 603 regulator-state-mem { 604 regula 604 regulator-off-in-suspend; 605 }; 605 }; 606 }; 606 }; 607 607 608 vdd_ddr_s0: dcdc-reg5 608 vdd_ddr_s0: dcdc-reg5 { 609 regulator-name 609 regulator-name = "vdd_ddr_s0"; 610 regulator-alwa 610 regulator-always-on; 611 regulator-boot 611 regulator-boot-on; 612 regulator-min- 612 regulator-min-microvolt = <675000>; 613 regulator-max- 613 regulator-max-microvolt = <900000>; 614 regulator-ramp 614 regulator-ramp-delay = <12500>; 615 615 616 regulator-stat 616 regulator-state-mem { 617 regula 617 regulator-off-in-suspend; 618 regula 618 regulator-suspend-microvolt = <850000>; 619 }; 619 }; 620 }; 620 }; 621 621 622 vdd2_ddr_s3: dcdc-reg6 622 vdd2_ddr_s3: dcdc-reg6 { 623 regulator-name 623 regulator-name = "vdd2_ddr_s3"; 624 regulator-alwa 624 regulator-always-on; 625 regulator-boot 625 regulator-boot-on; 626 626 627 regulator-stat 627 regulator-state-mem { 628 regula 628 regulator-on-in-suspend; 629 }; 629 }; 630 }; 630 }; 631 631 632 vcc_2v0_pldo_s3: dcdc- 632 vcc_2v0_pldo_s3: dcdc-reg7 { 633 regulator-name 633 regulator-name = "vdd_2v0_pldo_s3"; 634 regulator-alwa 634 regulator-always-on; 635 regulator-boot 635 regulator-boot-on; 636 regulator-min- 636 regulator-min-microvolt = <2000000>; 637 regulator-max- 637 regulator-max-microvolt = <2000000>; 638 regulator-ramp 638 regulator-ramp-delay = <12500>; 639 639 640 regulator-stat 640 regulator-state-mem { 641 regula 641 regulator-on-in-suspend; 642 regula 642 regulator-suspend-microvolt = <2000000>; 643 }; 643 }; 644 }; 644 }; 645 645 646 vcc_3v3_s3: dcdc-reg8 646 vcc_3v3_s3: dcdc-reg8 { 647 regulator-name 647 regulator-name = "vcc_3v3_s3"; 648 regulator-alwa 648 regulator-always-on; 649 regulator-boot 649 regulator-boot-on; 650 regulator-min- 650 regulator-min-microvolt = <3300000>; 651 regulator-max- 651 regulator-max-microvolt = <3300000>; 652 652 653 regulator-stat 653 regulator-state-mem { 654 regula 654 regulator-on-in-suspend; 655 regula 655 regulator-suspend-microvolt = <3300000>; 656 }; 656 }; 657 }; 657 }; 658 658 659 vddq_ddr_s0: dcdc-reg9 659 vddq_ddr_s0: dcdc-reg9 { 660 regulator-name 660 regulator-name = "vddq_ddr_s0"; 661 regulator-alwa 661 regulator-always-on; 662 regulator-boot 662 regulator-boot-on; 663 663 664 regulator-stat 664 regulator-state-mem { 665 regula 665 regulator-off-in-suspend; 666 }; 666 }; 667 }; 667 }; 668 668 669 vcc_1v8_s3: dcdc-reg10 669 vcc_1v8_s3: dcdc-reg10 { 670 regulator-name 670 regulator-name = "vcc_1v8_s3"; 671 regulator-alwa 671 regulator-always-on; 672 regulator-boot 672 regulator-boot-on; 673 regulator-min- 673 regulator-min-microvolt = <1800000>; 674 regulator-max- 674 regulator-max-microvolt = <1800000>; 675 675 676 regulator-stat 676 regulator-state-mem { 677 regula 677 regulator-on-in-suspend; 678 regula 678 regulator-suspend-microvolt = <1800000>; 679 }; 679 }; 680 }; 680 }; 681 681 682 vcc_1v8_s0: pldo-reg1 682 vcc_1v8_s0: pldo-reg1 { 683 regulator-name 683 regulator-name = "vcc_1v8_s0"; 684 regulator-alwa 684 regulator-always-on; 685 regulator-boot 685 regulator-boot-on; 686 regulator-min- 686 regulator-min-microvolt = <1800000>; 687 regulator-max- 687 regulator-max-microvolt = <1800000>; 688 688 689 regulator-stat 689 regulator-state-mem { 690 regula 690 regulator-off-in-suspend; 691 }; 691 }; 692 }; 692 }; 693 693 694 vcca_1v8_s0: pldo-reg2 694 vcca_1v8_s0: pldo-reg2 { 695 regulator-name 695 regulator-name = "vcca_1v8_s0"; 696 regulator-alwa 696 regulator-always-on; 697 regulator-boot 697 regulator-boot-on; 698 regulator-min- 698 regulator-min-microvolt = <1800000>; 699 regulator-max- 699 regulator-max-microvolt = <1800000>; 700 700 701 regulator-stat 701 regulator-state-mem { 702 regula 702 regulator-off-in-suspend; 703 regula 703 regulator-suspend-microvolt = <1800000>; 704 }; 704 }; 705 }; 705 }; 706 706 707 vdda_1v2_s0: pldo-reg3 707 vdda_1v2_s0: pldo-reg3 { 708 regulator-name 708 regulator-name = "vdda_1v2_s0"; 709 regulator-alwa 709 regulator-always-on; 710 regulator-boot 710 regulator-boot-on; 711 regulator-min- 711 regulator-min-microvolt = <1200000>; 712 regulator-max- 712 regulator-max-microvolt = <1200000>; 713 713 714 regulator-stat 714 regulator-state-mem { 715 regula 715 regulator-off-in-suspend; 716 }; 716 }; 717 }; 717 }; 718 718 719 vcca_3v3_s0: pldo-reg4 719 vcca_3v3_s0: pldo-reg4 { 720 regulator-name 720 regulator-name = "vcca_3v3_s0"; 721 regulator-alwa 721 regulator-always-on; 722 regulator-boot 722 regulator-boot-on; 723 regulator-min- 723 regulator-min-microvolt = <3300000>; 724 regulator-max- 724 regulator-max-microvolt = <3300000>; 725 regulator-ramp 725 regulator-ramp-delay = <12500>; 726 726 727 regulator-stat 727 regulator-state-mem { 728 regula 728 regulator-off-in-suspend; 729 }; 729 }; 730 }; 730 }; 731 731 732 vccio_sd_s0: pldo-reg5 732 vccio_sd_s0: pldo-reg5 { 733 regulator-name 733 regulator-name = "vccio_sd_s0"; 734 regulator-alwa 734 regulator-always-on; 735 regulator-boot 735 regulator-boot-on; 736 regulator-min- 736 regulator-min-microvolt = <1800000>; 737 regulator-max- 737 regulator-max-microvolt = <3300000>; 738 regulator-ramp 738 regulator-ramp-delay = <12500>; 739 739 740 regulator-stat 740 regulator-state-mem { 741 regula 741 regulator-off-in-suspend; 742 }; 742 }; 743 }; 743 }; 744 744 745 vcc_1v8_s3_pldo6: pldo 745 vcc_1v8_s3_pldo6: pldo-reg6 { 746 regulator-name 746 regulator-name = "vcc_1v8_s3_pldo6"; 747 regulator-alwa 747 regulator-always-on; 748 regulator-boot 748 regulator-boot-on; 749 regulator-min- 749 regulator-min-microvolt = <1800000>; 750 regulator-max- 750 regulator-max-microvolt = <1800000>; 751 751 752 regulator-stat 752 regulator-state-mem { 753 regula 753 regulator-on-in-suspend; 754 regula 754 regulator-suspend-microvolt = <1800000>; 755 }; 755 }; 756 }; 756 }; 757 757 758 vdd_0v75_s3: nldo-reg1 758 vdd_0v75_s3: nldo-reg1 { 759 regulator-name 759 regulator-name = "vdd_0v75_s3"; 760 regulator-alwa 760 regulator-always-on; 761 regulator-boot 761 regulator-boot-on; 762 regulator-min- 762 regulator-min-microvolt = <750000>; 763 regulator-max- 763 regulator-max-microvolt = <750000>; 764 764 765 regulator-stat 765 regulator-state-mem { 766 regula 766 regulator-on-in-suspend; 767 regula 767 regulator-suspend-microvolt = <750000>; 768 }; 768 }; 769 }; 769 }; 770 770 771 vdda_ddr_pll_s0: nldo- 771 vdda_ddr_pll_s0: nldo-reg2 { 772 regulator-name 772 regulator-name = "vdda_ddr_pll_s0"; 773 regulator-alwa 773 regulator-always-on; 774 regulator-boot 774 regulator-boot-on; 775 regulator-min- 775 regulator-min-microvolt = <900000>; 776 regulator-max- 776 regulator-max-microvolt = <900000>; 777 777 778 regulator-stat 778 regulator-state-mem { 779 regula 779 regulator-off-in-suspend; 780 regula 780 regulator-suspend-microvolt = <850000>; 781 }; 781 }; 782 }; 782 }; 783 783 784 vdda_0v75_s0: nldo-reg 784 vdda_0v75_s0: nldo-reg3 { 785 regulator-name 785 regulator-name = "vdda_0v75_s0"; 786 regulator-alwa 786 regulator-always-on; 787 regulator-boot 787 regulator-boot-on; 788 regulator-min- 788 regulator-min-microvolt = <837500>; 789 regulator-max- 789 regulator-max-microvolt = <837500>; 790 790 791 regulator-stat 791 regulator-state-mem { 792 regula 792 regulator-off-in-suspend; 793 }; 793 }; 794 }; 794 }; 795 795 796 vdda_0v85_s0: nldo-reg 796 vdda_0v85_s0: nldo-reg4 { 797 regulator-name 797 regulator-name = "vdda_0v85_s0"; 798 regulator-alwa 798 regulator-always-on; 799 regulator-boot 799 regulator-boot-on; 800 regulator-min- 800 regulator-min-microvolt = <850000>; 801 regulator-max- 801 regulator-max-microvolt = <850000>; 802 802 803 regulator-stat 803 regulator-state-mem { 804 regula 804 regulator-off-in-suspend; 805 }; 805 }; 806 }; 806 }; 807 807 808 /* Schematics show not 808 /* Schematics show not in use */ 809 nldo-reg5 { 809 nldo-reg5 { 810 }; 810 }; 811 }; 811 }; 812 }; 812 }; 813 }; 813 }; 814 814 815 &tsadc { 815 &tsadc { 816 status = "okay"; 816 status = "okay"; 817 }; 817 }; 818 818 819 &u2phy0 { 819 &u2phy0 { 820 status = "okay"; 820 status = "okay"; 821 }; 821 }; 822 822 823 &u2phy0_otg { 823 &u2phy0_otg { 824 status = "okay"; 824 status = "okay"; 825 }; 825 }; 826 826 827 &u2phy2 { 827 &u2phy2 { 828 status = "okay"; 828 status = "okay"; 829 }; 829 }; 830 830 831 &u2phy2_host { 831 &u2phy2_host { 832 phy-supply = <&vcc5v0_usb2_host>; 832 phy-supply = <&vcc5v0_usb2_host>; 833 status = "okay"; 833 status = "okay"; 834 }; 834 }; 835 835 836 &u2phy3 { 836 &u2phy3 { 837 status = "okay"; 837 status = "okay"; 838 }; 838 }; 839 839 840 &u2phy3_host { 840 &u2phy3_host { 841 phy-supply = <&vcc5v0_usb3_host>; 841 phy-supply = <&vcc5v0_usb3_host>; 842 status = "okay"; 842 status = "okay"; 843 }; 843 }; 844 844 845 &uart2 { 845 &uart2 { 846 pinctrl-names = "default"; 846 pinctrl-names = "default"; 847 pinctrl-0 = <&uart2m0_xfer>; 847 pinctrl-0 = <&uart2m0_xfer>; 848 status = "okay"; 848 status = "okay"; 849 }; 849 }; 850 850 851 &usb_host0_ehci { 851 &usb_host0_ehci { 852 status = "okay"; 852 status = "okay"; 853 }; 853 }; 854 854 855 &usb_host0_ohci { 855 &usb_host0_ohci { 856 status = "okay"; 856 status = "okay"; 857 }; 857 }; 858 858 859 &usb_host0_xhci { 859 &usb_host0_xhci { 860 usb-role-switch; 860 usb-role-switch; 861 status = "okay"; 861 status = "okay"; 862 862 863 port { 863 port { 864 usb_host0_xhci_role_switch: en 864 usb_host0_xhci_role_switch: endpoint { 865 remote-endpoint = <&us 865 remote-endpoint = <&usbc0_role_switch>; 866 }; 866 }; 867 }; 867 }; 868 }; 868 }; 869 869 870 &usb_host1_ehci { 870 &usb_host1_ehci { 871 status = "okay"; 871 status = "okay"; 872 }; 872 }; 873 873 874 &usb_host1_ohci { 874 &usb_host1_ohci { 875 status = "okay"; 875 status = "okay"; 876 }; 876 }; 877 877 878 &usb_host2_xhci { 878 &usb_host2_xhci { 879 status = "okay"; 879 status = "okay"; 880 }; 880 }; 881 881 882 &usbdp_phy0 { 882 &usbdp_phy0 { 883 mode-switch; 883 mode-switch; 884 orientation-switch; 884 orientation-switch; 885 sbu1-dc-gpios = <&gpio4 RK_PA0 GPIO_AC 885 sbu1-dc-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>; 886 sbu2-dc-gpios = <&gpio4 RK_PA1 GPIO_AC 886 sbu2-dc-gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_HIGH>; 887 status = "okay"; 887 status = "okay"; 888 888 889 port { 889 port { 890 #address-cells = <1>; 890 #address-cells = <1>; 891 #size-cells = <0>; 891 #size-cells = <0>; 892 892 893 usbdp_phy0_orientation_switch: 893 usbdp_phy0_orientation_switch: endpoint@0 { 894 reg = <0>; 894 reg = <0>; 895 remote-endpoint = <&us 895 remote-endpoint = <&usbc0_orientation_switch>; 896 }; 896 }; 897 897 898 usbdp_phy0_dp_altmode_mux: end 898 usbdp_phy0_dp_altmode_mux: endpoint@1 { 899 reg = <1>; 899 reg = <1>; 900 remote-endpoint = <&us 900 remote-endpoint = <&usbc0_dp_altmode_mux>; 901 }; 901 }; 902 }; 902 }; 903 }; 903 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.