// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2024 Rockchip Electronics Co., Ltd. * */ /dts-v1/; #include "rk3576.dtsi" #include "rk3576-vehicle-evb.dtsi" #include "rk3576-vehicle-evb-v10-nca9539-io-expander.dtsi" #include "rk3576-vehicle-serdes-mfd-display-maxim.dtsi" #include "rk3576-vehicle-evb-maxim-max96712-dphy0.dtsi" #include "rk3576-linux.dtsi" / { model = "Rockchip RK3576 VEHICLE EVB V10 Board"; compatible = "rockchip,rk3576-vehicle-evb-v10", "rockchip,rk3576"; vehicle_dummy: vehicle-dummy { status = "okay"; compatible = "rockchip,vehicle-dummy-adc"; io-channels = <&saradc 4>, <&saradc 5>, <&saradc 6>; io-channel-names = "gear", "turn_left", "turn_right"; }; lcd1_vcc12v_buck: lcd1_vcc12v-buck { compatible = "regulator-fixed"; regulator-name = "lcd1_vcc12v_buck"; regulator-boot-on; regulator-always-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 0 GPIO_ACTIVE_HIGH>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; lcd2_vcc12v_buck: lcd2_vcc12v-buck { compatible = "regulator-fixed"; regulator-name = "lcd2_vcc12v_buck"; regulator-boot-on; regulator-always-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 1 GPIO_ACTIVE_HIGH>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; lcd3_vcc12v_buck: lcd3_vcc12v-buck { compatible = "regulator-fixed"; regulator-name = "lcd3_vcc12v_buck"; regulator-boot-on; regulator-always-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 2 GPIO_ACTIVE_HIGH>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dcphy0_vcc12v_buck1: dcphy0_vcc12v-buck1 { compatible = "regulator-fixed"; regulator-name = "dcphy0_vcc12v_buck1"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 3 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dcphy0_vcc12v_buck2: dcphy0_vcc12v-buck2 { compatible = "regulator-fixed"; regulator-name = "dcphy0_vcc12v_buck2"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 4 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dcphy0_vcc12v_buck3: dcphy0_vcc12v-buck3 { compatible = "regulator-fixed"; regulator-name = "dcphy0_vcc12v_buck3"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 5 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dcphy0_vcc12v_buck4: dcphy0_vcc12v-buck4 { compatible = "regulator-fixed"; regulator-name = "dcphy0_vcc12v_buck4"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 6 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dphy0_vcc12v_buck1: dphy0_vcc12v-buck1 { compatible = "regulator-fixed"; regulator-name = "dphy0_vcc12v_buck1"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 7 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dphy0_vcc12v_buck2: dphy0_vcc12v-buck2 { compatible = "regulator-fixed"; regulator-name = "dphy0_vcc12v_buck2"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 8 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dphy0_vcc12v_buck3: dphy0_vcc12v-buck3 { compatible = "regulator-fixed"; regulator-name = "dphy0_vcc12v_buck3"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 9 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dphy0_vcc12v_buck4: dphy0_vcc12v-buck4 { compatible = "regulator-fixed"; regulator-name = "dphy0_vcc12v_buck4"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 10 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dphy3_vcc12v_buck1: dphy3_vcc12v-buck1 { compatible = "regulator-fixed"; regulator-name = "dphy3_vcc12v_buck1"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 11 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dphy3_vcc12v_buck2: dphy3_vcc12v-buck2 { compatible = "regulator-fixed"; regulator-name = "dphy3_vcc12v_buck2"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 12 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dphy3_vcc12v_buck3: dphy3_vcc12v-buck3 { compatible = "regulator-fixed"; regulator-name = "dphy3_vcc12v_buck3"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 13 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; dphy3_vcc12v_buck4: dphy3_vcc12v-buck4 { compatible = "regulator-fixed"; regulator-name = "dphy3_vcc12v_buck4"; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 14 GPIO_ACTIVE_HIGH>; startup-delay-us = <2000>; off-on-delay-us = <16000>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; adsp_vcc12v_buck: adsp_vcc12v-buck { compatible = "regulator-fixed"; regulator-name = "adsp_vcc12v_buck"; regulator-boot-on; regulator-always-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; enable-active-high; gpio = <&nca9539_gpio 15 GPIO_ACTIVE_HIGH>; vin-supply = <&vcc12v_dcin>; regulator-state-mem { regulator-off-in-suspend; regulator-suspend-microvolt = <12000000>; }; }; }; &gmac1 { status = "disabled"; }; &hym8563 { status = "disabled"; }; /*edp*/ &i2c2_max96752 { use-reg-check-work; vpower-supply = <&lcd1_vcc12v_buck>; }; /*dp*/ &i2c5_max96752 { use-reg-check-work; vpower-supply = <&lcd2_vcc12v_buck>; }; /*dsi*/ &i2c8_max96752 { use-reg-check-work; vpower-supply = <&lcd3_vcc12v_buck>; }; &pinctrl { touch { //dsi-i2c8 touch_gpio_dsi: touch-gpio-dsi { rockchip,pins = <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; }; //dp-i2c5 touch_gpio_dp: touch-gpio-dp { rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; }; //edp0-i2c2 touch_gpio_edp: touch-gpio-edp { rockchip,pins = <4 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up>; }; }; }; &sdmmc { status = "disabled"; };