ARM: dts: rockchip: Update display nodes for rk3288 boards

Change-Id: I2ba2964ff7b2c8316be53ecfe2f093c41359e226
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
Wyon Bi
2019-01-07 10:57:49 +08:00
committed by Tao Huang
parent 4b12a02279
commit 8a142d3813
3 changed files with 104 additions and 66 deletions

View File

@@ -77,7 +77,6 @@
compatible = "adi,adv7125";
psave-gpios = <&gpio7 21 GPIO_ACTIVE_HIGH>;
vdd-supply = <&vcc_lcd>;
rockchip,output = "rgb";
#address-cells = <1>;
#size-cells = <0>;
@@ -87,15 +86,17 @@
port@0 {
reg = <0>;
adv7125_in: endpoint {
remote-endpoint = <&rgb_out>;
adv7125_in_rgb: endpoint {
remote-endpoint = <&rgb_out_adv7125>;
};
};
port@1 {
reg = <1>;
adv7125_out: endpoint {
remote-endpoint = <&vga_in>;
adv7125_out_vga: endpoint {
remote-endpoint = <&vga_in_adv7125>;
};
};
};
@@ -105,9 +106,9 @@
compatible = "vga-connector";
ddc-i2c-bus = <&i2c2>;
port {
vga_in: endpoint {
remote-endpoint = <&adv7125_out>;
port {
vga_in_adv7125: endpoint {
remote-endpoint = <&adv7125_out_vga>;
};
};
};
@@ -264,27 +265,33 @@
status = "okay";
};
&route_lvds {
status = "disabled";
};
&lvds {
&rgb {
status = "okay";
ports {
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
rgb_out: endpoint@0 {
reg = <0>;
remote-endpoint = <&adv7125_in>;
rgb_out_adv7125: endpoint {
remote-endpoint = <&adv7125_in_rgb>;
};
};
};
};
&rgb_in_vopl {
status = "okay";
};
&rgb_in_vopb {
status = "disabled";
};
&route_rgb {
connect = <&vopl_out_rgb>;
status = "disabled";
};
&hevc_service {
status = "okay";
};

View File

@@ -49,6 +49,40 @@
model = "PopMetal-RK3288";
compatible = "chipspark,popmetal-rk3288", "rockchip,rk3288";
panel {
compatible ="simple-panel";
power-supply = <&vcc_lcd>;
enable-gpios = <&gpio7 21 GPIO_ACTIVE_HIGH>;
enable-delay-ms = <10>;
ddc-i2c-bus = <&i2c2>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <74250000>;
hactive = <1280>;
vactive = <720>;
hback-porch = <220>;
hfront-porch = <120>;
vback-porch = <20>;
vfront-porch = <5>;
hsync-len = <40>;
vsync-len = <5>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
port {
panel_in_rgb: endpoint {
remote-endpoint = <&rgb_out_panel>;
};
};
};
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
clocks = <&rk808 1>;
@@ -225,43 +259,33 @@
status = "okay";
};
&route_lvds {
&rgb {
status = "okay";
};
&lvds {
status = "okay";
};
ports {
port@1 {
reg = <1>;
&lvds_panel {
status = "okay";
compatible ="simple-panel";
enable-gpios = <&gpio7 21 GPIO_ACTIVE_HIGH>;
enable-delay-ms = <10>;
power-supply = <&vcc_lcd>;
ddc-i2c-bus = <&i2c2>;
rockchip,output = "rgb";
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <74250000>;
hactive = <1280>;
vactive = <720>;
hback-porch = <220>;
hfront-porch = <120>;
vback-porch = <20>;
vfront-porch = <5>;
hsync-len = <40>;
vsync-len = <5>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
rgb_out_panel: endpoint {
remote-endpoint = <&panel_in_rgb>;
};
};
};
};
&rgb_in_vopl {
status = "okay";
};
&rgb_in_vopb {
status = "disabled";
};
&route_rgb {
connect = <&vopl_out_rgb>;
status = "okay";
};
&hevc_service {
status = "okay";
};

View File

@@ -152,7 +152,6 @@
compatible = "adi,adv7125";
psave-gpios = <&gpio7 21 GPIO_ACTIVE_HIGH>;
vdd-supply = <&vcc_lcd>;
rockchip,output = "rgb";
#address-cells = <1>;
#size-cells = <0>;
@@ -162,15 +161,17 @@
port@0 {
reg = <0>;
adv7125_in: endpoint {
remote-endpoint = <&rgb_out>;
adv7125_in_rgb: endpoint {
remote-endpoint = <&rgb_out_adv7125>;
};
};
port@1 {
reg = <1>;
adv7125_out: endpoint {
remote-endpoint = <&vga_in>;
adv7125_out_vga: endpoint {
remote-endpoint = <&vga_in_adv7125>;
};
};
};
@@ -180,9 +181,9 @@
compatible = "vga-connector";
ddc-i2c-bus = <&i2c2>;
port {
vga_in: endpoint {
remote-endpoint = <&adv7125_out>;
port {
vga_in_adv7125: endpoint {
remote-endpoint = <&adv7125_out_vga>;
};
};
};
@@ -246,27 +247,33 @@
status = "okay";
};
&route_lvds {
status = "disabled";
};
&lvds {
&rgb {
status = "okay";
ports {
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
rgb_out: endpoint@0 {
reg = <0>;
remote-endpoint = <&adv7125_in>;
rgb_out_adv7125: endpoint {
remote-endpoint = <&adv7125_in_rgb>;
};
};
};
};
&rgb_in_vopl {
status = "okay";
};
&rgb_in_vopb {
status = "disabled";
};
&route_rgb {
connect = <&vopl_out_rgb>;
status = "disabled";
};
&hevc_service {
status = "okay";
};