// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2022 Radxa Limited * Copyright (c) 2022 Amarula Solutions(India) */ /dts-v1/; #include #include "rk3566.dtsi" #include "rk3566-radxa-cm3.dtsi" / { model = "Radxa Compute Module 3(CM3) IO Board"; compatible = "radxa,radxa-cm3-io", "radxa,radxa-cm3", "rockchip,rk3566"; aliases { mmc1 = &sdmmc0; }; chosen: chosen { stdout-path = "serial2:1500000n8"; }; hdmi-con { compatible = "hdmi-connector"; type = "a"; port { hdmi_con_in: endpoint { remote-endpoint = <&hdmi_out_con>; }; }; }; leds { compatible = "gpio-leds"; led-1 { gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_LOW>; color = ; function = LED_FUNCTION_ACTIVITY; linux,default-trigger = "heartbeat"; pinctrl-names = "default"; pinctrl-0 = <&pi_nled_activity>; }; }; vcc5v0_usb30: vcc5v0-usb30-regulator { compatible = "regulator-fixed"; regulator-name = "vcc5v0_usb30"; enable-active-high; gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&vcc5v0_usb30_en_h>; regulator-always-on; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vcc_sys>; }; vcca1v8_image: vcca1v8-image-regulator { compatible = "regulator-fixed"; regulator-name = "vcca1v8_image"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; vin-supply = <&vcc_1v8_p>; }; vdda0v9_image: vdda0v9-image-regulator { compatible = "regulator-fixed"; regulator-name = "vcca0v9_image"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <900000>; regulator-max-microvolt = <900000>; vin-supply = <&vdda_0v9>; }; }; &combphy1 { status = "okay"; }; &hdmi { avdd-0v9-supply = <&vdda0v9_image>; avdd-1v8-supply = <&vcca1v8_image>; status = "okay"; }; &hdmi_in { hdmi_in_vp0: endpoint { remote-endpoint = <&vp0_out_hdmi>; }; }; &hdmi_out { hdmi_out_con: endpoint { remote-endpoint = <&hdmi_con_in>; }; }; &hdmi_sound { status = "okay"; }; &pinctrl { leds { pi_nled_activity: pi-nled-activity { rockchip,pins = <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; }; }; sdcard { sdmmc_pwren: sdmmc-pwren { rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; }; }; usb { vcc5v0_usb30_en_h: vcc5v0-host-en-h { rockchip,pins = <3 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; }; }; }; &sdmmc0 { bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; disable-wp; vqmmc-supply = <&vccio_sd>; pinctrl-names = "default"; pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det &sdmmc0_pwren>; status = "okay"; }; &uart2 { status = "okay"; }; &usb2phy0_host { phy-supply = <&vcc5v0_usb30>; status = "okay"; }; &usb2phy1_host { status = "okay"; }; &usb2phy1_otg { status = "okay"; }; &usb_host0_ehci { status = "okay"; }; &usb_host1_xhci { status = "okay"; }; &vop { assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; status = "okay"; }; &vop_mmu { status = "okay"; }; &vp0 { vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { reg = ; remote-endpoint = <&hdmi_in_vp0>; }; };