2014-07-31 15:34:54 +08:00
|
|
|
/*
|
|
|
|
* 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 {
|
2015-03-26 00:31:09 +08:00
|
|
|
i2c0: i2c@f8010000 {
|
|
|
|
qt1070: keyboard@1b {
|
|
|
|
compatible = "qt1070";
|
|
|
|
reg = <0x1b>;
|
|
|
|
interrupt-parent = <&pioA>;
|
|
|
|
interrupts = <7 0x0>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_qt1070_irq>;
|
|
|
|
wakeup-source;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-07-31 15:34:54 +08:00
|
|
|
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>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-08-01 05:17:10 +08:00
|
|
|
|
|
|
|
adc0: adc@f804c000 {
|
|
|
|
atmel,adc-ts-wires = <4>;
|
|
|
|
atmel,adc-ts-pressure-threshold = <10000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2015-03-26 00:31:09 +08:00
|
|
|
|
|
|
|
pinctrl@fffff400 {
|
|
|
|
board {
|
|
|
|
pinctrl_qt1070_irq: qt1070_irq {
|
|
|
|
atmel,pins =
|
|
|
|
<AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2014-07-31 15:34:54 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|