ARM: dts: rockchip: add rk3288 lvds node

Add the basic node for the lvds controller of rk3288 and hook it into the
display-subsystem hirarchy.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
(cherry picked from commit 519eb3b24a1200bf2166d71fdad1d2db20aaaa83)
This commit is contained in:
Heiko Stuebner
2015-04-01 12:09:45 +02:00
committed by Chris Zhong
parent 656c768a10
commit f19f45a1a9

View File

@@ -664,6 +664,10 @@
reg = <1>; reg = <1>;
remote-endpoint = <&hdmi_in_vopb>; remote-endpoint = <&hdmi_in_vopb>;
}; };
vopb_out_lvds: endpoint@2 {
reg = <2>;
remote-endpoint = <&lvds_in_vopb>;
};
}; };
}; };
@@ -699,7 +703,10 @@
reg = <1>; reg = <1>;
remote-endpoint = <&hdmi_in_vopl>; remote-endpoint = <&hdmi_in_vopl>;
}; };
vopl_out_lvds: endpoint@2 {
reg = <2>;
remote-endpoint = <&lvds_in_vopb>;
};
}; };
}; };
@@ -740,6 +747,38 @@
}; };
}; };
lvds: lvds@ff96c000 {
compatible = "rockchip,rk3288-lvds";
reg = <0xff96c000 0x4000>;
clocks = <&cru PCLK_LVDS_PHY>;
clock-names = "pclk_lvds";
pinctrl-names = "default";
pinctrl-0 = <&lcdc0_ctl>;
rockchip,grf = <&grf>;
status = "disabled";
ports {
#address-cells = <1>;
#size-cells = <0>;
lvds_in: port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
lvds_in_vopb: endpoint@0 {
reg = <0>;
remote-endpoint = <&vopb_out_lvds>;
};
lvds_in_vopl: endpoint@1 {
reg = <1>;
remote-endpoint = <&vopl_out_lvds>;
};
};
};
};
hdmi: hdmi@ff980000 { hdmi: hdmi@ff980000 {
compatible = "rockchip,rk3288-dw-hdmi"; compatible = "rockchip,rk3288-dw-hdmi";
reg = <0xff980000 0x20000>; reg = <0xff980000 0x20000>;