[BACK]Return to at91-dvk_su60_somc_lcm.dtsi CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / external / gpl2 / dts / dist / arch / arm / boot / dts

File: [cvs.NetBSD.org] / src / sys / external / gpl2 / dts / dist / arch / arm / boot / dts / at91-dvk_su60_somc_lcm.dtsi (download)

Revision 1.1.1.1 (vendor branch), Tue Jan 22 14:57:02 2019 UTC (5 years, 2 months ago) by jmcneill
Branch: MAIN, LINUX
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, linux-5_1_4, linux-5-5-rc4, linux-4_20_3, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.1: +0 -0 lines

Import dts from Linux 4.20.3

// 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@38 {
		compatible = "focaltech,ft5426", "edt,edt-ft5406";
		reg = <0x38>;
		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>;
			};
		};
	};
};