Skip to content

Commit 9375100

Browse files
uiopaubotsbogend
authored andcommitted
MIPS: DTS: jz4780: Account for Synopsys HDMI driver and LCD controllers
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 <[email protected]> Signed-off-by: H. Nikolaus Schaller <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 21d638e commit 9375100

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

arch/mips/boot/dts/ingenic/jz4780.dtsi

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,46 @@
444444
status = "disabled";
445445
};
446446

447+
hdmi: hdmi@10180000 {
448+
compatible = "ingenic,jz4780-dw-hdmi";
449+
reg = <0x10180000 0x8000>;
450+
reg-io-width = <4>;
451+
452+
clocks = <&cgu JZ4780_CLK_AHB0>, <&cgu JZ4780_CLK_HDMI>;
453+
clock-names = "iahb", "isfr";
454+
455+
interrupt-parent = <&intc>;
456+
interrupts = <3>;
457+
458+
status = "disabled";
459+
};
460+
461+
lcdc0: lcdc0@13050000 {
462+
compatible = "ingenic,jz4780-lcd";
463+
reg = <0x13050000 0x1800>;
464+
465+
clocks = <&cgu JZ4780_CLK_TVE>, <&cgu JZ4780_CLK_LCD0PIXCLK>;
466+
clock-names = "lcd", "lcd_pclk";
467+
468+
interrupt-parent = <&intc>;
469+
interrupts = <31>;
470+
471+
status = "disabled";
472+
};
473+
474+
lcdc1: lcdc1@130a0000 {
475+
compatible = "ingenic,jz4780-lcd";
476+
reg = <0x130a0000 0x1800>;
477+
478+
clocks = <&cgu JZ4780_CLK_TVE>, <&cgu JZ4780_CLK_LCD1PIXCLK>;
479+
clock-names = "lcd", "lcd_pclk";
480+
481+
interrupt-parent = <&intc>;
482+
interrupts = <23>;
483+
484+
status = "disabled";
485+
};
486+
447487
nemc: nemc@13410000 {
448488
compatible = "ingenic,jz4780-nemc", "simple-mfd";
449489
reg = <0x13410000 0x10000>;

0 commit comments

Comments
 (0)