xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rk3288-veyron-tiger.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Google Veyron Tiger Rev 0+ board device tree source
4*724ba675SRob Herring *
5*724ba675SRob Herring * Copyright 2016 Google, Inc
6*724ba675SRob Herring */
7*724ba675SRob Herring
8*724ba675SRob Herring/dts-v1/;
9*724ba675SRob Herring#include "rk3288-veyron-fievel.dts"
10*724ba675SRob Herring#include "rk3288-veyron-edp.dtsi"
11*724ba675SRob Herring
12*724ba675SRob Herring/ {
13*724ba675SRob Herring	model = "Google Tiger";
14*724ba675SRob Herring	compatible = "google,veyron-tiger-rev8", "google,veyron-tiger-rev7",
15*724ba675SRob Herring		     "google,veyron-tiger-rev6", "google,veyron-tiger-rev5",
16*724ba675SRob Herring		     "google,veyron-tiger-rev4", "google,veyron-tiger-rev3",
17*724ba675SRob Herring		     "google,veyron-tiger-rev2", "google,veyron-tiger-rev1",
18*724ba675SRob Herring		     "google,veyron-tiger-rev0", "google,veyron-tiger",
19*724ba675SRob Herring		     "google,veyron", "rockchip,rk3288";
20*724ba675SRob Herring
21*724ba675SRob Herring	/delete-node/ vcc18-lcd;
22*724ba675SRob Herring};
23*724ba675SRob Herring
24*724ba675SRob Herring&backlight {
25*724ba675SRob Herring	/* Tiger panel PWM must be >= 1%, so start non-zero brightness at 3 */
26*724ba675SRob Herring	brightness-levels = <3 255>;
27*724ba675SRob Herring	num-interpolated-steps = <252>;
28*724ba675SRob Herring};
29*724ba675SRob Herring
30*724ba675SRob Herring&backlight_regulator {
31*724ba675SRob Herring	vin-supply = <&vccsys>;
32*724ba675SRob Herring};
33*724ba675SRob Herring
34*724ba675SRob Herring&i2c3 {
35*724ba675SRob Herring	status = "okay";
36*724ba675SRob Herring
37*724ba675SRob Herring	clock-frequency = <400000>;
38*724ba675SRob Herring	i2c-scl-falling-time-ns = <50>;
39*724ba675SRob Herring	i2c-scl-rising-time-ns = <300>;
40*724ba675SRob Herring
41*724ba675SRob Herring	touchscreen@10 {
42*724ba675SRob Herring		compatible = "elan,ekth3500";
43*724ba675SRob Herring		reg = <0x10>;
44*724ba675SRob Herring		interrupt-parent = <&gpio2>;
45*724ba675SRob Herring		interrupts = <RK_PB6 IRQ_TYPE_EDGE_FALLING>;
46*724ba675SRob Herring		pinctrl-names = "default";
47*724ba675SRob Herring		pinctrl-0 = <&touch_int &touch_rst>;
48*724ba675SRob Herring		reset-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_LOW>;
49*724ba675SRob Herring		vcc33-supply = <&vcc33_io>;
50*724ba675SRob Herring		vccio-supply = <&vcc33_io>;
51*724ba675SRob Herring		wakeup-source;
52*724ba675SRob Herring	};
53*724ba675SRob Herring};
54*724ba675SRob Herring
55*724ba675SRob Herring&panel {
56*724ba675SRob Herring	compatible = "auo,b101ean01";
57*724ba675SRob Herring
58*724ba675SRob Herring	/delete-node/ panel-timing;
59*724ba675SRob Herring
60*724ba675SRob Herring	panel-timing {
61*724ba675SRob Herring		clock-frequency = <66666667>;
62*724ba675SRob Herring		hactive = <1280>;
63*724ba675SRob Herring		hfront-porch = <18>;
64*724ba675SRob Herring		hback-porch = <21>;
65*724ba675SRob Herring		hsync-len = <32>;
66*724ba675SRob Herring		vactive = <800>;
67*724ba675SRob Herring		vfront-porch = <4>;
68*724ba675SRob Herring		vback-porch = <8>;
69*724ba675SRob Herring		vsync-len = <18>;
70*724ba675SRob Herring	};
71*724ba675SRob Herring};
72*724ba675SRob Herring
73*724ba675SRob Herring&pinctrl {
74*724ba675SRob Herring	lcd {
75*724ba675SRob Herring		/delete-node/ avdd-1v8-disp-en;
76*724ba675SRob Herring	};
77*724ba675SRob Herring
78*724ba675SRob Herring	touchscreen {
79*724ba675SRob Herring		touch_int: touch-int {
80*724ba675SRob Herring			rockchip,pins = <2 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
81*724ba675SRob Herring		};
82*724ba675SRob Herring
83*724ba675SRob Herring		touch_rst: touch-rst {
84*724ba675SRob Herring			rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
85*724ba675SRob Herring		};
86*724ba675SRob Herring	};
87*724ba675SRob Herring};
88