mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
ef8375bea2
This adds support for Lairds upcoming SOM module, featuring Marvell WiFi and Bluetooth, 2Gb NAND / 1Gb LPDDR SDRAM, and an Atmel SAMA5D3 CPU. Signed-off-by: Ben Whitten <ben.whitten@lairdtech.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
91 lines
1.7 KiB
Plaintext
91 lines
1.7 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* at91-dvk_su60_somc_lcm.dtsi - Device Tree file for the DVK SOM60 LCD board
|
|
*
|
|
* Copyright (C) 2018 Laird,
|
|
* 2018 Ben Whitten <ben.whitten@lairdtech.com>
|
|
*
|
|
*/
|
|
|
|
/ {
|
|
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>;
|
|
status = "okay";
|
|
};
|
|
|
|
panel: panel {
|
|
compatible = "winstar,wf70gtiagdng0", "innolux,at070tn92", "simple-panel";
|
|
backlight = <&backlight>;
|
|
power-supply = <&vcc_lcd_reg>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
port@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0>;
|
|
|
|
panel_input: endpoint@0 {
|
|
reg = <0>;
|
|
remote-endpoint = <&hlcdc_panel_output>;
|
|
};
|
|
};
|
|
};
|
|
|
|
vcc_lcd_reg: fixedregulator_lcd {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "VCC LCM";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
board {
|
|
pinctrl_lcd_ctp_int: lcd_ctp_int {
|
|
atmel,pins =
|
|
<AT91_PIOC 28 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
|
|
ft5426@56 {
|
|
compatible = "focaltech,ft5426", "edt,edt-ft5406";
|
|
reg = <56>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_lcd_ctp_int>;
|
|
|
|
interrupt-parent = <&pioC>;
|
|
interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
touchscreen-size-x = <800>;
|
|
touchscreen-size-y = <480>;
|
|
};
|
|
};
|
|
|
|
&hlcdc {
|
|
status = "okay";
|
|
|
|
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>;
|
|
};
|
|
};
|
|
};
|
|
};
|