MIPS: DTS: jz4780: Account for Synopsys HDMI driver and LCD controllers
authorPaul Boddie <paul@boddie.org.uk>
Thu, 2 Dec 2021 18:39:50 +0000 (19:39 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 9 Dec 2021 17:09:04 +0000 (18:09 +0100)
A specialisation of the generic Synopsys HDMI driver is employed for
JZ4780 HDMI support. This requires a new driver, plus device tree and
configuration modifications.

Here we add jz4780 device tree setup.

Signed-off-by: Paul Boddie <paul@boddie.org.uk>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/ingenic/jz4780.dtsi

index b0a4e2e019c36ffdb1dd24e5dab94868032f8721..3f9ea47a10cd254b269a8e530a5f3cdb784a3d88 100644 (file)
                status = "disabled";
        };
 
+       hdmi: hdmi@10180000 {
+               compatible = "ingenic,jz4780-dw-hdmi";
+               reg = <0x10180000 0x8000>;
+               reg-io-width = <4>;
+
+               clocks = <&cgu JZ4780_CLK_AHB0>, <&cgu JZ4780_CLK_HDMI>;
+               clock-names = "iahb", "isfr";
+
+               interrupt-parent = <&intc>;
+               interrupts = <3>;
+
+               status = "disabled";
+       };
+
+       lcdc0: lcdc0@13050000 {
+               compatible = "ingenic,jz4780-lcd";
+               reg = <0x13050000 0x1800>;
+
+               clocks = <&cgu JZ4780_CLK_TVE>, <&cgu JZ4780_CLK_LCD0PIXCLK>;
+               clock-names = "lcd", "lcd_pclk";
+
+               interrupt-parent = <&intc>;
+               interrupts = <31>;
+
+               status = "disabled";
+       };
+
+       lcdc1: lcdc1@130a0000 {
+               compatible = "ingenic,jz4780-lcd";
+               reg = <0x130a0000 0x1800>;
+
+               clocks = <&cgu JZ4780_CLK_TVE>, <&cgu JZ4780_CLK_LCD1PIXCLK>;
+               clock-names = "lcd", "lcd_pclk";
+
+               interrupt-parent = <&intc>;
+               interrupts = <23>;
+
+               status = "disabled";
+       };
+
        nemc: nemc@13410000 {
                compatible = "ingenic,jz4780-nemc", "simple-mfd";
                reg = <0x13410000 0x10000>;