ARM: dts: rockchip: add cif and adv7181 for px3se-evb

This enables cif and adds adv7181 device nodes.

Change-Id: Id8ca2ef30ff22032f12ecee3333ac1db51795228
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
This commit is contained in:
Shunqian Zheng
2018-05-31 09:01:38 +08:00
committed by Tao Huang
parent 6b8fb64e10
commit 43a053b018

View File

@@ -145,6 +145,14 @@
vin-supply = <&vcc_io>;
};
vcc_cvbs_33: vcc-cvbs-33 {
compatible = "regulator-fixed";
regulator-name= "vcc-cvbs-33";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&pmic_vcc_cvbs_33>;
};
vcc_sys: vcc-sys {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";
@@ -173,6 +181,22 @@
vin-supply = <&vcc_io>;
};
dvdd_1v8: dvdd-1v8 {
compatible = "regulator-fixed";
regulator-name = "dvdd-1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vcc_18>;
};
dvdd_3v3: dvdd-3v3 {
compatible = "regulator-fixed";
regulator-name = "dvdd-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc_cvbs_33>;
};
wireless-bluetooth {
compatible = "bluetooth-platdata";
@@ -235,6 +259,18 @@
};
};
&cif_new {
status = "okay";
port {
cif_in: endpoint {
remote-endpoint = <&adv7181_out>;
vsync-active = <0>;
hsync-active = <1>;
};
};
};
&cpu0 {
cpu-supply = <&vdd_arm>;
};
@@ -415,8 +451,6 @@
regulator-name= "pmic-vcc-cvbs-33";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
@@ -449,7 +483,8 @@
&i2c2 {
status = "okay";
clock-frequency = <400000>;
ts@14 {
touchscreen: ts@14 {
compatible = "goodix,gt9xx";
reg = <0x14>;
touch-gpio = <&gpio1 8 IRQ_TYPE_LEVEL_LOW>;
@@ -461,6 +496,26 @@
tp-supply = <&pmic_vcc_tp_33>;
status = "okay";
};
camera: adv7181@21 {
compatible = "adi,adv7181";
reg = <0x21>;
pinctrl-names = "default";
pinctrl-0 = <&cif_rst>;
dvdd-supply = <&dvdd_1v8>;
dvddio-supply = <&dvdd_3v3>;
reset-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
status = "okay";
port {
adv7181_out: endpoint {
remote-endpoint = <&cif_in>;
};
};
};
};
&pwm0 {
@@ -543,6 +598,12 @@
};
&pinctrl {
camera {
cif_rst: cif-rst {
rockchip,pins = <3 11 RK_FUNC_GPIO &pcfg_pull_default>;
};
};
pmic {
pmic_int_l: pmic-int-l {
rockchip,pins = <1 11 RK_FUNC_GPIO &pcfg_pull_default>;