Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: at91/dt: add at91sam9x5-ek Display Module dtsi

All the at91sam9x5-ek share the share display module, add a dtsi to
describe it.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

authored by

Boris Brezillon and committed by
Alexandre Belloni
0171d1d8 c052a72a

+74
+74
arch/arm/boot/dts/at91sam9x5dm.dtsi
··· 1 + /* 2 + * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module 3 + * 4 + * Copyright (C) 2014 Atmel, 5 + * 2014 Free Electrons 6 + * 7 + * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 8 + * 9 + * Licensed under GPLv2 or later. 10 + */ 11 + 12 + / { 13 + ahb { 14 + apb { 15 + hlcdc: hlcdc@f8038000 { 16 + hlcdc-display-controller { 17 + pinctrl-names = "default"; 18 + pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>; 19 + 20 + port@0 { 21 + hlcdc_panel_output: endpoint@0 { 22 + reg = <0>; 23 + remote-endpoint = <&panel_input>; 24 + }; 25 + }; 26 + }; 27 + }; 28 + }; 29 + }; 30 + 31 + backlight: backlight { 32 + compatible = "pwm-backlight"; 33 + pwms = <&hlcdc_pwm 0 50000 0>; 34 + brightness-levels = <0 4 8 16 32 64 128 255>; 35 + default-brightness-level = <6>; 36 + power-supply = <&bl_reg>; 37 + status = "disabled"; 38 + }; 39 + 40 + bl_reg: backlight_regulator { 41 + compatible = "regulator-fixed"; 42 + regulator-name = "backlight-power-supply"; 43 + regulator-min-microvolt = <5000000>; 44 + regulator-max-microvolt = <5000000>; 45 + status = "disabled"; 46 + }; 47 + 48 + panel: panel { 49 + compatible = "foxlink,fl500wvr00-a0t", "simple-panel"; 50 + backlight = <&backlight>; 51 + power-supply = <&panel_reg>; 52 + #address-cells = <1>; 53 + #size-cells = <0>; 54 + status = "disabled"; 55 + 56 + port@0 { 57 + #address-cells = <1>; 58 + #size-cells = <0>; 59 + 60 + panel_input: endpoint@0 { 61 + reg = <0>; 62 + remote-endpoint = <&hlcdc_panel_output>; 63 + }; 64 + }; 65 + }; 66 + 67 + panel_reg: panel_regulator { 68 + compatible = "regulator-fixed"; 69 + regulator-name = "panel-power-supply"; 70 + regulator-min-microvolt = <3300000>; 71 + regulator-max-microvolt = <3300000>; 72 + status = "disabled"; 73 + }; 74 + };