1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (c) 2014, 2015 FUKAUMI Naoki <naobsd@gmail.com> 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot/dts-v1/; 7*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 8*f126890aSEmmanuel Vadot#include "rk3066a.dtsi" 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot/ { 11*f126890aSEmmanuel Vadot model = "Rayeager PX2"; 12*f126890aSEmmanuel Vadot compatible = "chipspark,rayeager-px2", "rockchip,rk3066a"; 13*f126890aSEmmanuel Vadot 14*f126890aSEmmanuel Vadot aliases { 15*f126890aSEmmanuel Vadot mmc0 = &mmc0; 16*f126890aSEmmanuel Vadot mmc1 = &mmc1; 17*f126890aSEmmanuel Vadot mmc2 = &emmc; 18*f126890aSEmmanuel Vadot }; 19*f126890aSEmmanuel Vadot 20*f126890aSEmmanuel Vadot memory@60000000 { 21*f126890aSEmmanuel Vadot device_type = "memory"; 22*f126890aSEmmanuel Vadot reg = <0x60000000 0x40000000>; 23*f126890aSEmmanuel Vadot }; 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot ir: ir-receiver { 26*f126890aSEmmanuel Vadot compatible = "gpio-ir-receiver"; 27*f126890aSEmmanuel Vadot gpios = <&gpio6 RK_PA1 GPIO_ACTIVE_LOW>; 28*f126890aSEmmanuel Vadot pinctrl-names = "default"; 29*f126890aSEmmanuel Vadot pinctrl-0 = <&ir_int>; 30*f126890aSEmmanuel Vadot }; 31*f126890aSEmmanuel Vadot 32*f126890aSEmmanuel Vadot keys: gpio-keys { 33*f126890aSEmmanuel Vadot compatible = "gpio-keys"; 34*f126890aSEmmanuel Vadot 35*f126890aSEmmanuel Vadot key-power { 36*f126890aSEmmanuel Vadot wakeup-source; 37*f126890aSEmmanuel Vadot gpios = <&gpio6 RK_PA2 GPIO_ACTIVE_LOW>; 38*f126890aSEmmanuel Vadot label = "GPIO Power"; 39*f126890aSEmmanuel Vadot linux,code = <KEY_POWER>; 40*f126890aSEmmanuel Vadot pinctrl-names = "default"; 41*f126890aSEmmanuel Vadot pinctrl-0 = <&pwr_key>; 42*f126890aSEmmanuel Vadot }; 43*f126890aSEmmanuel Vadot }; 44*f126890aSEmmanuel Vadot 45*f126890aSEmmanuel Vadot vdd_log: vdd-log { 46*f126890aSEmmanuel Vadot compatible = "pwm-regulator"; 47*f126890aSEmmanuel Vadot pwms = <&pwm3 0 1000>; 48*f126890aSEmmanuel Vadot regulator-name = "vdd_log"; 49*f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 50*f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 51*f126890aSEmmanuel Vadot regulator-always-on; 52*f126890aSEmmanuel Vadot voltage-table = <1000000 100>, 53*f126890aSEmmanuel Vadot <1200000 42>; 54*f126890aSEmmanuel Vadot status = "okay"; 55*f126890aSEmmanuel Vadot }; 56*f126890aSEmmanuel Vadot 57*f126890aSEmmanuel Vadot vsys: vsys-regulator { 58*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 59*f126890aSEmmanuel Vadot regulator-name = "vsys"; 60*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 61*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 62*f126890aSEmmanuel Vadot regulator-always-on; 63*f126890aSEmmanuel Vadot regulator-boot-on; 64*f126890aSEmmanuel Vadot }; 65*f126890aSEmmanuel Vadot 66*f126890aSEmmanuel Vadot /* input for 5V_STDBY is VSYS or DC5V, selectable by jumper J4 */ 67*f126890aSEmmanuel Vadot vcc_stdby: stdby-regulator { 68*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 69*f126890aSEmmanuel Vadot regulator-name = "5v_stdby"; 70*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 71*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 72*f126890aSEmmanuel Vadot regulator-always-on; 73*f126890aSEmmanuel Vadot regulator-boot-on; 74*f126890aSEmmanuel Vadot }; 75*f126890aSEmmanuel Vadot 76*f126890aSEmmanuel Vadot vcc_emmc: emmc-regulator { 77*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 78*f126890aSEmmanuel Vadot regulator-name = "emmc_vccq"; 79*f126890aSEmmanuel Vadot regulator-min-microvolt = <3000000>; 80*f126890aSEmmanuel Vadot regulator-max-microvolt = <3000000>; 81*f126890aSEmmanuel Vadot vin-supply = <&vsys>; 82*f126890aSEmmanuel Vadot }; 83*f126890aSEmmanuel Vadot 84*f126890aSEmmanuel Vadot vcc_sata: sata-regulator { 85*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 86*f126890aSEmmanuel Vadot enable-active-high; 87*f126890aSEmmanuel Vadot gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>; 88*f126890aSEmmanuel Vadot pinctrl-names = "default"; 89*f126890aSEmmanuel Vadot pinctrl-0 = <&sata_pwr>; 90*f126890aSEmmanuel Vadot regulator-name = "usb_5v"; 91*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 92*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 93*f126890aSEmmanuel Vadot regulator-always-on; 94*f126890aSEmmanuel Vadot vin-supply = <&vcc_stdby>; 95*f126890aSEmmanuel Vadot }; 96*f126890aSEmmanuel Vadot 97*f126890aSEmmanuel Vadot vcc_sd: sdmmc-regulator { 98*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 99*f126890aSEmmanuel Vadot gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>; 100*f126890aSEmmanuel Vadot pinctrl-names = "default"; 101*f126890aSEmmanuel Vadot pinctrl-0 = <&sdmmc_pwr>; 102*f126890aSEmmanuel Vadot regulator-name = "vcc_sd"; 103*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 104*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 105*f126890aSEmmanuel Vadot startup-delay-us = <100000>; 106*f126890aSEmmanuel Vadot vin-supply = <&vcc_io>; 107*f126890aSEmmanuel Vadot }; 108*f126890aSEmmanuel Vadot 109*f126890aSEmmanuel Vadot vcc_host: usb-host-regulator { 110*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 111*f126890aSEmmanuel Vadot enable-active-high; 112*f126890aSEmmanuel Vadot gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; 113*f126890aSEmmanuel Vadot pinctrl-names = "default"; 114*f126890aSEmmanuel Vadot pinctrl-0 = <&host_drv>; 115*f126890aSEmmanuel Vadot regulator-name = "host-pwr"; 116*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 117*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 118*f126890aSEmmanuel Vadot regulator-always-on; 119*f126890aSEmmanuel Vadot vin-supply = <&vcc_stdby>; 120*f126890aSEmmanuel Vadot }; 121*f126890aSEmmanuel Vadot 122*f126890aSEmmanuel Vadot vcc_otg: usb-otg-regulator { 123*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 124*f126890aSEmmanuel Vadot enable-active-high; 125*f126890aSEmmanuel Vadot gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; 126*f126890aSEmmanuel Vadot pinctrl-names = "default"; 127*f126890aSEmmanuel Vadot pinctrl-0 = <&otg_drv>; 128*f126890aSEmmanuel Vadot regulator-name = "vcc_otg"; 129*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 130*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 131*f126890aSEmmanuel Vadot regulator-always-on; 132*f126890aSEmmanuel Vadot vin-supply = <&vcc_stdby>; 133*f126890aSEmmanuel Vadot }; 134*f126890aSEmmanuel Vadot}; 135*f126890aSEmmanuel Vadot 136*f126890aSEmmanuel Vadot&cpu0 { 137*f126890aSEmmanuel Vadot cpu-supply = <&vdd_arm>; 138*f126890aSEmmanuel Vadot}; 139*f126890aSEmmanuel Vadot 140*f126890aSEmmanuel Vadot&cpu1 { 141*f126890aSEmmanuel Vadot cpu-supply = <&vdd_arm>; 142*f126890aSEmmanuel Vadot}; 143*f126890aSEmmanuel Vadot 144*f126890aSEmmanuel Vadot&emac { 145*f126890aSEmmanuel Vadot phy = <&phy0>; 146*f126890aSEmmanuel Vadot phy-supply = <&vcc_rmii>; 147*f126890aSEmmanuel Vadot pinctrl-names = "default"; 148*f126890aSEmmanuel Vadot pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&rmii_rst>; 149*f126890aSEmmanuel Vadot status = "okay"; 150*f126890aSEmmanuel Vadot 151*f126890aSEmmanuel Vadot mdio { 152*f126890aSEmmanuel Vadot #address-cells = <1>; 153*f126890aSEmmanuel Vadot #size-cells = <0>; 154*f126890aSEmmanuel Vadot 155*f126890aSEmmanuel Vadot phy0: ethernet-phy@0 { 156*f126890aSEmmanuel Vadot reg = <0>; 157*f126890aSEmmanuel Vadot reset-gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_LOW>; 158*f126890aSEmmanuel Vadot }; 159*f126890aSEmmanuel Vadot }; 160*f126890aSEmmanuel Vadot}; 161*f126890aSEmmanuel Vadot 162*f126890aSEmmanuel Vadot&emmc { 163*f126890aSEmmanuel Vadot bus-width = <8>; 164*f126890aSEmmanuel Vadot cap-mmc-highspeed; 165*f126890aSEmmanuel Vadot non-removable; 166*f126890aSEmmanuel Vadot pinctrl-names = "default"; 167*f126890aSEmmanuel Vadot pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_rst>; 168*f126890aSEmmanuel Vadot vmmc-supply = <&vcc_emmc>; 169*f126890aSEmmanuel Vadot vqmmc-supply = <&vcc_emmc>; 170*f126890aSEmmanuel Vadot status = "okay"; 171*f126890aSEmmanuel Vadot}; 172*f126890aSEmmanuel Vadot 173*f126890aSEmmanuel Vadot&i2c0 { 174*f126890aSEmmanuel Vadot clock-frequency = <400000>; 175*f126890aSEmmanuel Vadot status = "okay"; 176*f126890aSEmmanuel Vadot 177*f126890aSEmmanuel Vadot ak8963: ak8963@d { 178*f126890aSEmmanuel Vadot compatible = "asahi-kasei,ak8975"; 179*f126890aSEmmanuel Vadot reg = <0x0d>; 180*f126890aSEmmanuel Vadot interrupt-parent = <&gpio4>; 181*f126890aSEmmanuel Vadot interrupts = <RK_PC1 IRQ_TYPE_EDGE_RISING>; 182*f126890aSEmmanuel Vadot pinctrl-names = "default"; 183*f126890aSEmmanuel Vadot pinctrl-0 = <&comp_int>; 184*f126890aSEmmanuel Vadot }; 185*f126890aSEmmanuel Vadot 186*f126890aSEmmanuel Vadot mma8452: mma8452@1d { 187*f126890aSEmmanuel Vadot compatible = "fsl,mma8452"; 188*f126890aSEmmanuel Vadot reg = <0x1d>; 189*f126890aSEmmanuel Vadot interrupt-parent = <&gpio4>; 190*f126890aSEmmanuel Vadot interrupts = <RK_PC0 IRQ_TYPE_EDGE_RISING>; 191*f126890aSEmmanuel Vadot pinctrl-names = "default"; 192*f126890aSEmmanuel Vadot pinctrl-0 = <&gsensor_int>; 193*f126890aSEmmanuel Vadot }; 194*f126890aSEmmanuel Vadot}; 195*f126890aSEmmanuel Vadot 196*f126890aSEmmanuel Vadot&i2c1 { 197*f126890aSEmmanuel Vadot clock-frequency = <400000>; 198*f126890aSEmmanuel Vadot status = "okay"; 199*f126890aSEmmanuel Vadot 200*f126890aSEmmanuel Vadot tps: tps@2d { 201*f126890aSEmmanuel Vadot reg = <0x2d>; 202*f126890aSEmmanuel Vadot interrupt-parent = <&gpio6>; 203*f126890aSEmmanuel Vadot interrupts = <RK_PA4 IRQ_TYPE_EDGE_RISING>; 204*f126890aSEmmanuel Vadot pinctrl-names = "default"; 205*f126890aSEmmanuel Vadot pinctrl-0 = <&pmic_int>, <&pwr_hold>; 206*f126890aSEmmanuel Vadot 207*f126890aSEmmanuel Vadot vcc1-supply = <&vsys>; 208*f126890aSEmmanuel Vadot vcc2-supply = <&vsys>; 209*f126890aSEmmanuel Vadot vcc3-supply = <&vsys>; 210*f126890aSEmmanuel Vadot vcc4-supply = <&vsys>; 211*f126890aSEmmanuel Vadot vcc5-supply = <&vcc_io>; 212*f126890aSEmmanuel Vadot vcc6-supply = <&vcc_io>; 213*f126890aSEmmanuel Vadot vcc7-supply = <&vsys>; 214*f126890aSEmmanuel Vadot vccio-supply = <&vsys>; 215*f126890aSEmmanuel Vadot 216*f126890aSEmmanuel Vadot regulators { 217*f126890aSEmmanuel Vadot vcc_rtc: regulator@0 { 218*f126890aSEmmanuel Vadot regulator-name = "vcc_rtc"; 219*f126890aSEmmanuel Vadot regulator-always-on; 220*f126890aSEmmanuel Vadot }; 221*f126890aSEmmanuel Vadot 222*f126890aSEmmanuel Vadot vcc_io: regulator@1 { 223*f126890aSEmmanuel Vadot regulator-name = "vcc_io"; 224*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 225*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 226*f126890aSEmmanuel Vadot regulator-always-on; 227*f126890aSEmmanuel Vadot }; 228*f126890aSEmmanuel Vadot 229*f126890aSEmmanuel Vadot vdd_arm: regulator@2 { 230*f126890aSEmmanuel Vadot regulator-name = "vdd_arm"; 231*f126890aSEmmanuel Vadot regulator-min-microvolt = <600000>; 232*f126890aSEmmanuel Vadot regulator-max-microvolt = <1500000>; 233*f126890aSEmmanuel Vadot regulator-always-on; 234*f126890aSEmmanuel Vadot regulator-boot-on; 235*f126890aSEmmanuel Vadot }; 236*f126890aSEmmanuel Vadot 237*f126890aSEmmanuel Vadot vcc_ddr: regulator@3 { 238*f126890aSEmmanuel Vadot regulator-name = "vcc_ddr"; 239*f126890aSEmmanuel Vadot regulator-min-microvolt = <600000>; 240*f126890aSEmmanuel Vadot regulator-max-microvolt = <1500000>; 241*f126890aSEmmanuel Vadot regulator-always-on; 242*f126890aSEmmanuel Vadot regulator-boot-on; 243*f126890aSEmmanuel Vadot }; 244*f126890aSEmmanuel Vadot 245*f126890aSEmmanuel Vadot vcc18: regulator@5 { 246*f126890aSEmmanuel Vadot regulator-name = "vcc18"; 247*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 248*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 249*f126890aSEmmanuel Vadot regulator-always-on; 250*f126890aSEmmanuel Vadot }; 251*f126890aSEmmanuel Vadot 252*f126890aSEmmanuel Vadot vdd_11: regulator@6 { 253*f126890aSEmmanuel Vadot regulator-name = "vdd_11"; 254*f126890aSEmmanuel Vadot regulator-min-microvolt = <1100000>; 255*f126890aSEmmanuel Vadot regulator-max-microvolt = <1100000>; 256*f126890aSEmmanuel Vadot regulator-always-on; 257*f126890aSEmmanuel Vadot }; 258*f126890aSEmmanuel Vadot 259*f126890aSEmmanuel Vadot vcc_25: regulator@7 { 260*f126890aSEmmanuel Vadot regulator-name = "vcc_25"; 261*f126890aSEmmanuel Vadot regulator-min-microvolt = <2500000>; 262*f126890aSEmmanuel Vadot regulator-max-microvolt = <2500000>; 263*f126890aSEmmanuel Vadot regulator-always-on; 264*f126890aSEmmanuel Vadot }; 265*f126890aSEmmanuel Vadot 266*f126890aSEmmanuel Vadot vccio_wl: regulator@8 { 267*f126890aSEmmanuel Vadot regulator-name = "vccio_wl"; 268*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 269*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 270*f126890aSEmmanuel Vadot }; 271*f126890aSEmmanuel Vadot 272*f126890aSEmmanuel Vadot vcc25_hdmi: regulator@9 { 273*f126890aSEmmanuel Vadot regulator-name = "vcc25_hdmi"; 274*f126890aSEmmanuel Vadot regulator-min-microvolt = <2500000>; 275*f126890aSEmmanuel Vadot regulator-max-microvolt = <2500000>; 276*f126890aSEmmanuel Vadot }; 277*f126890aSEmmanuel Vadot 278*f126890aSEmmanuel Vadot vcca_33: regulator@10 { 279*f126890aSEmmanuel Vadot regulator-name = "vcca_33"; 280*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 281*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 282*f126890aSEmmanuel Vadot }; 283*f126890aSEmmanuel Vadot 284*f126890aSEmmanuel Vadot vcc_rmii: regulator@11 { 285*f126890aSEmmanuel Vadot regulator-name = "vcc_rmii"; 286*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 287*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 288*f126890aSEmmanuel Vadot }; 289*f126890aSEmmanuel Vadot 290*f126890aSEmmanuel Vadot vcc28_cif: regulator@12 { 291*f126890aSEmmanuel Vadot regulator-name = "vcc28_cif"; 292*f126890aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 293*f126890aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 294*f126890aSEmmanuel Vadot }; 295*f126890aSEmmanuel Vadot }; 296*f126890aSEmmanuel Vadot }; 297*f126890aSEmmanuel Vadot}; 298*f126890aSEmmanuel Vadot 299*f126890aSEmmanuel Vadot#include "../tps65910.dtsi" 300*f126890aSEmmanuel Vadot 301*f126890aSEmmanuel Vadot&i2c2 { 302*f126890aSEmmanuel Vadot status = "okay"; 303*f126890aSEmmanuel Vadot}; 304*f126890aSEmmanuel Vadot 305*f126890aSEmmanuel Vadot&i2c3 { 306*f126890aSEmmanuel Vadot status = "okay"; 307*f126890aSEmmanuel Vadot}; 308*f126890aSEmmanuel Vadot 309*f126890aSEmmanuel Vadot&i2c4 { 310*f126890aSEmmanuel Vadot status = "okay"; 311*f126890aSEmmanuel Vadot}; 312*f126890aSEmmanuel Vadot 313*f126890aSEmmanuel Vadot&mmc0 { 314*f126890aSEmmanuel Vadot bus-width = <4>; 315*f126890aSEmmanuel Vadot disable-wp; 316*f126890aSEmmanuel Vadot pinctrl-names = "default"; 317*f126890aSEmmanuel Vadot pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>; 318*f126890aSEmmanuel Vadot vmmc-supply = <&vcc_sd>; 319*f126890aSEmmanuel Vadot cap-mmc-highspeed; 320*f126890aSEmmanuel Vadot cap-sd-highspeed; 321*f126890aSEmmanuel Vadot status = "okay"; 322*f126890aSEmmanuel Vadot}; 323*f126890aSEmmanuel Vadot 324*f126890aSEmmanuel Vadot&mmc1 { 325*f126890aSEmmanuel Vadot bus-width = <4>; 326*f126890aSEmmanuel Vadot non-removable; 327*f126890aSEmmanuel Vadot pinctrl-names = "default"; 328*f126890aSEmmanuel Vadot pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_bus4>; 329*f126890aSEmmanuel Vadot vmmc-supply = <&vccio_wl>; 330*f126890aSEmmanuel Vadot status = "okay"; 331*f126890aSEmmanuel Vadot}; 332*f126890aSEmmanuel Vadot 333*f126890aSEmmanuel Vadot&pinctrl { 334*f126890aSEmmanuel Vadot pcfg_output_high: pcfg-output-high { 335*f126890aSEmmanuel Vadot output-high; 336*f126890aSEmmanuel Vadot }; 337*f126890aSEmmanuel Vadot 338*f126890aSEmmanuel Vadot ak8963 { 339*f126890aSEmmanuel Vadot comp_int: comp-int { 340*f126890aSEmmanuel Vadot rockchip,pins = <4 RK_PC1 RK_FUNC_GPIO &pcfg_pull_default>; 341*f126890aSEmmanuel Vadot }; 342*f126890aSEmmanuel Vadot }; 343*f126890aSEmmanuel Vadot 344*f126890aSEmmanuel Vadot emac { 345*f126890aSEmmanuel Vadot rmii_rst: rmii-rst { 346*f126890aSEmmanuel Vadot rockchip,pins = <1 RK_PD6 RK_FUNC_GPIO &pcfg_output_high>; 347*f126890aSEmmanuel Vadot }; 348*f126890aSEmmanuel Vadot }; 349*f126890aSEmmanuel Vadot 350*f126890aSEmmanuel Vadot ir { 351*f126890aSEmmanuel Vadot ir_int: ir-int { 352*f126890aSEmmanuel Vadot rockchip,pins = <6 RK_PA1 RK_FUNC_GPIO &pcfg_pull_default>; 353*f126890aSEmmanuel Vadot }; 354*f126890aSEmmanuel Vadot }; 355*f126890aSEmmanuel Vadot 356*f126890aSEmmanuel Vadot keys { 357*f126890aSEmmanuel Vadot pwr_key: pwr-key { 358*f126890aSEmmanuel Vadot rockchip,pins = <6 RK_PA2 RK_FUNC_GPIO &pcfg_pull_default>; 359*f126890aSEmmanuel Vadot }; 360*f126890aSEmmanuel Vadot }; 361*f126890aSEmmanuel Vadot 362*f126890aSEmmanuel Vadot mma8452 { 363*f126890aSEmmanuel Vadot gsensor_int: gsensor-int { 364*f126890aSEmmanuel Vadot rockchip,pins = <4 RK_PC0 RK_FUNC_GPIO &pcfg_pull_default>; 365*f126890aSEmmanuel Vadot }; 366*f126890aSEmmanuel Vadot }; 367*f126890aSEmmanuel Vadot 368*f126890aSEmmanuel Vadot mmc { 369*f126890aSEmmanuel Vadot sdmmc_pwr: sdmmc-pwr { 370*f126890aSEmmanuel Vadot rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_default>; 371*f126890aSEmmanuel Vadot }; 372*f126890aSEmmanuel Vadot }; 373*f126890aSEmmanuel Vadot 374*f126890aSEmmanuel Vadot usb_host { 375*f126890aSEmmanuel Vadot host_drv: host-drv { 376*f126890aSEmmanuel Vadot rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_default>; 377*f126890aSEmmanuel Vadot }; 378*f126890aSEmmanuel Vadot 379*f126890aSEmmanuel Vadot hub_rst: hub-rst { 380*f126890aSEmmanuel Vadot rockchip,pins = <1 RK_PD7 RK_FUNC_GPIO &pcfg_output_high>; 381*f126890aSEmmanuel Vadot }; 382*f126890aSEmmanuel Vadot 383*f126890aSEmmanuel Vadot sata_pwr: sata-pwr { 384*f126890aSEmmanuel Vadot rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_default>; 385*f126890aSEmmanuel Vadot }; 386*f126890aSEmmanuel Vadot 387*f126890aSEmmanuel Vadot sata_reset: sata-reset { 388*f126890aSEmmanuel Vadot rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_output_high>; 389*f126890aSEmmanuel Vadot }; 390*f126890aSEmmanuel Vadot }; 391*f126890aSEmmanuel Vadot 392*f126890aSEmmanuel Vadot usb_otg { 393*f126890aSEmmanuel Vadot otg_drv: otg-drv { 394*f126890aSEmmanuel Vadot rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_default>; 395*f126890aSEmmanuel Vadot }; 396*f126890aSEmmanuel Vadot }; 397*f126890aSEmmanuel Vadot 398*f126890aSEmmanuel Vadot tps { 399*f126890aSEmmanuel Vadot pmic_int: pmic-int { 400*f126890aSEmmanuel Vadot rockchip,pins = <6 RK_PA4 RK_FUNC_GPIO &pcfg_pull_default>; 401*f126890aSEmmanuel Vadot }; 402*f126890aSEmmanuel Vadot 403*f126890aSEmmanuel Vadot pwr_hold: pwr-hold { 404*f126890aSEmmanuel Vadot rockchip,pins = <6 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>; 405*f126890aSEmmanuel Vadot }; 406*f126890aSEmmanuel Vadot }; 407*f126890aSEmmanuel Vadot}; 408*f126890aSEmmanuel Vadot 409*f126890aSEmmanuel Vadot&pwm1 { 410*f126890aSEmmanuel Vadot status = "okay"; 411*f126890aSEmmanuel Vadot}; 412*f126890aSEmmanuel Vadot 413*f126890aSEmmanuel Vadot&pwm2 { 414*f126890aSEmmanuel Vadot status = "okay"; 415*f126890aSEmmanuel Vadot}; 416*f126890aSEmmanuel Vadot 417*f126890aSEmmanuel Vadot&pwm3 { 418*f126890aSEmmanuel Vadot status = "okay"; 419*f126890aSEmmanuel Vadot}; 420*f126890aSEmmanuel Vadot 421*f126890aSEmmanuel Vadot&saradc { 422*f126890aSEmmanuel Vadot vref-supply = <&vcc_25>; 423*f126890aSEmmanuel Vadot status = "okay"; 424*f126890aSEmmanuel Vadot}; 425*f126890aSEmmanuel Vadot 426*f126890aSEmmanuel Vadot&spi0 { 427*f126890aSEmmanuel Vadot status = "okay"; 428*f126890aSEmmanuel Vadot}; 429*f126890aSEmmanuel Vadot 430*f126890aSEmmanuel Vadot&uart0 { 431*f126890aSEmmanuel Vadot pinctrl-names = "default"; 432*f126890aSEmmanuel Vadot pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>; 433*f126890aSEmmanuel Vadot status = "okay"; 434*f126890aSEmmanuel Vadot}; 435*f126890aSEmmanuel Vadot 436*f126890aSEmmanuel Vadot&uart2 { 437*f126890aSEmmanuel Vadot status = "okay"; 438*f126890aSEmmanuel Vadot}; 439*f126890aSEmmanuel Vadot 440*f126890aSEmmanuel Vadot&uart3 { 441*f126890aSEmmanuel Vadot pinctrl-names = "default"; 442*f126890aSEmmanuel Vadot pinctrl-0 = <&uart3_xfer>, <&uart3_cts>, <&uart3_rts>; 443*f126890aSEmmanuel Vadot status = "okay"; 444*f126890aSEmmanuel Vadot}; 445*f126890aSEmmanuel Vadot 446*f126890aSEmmanuel Vadot&usb_host { 447*f126890aSEmmanuel Vadot pinctrl-names = "default"; 448*f126890aSEmmanuel Vadot pinctrl-0 = <&hub_rst>, <&sata_reset>; 449*f126890aSEmmanuel Vadot status = "okay"; 450*f126890aSEmmanuel Vadot}; 451*f126890aSEmmanuel Vadot 452*f126890aSEmmanuel Vadot&usbphy { 453*f126890aSEmmanuel Vadot status = "okay"; 454*f126890aSEmmanuel Vadot}; 455*f126890aSEmmanuel Vadot 456*f126890aSEmmanuel Vadot&usb_otg { 457*f126890aSEmmanuel Vadot status = "okay"; 458*f126890aSEmmanuel Vadot}; 459*f126890aSEmmanuel Vadot 460*f126890aSEmmanuel Vadot&wdt { 461*f126890aSEmmanuel Vadot status = "okay"; 462*f126890aSEmmanuel Vadot}; 463