// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2021 Rockchip Electronics Co., Ltd. * */ /dts-v1/; #include #include #include #include #include #include #include #include "dt-bindings/usb/pd.h" #include "rk3588s.dtsi" #include "rk3588-rk806-single.dtsi" #include "rk3588-linux.dtsi" #include "rk3588s-orangepi-cm5-tablet-lcd.dtsi" #include "rk3588s-orangepi-cm5-tablet-camera1.dtsi" //#include "rk3588s-orangepi-cm5-tablet-camera2.dtsi" //#include "rk3588s-orangepi-cm5-tablet-camera2-veyecam2m.dtsi" #include "rk3588s-orangepi-cm5-tablet-camera2-veyemv.dtsi" #include "rk3588s-orangepi-cm5-tablet-camera3.dtsi" / { model = "RK3588S Orange Pi CM5 Tablet"; compatible = "rockchip,rk3588s-orangepi-cm5-tablet", "rockchip,rk3588"; backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm14 0 25000 0>; brightness-levels = < 0 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 >; default-brightness-level = <200>; }; dp0_sound: dp0-sound { status = "okay"; compatible = "rockchip,hdmi"; rockchip,card-name= "rockchip-dp0"; rockchip,mclk-fs = <512>; rockchip,cpu = <&spdif_tx2>; rockchip,codec = <&dp0 1>; rockchip,jack-det; }; hdmi0_sound: hdmi0-sound { status = "okay"; compatible = "rockchip,hdmi"; rockchip,mclk-fs = <128>; rockchip,card-name = "rockchip-hdmi0"; rockchip,cpu = <&i2s5_8ch>; rockchip,codec = <&hdmi0>; rockchip,jack-det; }; test-power { status = "okay"; }; vcc12v_dcin: vcc12v-dcin { compatible = "regulator-fixed"; regulator-name = "vcc12v_dcin"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; }; vcc5v0_sys: vcc5v0-sys { compatible = "regulator-fixed"; regulator-name = "vcc5v0_sys"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vcc12v_dcin>; }; vcc5v0_usbdcin: vcc5v0-usbdcin { compatible = "regulator-fixed"; regulator-name = "vcc5v0_usbdcin"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vcc12v_dcin>; }; vcc5v0_usb: vcc5v0-usb { compatible = "regulator-fixed"; regulator-name = "vcc5v0_usb"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vcc5v0_usbdcin>; }; vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 { compatible = "regulator-fixed"; regulator-name = "vcc_1v1_nldo_s3"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; vin-supply = <&vcc5v0_sys>; }; vcc_3v3_sd_s0: vcc-3v3-sd-s0 { compatible = "regulator-fixed"; regulator-name = "vcc_3v3_sd_s0"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; pcie20_avdd0v85: pcie20-avdd0v85 { compatible = "regulator-fixed"; regulator-name = "pcie20_avdd0v85"; regulator-boot-on; regulator-always-on; regulator-min-microvolt = <850000>; regulator-max-microvolt = <850000>; vin-supply = <&vdd_0v85_s0>; }; pcie20_avdd1v8: pcie20-avdd1v8 { compatible = "regulator-fixed"; regulator-name = "pcie20_avdd1v8"; regulator-boot-on; regulator-always-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; vin-supply = <&avcc_1v8_s0>; }; vcc5v0_host: vcc5v0-host { compatible = "regulator-fixed"; regulator-name = "vcc5v0_host"; regulator-boot-on; regulator-always-on; enable-active-high; gpio = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vcc5v0_usb>; pinctrl-names = "default"; pinctrl-0 = <&vcc5v0_host_en>; }; vbus5v0_typec: vbus5v0-typec { compatible = "regulator-fixed"; regulator-name = "vbus5v0_typec"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; enable-active-high; gpio = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>; vin-supply = <&vcc5v0_usb>; pinctrl-names = "default"; pinctrl-0 = <&typec5v_pwren>; }; sdio_pwrseq: sdio-pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&hym8563>; clock-names = "ext_clock"; pinctrl-names = "default"; pinctrl-0 = <&wifi_enable_h>; /* * On the module itself this is one of these (depending * on the actual card populated): * - SDIO_RESET_L_WL_REG_ON * - PDN (power down when low) */ post-power-on-delay-ms = <200>; reset-gpios = <&gpio0 RK_PD0 GPIO_ACTIVE_LOW>; }; wireless_bluetooth: wireless-bluetooth { compatible = "bluetooth-platdata"; clocks = <&hym8563>; clock-names = "ext_clock"; uart_rts_gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_LOW>; pinctrl-names = "default", "rts_gpio"; pinctrl-0 = <&uart9m2_rtsn>, <&bt_reset_gpio>, <&bt_wake_gpio>, <&bt_irq_gpio>; pinctrl-1 = <&uart9_gpios>; BT,reset_gpio = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>; BT,wake_gpio = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; BT,wake_host_irq = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; status = "okay"; }; wireless_wlan: wireless-wlan { compatible = "wlan-platdata"; wifi_chip_type = "ap6256"; pinctrl-names = "default"; pinctrl-0 = <&wifi_host_wake_irq>; WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; WIFI,poweren_gpio = <&gpio0 RK_PD0 GPIO_ACTIVE_HIGH>; status = "okay"; }; es8388_sound: es8388-sound { status = "okay"; compatible = "rockchip,multicodecs-card"; rockchip,card-name = "rockchip,es8388"; hp-det-gpio = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; io-channels = <&saradc 3>; io-channel-names = "adc-detect"; keyup-threshold-microvolt = <1800000>; poll-interval = <100>; hp-con-gpio = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>; rockchip,aux-devs = <&aw87xxx_pa1 &aw87xxx_pa2>; rockchip,format = "i2s"; rockchip,mclk-fs = <256>; rockchip,cpu = <&i2s2_2ch>; rockchip,codec = <&es8388>; rockchip,audio-routing = "Headphone", "LOUT1", "Headphone", "ROUT1", "Headphone", "Headphone Power", "Headphone", "Headphone Power", "LINPUT1", "Main Mic", "LINPUT2", "Main Mic", "RINPUT1", "Headset Mic", "RINPUT2", "Headset Mic"; pinctrl-names = "default"; pinctrl-0 = <&hp_det>; play-pause-key { label = "playpause"; linux,code = ; press-threshold-microvolt = <2000>; }; }; leds: gpio-leds { compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 =<&led_gpio>; status = "okay"; led@1 { gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; label = "status_led"; linux,default-trigger = "heartbeat"; linux,default-trigger-delay-ms = <0>; }; }; fan: pwm-fan { compatible = "pwm-fan"; #cooling-cells = <2>; pwms = <&pwm15 0 50000 0>; cooling-levels = <0 50 100 150 200 255>; rockchip,temp-trips = < 40000 2 50000 3 55000 4 60000 5 65000 5 70000 5 >; status = "okay"; }; ext_cam_ov5647_clk: external-camera-ov5647-clock { compatible = "fixed-clock"; clock-frequency = <25000000>; clock-output-names = "ext_cam_ov5647_clk"; #clock-cells = <0>; }; }; &av1d_mmu { status = "okay"; }; &gpu { mali-supply = <&vdd_gpu_s0>; mem-supply = <&vdd_gpu_mem_s0>; status = "okay"; }; &iep { status = "okay"; }; &iep_mmu { status = "okay"; }; &jpegd { status = "okay"; }; &jpegd_mmu { status = "okay"; }; &jpege_ccu { status = "okay"; }; &jpege0 { status = "okay"; }; &jpege0_mmu { status = "okay"; }; &jpege1 { status = "okay"; }; &jpege1_mmu { status = "okay"; }; &jpege2 { status = "okay"; }; &jpege2_mmu { status = "okay"; }; &jpege3 { status = "okay"; }; &jpege3_mmu { status = "okay"; }; &mpp_srv { status = "okay"; }; &rga3_core0 { status = "okay"; }; &rga3_0_mmu { status = "okay"; }; &rga3_core1 { status = "okay"; }; &rga3_1_mmu { status = "okay"; }; &rga2 { status = "okay"; }; &rknpu { rknpu-supply = <&vdd_npu_s0>; mem-supply = <&vdd_npu_mem_s0>; status = "okay"; }; &rknpu_mmu { status = "okay"; }; &rkvdec_ccu { status = "okay"; }; &rkvdec0 { status = "okay"; }; &rkvdec0_mmu { status = "okay"; }; &rkvdec1 { status = "okay"; }; &rkvdec1_mmu { status = "okay"; }; &rkvenc_ccu { status = "okay"; }; &rkvenc0 { status = "okay"; }; &rkvenc0_mmu { status = "okay"; }; &rkvenc1 { status = "okay"; }; &rkvenc1_mmu { status = "okay"; }; &rockchip_suspend { status = "okay"; rockchip,sleep-debug-en = <1>; }; &saradc { status = "okay"; vref-supply = <&vcc_1v8_s0>; }; &sdio { max-frequency = <150000000>; no-sd; no-mmc; bus-width = <4>; disable-wp; cap-sd-highspeed; cap-sdio-irq; keep-power-in-suspend; mmc-pwrseq = <&sdio_pwrseq>; non-removable; pinctrl-names = "default"; pinctrl-0 = <&sdiom1_pins>; sd-uhs-sdr104; status = "okay"; }; &sdhci { bus-width = <8>; no-sdio; no-sd; non-removable; max-frequency = <200000000>; mmc-hs400-1_8v; mmc-hs400-enhanced-strobe; status = "okay"; }; &sdmmc { max-frequency = <150000000>; no-sdio; no-mmc; bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; disable-wp; sd-uhs-sdr104; vmmc-supply = <&vcc_3v3_s3>; vqmmc-supply = <&vccio_sd_s0>; status = "okay"; }; &tsadc { status = "okay"; }; &vdpu { status = "okay"; }; &vdpu_mmu { status = "okay"; }; &vepu { status = "okay"; }; &vop { status = "okay"; disable-win-move; assigned-clocks = <&cru ACLK_VOP>; assigned-clock-rates = <800000000>; }; &vop_mmu { status = "okay"; }; /* vp0 & vp1 splice for 8K output */ &vp0 { cursor-win-id=; rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER0 | 1 << ROCKCHIP_VOP2_ESMART0)>; rockchip,primary-plane = ; rockchip,primary-plane = ; }; &vp1 { cursor-win-id=; rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER1 | 1 << ROCKCHIP_VOP2_ESMART1)>; rockchip,primary-plane = ; rockchip,primary-plane = ; }; &vp2 { cursor-win-id=; rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER2 | 1 << ROCKCHIP_VOP2_ESMART2)>; rockchip,primary-plane = ; rockchip,primary-plane = ; }; &vp3 { cursor-win-id=; rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER3 | 1 << ROCKCHIP_VOP2_ESMART3)>; rockchip,primary-plane = ; rockchip,primary-plane = ; }; &display_subsystem { clocks = <&hdptxphy_hdmi_clk0>; clock-names = "hdmi0_phy_pll"; }; &cpu_l0 { cpu-supply = <&vdd_cpu_lit_s0>; mem-supply = <&vdd_cpu_lit_mem_s0>; }; &cpu_b0 { cpu-supply = <&vdd_cpu_big0_s0>; mem-supply = <&vdd_cpu_big0_mem_s0>; }; &cpu_b2 { cpu-supply = <&vdd_cpu_big1_s0>; mem-supply = <&vdd_cpu_big1_mem_s0>; }; &combphy0_ps { status = "okay"; }; &combphy2_psu { status = "okay"; }; &spdif_tx2{ status = "okay"; }; &i2c0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c0m2_xfer>; vdd_cpu_big0_s0: vdd_cpu_big0_mem_s0: rk8602@42 { compatible = "rockchip,rk8602"; reg = <0x42>; vin-supply = <&vcc5v0_sys>; regulator-compatible = "rk860x-reg"; regulator-name = "vdd_cpu_big0_s0"; regulator-min-microvolt = <550000>; regulator-max-microvolt = <1050000>; regulator-ramp-delay = <2300>; rockchip,suspend-voltage-selector = <1>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-off-in-suspend; }; }; vdd_cpu_big1_s0: vdd_cpu_big1_mem_s0: rk8603@43 { compatible = "rockchip,rk8603"; reg = <0x43>; vin-supply = <&vcc5v0_sys>; regulator-compatible = "rk860x-reg"; regulator-name = "vdd_cpu_big1_s0"; regulator-min-microvolt = <550000>; regulator-max-microvolt = <1050000>; regulator-ramp-delay = <2300>; rockchip,suspend-voltage-selector = <1>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-off-in-suspend; }; }; }; &i2c2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c2m0_xfer>; vdd_npu_s0: vdd_npu_mem_s0: rk8602@42 { compatible = "rockchip,rk8602"; reg = <0x42>; vin-supply = <&vcc5v0_sys>; regulator-compatible = "rk860x-reg"; regulator-name = "vdd_npu_s0"; regulator-min-microvolt = <550000>; regulator-max-microvolt = <950000>; regulator-ramp-delay = <2300>; rockchip,suspend-voltage-selector = <1>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-off-in-suspend; }; }; }; &i2c3 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c3m1_xfer>; es8388: es8388@11 { status = "okay"; #sound-dai-cells = <0>; compatible = "everest,es8388", "everest,es8323"; reg = <0x11>; clocks = <&mclkout_i2s2>; clock-names = "mclk"; assigned-clocks = <&mclkout_i2s2>; assigned-clock-rates = <12288000>; pinctrl-names = "default"; pinctrl-0 = <&i2s2m1_mclk>; }; }; &i2c6 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c6m3_xfer>; sc89890: sc89890@6a { compatible = "sc,sc89890"; reg = <0x6a>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&charger_ok>; interrupt-parent = <&gpio1>; interrupts = ; //otg-mode-en-gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>; sc,battery-regulation-voltage = <4350000>; /* 4.4V */ sc,charge-current = <4000000>; /* 4.0A */ sc,termination-current = <100000>; /* 100mA */ sc,precharge-current = <500000>; /* 130mA */ sc,minimum-sys-voltage = <3400000>; /* 3V */ sc,thermal-regulation-threshold = <4000000>; sc,ibatcomp-clamp-microvolt = <100000>; sc,ibatcomp-micro-ohms = <20>; }; usbc0: fusb302@22 { compatible = "fcs,fusb302"; reg = <0x22>; interrupt-parent = <&gpio4>; interrupts = ; pinctrl-names = "default"; pinctrl-0 = <&usbc0_int>; vbus-supply = <&vbus5v0_typec>; status = "okay"; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; usbc0_role_sw: endpoint@0 { remote-endpoint = <&dwc3_0_role_switch>; }; }; }; usb_con: connector { compatible = "usb-c-connector"; label = "USB-C"; data-role = "dual"; power-role = "dual"; try-power-role = "sink"; op-sink-microwatt = <1000000>; sink-pdos = ; source-pdos = ; altmodes { #address-cells = <1>; #size-cells = <0>; altmode@0 { reg = <0>; svid = <0xff01>; vdo = <0xffffffff>; }; }; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; usbc0_orien_sw: endpoint { remote-endpoint = <&usbdp_phy0_orientation_switch>; }; }; port@1 { reg = <1>; dp_altmode_mux: endpoint { remote-endpoint = <&usbdp_phy0_dp_altmode_mux>; }; }; }; }; }; }; &i2c7 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c7m3_xfer>; hym8563: hym8563@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; clock-frequency = <32768>; clock-output-names = "hym8563"; pinctrl-names = "default"; pinctrl-0 = <&hym8563_int>; interrupt-parent = <&gpio0>; interrupts = ; status = "okay"; }; }; &i2s2_2ch { status = "okay"; pinctrl-0 = <&i2s2m1_lrck &i2s2m1_sclk &i2s2m1_sdi &i2s2m1_sdo>; }; &i2s5_8ch { status = "okay"; }; &sata0 { pinctrl-names = "default"; pinctrl-0 = <&sata_reset>; status = "disabled"; }; //phy0 &pcie2x1l2 { reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; status = "okay"; }; &pinctrl { usb-typec { usbc0_int: usbc0-int { rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; }; typec5v_pwren: typec5v-pwren { rockchip,pins = <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; }; }; usb { vcc5v0_host_en: vcc5v0-host-en { rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; }; }; sdio-pwrseq { wifi_enable_h: wifi-enable-h { rockchip,pins = <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; }; }; headphone { hp_det: hp-det { rockchip,pins = <3 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; }; }; hym8563 { hym8563_int: hym8563-int { rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; }; }; wireless-bluetooth { uart9_gpios: uart9-gpios { rockchip,pins = <3 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; }; bt_reset_gpio: bt-reset-gpio { rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; }; bt_wake_gpio: bt-wake-gpio { rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; }; bt_irq_gpio: bt-irq-gpio { rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_down>; }; }; wireless-wlan { wifi_host_wake_irq: wifi-host-wake-irq { rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>; }; }; leds { led_gpio: led-gpio { rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; }; }; sata { sata_reset:sata-reset{ rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>; }; }; charger { charger_ok: charger_ok { rockchip,pins = <1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up>, <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up>; }; }; }; &u2phy0 { status = "okay"; }; &u2phy2 { status = "okay"; }; &u2phy3 { status = "okay"; }; &u2phy0_otg { status = "okay"; rockchip,typec-vbus-det; }; &u2phy2_host { status = "okay"; }; &u2phy3_host { status = "okay"; }; &usb_host0_ehci { status = "okay"; }; &usb_host0_ohci { status = "okay"; }; &usb_host1_ehci { status = "okay"; }; &usb_host1_ohci { status = "okay"; }; &usbdrd3_0 { status = "okay"; }; &usbdrd_dwc3_0 { status = "okay"; dr_mode = "otg"; usb-role-switch; port { #address-cells = <1>; #size-cells = <0>; dwc3_0_role_switch: endpoint@0 { reg = <0>; remote-endpoint = <&usbc0_role_sw>; }; }; }; &usbhost3_0 { dr_mode = "host"; status = "okay"; }; &usbhost_dwc3_0 { status = "okay"; }; &usbdp_phy0 { orientation-switch; svid = <0xff01>; status = "okay"; port { #address-cells = <1>; #size-cells = <0>; usbdp_phy0_orientation_switch: endpoint@0 { reg = <0>; remote-endpoint = <&usbc0_orien_sw>; }; usbdp_phy0_dp_altmode_mux: endpoint@1 { reg = <1>; remote-endpoint = <&dp_altmode_mux>; }; }; }; &usbdp_phy0_dp { status = "okay"; }; &usbdp_phy0_u3 { status = "okay"; }; &dp0 { status = "okay"; }; &dp0_in_vp1 { status = "okay"; }; &hdmi0 { status = "okay"; enable-gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; cec-enable = "true"; }; &hdmi0_in_vp0 { status = "okay"; }; &route_hdmi0{ status = "okay"; }; &hdptxphy_hdmi0 { status = "okay"; }; &mipi_dcphy0 { status = "okay"; }; &mipi_dcphy1 { status = "okay"; }; &rkcif { status = "okay"; }; &rkcif_mmu { status = "okay"; }; &rkisp0 { status = "okay"; }; &isp0_mmu { status = "okay"; }; &rkisp1 { status = "okay"; }; &isp1_mmu { status = "okay"; }; /* watchdog */ &wdt { status = "okay"; }; &sfc { status = "disabled"; }; &pwm0 { pinctrl-names = "active"; pinctrl-0 = <&pwm0m1_pins>; status = "disabled"; }; &pwm1 { pinctrl-names = "active"; pinctrl-0 = <&pwm1m2_pins>; status = "disabled"; }; &pwm13 { pinctrl-names = "active"; pinctrl-0 = <&pwm13m2_pins>; status = "disabled"; }; &pwm14 { pinctrl-names = "active"; pinctrl-0 = <&pwm14m0_pins>; status = "okay"; }; &pwm15 { pinctrl-names = "active"; pinctrl-0 = <&pwm15m2_pins>; status = "okay"; }; &spi0 { status = "disabled"; assigned-clocks = <&cru CLK_SPI0>; assigned-clock-rates = <200000000>; num-cs = <2>; }; &spi1 { status = "disabled"; assigned-clocks = <&cru CLK_SPI1>; assigned-clock-rates = <200000000>; }; &uart4 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&uart4m2_xfer>; }; &uart9 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn>; }; &i2c1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c1m2_xfer>; aw87xxx_pa1: aw87xxx_pa1@59 { compatible = "awinic,aw87xxx_pa"; #sound-dai-cells = <0>; reg = <0x59>; dev_index = <0>; status = "okay"; }; aw87xxx_pa2: aw87xxx_pa2@5a { compatible = "awinic,aw87xxx_pa"; #sound-dai-cells = <0>; reg = <0x5a>; dev_index = <1>; status = "okay"; }; }; &i2c4 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&i2c4m3_xfer>; }; &i2c5 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&i2c5m3_xfer>; }; &pwm3 { status = "disabled"; pinctrl-0 = <&pwm3m3_pins>; }; &uart1 { status = "disabled"; pinctrl-0 = <&uart1m1_xfer>; }; &uart6 { status = "disabled"; pinctrl-0 = <&uart6m2_xfer>; }; &uart7 { status = "disabled"; pinctrl-0 = <&uart7m2_xfer>; }; /* delete gpio0_c2 */ &pmic_pins { rockchip,pins = /* pmic_int_l */ <0 RK_PA7 0 &pcfg_pull_up>, /* pmic_sleep1 */ <0 RK_PA2 1 &pcfg_pull_down>, /* pmic_sleep2 */ <0 RK_PA3 1 &pcfg_pull_none>, /* pmic_sleep3 */ <0 RK_PC1 1 &pcfg_pull_none>, /* pmic_sleep5 */ <0 RK_PC3 1 &pcfg_pull_none>, /* pmic_sleep6 */ <0 RK_PD6 1 &pcfg_pull_none>; }; &pwm11 { compatible = "rockchip,remotectl-pwm"; pinctrl-names = "default"; pinctrl-0 = <&pwm11m2_pins>; remote_pwm_id = <3>; handle_cpu_id = <1>; remote_support_psci = <0>; status = "okay"; ir_key1 { rockchip,usercode = <0xfb04>; rockchip,key_table = <0xa3 KEY_ENTER>, <0xe4 388>, <0xf5 KEY_BACK>, <0xbb KEY_UP>, <0xe2 KEY_DOWN>, <0xe3 KEY_LEFT>, <0xb7 KEY_RIGHT>, <0xe0 KEY_HOME>, <0xba KEY_VOLUMEUP>, <0xda KEY_VOLUMEUP>, <0xe6 KEY_VOLUMEDOWN>, <0xdb KEY_VOLUMEDOWN>, <0xbc KEY_SEARCH>, <0xb2 KEY_POWER>, <0xe5 KEY_POWER>, <0xde KEY_POWER>, <0xdc KEY_MUTE>, <0xa2 KEY_MENU>, <0xec KEY_1>, <0xef KEY_2>, <0xee KEY_3>, <0xf0 KEY_4>, <0xf3 KEY_5>, <0xf2 KEY_6>, <0xf4 KEY_7>, <0xf7 KEY_8>, <0xf6 KEY_9>, <0xb8 KEY_0>; }; };