rk312x dts: different lcdc dt node config for rk3126 and rk3128

This commit is contained in:
zwl
2014-07-31 20:02:14 +08:00
parent 2dee5b5201
commit 63dd03ea17
3 changed files with 36 additions and 23 deletions

13
arch/arm/boot/dts/rk3126-sdk.dts Normal file → Executable file
View File

@@ -3,3 +3,16 @@
/ {
compatible = "rockchip,rk3126";
};
&lcdc {
status = "okay";
power_ctr: power_ctr {
rockchip,debug = <0>;
lcd_en: lcd_en {
rockchip,power_type = <GPIO>;
gpios = <&gpio1 GPIO_B3 GPIO_ACTIVE_HIGH>;
rockchip,delay = <10>;
};
};
};

13
arch/arm/boot/dts/rk3128-sdk.dts Normal file → Executable file
View File

@@ -3,3 +3,16 @@
/ {
compatible = "rockchip,rk3128";
};
&lcdc {
status = "okay";
power_ctr: power_ctr {
rockchip,debug = <0>;
lcd_en: lcd_en {
rockchip,power_type = <GPIO>;
gpios = <&gpio0 GPIO_D1 GPIO_ACTIVE_HIGH>;
rockchip,delay = <10>;
};
};
};

33
arch/arm/boot/dts/rk312x-sdk.dtsi Normal file → Executable file
View File

@@ -143,31 +143,18 @@
};
};
&fb {
rockchip,disp-mode = <ONE_DUAL>;
rockchip,uboot-logo-on = <0>;
};
&fb {
rockchip,disp-mode = <ONE_DUAL>;
rockchip,uboot-logo-on = <0>;
};
&rk_screen {
display-timings = <&disp_timings>;
};
&rk_screen {
display-timings = <&disp_timings>;
};
&lcdc {
status = "okay";
power_ctr: power_ctr {
rockchip,debug = <0>;
lcd_en: lcd_en {
rockchip,power_type = <GPIO>;
gpios = <&gpio1 GPIO_B3 GPIO_ACTIVE_HIGH>;
rockchip,delay = <10>;
};
};
};
&hdmi {
status = "okay";
};
&hdmi {
status = "okay";
};
/include/ "rk818.dtsi"
&rk818 {