ARM64: dts: rk3399: android: Enable rga device
authorZhiqin Wei <wzq@rock-chips.com>
Wed, 13 Apr 2016 10:41:10 +0000 (18:41 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Thu, 28 Apr 2016 03:59:39 +0000 (11:59 +0800)
Change-Id: I7c348158c410b8bd32a574a607a975fe5e8b74a5
Signed-off-by: Zhiqin Wei <wzq@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-evb1-android.dts
arch/arm64/boot/dts/rockchip/rk3399-fb.dtsi

index f7375fd195cc834483b98e1419b84bcc0b219ad7..05da8bbd0f6a427661b45f48da9e5257bf3dd021 100644 (file)
        status = "okay";
 };
 
+&rga {
+       status = "okay";
+};
+
 &hdmi_rk_fb {
        status = "disabled";
 };
index eca5c0cca945d5824f163bf2ddfd80aac6ad5969..1679a0ee27d0a61558bc6aa2548f406fc35ef5b5 100644 (file)
                status = "disabled";
        };
 
+       rga: rga@ff680000 {
+               compatible = "rockchip,rga2";
+               dev_mode = <1>;
+               reg = <0x0 0xff680000 0x0 0x1000>;
+               interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>;
+               clock-names = "aclk_rga", "hclk_rga", "clk_rga";
+               status = "disabled";
+       };
+
        fb: fb {
                compatible = "rockchip,rk-fb";
                rockchip,disp-mode = <DUAL>;