Blame view

arch/arm64/boot/dts/freescale/fsl-imx8mm-evk-revb-rm67191.dts 1.24 KB
81f7e3824   Eric Lee   Initial Release, ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
  /*
   * Copyright 2018 NXP
   *
   * This program is free software; you can redistribute it and/or
   * modify it under the terms of the GNU General Public License
   * as published by the Free Software Foundation; either version 2
   * of the License, or (at your option) any later version.
   *
   * This program is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
   */
  
  #include "fsl-imx8mm-evk-revb.dts"
  
  &adv_bridge {
  	status = "disabled";
  };
  
  &mipi_dsi {
  	panel@0 {
  		compatible = "raydium,rm67191";
  		reg = <0>;
  		pinctrl-0 = <&pinctrl_mipi_dsi_en>;
  		reset-gpio = <&gpio1 8 GPIO_ACTIVE_HIGH>;
  		dsi-lanes = <4>;
  		video-mode = <2>;	/* 0: burst mode
  					 * 1: non-burst mode with sync event
  					 * 2: non-burst mode with sync pulse
  					 */
  		panel-width-mm = <68>;
  		panel-height-mm = <121>;
  		status = "okay";
  	};
  };
  
  &i2c2 {
  	synaptics_dsx_ts@20 {
  		compatible = "synaptics_dsx";
  		reg = <0x20>;
  		pinctrl-names = "default";
  		pinctrl-0 = <&pinctrl_i2c2_synaptics_dsx_io>;
  		interrupt-parent = <&gpio1>;
  		interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
  		synaptics,diagonal-rotation;
  		status = "okay";
  	};
  };