-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Boris Brezillon
authored and
Alexandre Belloni
committed
Aug 7, 2015
1 parent
c052a72
commit 0171d1d
Showing
1 changed file
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
/* | ||
* at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module | ||
* | ||
* Copyright (C) 2014 Atmel, | ||
* 2014 Free Electrons | ||
* | ||
* Author: Boris Brezillon <boris.brezillon@free-electrons.com> | ||
* | ||
* Licensed under GPLv2 or later. | ||
*/ | ||
|
||
/ { | ||
ahb { | ||
apb { | ||
hlcdc: hlcdc@f8038000 { | ||
hlcdc-display-controller { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>; | ||
|
||
port@0 { | ||
hlcdc_panel_output: endpoint@0 { | ||
reg = <0>; | ||
remote-endpoint = <&panel_input>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
backlight: backlight { | ||
compatible = "pwm-backlight"; | ||
pwms = <&hlcdc_pwm 0 50000 0>; | ||
brightness-levels = <0 4 8 16 32 64 128 255>; | ||
default-brightness-level = <6>; | ||
power-supply = <&bl_reg>; | ||
status = "disabled"; | ||
}; | ||
|
||
bl_reg: backlight_regulator { | ||
compatible = "regulator-fixed"; | ||
regulator-name = "backlight-power-supply"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
status = "disabled"; | ||
}; | ||
|
||
panel: panel { | ||
compatible = "foxlink,fl500wvr00-a0t", "simple-panel"; | ||
backlight = <&backlight>; | ||
power-supply = <&panel_reg>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
status = "disabled"; | ||
|
||
port@0 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
panel_input: endpoint@0 { | ||
reg = <0>; | ||
remote-endpoint = <&hlcdc_panel_output>; | ||
}; | ||
}; | ||
}; | ||
|
||
panel_reg: panel_regulator { | ||
compatible = "regulator-fixed"; | ||
regulator-name = "panel-power-supply"; | ||
regulator-min-microvolt = <3300000>; | ||
regulator-max-microvolt = <3300000>; | ||
status = "disabled"; | ||
}; | ||
}; |