rockchip
This commit is contained in:
114
rk356x/rp-camera-mipi-gc2093-single-2lane.dtsi
Executable file
114
rk356x/rp-camera-mipi-gc2093-single-2lane.dtsi
Executable file
@@ -0,0 +1,114 @@
|
||||
|
||||
/ {
|
||||
|
||||
|
||||
vcc_camera: vcc-camera-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
/**
|
||||
* gpio config please refer to main dts if have
|
||||
|
||||
* gpio = <&gpio* *** GPIO_ACTIVE_HIGH>;
|
||||
* pinctrl-names = "default";
|
||||
* pinctrl-0 = <&***>;
|
||||
*/
|
||||
regulator-name = "vcc_camera";
|
||||
enable-active-high;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
gc2093: gc2093@37 {
|
||||
compatible = "galaxycore,gc2093";
|
||||
status = "okay";
|
||||
reg = <0x37>;
|
||||
clocks = <&cru CLK_CIF_OUT>;
|
||||
clock-names = "xvclk";
|
||||
power-domains = <&power RK3568_PD_VI>;
|
||||
/**
|
||||
* gpio config please refer to main dts if have
|
||||
|
||||
* pinctrl-names = "default";
|
||||
* pinctrl-0 = <&cif_clk>;
|
||||
* pwdn-gpios = <&gpio* *** GPIO_ACTIVE_HIGH>;
|
||||
* reset-gpios = <&gpio* *** GPIO_ACTIVE_LOW>;
|
||||
*/
|
||||
//avdd-supply = <&vcc_avdd>;
|
||||
//dovdd-supply = <&vcc_dovdd>;
|
||||
//dvdd-supply = <&vcc_dvdd>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "SIDB205300385-VA";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
port {
|
||||
ucam_out0: endpoint {
|
||||
remote-endpoint = <&mipi_in_ucam0>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
&rkisp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkisp_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkisp_vir0 {
|
||||
status = "okay";
|
||||
|
||||
port {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
isp0_in: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&csidphy_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&csi2_dphy_hw {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
|
||||
&csi2_dphy1 {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi_in_ucam0: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&ucam_out0>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
csidphy_out: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&isp0_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user