Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0-or-later
 2/*
 3 * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module
 4 *
 5 *  Copyright (C) 2014 Atmel,
 6 *                2014 Free Electrons
 7 *
 8 *  Author: Boris Brezillon <boris.brezillon@free-electrons.com>
 
 
 9 */
10
11/ {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12	backlight: backlight {
13		compatible = "pwm-backlight";
14		pwms = <&hlcdc_pwm 0 50000 0>;
15		brightness-levels = <0 4 8 16 32 64 128 255>;
16		default-brightness-level = <6>;
17		power-supply = <&bl_reg>;
18		status = "disabled";
19	};
20
21	bl_reg: backlight_regulator {
22		compatible = "regulator-fixed";
23		regulator-name = "backlight-power-supply";
24		regulator-min-microvolt = <5000000>;
25		regulator-max-microvolt = <5000000>;
26		status = "disabled";
27	};
28
29	panel: panel {
30		compatible = "foxlink,fl500wvr00-a0t";
31		backlight = <&backlight>;
32		power-supply = <&panel_reg>;
33		#address-cells = <1>;
34		#size-cells = <0>;
35		status = "disabled";
36
37		port@0 {
38			#address-cells = <1>;
39			#size-cells = <0>;
40
41			panel_input: endpoint@0 {
42				reg = <0>;
43				remote-endpoint = <&hlcdc_panel_output>;
44			};
45		};
46	};
47
48	panel_reg: panel_regulator {
49		compatible = "regulator-fixed";
50		regulator-name = "panel-power-supply";
51		regulator-min-microvolt = <3300000>;
52		regulator-max-microvolt = <3300000>;
53		status = "disabled";
54	};
55};
56
57&adc0 {
58	atmel,adc-ts-wires = <4>;
59	atmel,adc-ts-pressure-threshold = <10000>;
60	status = "okay";
61};
62
63&i2c0 {
64	keyboard@1b {
65		compatible = "qt1070";
66		reg = <0x1b>;
67		interrupt-parent = <&pioA>;
68		interrupts = <7 0x0>;
69		pinctrl-names = "default";
70		pinctrl-0 = <&pinctrl_qt1070_irq>;
71		wakeup-source;
72	};
73};
74
75&hlcdc {
76	hlcdc-display-controller {
77		pinctrl-names = "default";
78		pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
79
80		port@0 {
81			hlcdc_panel_output: endpoint@0 {
82				reg = <0>;
83				remote-endpoint = <&panel_input>;
84			};
85		};
86	};
87};
88
89&pinctrl {
90	board {
91		pinctrl_qt1070_irq: qt1070_irq {
92			atmel,pins =
93				<AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
94		};
95	};
96};
v4.10.11
 
  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			i2c0: i2c@f8010000 {
 16				qt1070: keyboard@1b {
 17					compatible = "qt1070";
 18					reg = <0x1b>;
 19					interrupt-parent = <&pioA>;
 20					interrupts = <7 0x0>;
 21					pinctrl-names = "default";
 22					pinctrl-0 = <&pinctrl_qt1070_irq>;
 23					wakeup-source;
 24				};
 25			};
 26
 27			hlcdc: hlcdc@f8038000 {
 28				hlcdc-display-controller {
 29					pinctrl-names = "default";
 30					pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
 31
 32					port@0 {
 33						hlcdc_panel_output: endpoint@0 {
 34							reg = <0>;
 35							remote-endpoint = <&panel_input>;
 36						};
 37					};
 38				};
 39			};
 40
 41			adc0: adc@f804c000 {
 42				atmel,adc-ts-wires = <4>;
 43				atmel,adc-ts-pressure-threshold = <10000>;
 44				status = "okay";
 45			};
 46
 47			pinctrl@fffff400 {
 48				board {
 49					pinctrl_qt1070_irq: qt1070_irq {
 50						atmel,pins =
 51							<AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
 52					};
 53				};
 54			};
 55		};
 56	};
 57
 58	backlight: backlight {
 59		compatible = "pwm-backlight";
 60		pwms = <&hlcdc_pwm 0 50000 0>;
 61		brightness-levels = <0 4 8 16 32 64 128 255>;
 62		default-brightness-level = <6>;
 63		power-supply = <&bl_reg>;
 64		status = "disabled";
 65	};
 66
 67	bl_reg: backlight_regulator {
 68		compatible = "regulator-fixed";
 69		regulator-name = "backlight-power-supply";
 70		regulator-min-microvolt = <5000000>;
 71		regulator-max-microvolt = <5000000>;
 72		status = "disabled";
 73	};
 74
 75	panel: panel {
 76		compatible = "foxlink,fl500wvr00-a0t", "simple-panel";
 77		backlight = <&backlight>;
 78		power-supply = <&panel_reg>;
 79		#address-cells = <1>;
 80		#size-cells = <0>;
 81		status = "disabled";
 82
 83		port@0 {
 84			#address-cells = <1>;
 85			#size-cells = <0>;
 86
 87			panel_input: endpoint@0 {
 88				reg = <0>;
 89				remote-endpoint = <&hlcdc_panel_output>;
 90			};
 91		};
 92	};
 93
 94	panel_reg: panel_regulator {
 95		compatible = "regulator-fixed";
 96		regulator-name = "panel-power-supply";
 97		regulator-min-microvolt = <3300000>;
 98		regulator-max-microvolt = <3300000>;
 99		status = "disabled";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100	};
101};