1*bdb2696aSKarthikeyan Krishnasamy// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*bdb2696aSKarthikeyan Krishnasamy/* 3*bdb2696aSKarthikeyan Krishnasamy * Copyright (c) 2024 Relfor Labs Pvt. Ltd. 4*bdb2696aSKarthikeyan Krishnasamy */ 5*bdb2696aSKarthikeyan Krishnasamy 6*bdb2696aSKarthikeyan Krishnasamy 7*bdb2696aSKarthikeyan Krishnasamy/dts-v1/; 8*bdb2696aSKarthikeyan Krishnasamy#include "rv1109.dtsi" 9*bdb2696aSKarthikeyan Krishnasamy#include <dt-bindings/leds/common.h> 10*bdb2696aSKarthikeyan Krishnasamy#include <dt-bindings/input/input.h> 11*bdb2696aSKarthikeyan Krishnasamy 12*bdb2696aSKarthikeyan Krishnasamy/ { 13*bdb2696aSKarthikeyan Krishnasamy model = "Rockchip RV1109 Relfor Saib Board"; 14*bdb2696aSKarthikeyan Krishnasamy compatible = "relfor,saib", "rockchip,rv1109"; 15*bdb2696aSKarthikeyan Krishnasamy 16*bdb2696aSKarthikeyan Krishnasamy gpio-keys { 17*bdb2696aSKarthikeyan Krishnasamy compatible = "gpio-keys"; 18*bdb2696aSKarthikeyan Krishnasamy 19*bdb2696aSKarthikeyan Krishnasamy button { 20*bdb2696aSKarthikeyan Krishnasamy gpios = <&gpio2 RK_PA7 GPIO_ACTIVE_HIGH>; 21*bdb2696aSKarthikeyan Krishnasamy linux,code = <KEY_DATA>; 22*bdb2696aSKarthikeyan Krishnasamy label = "GPIO User Switch"; 23*bdb2696aSKarthikeyan Krishnasamy linux,input-type = <1>; 24*bdb2696aSKarthikeyan Krishnasamy }; 25*bdb2696aSKarthikeyan Krishnasamy }; 26*bdb2696aSKarthikeyan Krishnasamy 27*bdb2696aSKarthikeyan Krishnasamy ir_receiver: ir-receiver { 28*bdb2696aSKarthikeyan Krishnasamy compatible = "gpio-ir-receiver"; 29*bdb2696aSKarthikeyan Krishnasamy gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>; 30*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 31*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&ir_rx>; 32*bdb2696aSKarthikeyan Krishnasamy }; 33*bdb2696aSKarthikeyan Krishnasamy 34*bdb2696aSKarthikeyan Krishnasamy ir_transmitter: ir-transmitter { 35*bdb2696aSKarthikeyan Krishnasamy compatible = "pwm-ir-tx"; 36*bdb2696aSKarthikeyan Krishnasamy pwms = <&pwm11 0 10000000 1>; 37*bdb2696aSKarthikeyan Krishnasamy }; 38*bdb2696aSKarthikeyan Krishnasamy 39*bdb2696aSKarthikeyan Krishnasamy led-controller { 40*bdb2696aSKarthikeyan Krishnasamy compatible = "pwm-leds-multicolor"; 41*bdb2696aSKarthikeyan Krishnasamy 42*bdb2696aSKarthikeyan Krishnasamy multi-led { 43*bdb2696aSKarthikeyan Krishnasamy color = <LED_COLOR_ID_RGB>; 44*bdb2696aSKarthikeyan Krishnasamy function = LED_FUNCTION_INDICATOR; 45*bdb2696aSKarthikeyan Krishnasamy max-brightness = <65535>; 46*bdb2696aSKarthikeyan Krishnasamy 47*bdb2696aSKarthikeyan Krishnasamy led-0 { 48*bdb2696aSKarthikeyan Krishnasamy active-low; 49*bdb2696aSKarthikeyan Krishnasamy color = <LED_COLOR_ID_BLUE>; 50*bdb2696aSKarthikeyan Krishnasamy pwms = <&pwm9 0 50000 0>; 51*bdb2696aSKarthikeyan Krishnasamy }; 52*bdb2696aSKarthikeyan Krishnasamy 53*bdb2696aSKarthikeyan Krishnasamy led-1 { 54*bdb2696aSKarthikeyan Krishnasamy active-low; 55*bdb2696aSKarthikeyan Krishnasamy color = <LED_COLOR_ID_GREEN>; 56*bdb2696aSKarthikeyan Krishnasamy pwms = <&pwm6 0 50000 0>; 57*bdb2696aSKarthikeyan Krishnasamy }; 58*bdb2696aSKarthikeyan Krishnasamy 59*bdb2696aSKarthikeyan Krishnasamy led-2 { 60*bdb2696aSKarthikeyan Krishnasamy active-low; 61*bdb2696aSKarthikeyan Krishnasamy color = <LED_COLOR_ID_RED>; 62*bdb2696aSKarthikeyan Krishnasamy pwms = <&pwm10 0 50000 0>; 63*bdb2696aSKarthikeyan Krishnasamy }; 64*bdb2696aSKarthikeyan Krishnasamy }; 65*bdb2696aSKarthikeyan Krishnasamy }; 66*bdb2696aSKarthikeyan Krishnasamy 67*bdb2696aSKarthikeyan Krishnasamy pwm-leds { 68*bdb2696aSKarthikeyan Krishnasamy compatible = "pwm-leds"; 69*bdb2696aSKarthikeyan Krishnasamy 70*bdb2696aSKarthikeyan Krishnasamy led-0 { 71*bdb2696aSKarthikeyan Krishnasamy pwms = <&pwm2 0 50000 0>; 72*bdb2696aSKarthikeyan Krishnasamy max-brightness = <255>; 73*bdb2696aSKarthikeyan Krishnasamy linux,default-trigger = "none"; 74*bdb2696aSKarthikeyan Krishnasamy }; 75*bdb2696aSKarthikeyan Krishnasamy 76*bdb2696aSKarthikeyan Krishnasamy led-1 { 77*bdb2696aSKarthikeyan Krishnasamy pwms = <&pwm8 0 50000 0>; 78*bdb2696aSKarthikeyan Krishnasamy max-brightness = <0>; 79*bdb2696aSKarthikeyan Krishnasamy linux,default-trigger = "none"; 80*bdb2696aSKarthikeyan Krishnasamy }; 81*bdb2696aSKarthikeyan Krishnasamy 82*bdb2696aSKarthikeyan Krishnasamy led-2 { 83*bdb2696aSKarthikeyan Krishnasamy pwms = <&pwm5 0 50000 0>; 84*bdb2696aSKarthikeyan Krishnasamy max-brightness = <255>; 85*bdb2696aSKarthikeyan Krishnasamy linux,default-trigger = "none"; 86*bdb2696aSKarthikeyan Krishnasamy }; 87*bdb2696aSKarthikeyan Krishnasamy }; 88*bdb2696aSKarthikeyan Krishnasamy 89*bdb2696aSKarthikeyan Krishnasamy sdio_pwrseq: pwrseq-sdio { 90*bdb2696aSKarthikeyan Krishnasamy compatible = "mmc-pwrseq-simple"; 91*bdb2696aSKarthikeyan Krishnasamy clocks = <&rtc0>; 92*bdb2696aSKarthikeyan Krishnasamy clock-names = "ext_clock"; 93*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 94*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&wifi_enable_h>; 95*bdb2696aSKarthikeyan Krishnasamy reset-gpios = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>; 96*bdb2696aSKarthikeyan Krishnasamy }; 97*bdb2696aSKarthikeyan Krishnasamy 98*bdb2696aSKarthikeyan Krishnasamy vcc_0v8: regulator-vcc-0v8 { 99*bdb2696aSKarthikeyan Krishnasamy compatible = "regulator-fixed"; 100*bdb2696aSKarthikeyan Krishnasamy regulator-name = "vcc_0v8"; 101*bdb2696aSKarthikeyan Krishnasamy regulator-min-microvolt = <800000>; 102*bdb2696aSKarthikeyan Krishnasamy regulator-max-microvolt = <800000>; 103*bdb2696aSKarthikeyan Krishnasamy regulator-always-on; 104*bdb2696aSKarthikeyan Krishnasamy regulator-boot-on; 105*bdb2696aSKarthikeyan Krishnasamy startup-delay-us = <150>; 106*bdb2696aSKarthikeyan Krishnasamy vin-supply = <&vcc5v0_sys>; 107*bdb2696aSKarthikeyan Krishnasamy }; 108*bdb2696aSKarthikeyan Krishnasamy 109*bdb2696aSKarthikeyan Krishnasamy vcc_1v2_ddr: regulator-vcc-1v2-ddr { 110*bdb2696aSKarthikeyan Krishnasamy compatible = "regulator-fixed"; 111*bdb2696aSKarthikeyan Krishnasamy regulator-name = "vcc_1v2_ddr"; 112*bdb2696aSKarthikeyan Krishnasamy regulator-min-microvolt = <1200000>; 113*bdb2696aSKarthikeyan Krishnasamy regulator-max-microvolt = <1200000>; 114*bdb2696aSKarthikeyan Krishnasamy regulator-always-on; 115*bdb2696aSKarthikeyan Krishnasamy regulator-boot-on; 116*bdb2696aSKarthikeyan Krishnasamy startup-delay-us = <75000>; 117*bdb2696aSKarthikeyan Krishnasamy vin-supply = <&vcc5v0_sys>; 118*bdb2696aSKarthikeyan Krishnasamy }; 119*bdb2696aSKarthikeyan Krishnasamy 120*bdb2696aSKarthikeyan Krishnasamy vcc_1v8: regulator-vcc-1v8 { 121*bdb2696aSKarthikeyan Krishnasamy compatible = "regulator-fixed"; 122*bdb2696aSKarthikeyan Krishnasamy regulator-name = "vcc_1v8"; 123*bdb2696aSKarthikeyan Krishnasamy regulator-min-microvolt = <1800000>; 124*bdb2696aSKarthikeyan Krishnasamy regulator-max-microvolt = <1800000>; 125*bdb2696aSKarthikeyan Krishnasamy regulator-always-on; 126*bdb2696aSKarthikeyan Krishnasamy regulator-boot-on; 127*bdb2696aSKarthikeyan Krishnasamy startup-delay-us = <51000>; 128*bdb2696aSKarthikeyan Krishnasamy vin-supply = <&vcc5v0_sys>; 129*bdb2696aSKarthikeyan Krishnasamy }; 130*bdb2696aSKarthikeyan Krishnasamy 131*bdb2696aSKarthikeyan Krishnasamy vcc1v8_ir: regulator-vcc1v8-ir { 132*bdb2696aSKarthikeyan Krishnasamy compatible = "regulator-fixed"; 133*bdb2696aSKarthikeyan Krishnasamy regulator-name = "vcc1v8_ir"; 134*bdb2696aSKarthikeyan Krishnasamy regulator-min-microvolt = <1800000>; 135*bdb2696aSKarthikeyan Krishnasamy regulator-max-microvolt = <1800000>; 136*bdb2696aSKarthikeyan Krishnasamy regulator-always-on; 137*bdb2696aSKarthikeyan Krishnasamy regulator-boot-on; 138*bdb2696aSKarthikeyan Krishnasamy vin-supply = <&vcc5v0_sys>; 139*bdb2696aSKarthikeyan Krishnasamy }; 140*bdb2696aSKarthikeyan Krishnasamy 141*bdb2696aSKarthikeyan Krishnasamy vcc_2v5_ddr: regulator-vcc-2v5-ddr { 142*bdb2696aSKarthikeyan Krishnasamy compatible = "regulator-fixed"; 143*bdb2696aSKarthikeyan Krishnasamy regulator-name = "vcc_2v5_ddr"; 144*bdb2696aSKarthikeyan Krishnasamy regulator-min-microvolt = <2500000>; 145*bdb2696aSKarthikeyan Krishnasamy regulator-max-microvolt = <2500000>; 146*bdb2696aSKarthikeyan Krishnasamy regulator-always-on; 147*bdb2696aSKarthikeyan Krishnasamy regulator-boot-on; 148*bdb2696aSKarthikeyan Krishnasamy vin-supply = <&vcc3v3_sys>; 149*bdb2696aSKarthikeyan Krishnasamy }; 150*bdb2696aSKarthikeyan Krishnasamy 151*bdb2696aSKarthikeyan Krishnasamy vcc3v3_sys: regulator-vcc3v3-sys { 152*bdb2696aSKarthikeyan Krishnasamy compatible = "regulator-fixed"; 153*bdb2696aSKarthikeyan Krishnasamy regulator-name = "vcc3v3_sys"; 154*bdb2696aSKarthikeyan Krishnasamy regulator-min-microvolt = <3300000>; 155*bdb2696aSKarthikeyan Krishnasamy regulator-max-microvolt = <3300000>; 156*bdb2696aSKarthikeyan Krishnasamy regulator-always-on; 157*bdb2696aSKarthikeyan Krishnasamy regulator-boot-on; 158*bdb2696aSKarthikeyan Krishnasamy startup-delay-us = <75000>; 159*bdb2696aSKarthikeyan Krishnasamy vin-supply = <&vcc5v0_sys>; 160*bdb2696aSKarthikeyan Krishnasamy }; 161*bdb2696aSKarthikeyan Krishnasamy 162*bdb2696aSKarthikeyan Krishnasamy vcc5v0_sys: regulator-vcc5v0-sys { 163*bdb2696aSKarthikeyan Krishnasamy compatible = "regulator-fixed"; 164*bdb2696aSKarthikeyan Krishnasamy regulator-name = "vcc5v0_sys"; 165*bdb2696aSKarthikeyan Krishnasamy regulator-min-microvolt = <5000000>; 166*bdb2696aSKarthikeyan Krishnasamy regulator-max-microvolt = <5000000>; 167*bdb2696aSKarthikeyan Krishnasamy regulator-always-on; 168*bdb2696aSKarthikeyan Krishnasamy regulator-boot-on; 169*bdb2696aSKarthikeyan Krishnasamy }; 170*bdb2696aSKarthikeyan Krishnasamy 171*bdb2696aSKarthikeyan Krishnasamy vdd_arm: regulator-vdd-arm { 172*bdb2696aSKarthikeyan Krishnasamy compatible = "pwm-regulator"; 173*bdb2696aSKarthikeyan Krishnasamy pwms = <&pwm0 0 5000 1>; 174*bdb2696aSKarthikeyan Krishnasamy regulator-name = "vdd_arm"; 175*bdb2696aSKarthikeyan Krishnasamy regulator-min-microvolt = <720000>; 176*bdb2696aSKarthikeyan Krishnasamy regulator-max-microvolt = <1000000>; 177*bdb2696aSKarthikeyan Krishnasamy regulator-settling-time-up-us = <18000>; 178*bdb2696aSKarthikeyan Krishnasamy regulator-always-on; 179*bdb2696aSKarthikeyan Krishnasamy regulator-boot-on; 180*bdb2696aSKarthikeyan Krishnasamy pwm-supply = <&vcc3v3_sys>; 181*bdb2696aSKarthikeyan Krishnasamy vin-supply = <&vcc5v0_sys>; 182*bdb2696aSKarthikeyan Krishnasamy }; 183*bdb2696aSKarthikeyan Krishnasamy 184*bdb2696aSKarthikeyan Krishnasamy vdd_npu_vepu: regulator-vdd-npu-vepu { 185*bdb2696aSKarthikeyan Krishnasamy compatible = "pwm-regulator"; 186*bdb2696aSKarthikeyan Krishnasamy pwms = <&pwm1 0 5000 1>; 187*bdb2696aSKarthikeyan Krishnasamy regulator-name = "vdd_npu_vepu"; 188*bdb2696aSKarthikeyan Krishnasamy regulator-min-microvolt = <650000>; 189*bdb2696aSKarthikeyan Krishnasamy regulator-max-microvolt = <950000>; 190*bdb2696aSKarthikeyan Krishnasamy regulator-settling-time-up-us = <18000>; 191*bdb2696aSKarthikeyan Krishnasamy regulator-always-on; 192*bdb2696aSKarthikeyan Krishnasamy regulator-boot-on; 193*bdb2696aSKarthikeyan Krishnasamy pwm-supply = <&vcc3v3_sys>; 194*bdb2696aSKarthikeyan Krishnasamy vin-supply = <&vcc5v0_sys>; 195*bdb2696aSKarthikeyan Krishnasamy }; 196*bdb2696aSKarthikeyan Krishnasamy 197*bdb2696aSKarthikeyan Krishnasamy thermal_sensor1: thermal-sensor1 { 198*bdb2696aSKarthikeyan Krishnasamy compatible = "generic-adc-thermal"; 199*bdb2696aSKarthikeyan Krishnasamy #thermal-sensor-cells = <0>; 200*bdb2696aSKarthikeyan Krishnasamy io-channels = <&saradc 1>; 201*bdb2696aSKarthikeyan Krishnasamy io-channel-names = "sensor-channel"; 202*bdb2696aSKarthikeyan Krishnasamy temperature-lookup-table = <(-40000) 826 203*bdb2696aSKarthikeyan Krishnasamy 85000 609>; 204*bdb2696aSKarthikeyan Krishnasamy }; 205*bdb2696aSKarthikeyan Krishnasamy 206*bdb2696aSKarthikeyan Krishnasamy thermal_sensor2: thermal-sensor2 { 207*bdb2696aSKarthikeyan Krishnasamy compatible = "generic-adc-thermal"; 208*bdb2696aSKarthikeyan Krishnasamy #thermal-sensor-cells = <0>; 209*bdb2696aSKarthikeyan Krishnasamy io-channels = <&saradc 2>; 210*bdb2696aSKarthikeyan Krishnasamy io-channel-names = "sensor-channel"; 211*bdb2696aSKarthikeyan Krishnasamy temperature-lookup-table = <(-40000) 826 212*bdb2696aSKarthikeyan Krishnasamy 85000 609>; 213*bdb2696aSKarthikeyan Krishnasamy }; 214*bdb2696aSKarthikeyan Krishnasamy}; 215*bdb2696aSKarthikeyan Krishnasamy 216*bdb2696aSKarthikeyan Krishnasamy&cpu0 { 217*bdb2696aSKarthikeyan Krishnasamy cpu-supply = <&vdd_arm>; 218*bdb2696aSKarthikeyan Krishnasamy}; 219*bdb2696aSKarthikeyan Krishnasamy 220*bdb2696aSKarthikeyan Krishnasamy&cpu1 { 221*bdb2696aSKarthikeyan Krishnasamy cpu-supply = <&vdd_arm>; 222*bdb2696aSKarthikeyan Krishnasamy}; 223*bdb2696aSKarthikeyan Krishnasamy 224*bdb2696aSKarthikeyan Krishnasamy&emmc { 225*bdb2696aSKarthikeyan Krishnasamy bus-width = <8>; 226*bdb2696aSKarthikeyan Krishnasamy non-removable; 227*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&emmc_bus8 &emmc_cmd &emmc_clk>; 228*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 229*bdb2696aSKarthikeyan Krishnasamy rockchip,default-sample-phase = <90>; 230*bdb2696aSKarthikeyan Krishnasamy vmmc-supply = <&vcc3v3_sys>; 231*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 232*bdb2696aSKarthikeyan Krishnasamy}; 233*bdb2696aSKarthikeyan Krishnasamy 234*bdb2696aSKarthikeyan Krishnasamy&i2c3 { 235*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&i2c3m2_xfer>; 236*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 237*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 238*bdb2696aSKarthikeyan Krishnasamy 239*bdb2696aSKarthikeyan Krishnasamy rtc0: rtc@52 { 240*bdb2696aSKarthikeyan Krishnasamy compatible = "microcrystal,rv3028"; 241*bdb2696aSKarthikeyan Krishnasamy reg = <0x52>; 242*bdb2696aSKarthikeyan Krishnasamy #clock-cells = <0>; 243*bdb2696aSKarthikeyan Krishnasamy interrupt-parent = <&gpio2>; 244*bdb2696aSKarthikeyan Krishnasamy interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 245*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&rtc_int>; 246*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 247*bdb2696aSKarthikeyan Krishnasamy }; 248*bdb2696aSKarthikeyan Krishnasamy}; 249*bdb2696aSKarthikeyan Krishnasamy 250*bdb2696aSKarthikeyan Krishnasamy&i2s0 { 251*bdb2696aSKarthikeyan Krishnasamy /delete-property/ pinctrl-0; 252*bdb2696aSKarthikeyan Krishnasamy rockchip,trcm-sync-rx-only; 253*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&i2s0m0_sclk_rx>, 254*bdb2696aSKarthikeyan Krishnasamy <&i2s0m0_lrck_rx>, 255*bdb2696aSKarthikeyan Krishnasamy <&i2s0m0_sdi0>; 256*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 257*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 258*bdb2696aSKarthikeyan Krishnasamy}; 259*bdb2696aSKarthikeyan Krishnasamy 260*bdb2696aSKarthikeyan Krishnasamy&pinctrl { 261*bdb2696aSKarthikeyan Krishnasamy bluetooth-pins { 262*bdb2696aSKarthikeyan Krishnasamy bt_reset: bt-reset { 263*bdb2696aSKarthikeyan Krishnasamy rockchip,pins = 264*bdb2696aSKarthikeyan Krishnasamy <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>; 265*bdb2696aSKarthikeyan Krishnasamy }; 266*bdb2696aSKarthikeyan Krishnasamy bt_wake_dev: bt-wake-dev { 267*bdb2696aSKarthikeyan Krishnasamy rockchip,pins = 268*bdb2696aSKarthikeyan Krishnasamy <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; 269*bdb2696aSKarthikeyan Krishnasamy }; 270*bdb2696aSKarthikeyan Krishnasamy bt_wake_host: bt-wake-host { 271*bdb2696aSKarthikeyan Krishnasamy rockchip,pins = 272*bdb2696aSKarthikeyan Krishnasamy <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_down>; 273*bdb2696aSKarthikeyan Krishnasamy }; 274*bdb2696aSKarthikeyan Krishnasamy }; 275*bdb2696aSKarthikeyan Krishnasamy 276*bdb2696aSKarthikeyan Krishnasamy buttons { 277*bdb2696aSKarthikeyan Krishnasamy switch: switch { 278*bdb2696aSKarthikeyan Krishnasamy rockchip,pins = <2 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>; 279*bdb2696aSKarthikeyan Krishnasamy }; 280*bdb2696aSKarthikeyan Krishnasamy }; 281*bdb2696aSKarthikeyan Krishnasamy 282*bdb2696aSKarthikeyan Krishnasamy ir { 283*bdb2696aSKarthikeyan Krishnasamy ir_rx: ir-rx { 284*bdb2696aSKarthikeyan Krishnasamy rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 285*bdb2696aSKarthikeyan Krishnasamy }; 286*bdb2696aSKarthikeyan Krishnasamy }; 287*bdb2696aSKarthikeyan Krishnasamy 288*bdb2696aSKarthikeyan Krishnasamy pwm { 289*bdb2696aSKarthikeyan Krishnasamy pwm0m0_pins_pull_up: pwm0m0-pins-pull-up { 290*bdb2696aSKarthikeyan Krishnasamy rockchip,pins = 291*bdb2696aSKarthikeyan Krishnasamy /* pwm0_pin_m0 */ 292*bdb2696aSKarthikeyan Krishnasamy <0 RK_PB6 3 &pcfg_pull_up>; 293*bdb2696aSKarthikeyan Krishnasamy }; 294*bdb2696aSKarthikeyan Krishnasamy pwm1m0_pins_pull_up: pwm1m0-pins-pull-up { 295*bdb2696aSKarthikeyan Krishnasamy rockchip,pins = 296*bdb2696aSKarthikeyan Krishnasamy /* pwm1_pin_m0 */ 297*bdb2696aSKarthikeyan Krishnasamy <0 RK_PB7 3 &pcfg_pull_up>; 298*bdb2696aSKarthikeyan Krishnasamy }; 299*bdb2696aSKarthikeyan Krishnasamy }; 300*bdb2696aSKarthikeyan Krishnasamy 301*bdb2696aSKarthikeyan Krishnasamy rtc { 302*bdb2696aSKarthikeyan Krishnasamy rtc_int: rtc-int { 303*bdb2696aSKarthikeyan Krishnasamy rockchip,pins = <2 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 304*bdb2696aSKarthikeyan Krishnasamy }; 305*bdb2696aSKarthikeyan Krishnasamy }; 306*bdb2696aSKarthikeyan Krishnasamy 307*bdb2696aSKarthikeyan Krishnasamy sdio-pwrseq { 308*bdb2696aSKarthikeyan Krishnasamy wifi_enable_h: wifi-enable-h { 309*bdb2696aSKarthikeyan Krishnasamy rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; 310*bdb2696aSKarthikeyan Krishnasamy }; 311*bdb2696aSKarthikeyan Krishnasamy }; 312*bdb2696aSKarthikeyan Krishnasamy}; 313*bdb2696aSKarthikeyan Krishnasamy 314*bdb2696aSKarthikeyan Krishnasamy&pmu_io_domains { 315*bdb2696aSKarthikeyan Krishnasamy pmuio0-supply = <&vcc3v3_sys>; 316*bdb2696aSKarthikeyan Krishnasamy pmuio1-supply = <&vcc3v3_sys>; 317*bdb2696aSKarthikeyan Krishnasamy vccio4-supply = <&vcc3v3_sys>; 318*bdb2696aSKarthikeyan Krishnasamy vccio5-supply = <&vcc3v3_sys>; 319*bdb2696aSKarthikeyan Krishnasamy vccio6-supply = <&vcc3v3_sys>; 320*bdb2696aSKarthikeyan Krishnasamy vccio7-supply = <&vcc3v3_sys>; 321*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 322*bdb2696aSKarthikeyan Krishnasamy}; 323*bdb2696aSKarthikeyan Krishnasamy 324*bdb2696aSKarthikeyan Krishnasamy&pwm0 { 325*bdb2696aSKarthikeyan Krishnasamy /delete-property/ pinctrl-0; 326*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&pwm0m0_pins_pull_up>; 327*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 328*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 329*bdb2696aSKarthikeyan Krishnasamy}; 330*bdb2696aSKarthikeyan Krishnasamy 331*bdb2696aSKarthikeyan Krishnasamy&pwm1 { 332*bdb2696aSKarthikeyan Krishnasamy /delete-property/ pinctrl-0; 333*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&pwm1m0_pins_pull_up>; 334*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 335*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 336*bdb2696aSKarthikeyan Krishnasamy}; 337*bdb2696aSKarthikeyan Krishnasamy 338*bdb2696aSKarthikeyan Krishnasamy&pwm2 { 339*bdb2696aSKarthikeyan Krishnasamy /delete-property/ pinctrl-0; 340*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&pwm2m1_pins>; 341*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 342*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 343*bdb2696aSKarthikeyan Krishnasamy}; 344*bdb2696aSKarthikeyan Krishnasamy 345*bdb2696aSKarthikeyan Krishnasamy&pwm5 { 346*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&pwm5m0_pins>; 347*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 348*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 349*bdb2696aSKarthikeyan Krishnasamy}; 350*bdb2696aSKarthikeyan Krishnasamy 351*bdb2696aSKarthikeyan Krishnasamy&pwm6 { 352*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&pwm6m0_pins>; 353*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 354*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 355*bdb2696aSKarthikeyan Krishnasamy}; 356*bdb2696aSKarthikeyan Krishnasamy 357*bdb2696aSKarthikeyan Krishnasamy&pwm8 { 358*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&pwm8m1_pins>; 359*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 360*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 361*bdb2696aSKarthikeyan Krishnasamy}; 362*bdb2696aSKarthikeyan Krishnasamy 363*bdb2696aSKarthikeyan Krishnasamy&pwm9 { 364*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&pwm9m1_pins>; 365*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 366*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 367*bdb2696aSKarthikeyan Krishnasamy}; 368*bdb2696aSKarthikeyan Krishnasamy 369*bdb2696aSKarthikeyan Krishnasamy&pwm10 { 370*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&pwm10m1_pins>; 371*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 372*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 373*bdb2696aSKarthikeyan Krishnasamy}; 374*bdb2696aSKarthikeyan Krishnasamy 375*bdb2696aSKarthikeyan Krishnasamy&pwm11 { 376*bdb2696aSKarthikeyan Krishnasamy /delete-property/ pinctrl-0; 377*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&pwm11m1_pins>; 378*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 379*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 380*bdb2696aSKarthikeyan Krishnasamy}; 381*bdb2696aSKarthikeyan Krishnasamy 382*bdb2696aSKarthikeyan Krishnasamy&saradc { 383*bdb2696aSKarthikeyan Krishnasamy vref-supply = <&vcc_1v8>; 384*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 385*bdb2696aSKarthikeyan Krishnasamy}; 386*bdb2696aSKarthikeyan Krishnasamy 387*bdb2696aSKarthikeyan Krishnasamy&sdio { 388*bdb2696aSKarthikeyan Krishnasamy bus-width = <4>; 389*bdb2696aSKarthikeyan Krishnasamy cap-sd-highspeed; 390*bdb2696aSKarthikeyan Krishnasamy cap-sdio-irq; 391*bdb2696aSKarthikeyan Krishnasamy max-frequency = <100000000>; 392*bdb2696aSKarthikeyan Krishnasamy mmc-pwrseq = <&sdio_pwrseq>; 393*bdb2696aSKarthikeyan Krishnasamy no-mmc; 394*bdb2696aSKarthikeyan Krishnasamy no-sd; 395*bdb2696aSKarthikeyan Krishnasamy non-removable; 396*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>; 397*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 398*bdb2696aSKarthikeyan Krishnasamy sd-uhs-sdr104; 399*bdb2696aSKarthikeyan Krishnasamy vmmc-supply = <&vcc3v3_sys>; 400*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 401*bdb2696aSKarthikeyan Krishnasamy}; 402*bdb2696aSKarthikeyan Krishnasamy 403*bdb2696aSKarthikeyan Krishnasamy&uart0 { 404*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&uart0_xfer &uart0_ctsn &uart0_rtsn>; 405*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 406*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 407*bdb2696aSKarthikeyan Krishnasamy 408*bdb2696aSKarthikeyan Krishnasamy bluetooth { 409*bdb2696aSKarthikeyan Krishnasamy compatible = "realtek,rtl8822cs-bt"; 410*bdb2696aSKarthikeyan Krishnasamy device-wake-gpios = <&gpio1 RK_PC5 GPIO_ACTIVE_HIGH>; 411*bdb2696aSKarthikeyan Krishnasamy enable-gpios = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>; 412*bdb2696aSKarthikeyan Krishnasamy host-wake-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>; 413*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&bt_reset>, <&bt_wake_dev>, <&bt_wake_host>; 414*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 415*bdb2696aSKarthikeyan Krishnasamy }; 416*bdb2696aSKarthikeyan Krishnasamy}; 417*bdb2696aSKarthikeyan Krishnasamy 418*bdb2696aSKarthikeyan Krishnasamy&uart2 { 419*bdb2696aSKarthikeyan Krishnasamy pinctrl-0 = <&uart2m1_xfer>; 420*bdb2696aSKarthikeyan Krishnasamy pinctrl-names = "default"; 421*bdb2696aSKarthikeyan Krishnasamy status = "okay"; 422*bdb2696aSKarthikeyan Krishnasamy}; 423