1*0f4c49bbSSamuel Holland// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2*0f4c49bbSSamuel Holland 3*0f4c49bbSSamuel Holland/dts-v1/; 4*0f4c49bbSSamuel Holland 5*0f4c49bbSSamuel Holland#include <dt-bindings/gpio/gpio.h> 6*0f4c49bbSSamuel Holland#include <dt-bindings/input/input.h> 7*0f4c49bbSSamuel Holland#include <dt-bindings/leds/common.h> 8*0f4c49bbSSamuel Holland#include <dt-bindings/pinctrl/rockchip.h> 9*0f4c49bbSSamuel Holland#include <dt-bindings/soc/rockchip,vop2.h> 10*0f4c49bbSSamuel Holland 11*0f4c49bbSSamuel Holland#include "rk3568.dtsi" 12*0f4c49bbSSamuel Holland 13*0f4c49bbSSamuel Holland/ { 14*0f4c49bbSSamuel Holland model = "LincPlus LincStation E1"; 15*0f4c49bbSSamuel Holland compatible = "techvision,tvd8322r", "rockchip,rk3568"; 16*0f4c49bbSSamuel Holland 17*0f4c49bbSSamuel Holland aliases { 18*0f4c49bbSSamuel Holland mmc0 = &sdhci; 19*0f4c49bbSSamuel Holland mmc1 = &sdmmc1; 20*0f4c49bbSSamuel Holland rtc0 = &hym8563; 21*0f4c49bbSSamuel Holland }; 22*0f4c49bbSSamuel Holland 23*0f4c49bbSSamuel Holland chosen { 24*0f4c49bbSSamuel Holland stdout-path = "serial2:1500000n8"; 25*0f4c49bbSSamuel Holland }; 26*0f4c49bbSSamuel Holland 27*0f4c49bbSSamuel Holland /* This device is only available when reset-button-mux is driven high */ 28*0f4c49bbSSamuel Holland adc-keys { 29*0f4c49bbSSamuel Holland compatible = "adc-keys"; 30*0f4c49bbSSamuel Holland io-channels = <&saradc 5>; 31*0f4c49bbSSamuel Holland io-channel-names = "buttons"; 32*0f4c49bbSSamuel Holland keyup-threshold-microvolt = <1800000>; 33*0f4c49bbSSamuel Holland poll-interval = <100>; 34*0f4c49bbSSamuel Holland status = "disabled"; 35*0f4c49bbSSamuel Holland 36*0f4c49bbSSamuel Holland button-reset { 37*0f4c49bbSSamuel Holland label = "reset"; 38*0f4c49bbSSamuel Holland linux,code = <KEY_RESTART>; 39*0f4c49bbSSamuel Holland press-threshold-microvolt = <0>; 40*0f4c49bbSSamuel Holland }; 41*0f4c49bbSSamuel Holland }; 42*0f4c49bbSSamuel Holland 43*0f4c49bbSSamuel Holland gpio-leds { 44*0f4c49bbSSamuel Holland compatible = "gpio-leds"; 45*0f4c49bbSSamuel Holland pinctrl-names = "default"; 46*0f4c49bbSSamuel Holland pinctrl-0 = <&gpio_leds &sata1_detect &sata2_detect>; 47*0f4c49bbSSamuel Holland 48*0f4c49bbSSamuel Holland led-2 { 49*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_WHITE>; 50*0f4c49bbSSamuel Holland function = LED_FUNCTION_LAN; 51*0f4c49bbSSamuel Holland gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>; 52*0f4c49bbSSamuel Holland linux,default-trigger = "netdev"; 53*0f4c49bbSSamuel Holland }; 54*0f4c49bbSSamuel Holland 55*0f4c49bbSSamuel Holland led-3 { 56*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_AMBER>; 57*0f4c49bbSSamuel Holland function = LED_FUNCTION_LAN; 58*0f4c49bbSSamuel Holland gpios = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; 59*0f4c49bbSSamuel Holland linux,default-trigger = "netdev"; 60*0f4c49bbSSamuel Holland }; 61*0f4c49bbSSamuel Holland 62*0f4c49bbSSamuel Holland led-4 { 63*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_WHITE>; 64*0f4c49bbSSamuel Holland function = "m1"; 65*0f4c49bbSSamuel Holland gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; 66*0f4c49bbSSamuel Holland }; 67*0f4c49bbSSamuel Holland 68*0f4c49bbSSamuel Holland led-5 { 69*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_AMBER>; 70*0f4c49bbSSamuel Holland function = "m1"; 71*0f4c49bbSSamuel Holland gpios = <&gpio1 RK_PA5 GPIO_ACTIVE_HIGH>; 72*0f4c49bbSSamuel Holland }; 73*0f4c49bbSSamuel Holland 74*0f4c49bbSSamuel Holland led-6 { 75*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_WHITE>; 76*0f4c49bbSSamuel Holland function = "m2"; 77*0f4c49bbSSamuel Holland gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>; 78*0f4c49bbSSamuel Holland }; 79*0f4c49bbSSamuel Holland 80*0f4c49bbSSamuel Holland led-7 { 81*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_AMBER>; 82*0f4c49bbSSamuel Holland function = "m2"; 83*0f4c49bbSSamuel Holland gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>; 84*0f4c49bbSSamuel Holland }; 85*0f4c49bbSSamuel Holland 86*0f4c49bbSSamuel Holland led-8 { 87*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_WHITE>; 88*0f4c49bbSSamuel Holland function = "s1"; 89*0f4c49bbSSamuel Holland gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>; 90*0f4c49bbSSamuel Holland linux,default-trigger = "disk-activity"; 91*0f4c49bbSSamuel Holland }; 92*0f4c49bbSSamuel Holland 93*0f4c49bbSSamuel Holland led-9 { 94*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_AMBER>; 95*0f4c49bbSSamuel Holland function = "s1"; 96*0f4c49bbSSamuel Holland gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>; 97*0f4c49bbSSamuel Holland linux,default-trigger = "gpio"; 98*0f4c49bbSSamuel Holland trigger-sources = <&gpio1 RK_PD6 GPIO_ACTIVE_LOW>; 99*0f4c49bbSSamuel Holland }; 100*0f4c49bbSSamuel Holland 101*0f4c49bbSSamuel Holland led-a { 102*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_WHITE>; 103*0f4c49bbSSamuel Holland function = "s2"; 104*0f4c49bbSSamuel Holland gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>; 105*0f4c49bbSSamuel Holland linux,default-trigger = "disk-activity"; 106*0f4c49bbSSamuel Holland }; 107*0f4c49bbSSamuel Holland 108*0f4c49bbSSamuel Holland led-b { 109*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_AMBER>; 110*0f4c49bbSSamuel Holland function = "s2"; 111*0f4c49bbSSamuel Holland gpios = <&gpio1 RK_PB3 GPIO_ACTIVE_HIGH>; 112*0f4c49bbSSamuel Holland linux,default-trigger = "gpio"; 113*0f4c49bbSSamuel Holland trigger-sources = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>; 114*0f4c49bbSSamuel Holland }; 115*0f4c49bbSSamuel Holland }; 116*0f4c49bbSSamuel Holland 117*0f4c49bbSSamuel Holland hdmi-con { 118*0f4c49bbSSamuel Holland compatible = "hdmi-connector"; 119*0f4c49bbSSamuel Holland type = "a"; 120*0f4c49bbSSamuel Holland 121*0f4c49bbSSamuel Holland port { 122*0f4c49bbSSamuel Holland hdmi_con_in: endpoint { 123*0f4c49bbSSamuel Holland remote-endpoint = <&hdmi_out_con>; 124*0f4c49bbSSamuel Holland }; 125*0f4c49bbSSamuel Holland }; 126*0f4c49bbSSamuel Holland }; 127*0f4c49bbSSamuel Holland 128*0f4c49bbSSamuel Holland fan: pwm-fan { 129*0f4c49bbSSamuel Holland compatible = "pwm-fan"; 130*0f4c49bbSSamuel Holland interrupt-parent = <&gpio0>; 131*0f4c49bbSSamuel Holland interrupts = <RK_PC6 IRQ_TYPE_EDGE_RISING>; 132*0f4c49bbSSamuel Holland #cooling-cells = <2>; 133*0f4c49bbSSamuel Holland cooling-levels = <0 20 50 90 130 170 210 225 240 255>; 134*0f4c49bbSSamuel Holland fan-supply = <&vcc12v0_sys>; 135*0f4c49bbSSamuel Holland fan-stop-to-start-percent = <8>; 136*0f4c49bbSSamuel Holland pinctrl-names = "default"; 137*0f4c49bbSSamuel Holland pinctrl-0 = <&fan_tach>; 138*0f4c49bbSSamuel Holland pulses-per-revolution = <2>; 139*0f4c49bbSSamuel Holland pwms = <&pwm0 0 50000 0>; 140*0f4c49bbSSamuel Holland }; 141*0f4c49bbSSamuel Holland 142*0f4c49bbSSamuel Holland pwm-leds { 143*0f4c49bbSSamuel Holland compatible = "pwm-leds"; 144*0f4c49bbSSamuel Holland 145*0f4c49bbSSamuel Holland led-0 { 146*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_AMBER>; 147*0f4c49bbSSamuel Holland default-state = "off"; 148*0f4c49bbSSamuel Holland function = LED_FUNCTION_STANDBY; 149*0f4c49bbSSamuel Holland max-brightness = <255>; 150*0f4c49bbSSamuel Holland pwms = <&pwm4 0 25000 0>; 151*0f4c49bbSSamuel Holland }; 152*0f4c49bbSSamuel Holland 153*0f4c49bbSSamuel Holland led-1 { 154*0f4c49bbSSamuel Holland color = <LED_COLOR_ID_WHITE>; 155*0f4c49bbSSamuel Holland default-brightness = <127>; 156*0f4c49bbSSamuel Holland default-state = "on"; 157*0f4c49bbSSamuel Holland function = LED_FUNCTION_POWER; 158*0f4c49bbSSamuel Holland max-brightness = <255>; 159*0f4c49bbSSamuel Holland pwms = <&pwm5 0 25000 0>; 160*0f4c49bbSSamuel Holland }; 161*0f4c49bbSSamuel Holland }; 162*0f4c49bbSSamuel Holland 163*0f4c49bbSSamuel Holland dc_12v: regulator-dc-12v { 164*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 165*0f4c49bbSSamuel Holland regulator-name = "dc_12v"; 166*0f4c49bbSSamuel Holland regulator-always-on; 167*0f4c49bbSSamuel Holland regulator-boot-on; 168*0f4c49bbSSamuel Holland regulator-min-microvolt = <12000000>; 169*0f4c49bbSSamuel Holland regulator-max-microvolt = <12000000>; 170*0f4c49bbSSamuel Holland }; 171*0f4c49bbSSamuel Holland 172*0f4c49bbSSamuel Holland vcc12v0_sys: regulator-vcc12v0-sys { 173*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 174*0f4c49bbSSamuel Holland enable-active-high; 175*0f4c49bbSSamuel Holland gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; 176*0f4c49bbSSamuel Holland pinctrl-names = "default"; 177*0f4c49bbSSamuel Holland pinctrl-0 = <&vcc12v0_sys_en>; 178*0f4c49bbSSamuel Holland regulator-name = "vcc12v0_sys"; 179*0f4c49bbSSamuel Holland regulator-always-on; 180*0f4c49bbSSamuel Holland regulator-boot-on; 181*0f4c49bbSSamuel Holland regulator-min-microvolt = <12000000>; 182*0f4c49bbSSamuel Holland regulator-max-microvolt = <12000000>; 183*0f4c49bbSSamuel Holland vin-supply = <&dc_12v>; 184*0f4c49bbSSamuel Holland }; 185*0f4c49bbSSamuel Holland 186*0f4c49bbSSamuel Holland vcc3v3_lan: regulator-vcc3v3-lan { 187*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 188*0f4c49bbSSamuel Holland enable-active-high; 189*0f4c49bbSSamuel Holland gpio = <&gpio4 RK_PB1 GPIO_ACTIVE_HIGH>; 190*0f4c49bbSSamuel Holland pinctrl-names = "default"; 191*0f4c49bbSSamuel Holland pinctrl-0 = <&vcc3v3_lan_en>; 192*0f4c49bbSSamuel Holland regulator-name = "vcc3v3_lan"; 193*0f4c49bbSSamuel Holland regulator-min-microvolt = <3300000>; 194*0f4c49bbSSamuel Holland regulator-max-microvolt = <3300000>; 195*0f4c49bbSSamuel Holland vin-supply = <&vcc5v0_sys>; 196*0f4c49bbSSamuel Holland }; 197*0f4c49bbSSamuel Holland 198*0f4c49bbSSamuel Holland vcc3v3_pcie: regulator-vcc3v3-pcie { 199*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 200*0f4c49bbSSamuel Holland enable-active-high; 201*0f4c49bbSSamuel Holland gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; 202*0f4c49bbSSamuel Holland pinctrl-names = "default"; 203*0f4c49bbSSamuel Holland pinctrl-0 = <&vcc3v3_pcie_en>; 204*0f4c49bbSSamuel Holland off-on-delay-us = <500000>; 205*0f4c49bbSSamuel Holland regulator-name = "vcc3v3_pcie"; 206*0f4c49bbSSamuel Holland regulator-min-microvolt = <3300000>; 207*0f4c49bbSSamuel Holland regulator-max-microvolt = <3300000>; 208*0f4c49bbSSamuel Holland startup-delay-us = <5000>; 209*0f4c49bbSSamuel Holland vin-supply = <&dc_12v>; 210*0f4c49bbSSamuel Holland }; 211*0f4c49bbSSamuel Holland 212*0f4c49bbSSamuel Holland vcc3v3_sys: regulator-vcc3v3-sys { 213*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 214*0f4c49bbSSamuel Holland regulator-name = "vcc3v3_sys"; 215*0f4c49bbSSamuel Holland regulator-always-on; 216*0f4c49bbSSamuel Holland regulator-boot-on; 217*0f4c49bbSSamuel Holland regulator-min-microvolt = <3300000>; 218*0f4c49bbSSamuel Holland regulator-max-microvolt = <3300000>; 219*0f4c49bbSSamuel Holland vin-supply = <&dc_12v>; 220*0f4c49bbSSamuel Holland }; 221*0f4c49bbSSamuel Holland 222*0f4c49bbSSamuel Holland vcc5v0_sata: regulator-vcc5v0-sata { 223*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 224*0f4c49bbSSamuel Holland enable-active-high; 225*0f4c49bbSSamuel Holland gpio = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>; 226*0f4c49bbSSamuel Holland pinctrl-names = "default"; 227*0f4c49bbSSamuel Holland pinctrl-0 = <&vcc5v0_sata_en>; 228*0f4c49bbSSamuel Holland regulator-name = "vcc5v0_sata"; 229*0f4c49bbSSamuel Holland regulator-min-microvolt = <5000000>; 230*0f4c49bbSSamuel Holland regulator-max-microvolt = <5000000>; 231*0f4c49bbSSamuel Holland vin-supply = <&dc_12v>; 232*0f4c49bbSSamuel Holland }; 233*0f4c49bbSSamuel Holland 234*0f4c49bbSSamuel Holland vcc5v0_sys: regulator-vcc5v0-sys { 235*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 236*0f4c49bbSSamuel Holland regulator-name = "vcc5v0_sys"; 237*0f4c49bbSSamuel Holland regulator-always-on; 238*0f4c49bbSSamuel Holland regulator-boot-on; 239*0f4c49bbSSamuel Holland regulator-min-microvolt = <5000000>; 240*0f4c49bbSSamuel Holland regulator-max-microvolt = <5000000>; 241*0f4c49bbSSamuel Holland vin-supply = <&dc_12v>; 242*0f4c49bbSSamuel Holland }; 243*0f4c49bbSSamuel Holland 244*0f4c49bbSSamuel Holland vcc5v0_usb: regulator-vcc5v0-usb { 245*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 246*0f4c49bbSSamuel Holland regulator-name = "vcc5v0_usb"; 247*0f4c49bbSSamuel Holland regulator-always-on; 248*0f4c49bbSSamuel Holland regulator-boot-on; 249*0f4c49bbSSamuel Holland regulator-min-microvolt = <5000000>; 250*0f4c49bbSSamuel Holland regulator-max-microvolt = <5000000>; 251*0f4c49bbSSamuel Holland vin-supply = <&dc_12v>; 252*0f4c49bbSSamuel Holland }; 253*0f4c49bbSSamuel Holland 254*0f4c49bbSSamuel Holland vcc5v0_usb_host: regulator-vcc5v0-usb-host { 255*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 256*0f4c49bbSSamuel Holland enable-active-high; 257*0f4c49bbSSamuel Holland gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; 258*0f4c49bbSSamuel Holland pinctrl-names = "default"; 259*0f4c49bbSSamuel Holland pinctrl-0 = <&vcc5v0_usb_host_en>; 260*0f4c49bbSSamuel Holland regulator-name = "vcc5v0_usb_host"; 261*0f4c49bbSSamuel Holland regulator-min-microvolt = <5000000>; 262*0f4c49bbSSamuel Holland regulator-max-microvolt = <5000000>; 263*0f4c49bbSSamuel Holland vin-supply = <&vcc5v0_usb>; 264*0f4c49bbSSamuel Holland }; 265*0f4c49bbSSamuel Holland 266*0f4c49bbSSamuel Holland vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 267*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 268*0f4c49bbSSamuel Holland enable-active-high; 269*0f4c49bbSSamuel Holland gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; 270*0f4c49bbSSamuel Holland pinctrl-names = "default"; 271*0f4c49bbSSamuel Holland pinctrl-0 = <&vcc5v0_usb_otg_en>; 272*0f4c49bbSSamuel Holland regulator-name = "vcc5v0_usb_otg"; 273*0f4c49bbSSamuel Holland regulator-min-microvolt = <5000000>; 274*0f4c49bbSSamuel Holland regulator-max-microvolt = <5000000>; 275*0f4c49bbSSamuel Holland vin-supply = <&vcc5v0_usb>; 276*0f4c49bbSSamuel Holland }; 277*0f4c49bbSSamuel Holland 278*0f4c49bbSSamuel Holland vcc_wl: regulator-vcc-wl { 279*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 280*0f4c49bbSSamuel Holland enable-active-high; 281*0f4c49bbSSamuel Holland gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; 282*0f4c49bbSSamuel Holland pinctrl-names = "default"; 283*0f4c49bbSSamuel Holland pinctrl-0 = <&vcc_wl_en>; 284*0f4c49bbSSamuel Holland regulator-name = "vcc_wl"; 285*0f4c49bbSSamuel Holland regulator-min-microvolt = <3300000>; 286*0f4c49bbSSamuel Holland regulator-max-microvolt = <3300000>; 287*0f4c49bbSSamuel Holland vin-supply = <&vcc5v0_sys>; 288*0f4c49bbSSamuel Holland }; 289*0f4c49bbSSamuel Holland 290*0f4c49bbSSamuel Holland vccio_wl: regulator-vccio-wl { 291*0f4c49bbSSamuel Holland compatible = "regulator-fixed"; 292*0f4c49bbSSamuel Holland enable-active-high; 293*0f4c49bbSSamuel Holland gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; 294*0f4c49bbSSamuel Holland pinctrl-names = "default"; 295*0f4c49bbSSamuel Holland pinctrl-0 = <&vccio_wl_en>; 296*0f4c49bbSSamuel Holland regulator-name = "vccio_wl"; 297*0f4c49bbSSamuel Holland regulator-min-microvolt = <1800000>; 298*0f4c49bbSSamuel Holland regulator-max-microvolt = <1800000>; 299*0f4c49bbSSamuel Holland vin-supply = <&vcc5v0_sys>; 300*0f4c49bbSSamuel Holland }; 301*0f4c49bbSSamuel Holland 302*0f4c49bbSSamuel Holland sdio_pwrseq: sdio-pwrseq { 303*0f4c49bbSSamuel Holland compatible = "mmc-pwrseq-simple"; 304*0f4c49bbSSamuel Holland clocks = <&rk809 1>; 305*0f4c49bbSSamuel Holland clock-names = "ext_clock"; 306*0f4c49bbSSamuel Holland pinctrl-names = "default"; 307*0f4c49bbSSamuel Holland pinctrl-0 = <&wifi_enable_h>; 308*0f4c49bbSSamuel Holland post-power-on-delay-ms = <200>; 309*0f4c49bbSSamuel Holland reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>; 310*0f4c49bbSSamuel Holland }; 311*0f4c49bbSSamuel Holland}; 312*0f4c49bbSSamuel Holland 313*0f4c49bbSSamuel Holland&combphy0 { 314*0f4c49bbSSamuel Holland status = "okay"; 315*0f4c49bbSSamuel Holland}; 316*0f4c49bbSSamuel Holland 317*0f4c49bbSSamuel Holland&combphy1 { 318*0f4c49bbSSamuel Holland status = "okay"; 319*0f4c49bbSSamuel Holland}; 320*0f4c49bbSSamuel Holland 321*0f4c49bbSSamuel Holland&combphy2 { 322*0f4c49bbSSamuel Holland status = "okay"; 323*0f4c49bbSSamuel Holland}; 324*0f4c49bbSSamuel Holland 325*0f4c49bbSSamuel Holland&cpu0 { 326*0f4c49bbSSamuel Holland cpu-supply = <&vdd_cpu>; 327*0f4c49bbSSamuel Holland}; 328*0f4c49bbSSamuel Holland 329*0f4c49bbSSamuel Holland&cpu1 { 330*0f4c49bbSSamuel Holland cpu-supply = <&vdd_cpu>; 331*0f4c49bbSSamuel Holland}; 332*0f4c49bbSSamuel Holland 333*0f4c49bbSSamuel Holland&cpu2 { 334*0f4c49bbSSamuel Holland cpu-supply = <&vdd_cpu>; 335*0f4c49bbSSamuel Holland}; 336*0f4c49bbSSamuel Holland 337*0f4c49bbSSamuel Holland&cpu3 { 338*0f4c49bbSSamuel Holland cpu-supply = <&vdd_cpu>; 339*0f4c49bbSSamuel Holland}; 340*0f4c49bbSSamuel Holland 341*0f4c49bbSSamuel Holland/* 342*0f4c49bbSSamuel Holland * The fan pulls hot air from the CPU and m.2 slot heat sinks and blows it 343*0f4c49bbSSamuel Holland * across the hard disks. To keep the disks from overheating (below 50 °C), 344*0f4c49bbSSamuel Holland * their ambient air, and thus the CPU heat sink, must be kept quite cool. 345*0f4c49bbSSamuel Holland */ 346*0f4c49bbSSamuel Holland&cpu_thermal { 347*0f4c49bbSSamuel Holland trips { 348*0f4c49bbSSamuel Holland sys_fan1: sys-fan1 { 349*0f4c49bbSSamuel Holland hysteresis = <2000>; 350*0f4c49bbSSamuel Holland temperature = <25000>; 351*0f4c49bbSSamuel Holland type = "active"; 352*0f4c49bbSSamuel Holland }; 353*0f4c49bbSSamuel Holland 354*0f4c49bbSSamuel Holland sys_fan2: sys-fan2 { 355*0f4c49bbSSamuel Holland hysteresis = <2000>; 356*0f4c49bbSSamuel Holland temperature = <35000>; 357*0f4c49bbSSamuel Holland type = "active"; 358*0f4c49bbSSamuel Holland }; 359*0f4c49bbSSamuel Holland 360*0f4c49bbSSamuel Holland sys_fan3: sys-fan3 { 361*0f4c49bbSSamuel Holland hysteresis = <2000>; 362*0f4c49bbSSamuel Holland temperature = <45000>; 363*0f4c49bbSSamuel Holland type = "active"; 364*0f4c49bbSSamuel Holland }; 365*0f4c49bbSSamuel Holland }; 366*0f4c49bbSSamuel Holland 367*0f4c49bbSSamuel Holland cooling-maps { 368*0f4c49bbSSamuel Holland map1 { 369*0f4c49bbSSamuel Holland cooling-device = <&fan 1 3>; 370*0f4c49bbSSamuel Holland trip = <&sys_fan1>; 371*0f4c49bbSSamuel Holland }; 372*0f4c49bbSSamuel Holland 373*0f4c49bbSSamuel Holland map2 { 374*0f4c49bbSSamuel Holland cooling-device = <&fan 4 5>; 375*0f4c49bbSSamuel Holland trip = <&sys_fan2>; 376*0f4c49bbSSamuel Holland }; 377*0f4c49bbSSamuel Holland 378*0f4c49bbSSamuel Holland map3 { 379*0f4c49bbSSamuel Holland cooling-device = <&fan 6 THERMAL_NO_LIMIT>; 380*0f4c49bbSSamuel Holland trip = <&sys_fan3>; 381*0f4c49bbSSamuel Holland }; 382*0f4c49bbSSamuel Holland }; 383*0f4c49bbSSamuel Holland}; 384*0f4c49bbSSamuel Holland 385*0f4c49bbSSamuel Holland&gpio1 { 386*0f4c49bbSSamuel Holland /* ata1.01 is the slot labeled HDD2 */ 387*0f4c49bbSSamuel Holland sata1-power-control-hog { 388*0f4c49bbSSamuel Holland gpio-hog; 389*0f4c49bbSSamuel Holland gpios = <RK_PD7 GPIO_ACTIVE_LOW>; 390*0f4c49bbSSamuel Holland line-name = "sata1-power-control"; 391*0f4c49bbSSamuel Holland output-high; 392*0f4c49bbSSamuel Holland }; 393*0f4c49bbSSamuel Holland}; 394*0f4c49bbSSamuel Holland 395*0f4c49bbSSamuel Holland&gpio2 { 396*0f4c49bbSSamuel Holland /* ata1.02 is the slot labeled HDD1 */ 397*0f4c49bbSSamuel Holland sata2-power-control-hog { 398*0f4c49bbSSamuel Holland gpio-hog; 399*0f4c49bbSSamuel Holland gpios = <RK_PA0 GPIO_ACTIVE_LOW>; 400*0f4c49bbSSamuel Holland line-name = "sata2-power-control"; 401*0f4c49bbSSamuel Holland output-high; 402*0f4c49bbSSamuel Holland }; 403*0f4c49bbSSamuel Holland}; 404*0f4c49bbSSamuel Holland 405*0f4c49bbSSamuel Holland&gpio4 { 406*0f4c49bbSSamuel Holland /* low = SoC reset, high = saradc input */ 407*0f4c49bbSSamuel Holland reset-button-mux-hog { 408*0f4c49bbSSamuel Holland gpio-hog; 409*0f4c49bbSSamuel Holland gpios = <RK_PB7 GPIO_ACTIVE_HIGH>; 410*0f4c49bbSSamuel Holland line-name = "reset-button-mux"; 411*0f4c49bbSSamuel Holland output-low; 412*0f4c49bbSSamuel Holland }; 413*0f4c49bbSSamuel Holland 414*0f4c49bbSSamuel Holland sata-pm-reset-hog { 415*0f4c49bbSSamuel Holland gpio-hog; 416*0f4c49bbSSamuel Holland gpios = <RK_PD2 GPIO_ACTIVE_LOW>; 417*0f4c49bbSSamuel Holland line-name = "sata-pm-reset"; 418*0f4c49bbSSamuel Holland output-low; 419*0f4c49bbSSamuel Holland }; 420*0f4c49bbSSamuel Holland}; 421*0f4c49bbSSamuel Holland 422*0f4c49bbSSamuel Holland&gpu { 423*0f4c49bbSSamuel Holland mali-supply = <&vdd_gpu>; 424*0f4c49bbSSamuel Holland status = "okay"; 425*0f4c49bbSSamuel Holland}; 426*0f4c49bbSSamuel Holland 427*0f4c49bbSSamuel Holland&hdmi { 428*0f4c49bbSSamuel Holland avdd-0v9-supply = <&vdda0v9_image>; 429*0f4c49bbSSamuel Holland avdd-1v8-supply = <&vcca1v8_image>; 430*0f4c49bbSSamuel Holland status = "okay"; 431*0f4c49bbSSamuel Holland}; 432*0f4c49bbSSamuel Holland 433*0f4c49bbSSamuel Holland&hdmi_in { 434*0f4c49bbSSamuel Holland hdmi_in_vp0: endpoint { 435*0f4c49bbSSamuel Holland remote-endpoint = <&vp0_out_hdmi>; 436*0f4c49bbSSamuel Holland }; 437*0f4c49bbSSamuel Holland}; 438*0f4c49bbSSamuel Holland 439*0f4c49bbSSamuel Holland&hdmi_out { 440*0f4c49bbSSamuel Holland hdmi_out_con: endpoint { 441*0f4c49bbSSamuel Holland remote-endpoint = <&hdmi_con_in>; 442*0f4c49bbSSamuel Holland }; 443*0f4c49bbSSamuel Holland}; 444*0f4c49bbSSamuel Holland 445*0f4c49bbSSamuel Holland&hdmi_sound { 446*0f4c49bbSSamuel Holland status = "okay"; 447*0f4c49bbSSamuel Holland}; 448*0f4c49bbSSamuel Holland 449*0f4c49bbSSamuel Holland&i2c0 { 450*0f4c49bbSSamuel Holland status = "okay"; 451*0f4c49bbSSamuel Holland 452*0f4c49bbSSamuel Holland vdd_cpu: regulator@40 { 453*0f4c49bbSSamuel Holland compatible = "silergy,syr827"; 454*0f4c49bbSSamuel Holland reg = <0x40>; 455*0f4c49bbSSamuel Holland fcs,suspend-voltage-selector = <1>; 456*0f4c49bbSSamuel Holland regulator-name = "vdd_cpu"; 457*0f4c49bbSSamuel Holland regulator-always-on; 458*0f4c49bbSSamuel Holland regulator-boot-on; 459*0f4c49bbSSamuel Holland regulator-min-microvolt = <712500>; 460*0f4c49bbSSamuel Holland regulator-max-microvolt = <1500000>; 461*0f4c49bbSSamuel Holland regulator-ramp-delay = <1000>; 462*0f4c49bbSSamuel Holland vin-supply = <&vcc5v0_sys>; 463*0f4c49bbSSamuel Holland 464*0f4c49bbSSamuel Holland regulator-state-mem { 465*0f4c49bbSSamuel Holland regulator-off-in-suspend; 466*0f4c49bbSSamuel Holland }; 467*0f4c49bbSSamuel Holland }; 468*0f4c49bbSSamuel Holland 469*0f4c49bbSSamuel Holland rk809: pmic@20 { 470*0f4c49bbSSamuel Holland compatible = "rockchip,rk809"; 471*0f4c49bbSSamuel Holland reg = <0x20>; 472*0f4c49bbSSamuel Holland interrupt-parent = <&gpio0>; 473*0f4c49bbSSamuel Holland interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>; 474*0f4c49bbSSamuel Holland #clock-cells = <1>; 475*0f4c49bbSSamuel Holland pinctrl-names = "default"; 476*0f4c49bbSSamuel Holland pinctrl-0 = <&pmic_int>; 477*0f4c49bbSSamuel Holland system-power-controller; 478*0f4c49bbSSamuel Holland vcc1-supply = <&vcc3v3_sys>; 479*0f4c49bbSSamuel Holland vcc2-supply = <&vcc3v3_sys>; 480*0f4c49bbSSamuel Holland vcc3-supply = <&vcc3v3_sys>; 481*0f4c49bbSSamuel Holland vcc4-supply = <&vcc3v3_sys>; 482*0f4c49bbSSamuel Holland vcc5-supply = <&vcc3v3_sys>; 483*0f4c49bbSSamuel Holland vcc6-supply = <&vcc5v0_sys>; 484*0f4c49bbSSamuel Holland vcc7-supply = <&vcc3v3_sys>; 485*0f4c49bbSSamuel Holland vcc8-supply = <&vcc3v3_sys>; 486*0f4c49bbSSamuel Holland vcc9-supply = <&vcc3v3_sys>; 487*0f4c49bbSSamuel Holland wakeup-source; 488*0f4c49bbSSamuel Holland 489*0f4c49bbSSamuel Holland regulators { 490*0f4c49bbSSamuel Holland vdd_logic: DCDC_REG1 { 491*0f4c49bbSSamuel Holland regulator-name = "vdd_logic"; 492*0f4c49bbSSamuel Holland regulator-always-on; 493*0f4c49bbSSamuel Holland regulator-boot-on; 494*0f4c49bbSSamuel Holland regulator-initial-mode = <0x2>; 495*0f4c49bbSSamuel Holland regulator-min-microvolt = <500000>; 496*0f4c49bbSSamuel Holland regulator-max-microvolt = <1350000>; 497*0f4c49bbSSamuel Holland regulator-ramp-delay = <6001>; 498*0f4c49bbSSamuel Holland 499*0f4c49bbSSamuel Holland regulator-state-mem { 500*0f4c49bbSSamuel Holland regulator-off-in-suspend; 501*0f4c49bbSSamuel Holland }; 502*0f4c49bbSSamuel Holland }; 503*0f4c49bbSSamuel Holland 504*0f4c49bbSSamuel Holland vdd_gpu: DCDC_REG2 { 505*0f4c49bbSSamuel Holland regulator-name = "vdd_gpu"; 506*0f4c49bbSSamuel Holland regulator-always-on; 507*0f4c49bbSSamuel Holland regulator-boot-on; 508*0f4c49bbSSamuel Holland regulator-initial-mode = <0x2>; 509*0f4c49bbSSamuel Holland regulator-min-microvolt = <500000>; 510*0f4c49bbSSamuel Holland regulator-max-microvolt = <1350000>; 511*0f4c49bbSSamuel Holland regulator-ramp-delay = <6001>; 512*0f4c49bbSSamuel Holland 513*0f4c49bbSSamuel Holland regulator-state-mem { 514*0f4c49bbSSamuel Holland regulator-off-in-suspend; 515*0f4c49bbSSamuel Holland }; 516*0f4c49bbSSamuel Holland }; 517*0f4c49bbSSamuel Holland 518*0f4c49bbSSamuel Holland vcc_ddr: DCDC_REG3 { 519*0f4c49bbSSamuel Holland regulator-name = "vcc_ddr"; 520*0f4c49bbSSamuel Holland regulator-always-on; 521*0f4c49bbSSamuel Holland regulator-boot-on; 522*0f4c49bbSSamuel Holland regulator-initial-mode = <0x2>; 523*0f4c49bbSSamuel Holland 524*0f4c49bbSSamuel Holland regulator-state-mem { 525*0f4c49bbSSamuel Holland regulator-on-in-suspend; 526*0f4c49bbSSamuel Holland }; 527*0f4c49bbSSamuel Holland }; 528*0f4c49bbSSamuel Holland 529*0f4c49bbSSamuel Holland vdd_npu: DCDC_REG4 { 530*0f4c49bbSSamuel Holland regulator-name = "vdd_npu"; 531*0f4c49bbSSamuel Holland regulator-initial-mode = <0x2>; 532*0f4c49bbSSamuel Holland regulator-min-microvolt = <500000>; 533*0f4c49bbSSamuel Holland regulator-max-microvolt = <1350000>; 534*0f4c49bbSSamuel Holland regulator-ramp-delay = <6001>; 535*0f4c49bbSSamuel Holland 536*0f4c49bbSSamuel Holland regulator-state-mem { 537*0f4c49bbSSamuel Holland regulator-off-in-suspend; 538*0f4c49bbSSamuel Holland }; 539*0f4c49bbSSamuel Holland }; 540*0f4c49bbSSamuel Holland 541*0f4c49bbSSamuel Holland vcc_1v8: DCDC_REG5 { 542*0f4c49bbSSamuel Holland regulator-name = "vcc_1v8"; 543*0f4c49bbSSamuel Holland regulator-always-on; 544*0f4c49bbSSamuel Holland regulator-boot-on; 545*0f4c49bbSSamuel Holland regulator-min-microvolt = <1800000>; 546*0f4c49bbSSamuel Holland regulator-max-microvolt = <1800000>; 547*0f4c49bbSSamuel Holland 548*0f4c49bbSSamuel Holland regulator-state-mem { 549*0f4c49bbSSamuel Holland regulator-on-in-suspend; 550*0f4c49bbSSamuel Holland }; 551*0f4c49bbSSamuel Holland }; 552*0f4c49bbSSamuel Holland 553*0f4c49bbSSamuel Holland vdda0v9_image: LDO_REG1 { 554*0f4c49bbSSamuel Holland regulator-name = "vdda0v9_image"; 555*0f4c49bbSSamuel Holland regulator-always-on; 556*0f4c49bbSSamuel Holland regulator-boot-on; 557*0f4c49bbSSamuel Holland regulator-min-microvolt = <900000>; 558*0f4c49bbSSamuel Holland regulator-max-microvolt = <900000>; 559*0f4c49bbSSamuel Holland 560*0f4c49bbSSamuel Holland regulator-state-mem { 561*0f4c49bbSSamuel Holland regulator-off-in-suspend; 562*0f4c49bbSSamuel Holland }; 563*0f4c49bbSSamuel Holland }; 564*0f4c49bbSSamuel Holland 565*0f4c49bbSSamuel Holland vdda_0v9: LDO_REG2 { 566*0f4c49bbSSamuel Holland regulator-name = "vdda_0v9"; 567*0f4c49bbSSamuel Holland regulator-always-on; 568*0f4c49bbSSamuel Holland regulator-boot-on; 569*0f4c49bbSSamuel Holland regulator-min-microvolt = <900000>; 570*0f4c49bbSSamuel Holland regulator-max-microvolt = <900000>; 571*0f4c49bbSSamuel Holland 572*0f4c49bbSSamuel Holland regulator-state-mem { 573*0f4c49bbSSamuel Holland regulator-off-in-suspend; 574*0f4c49bbSSamuel Holland }; 575*0f4c49bbSSamuel Holland }; 576*0f4c49bbSSamuel Holland 577*0f4c49bbSSamuel Holland vdda0v9_pmu: LDO_REG3 { 578*0f4c49bbSSamuel Holland regulator-name = "vdda0v9_pmu"; 579*0f4c49bbSSamuel Holland regulator-always-on; 580*0f4c49bbSSamuel Holland regulator-boot-on; 581*0f4c49bbSSamuel Holland regulator-min-microvolt = <900000>; 582*0f4c49bbSSamuel Holland regulator-max-microvolt = <900000>; 583*0f4c49bbSSamuel Holland 584*0f4c49bbSSamuel Holland regulator-state-mem { 585*0f4c49bbSSamuel Holland regulator-on-in-suspend; 586*0f4c49bbSSamuel Holland }; 587*0f4c49bbSSamuel Holland }; 588*0f4c49bbSSamuel Holland 589*0f4c49bbSSamuel Holland vccio_acodec: LDO_REG4 { 590*0f4c49bbSSamuel Holland regulator-name = "vccio_acodec"; 591*0f4c49bbSSamuel Holland regulator-always-on; 592*0f4c49bbSSamuel Holland regulator-boot-on; 593*0f4c49bbSSamuel Holland regulator-min-microvolt = <3300000>; 594*0f4c49bbSSamuel Holland regulator-max-microvolt = <3300000>; 595*0f4c49bbSSamuel Holland 596*0f4c49bbSSamuel Holland regulator-state-mem { 597*0f4c49bbSSamuel Holland regulator-off-in-suspend; 598*0f4c49bbSSamuel Holland }; 599*0f4c49bbSSamuel Holland }; 600*0f4c49bbSSamuel Holland 601*0f4c49bbSSamuel Holland vccio_sd: LDO_REG5 { 602*0f4c49bbSSamuel Holland regulator-name = "vccio_sd"; 603*0f4c49bbSSamuel Holland regulator-always-on; 604*0f4c49bbSSamuel Holland regulator-boot-on; 605*0f4c49bbSSamuel Holland regulator-min-microvolt = <1800000>; 606*0f4c49bbSSamuel Holland regulator-max-microvolt = <3300000>; 607*0f4c49bbSSamuel Holland 608*0f4c49bbSSamuel Holland regulator-state-mem { 609*0f4c49bbSSamuel Holland regulator-off-in-suspend; 610*0f4c49bbSSamuel Holland }; 611*0f4c49bbSSamuel Holland }; 612*0f4c49bbSSamuel Holland 613*0f4c49bbSSamuel Holland vcc3v3_pmu: LDO_REG6 { 614*0f4c49bbSSamuel Holland regulator-name = "vcc3v3_pmu"; 615*0f4c49bbSSamuel Holland regulator-always-on; 616*0f4c49bbSSamuel Holland regulator-boot-on; 617*0f4c49bbSSamuel Holland regulator-min-microvolt = <3300000>; 618*0f4c49bbSSamuel Holland regulator-max-microvolt = <3300000>; 619*0f4c49bbSSamuel Holland 620*0f4c49bbSSamuel Holland regulator-state-mem { 621*0f4c49bbSSamuel Holland regulator-on-in-suspend; 622*0f4c49bbSSamuel Holland }; 623*0f4c49bbSSamuel Holland }; 624*0f4c49bbSSamuel Holland 625*0f4c49bbSSamuel Holland vcca_1v8: LDO_REG7 { 626*0f4c49bbSSamuel Holland regulator-name = "vcca_1v8"; 627*0f4c49bbSSamuel Holland regulator-always-on; 628*0f4c49bbSSamuel Holland regulator-boot-on; 629*0f4c49bbSSamuel Holland regulator-min-microvolt = <1800000>; 630*0f4c49bbSSamuel Holland regulator-max-microvolt = <1800000>; 631*0f4c49bbSSamuel Holland 632*0f4c49bbSSamuel Holland regulator-state-mem { 633*0f4c49bbSSamuel Holland regulator-off-in-suspend; 634*0f4c49bbSSamuel Holland }; 635*0f4c49bbSSamuel Holland }; 636*0f4c49bbSSamuel Holland 637*0f4c49bbSSamuel Holland vcca1v8_pmu: LDO_REG8 { 638*0f4c49bbSSamuel Holland regulator-name = "vcca1v8_pmu"; 639*0f4c49bbSSamuel Holland regulator-always-on; 640*0f4c49bbSSamuel Holland regulator-boot-on; 641*0f4c49bbSSamuel Holland regulator-min-microvolt = <1800000>; 642*0f4c49bbSSamuel Holland regulator-max-microvolt = <1800000>; 643*0f4c49bbSSamuel Holland 644*0f4c49bbSSamuel Holland regulator-state-mem { 645*0f4c49bbSSamuel Holland regulator-on-in-suspend; 646*0f4c49bbSSamuel Holland }; 647*0f4c49bbSSamuel Holland }; 648*0f4c49bbSSamuel Holland 649*0f4c49bbSSamuel Holland vcca1v8_image: LDO_REG9 { 650*0f4c49bbSSamuel Holland regulator-name = "vcca1v8_image"; 651*0f4c49bbSSamuel Holland regulator-always-on; 652*0f4c49bbSSamuel Holland regulator-boot-on; 653*0f4c49bbSSamuel Holland regulator-min-microvolt = <1800000>; 654*0f4c49bbSSamuel Holland regulator-max-microvolt = <1800000>; 655*0f4c49bbSSamuel Holland 656*0f4c49bbSSamuel Holland regulator-state-mem { 657*0f4c49bbSSamuel Holland regulator-off-in-suspend; 658*0f4c49bbSSamuel Holland }; 659*0f4c49bbSSamuel Holland }; 660*0f4c49bbSSamuel Holland 661*0f4c49bbSSamuel Holland vcc_3v3: SWITCH_REG1 { 662*0f4c49bbSSamuel Holland regulator-name = "vcc_3v3"; 663*0f4c49bbSSamuel Holland regulator-always-on; 664*0f4c49bbSSamuel Holland regulator-boot-on; 665*0f4c49bbSSamuel Holland 666*0f4c49bbSSamuel Holland regulator-state-mem { 667*0f4c49bbSSamuel Holland regulator-off-in-suspend; 668*0f4c49bbSSamuel Holland }; 669*0f4c49bbSSamuel Holland }; 670*0f4c49bbSSamuel Holland 671*0f4c49bbSSamuel Holland vcc3v3_sd: SWITCH_REG2 { 672*0f4c49bbSSamuel Holland regulator-name = "vcc3v3_sd"; 673*0f4c49bbSSamuel Holland regulator-always-on; 674*0f4c49bbSSamuel Holland regulator-boot-on; 675*0f4c49bbSSamuel Holland 676*0f4c49bbSSamuel Holland regulator-state-mem { 677*0f4c49bbSSamuel Holland regulator-off-in-suspend; 678*0f4c49bbSSamuel Holland }; 679*0f4c49bbSSamuel Holland }; 680*0f4c49bbSSamuel Holland }; 681*0f4c49bbSSamuel Holland }; 682*0f4c49bbSSamuel Holland}; 683*0f4c49bbSSamuel Holland 684*0f4c49bbSSamuel Holland&i2c1 { 685*0f4c49bbSSamuel Holland status = "okay"; 686*0f4c49bbSSamuel Holland 687*0f4c49bbSSamuel Holland hym8563: rtc@51 { 688*0f4c49bbSSamuel Holland compatible = "haoyu,hym8563"; 689*0f4c49bbSSamuel Holland reg = <0x51>; 690*0f4c49bbSSamuel Holland interrupt-parent = <&gpio0>; 691*0f4c49bbSSamuel Holland interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>; 692*0f4c49bbSSamuel Holland #clock-cells = <0>; 693*0f4c49bbSSamuel Holland clock-output-names = "rtcic_32kout"; 694*0f4c49bbSSamuel Holland pinctrl-names = "default"; 695*0f4c49bbSSamuel Holland pinctrl-0 = <&hym8563_int>; 696*0f4c49bbSSamuel Holland wakeup-source; 697*0f4c49bbSSamuel Holland }; 698*0f4c49bbSSamuel Holland}; 699*0f4c49bbSSamuel Holland 700*0f4c49bbSSamuel Holland&i2s0_8ch { 701*0f4c49bbSSamuel Holland status = "okay"; 702*0f4c49bbSSamuel Holland}; 703*0f4c49bbSSamuel Holland 704*0f4c49bbSSamuel Holland&pcie2x1 { 705*0f4c49bbSSamuel Holland pinctrl-names = "default"; 706*0f4c49bbSSamuel Holland pinctrl-0 = <&pcie2x1_rst>; 707*0f4c49bbSSamuel Holland reset-gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>; 708*0f4c49bbSSamuel Holland vpcie3v3-supply = <&vcc3v3_lan>; 709*0f4c49bbSSamuel Holland status = "okay"; 710*0f4c49bbSSamuel Holland}; 711*0f4c49bbSSamuel Holland 712*0f4c49bbSSamuel Holland&pcie30phy { 713*0f4c49bbSSamuel Holland data-lanes = <1 2>; 714*0f4c49bbSSamuel Holland status = "okay"; 715*0f4c49bbSSamuel Holland}; 716*0f4c49bbSSamuel Holland 717*0f4c49bbSSamuel Holland&pcie3x1 { 718*0f4c49bbSSamuel Holland reset-gpios = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>; 719*0f4c49bbSSamuel Holland vpcie3v3-supply = <&vcc3v3_pcie>; 720*0f4c49bbSSamuel Holland status = "okay"; 721*0f4c49bbSSamuel Holland}; 722*0f4c49bbSSamuel Holland 723*0f4c49bbSSamuel Holland&pcie3x2 { 724*0f4c49bbSSamuel Holland num-lanes = <1>; 725*0f4c49bbSSamuel Holland reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>; 726*0f4c49bbSSamuel Holland vpcie3v3-supply = <&vcc3v3_pcie>; 727*0f4c49bbSSamuel Holland status = "okay"; 728*0f4c49bbSSamuel Holland}; 729*0f4c49bbSSamuel Holland 730*0f4c49bbSSamuel Holland&pinctrl { 731*0f4c49bbSSamuel Holland bluetooth { 732*0f4c49bbSSamuel Holland bt_device_wake_h: bt-device-wake-h { 733*0f4c49bbSSamuel Holland rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; 734*0f4c49bbSSamuel Holland }; 735*0f4c49bbSSamuel Holland 736*0f4c49bbSSamuel Holland bt_enable_h: bt-enable-h { 737*0f4c49bbSSamuel Holland rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 738*0f4c49bbSSamuel Holland }; 739*0f4c49bbSSamuel Holland 740*0f4c49bbSSamuel Holland bt_host_wake_h: bt-host-wake-h { 741*0f4c49bbSSamuel Holland rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_down>; 742*0f4c49bbSSamuel Holland }; 743*0f4c49bbSSamuel Holland }; 744*0f4c49bbSSamuel Holland 745*0f4c49bbSSamuel Holland gpio-leds { 746*0f4c49bbSSamuel Holland gpio_leds: gpio-leds { 747*0f4c49bbSSamuel Holland rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>, 748*0f4c49bbSSamuel Holland <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>, 749*0f4c49bbSSamuel Holland <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>, 750*0f4c49bbSSamuel Holland <1 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>, 751*0f4c49bbSSamuel Holland <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>, 752*0f4c49bbSSamuel Holland <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>, 753*0f4c49bbSSamuel Holland <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>, 754*0f4c49bbSSamuel Holland <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>, 755*0f4c49bbSSamuel Holland <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>, 756*0f4c49bbSSamuel Holland <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 757*0f4c49bbSSamuel Holland }; 758*0f4c49bbSSamuel Holland }; 759*0f4c49bbSSamuel Holland 760*0f4c49bbSSamuel Holland hym8563 { 761*0f4c49bbSSamuel Holland hym8563_int: hym8563-int { 762*0f4c49bbSSamuel Holland rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; 763*0f4c49bbSSamuel Holland }; 764*0f4c49bbSSamuel Holland }; 765*0f4c49bbSSamuel Holland 766*0f4c49bbSSamuel Holland pcie { 767*0f4c49bbSSamuel Holland pcie2x1_rst: pcie2x1-rst { 768*0f4c49bbSSamuel Holland rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; 769*0f4c49bbSSamuel Holland }; 770*0f4c49bbSSamuel Holland 771*0f4c49bbSSamuel Holland vcc3v3_lan_en: vcc3v3-lan-en { 772*0f4c49bbSSamuel Holland rockchip,pins = <4 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 773*0f4c49bbSSamuel Holland }; 774*0f4c49bbSSamuel Holland 775*0f4c49bbSSamuel Holland vcc3v3_pcie_en: vcc3v3-pcie-en { 776*0f4c49bbSSamuel Holland rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 777*0f4c49bbSSamuel Holland }; 778*0f4c49bbSSamuel Holland }; 779*0f4c49bbSSamuel Holland 780*0f4c49bbSSamuel Holland pmic { 781*0f4c49bbSSamuel Holland pmic_int: pmic-int { 782*0f4c49bbSSamuel Holland rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 783*0f4c49bbSSamuel Holland }; 784*0f4c49bbSSamuel Holland }; 785*0f4c49bbSSamuel Holland 786*0f4c49bbSSamuel Holland pwm-fan { 787*0f4c49bbSSamuel Holland fan_tach: fan-tach { 788*0f4c49bbSSamuel Holland rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 789*0f4c49bbSSamuel Holland }; 790*0f4c49bbSSamuel Holland 791*0f4c49bbSSamuel Holland vcc12v0_sys_en: vcc12v0-sys-en { 792*0f4c49bbSSamuel Holland rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; 793*0f4c49bbSSamuel Holland }; 794*0f4c49bbSSamuel Holland }; 795*0f4c49bbSSamuel Holland 796*0f4c49bbSSamuel Holland sata { 797*0f4c49bbSSamuel Holland sata1_detect: sata1-detect { 798*0f4c49bbSSamuel Holland rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>; 799*0f4c49bbSSamuel Holland }; 800*0f4c49bbSSamuel Holland 801*0f4c49bbSSamuel Holland sata2_detect: sata2-detect { 802*0f4c49bbSSamuel Holland rockchip,pins = <1 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>; 803*0f4c49bbSSamuel Holland }; 804*0f4c49bbSSamuel Holland 805*0f4c49bbSSamuel Holland vcc5v0_sata_en: vcc5v0-sata-en { 806*0f4c49bbSSamuel Holland rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 807*0f4c49bbSSamuel Holland }; 808*0f4c49bbSSamuel Holland }; 809*0f4c49bbSSamuel Holland 810*0f4c49bbSSamuel Holland usb { 811*0f4c49bbSSamuel Holland vcc5v0_usb_host_en: vcc5v0-usb-host-en { 812*0f4c49bbSSamuel Holland rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 813*0f4c49bbSSamuel Holland }; 814*0f4c49bbSSamuel Holland 815*0f4c49bbSSamuel Holland vcc5v0_usb_otg_en: vcc5v0-usb-otg-en { 816*0f4c49bbSSamuel Holland rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 817*0f4c49bbSSamuel Holland }; 818*0f4c49bbSSamuel Holland }; 819*0f4c49bbSSamuel Holland 820*0f4c49bbSSamuel Holland wlan { 821*0f4c49bbSSamuel Holland vcc_wl_en: vcc-wl-en { 822*0f4c49bbSSamuel Holland rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 823*0f4c49bbSSamuel Holland }; 824*0f4c49bbSSamuel Holland 825*0f4c49bbSSamuel Holland vccio_wl_en: vccio-wl-en { 826*0f4c49bbSSamuel Holland rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; 827*0f4c49bbSSamuel Holland }; 828*0f4c49bbSSamuel Holland 829*0f4c49bbSSamuel Holland wifi_enable_h: wifi-enable-h { 830*0f4c49bbSSamuel Holland rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 831*0f4c49bbSSamuel Holland }; 832*0f4c49bbSSamuel Holland 833*0f4c49bbSSamuel Holland wifi_host_wake_h: wifi-host-wake-h { 834*0f4c49bbSSamuel Holland rockchip,pins = <2 RK_PB2 RK_FUNC_GPIO &pcfg_pull_down>; 835*0f4c49bbSSamuel Holland }; 836*0f4c49bbSSamuel Holland }; 837*0f4c49bbSSamuel Holland}; 838*0f4c49bbSSamuel Holland 839*0f4c49bbSSamuel Holland&pmu_io_domains { 840*0f4c49bbSSamuel Holland pmuio1-supply = <&vcc3v3_pmu>; 841*0f4c49bbSSamuel Holland pmuio2-supply = <&vcc3v3_pmu>; 842*0f4c49bbSSamuel Holland vccio1-supply = <&vccio_acodec>; 843*0f4c49bbSSamuel Holland vccio2-supply = <&vcc_1v8>; 844*0f4c49bbSSamuel Holland vccio3-supply = <&vccio_sd>; 845*0f4c49bbSSamuel Holland vccio4-supply = <&vcc_1v8>; 846*0f4c49bbSSamuel Holland vccio5-supply = <&vcc_3v3>; 847*0f4c49bbSSamuel Holland vccio6-supply = <&vcc_1v8>; 848*0f4c49bbSSamuel Holland vccio7-supply = <&vcc_3v3>; 849*0f4c49bbSSamuel Holland status = "okay"; 850*0f4c49bbSSamuel Holland}; 851*0f4c49bbSSamuel Holland 852*0f4c49bbSSamuel Holland&pwm0 { 853*0f4c49bbSSamuel Holland status = "okay"; 854*0f4c49bbSSamuel Holland}; 855*0f4c49bbSSamuel Holland 856*0f4c49bbSSamuel Holland&pwm4 { 857*0f4c49bbSSamuel Holland status = "okay"; 858*0f4c49bbSSamuel Holland}; 859*0f4c49bbSSamuel Holland 860*0f4c49bbSSamuel Holland&pwm5 { 861*0f4c49bbSSamuel Holland status = "okay"; 862*0f4c49bbSSamuel Holland}; 863*0f4c49bbSSamuel Holland 864*0f4c49bbSSamuel Holland&saradc { 865*0f4c49bbSSamuel Holland vref-supply = <&vcca_1v8>; 866*0f4c49bbSSamuel Holland status = "disabled"; 867*0f4c49bbSSamuel Holland}; 868*0f4c49bbSSamuel Holland 869*0f4c49bbSSamuel Holland&sata1 { 870*0f4c49bbSSamuel Holland target-supply = <&vcc5v0_sata>; 871*0f4c49bbSSamuel Holland status = "okay"; 872*0f4c49bbSSamuel Holland}; 873*0f4c49bbSSamuel Holland 874*0f4c49bbSSamuel Holland&sdhci { 875*0f4c49bbSSamuel Holland bus-width = <8>; 876*0f4c49bbSSamuel Holland max-frequency = <200000000>; 877*0f4c49bbSSamuel Holland non-removable; 878*0f4c49bbSSamuel Holland pinctrl-names = "default"; 879*0f4c49bbSSamuel Holland pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>; 880*0f4c49bbSSamuel Holland status = "okay"; 881*0f4c49bbSSamuel Holland}; 882*0f4c49bbSSamuel Holland 883*0f4c49bbSSamuel Holland&sdmmc1 { 884*0f4c49bbSSamuel Holland #address-cells = <1>; 885*0f4c49bbSSamuel Holland #size-cells = <0>; 886*0f4c49bbSSamuel Holland bus-width = <4>; 887*0f4c49bbSSamuel Holland cap-sd-highspeed; 888*0f4c49bbSSamuel Holland cap-sdio-irq; 889*0f4c49bbSSamuel Holland disable-wp; 890*0f4c49bbSSamuel Holland keep-power-in-suspend; 891*0f4c49bbSSamuel Holland max-frequency = <208000000>; 892*0f4c49bbSSamuel Holland mmc-pwrseq = <&sdio_pwrseq>; 893*0f4c49bbSSamuel Holland no-mmc; 894*0f4c49bbSSamuel Holland no-sd; 895*0f4c49bbSSamuel Holland non-removable; 896*0f4c49bbSSamuel Holland pinctrl-names = "default"; 897*0f4c49bbSSamuel Holland pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_clk &sdmmc1_cmd>; 898*0f4c49bbSSamuel Holland sd-uhs-sdr104; 899*0f4c49bbSSamuel Holland vmmc-supply = <&vcc_wl>; 900*0f4c49bbSSamuel Holland vqmmc-supply = <&vccio_wl>; 901*0f4c49bbSSamuel Holland status = "okay"; 902*0f4c49bbSSamuel Holland 903*0f4c49bbSSamuel Holland rtl8822cs: wifi@1 { 904*0f4c49bbSSamuel Holland reg = <1>; 905*0f4c49bbSSamuel Holland interrupt-parent = <&gpio2>; 906*0f4c49bbSSamuel Holland interrupts = <RK_PB2 IRQ_TYPE_LEVEL_HIGH>; 907*0f4c49bbSSamuel Holland interrupt-names = "host-wake"; 908*0f4c49bbSSamuel Holland pinctrl-names = "default"; 909*0f4c49bbSSamuel Holland pinctrl-0 = <&wifi_host_wake_h>; 910*0f4c49bbSSamuel Holland }; 911*0f4c49bbSSamuel Holland}; 912*0f4c49bbSSamuel Holland 913*0f4c49bbSSamuel Holland&tsadc { 914*0f4c49bbSSamuel Holland rockchip,hw-tshut-mode = <0>; 915*0f4c49bbSSamuel Holland rockchip,hw-tshut-polarity = <0>; 916*0f4c49bbSSamuel Holland status = "okay"; 917*0f4c49bbSSamuel Holland}; 918*0f4c49bbSSamuel Holland 919*0f4c49bbSSamuel Holland&uart1 { 920*0f4c49bbSSamuel Holland dma-names = "tx", "rx"; 921*0f4c49bbSSamuel Holland pinctrl-names = "default"; 922*0f4c49bbSSamuel Holland pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>; 923*0f4c49bbSSamuel Holland uart-has-rtscts; 924*0f4c49bbSSamuel Holland status = "okay"; 925*0f4c49bbSSamuel Holland 926*0f4c49bbSSamuel Holland bluetooth { 927*0f4c49bbSSamuel Holland compatible = "realtek,rtl8822cs-bt"; 928*0f4c49bbSSamuel Holland device-wake-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; 929*0f4c49bbSSamuel Holland enable-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; 930*0f4c49bbSSamuel Holland host-wake-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; 931*0f4c49bbSSamuel Holland pinctrl-names = "default"; 932*0f4c49bbSSamuel Holland pinctrl-0 = <&bt_device_wake_h &bt_enable_h &bt_host_wake_h>; 933*0f4c49bbSSamuel Holland }; 934*0f4c49bbSSamuel Holland}; 935*0f4c49bbSSamuel Holland 936*0f4c49bbSSamuel Holland&uart2 { 937*0f4c49bbSSamuel Holland status = "okay"; 938*0f4c49bbSSamuel Holland}; 939*0f4c49bbSSamuel Holland 940*0f4c49bbSSamuel Holland&usb_host0_ehci { 941*0f4c49bbSSamuel Holland status = "okay"; 942*0f4c49bbSSamuel Holland}; 943*0f4c49bbSSamuel Holland 944*0f4c49bbSSamuel Holland&usb_host0_ohci { 945*0f4c49bbSSamuel Holland status = "okay"; 946*0f4c49bbSSamuel Holland}; 947*0f4c49bbSSamuel Holland 948*0f4c49bbSSamuel Holland&usb_host0_xhci { 949*0f4c49bbSSamuel Holland dr_mode = "host"; 950*0f4c49bbSSamuel Holland extcon = <&usb2phy0>; 951*0f4c49bbSSamuel Holland status = "okay"; 952*0f4c49bbSSamuel Holland}; 953*0f4c49bbSSamuel Holland 954*0f4c49bbSSamuel Holland&usb_host1_ehci { 955*0f4c49bbSSamuel Holland status = "okay"; 956*0f4c49bbSSamuel Holland}; 957*0f4c49bbSSamuel Holland 958*0f4c49bbSSamuel Holland&usb_host1_ohci { 959*0f4c49bbSSamuel Holland status = "okay"; 960*0f4c49bbSSamuel Holland}; 961*0f4c49bbSSamuel Holland 962*0f4c49bbSSamuel Holland&usb2phy0 { 963*0f4c49bbSSamuel Holland status = "okay"; 964*0f4c49bbSSamuel Holland}; 965*0f4c49bbSSamuel Holland 966*0f4c49bbSSamuel Holland&usb2phy0_otg { 967*0f4c49bbSSamuel Holland phy-supply = <&vcc5v0_usb_otg>; 968*0f4c49bbSSamuel Holland status = "okay"; 969*0f4c49bbSSamuel Holland}; 970*0f4c49bbSSamuel Holland 971*0f4c49bbSSamuel Holland&usb2phy1 { 972*0f4c49bbSSamuel Holland status = "okay"; 973*0f4c49bbSSamuel Holland}; 974*0f4c49bbSSamuel Holland 975*0f4c49bbSSamuel Holland&usb2phy1_host { 976*0f4c49bbSSamuel Holland phy-supply = <&vcc5v0_usb_host>; 977*0f4c49bbSSamuel Holland status = "okay"; 978*0f4c49bbSSamuel Holland}; 979*0f4c49bbSSamuel Holland 980*0f4c49bbSSamuel Holland&usb2phy1_otg { 981*0f4c49bbSSamuel Holland phy-supply = <&vcc5v0_usb_host>; 982*0f4c49bbSSamuel Holland status = "okay"; 983*0f4c49bbSSamuel Holland}; 984*0f4c49bbSSamuel Holland 985*0f4c49bbSSamuel Holland&vop { 986*0f4c49bbSSamuel Holland assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; 987*0f4c49bbSSamuel Holland assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; 988*0f4c49bbSSamuel Holland status = "okay"; 989*0f4c49bbSSamuel Holland}; 990*0f4c49bbSSamuel Holland 991*0f4c49bbSSamuel Holland&vop_mmu { 992*0f4c49bbSSamuel Holland status = "okay"; 993*0f4c49bbSSamuel Holland}; 994*0f4c49bbSSamuel Holland 995*0f4c49bbSSamuel Holland&vp0 { 996*0f4c49bbSSamuel Holland vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 997*0f4c49bbSSamuel Holland reg = <ROCKCHIP_VOP2_EP_HDMI0>; 998*0f4c49bbSSamuel Holland remote-endpoint = <&hdmi_in_vp0>; 999*0f4c49bbSSamuel Holland }; 1000*0f4c49bbSSamuel Holland}; 1001