arm64: dts: rockchip: rk3588-vehicle-evb-maxim-max9671(/2)2-d(c)phy0(/3): Add regulators

Change-Id: Idb176416c330ecf11d646d7582377d82ae401f72
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
This commit is contained in:
Cody Xie
2023-09-28 15:21:59 +08:00
committed by Tao Huang
parent ea15f616ec
commit 423b02db66
6 changed files with 233 additions and 6 deletions

View File

@@ -12,6 +12,42 @@
clock-frequency = <25000000>;
clock-output-names = "max96712-dcphy0-osc";
};
max96712_dcphy0_vcc1v2: max96712-dcphy0-vcc1v2 {
compatible = "regulator-fixed";
regulator-name = "max96712_dcphy0_vcc1v2";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
startup-delay-us = <850>;
vin-supply = <&vcc5v0_sys>;
};
max96712_dcphy0_vcc1v8: max96712-dcphy0-vcc1v8 {
compatible = "regulator-fixed";
regulator-name = "max96712_dcphy0_vcc1v8";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
startup-delay-us = <200>;
vin-supply = <&vcc_3v3_s3>;
};
max96712_dcphy0_poc: max96712-dcphy0-poc {
compatible = "regulator-fixed";
regulator-name = "max96712_dcphy0_poc";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
enable-active-high;
gpio = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;
startup-delay-us = <1050>;
off-on-delay-us = <515000>;
vin-supply = <&vcc12v_dcin>;
};
};
&mipi_dcphy0 {
@@ -64,8 +100,10 @@
power-domains = <&power RK3588_PD_VI>;
rockchip,grf = <&sys_grf>;
pwdn-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>;
pocen-gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;
lock-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
vcc1v2-supply = <&max96712_dcphy0_vcc1v2>;
vcc1v8-supply = <&max96712_dcphy0_vcc1v8>;
poc-supply = <&max96712_dcphy0_poc>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";

View File

@@ -12,6 +12,42 @@
clock-frequency = <25000000>;
clock-output-names = "max96712-dcphy1-osc";
};
max96712_dcphy1_vcc1v2: max96712-dcphy1-vcc1v2 {
compatible = "regulator-fixed";
regulator-name = "max96712_dcphy1_vcc1v2";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
startup-delay-us = <850>;
vin-supply = <&vcc5v0_sys>;
};
max96712_dcphy1_vcc1v8: max96712-dcphy1-vcc1v8 {
compatible = "regulator-fixed";
regulator-name = "max96712_dcphy1_vcc1v8";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
startup-delay-us = <200>;
vin-supply = <&vcc_3v3_s3>;
};
max96712_dcphy1_poc: max96712-dcphy1-poc {
compatible = "regulator-fixed";
regulator-name = "max96712_dcphy1_poc";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
enable-active-high;
gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
startup-delay-us = <1050>;
off-on-delay-us = <515000>;
vin-supply = <&vcc12v_dcin>;
};
};
&mipi_dcphy1 {
@@ -64,8 +100,10 @@
power-domains = <&power RK3588_PD_VI>;
rockchip,grf = <&sys_grf>;
pwdn-gpios = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
pocen-gpios = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
lock-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
vcc1v2-supply = <&max96712_dcphy1_vcc1v2>;
vcc1v8-supply = <&max96712_dcphy1_vcc1v8>;
poc-supply = <&max96712_dcphy1_poc>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";

View File

@@ -12,6 +12,42 @@
clock-frequency = <25000000>;
clock-output-names = "max96712-dphy0-osc0";
};
max96712_dphy0_vcc1v2: max96712-dphy0-vcc1v2 {
compatible = "regulator-fixed";
regulator-name = "max96712_dphy0_vcc1v2";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
startup-delay-us = <850>;
vin-supply = <&vcc5v0_sys>;
};
max96712_dphy0_vcc1v8: max96712-dphy0-vcc1v8 {
compatible = "regulator-fixed";
regulator-name = "max96712_dphy0_vcc1v8";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
startup-delay-us = <200>;
vin-supply = <&vcc_3v3_s3>;
};
max96712_dphy0_poc: max96712-dphy0-poc {
compatible = "regulator-fixed";
regulator-name = "max96712_dphy0_poc";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
enable-active-high;
gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
startup-delay-us = <1050>;
off-on-delay-us = <515000>;
vin-supply = <&vcc12v_dcin>;
};
};
&csi2_dphy0_hw {
@@ -64,8 +100,10 @@
power-domains = <&power RK3588_PD_VI>;
rockchip,grf = <&sys_grf>;
pwdn-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
pocen-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
lock-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>;
vcc1v2-supply = <&max96712_dphy0_vcc1v2>;
vcc1v8-supply = <&max96712_dphy0_vcc1v8>;
poc-supply = <&max96712_dphy0_poc>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";

View File

@@ -12,6 +12,41 @@
clock-frequency = <25000000>;
clock-output-names = "max96712-dphy3-osc0";
};
max96712_dphy3_vcc1v2: max96712-dphy3-vcc1v2 {
compatible = "regulator-fixed";
regulator-name = "max96712_dphy3_vcc1v2";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
startup-delay-us = <850>;
vin-supply = <&vcc5v0_sys>;
};
max96712_dphy3_vcc1v8: max96712-dphy3-vcc1v8 {
compatible = "regulator-fixed";
regulator-name = "max96712_dphy3_vcc1v8";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
startup-delay-us = <200>;
vin-supply = <&vcc_3v3_s3>;
};
max96712_dphy3_poc: max96712-dphy3-poc {
compatible = "regulator-fixed";
regulator-name = "max96712_dphy3_poc";
regulator-boot-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
enable-active-high;
gpio = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
startup-delay-us = <1050>;
off-on-delay-us = <515000>;
vin-supply = <&vcc12v_dcin>;
};
};
&csi2_dphy1_hw {
@@ -64,8 +99,10 @@
power-domains = <&power RK3588_PD_VI>;
rockchip,grf = <&sys_grf>;
pwdn-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
pocen-gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
lock-gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>;
vcc1v2-supply = <&max96712_dphy3_vcc1v2>;
vcc1v8-supply = <&max96712_dphy3_vcc1v8>;
poc-supply = <&max96712_dphy3_poc>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";

View File

@@ -12,6 +12,42 @@
clock-frequency = <25000000>;
clock-output-names = "max96722-dphy0-osc0";
};
max96722_dphy0_vcc1v2: max96722-dphy0-vcc1v2 {
compatible = "regulator-fixed";
regulator-name = "max96722_dphy0_vcc1v2";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
startup-delay-us = <850>;
vin-supply = <&vcc5v0_sys>;
};
max96722_dphy0_vcc1v8: max96722-dphy0-vcc1v8 {
compatible = "regulator-fixed";
regulator-name = "max96722_dphy0_vcc1v8";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
startup-delay-us = <200>;
vin-supply = <&vcc_3v3_s3>;
};
max96722_dphy0_poc: max96722-dphy0-poc {
compatible = "regulator-fixed";
regulator-name = "max96722_dphy0_poc";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
enable-active-high;
gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
startup-delay-us = <1050>;
off-on-delay-us = <515000>;
vin-supply = <&vcc12v_dcin>;
};
};
&csi2_dphy0_hw {
@@ -64,8 +100,10 @@
power-domains = <&power RK3588_PD_VI>;
rockchip,grf = <&sys_grf>;
pwdn-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
pocen-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
lock-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>;
vcc1v2-supply = <&max96722_dphy0_vcc1v2>;
vcc1v8-supply = <&max96722_dphy0_vcc1v8>;
poc-supply = <&max96722_dphy0_poc>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";

View File

@@ -12,6 +12,42 @@
clock-frequency = <25000000>;
clock-output-names = "max96722-dphy3-osc0";
};
max96722_dphy3_vcc1v2: max96722-dphy3-vcc1v2 {
compatible = "regulator-fixed";
regulator-name = "max96722_dphy3_vcc1v2";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
startup-delay-us = <850>;
vin-supply = <&vcc5v0_sys>;
};
max96722_dphy3_vcc1v8: max96722-dphy3-vcc1v8 {
compatible = "regulator-fixed";
regulator-name = "max96722_dphy3_vcc1v8";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
startup-delay-us = <200>;
vin-supply = <&vcc_3v3_s3>;
};
max96722_dphy3_poc: max96722-dphy3-poc {
compatible = "regulator-fixed";
regulator-name = "max96722_dphy3_poc";
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
enable-active-high;
gpio = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
startup-delay-us = <1050>;
off-on-delay-us = <515000>;
vin-supply = <&vcc12v_dcin>;
};
};
&csi2_dphy1_hw {
@@ -64,8 +100,10 @@
power-domains = <&power RK3588_PD_VI>;
rockchip,grf = <&sys_grf>;
pwdn-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
pocen-gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
lock-gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>;
vcc1v2-supply = <&max96722_dphy3_vcc1v2>;
vcc1v8-supply = <&max96722_dphy3_vcc1v8>;
poc-supply = <&max96722_dphy3_poc>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";