[RFC 2/4] ARM: dove: add video card node for SolidRun CuBox

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Sat May 18 10:12:17 PDT 2013


This adds a video card node required for rmk's dove_drm driver. Reg
property matches reserved memory region (currently 16M at top of memory),
clocks property should carry extclk0 for now.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
---
Cc: Russell King <linux at arm.linux.org.uk>
Cc: linux-arm-kernel at lists.infradead.org
Cc: dri-devel at lists.freedesktop.org
Cc: Jason Cooper <jason at lakedaemon.net>
Cc: Jean-Francois Moine <moinejf at free.fr>
---
 arch/arm/boot/dts/dove-cubox.dts |   16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts
index ed2b7b2..f26d0d2 100644
--- a/arch/arm/boot/dts/dove-cubox.dts
+++ b/arch/arm/boot/dts/dove-cubox.dts
@@ -8,7 +8,7 @@
 
 	memory {
 		device_type = "memory";
-		reg = <0x00000000 0x40000000>;
+		reg = <0x00000000 0x3f000000>;
 	};
 
 	chosen {
@@ -52,10 +52,24 @@
 			#clock-cells = <0>;
 		};
 	};
+
+	video {
+		compatible = "simple-bus";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		vcard: video-card {
+			compatible = "marvell,dove-video-card";
+			reg = <0x3f000000 0x1000000>;
+			clocks = <&si5351 0>, <&si5351 0>;
+		};
+	};
 };
 
 &uart0 { status = "okay"; };
 &sata0 { status = "okay"; };
+&lcd0 { status = "okay"; };
 
 &i2c0 {
 	status = "okay";
-- 
1.7.10.4



More information about the dri-devel mailing list