1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Google Gru-Bob Rev 4+ board device tree source
4 *
5 * Copyright 2018 Google, Inc
6 */
7
8/dts-v1/;
9#include "rk3399-gru-chromebook.dtsi"
10
11/ {
12	model = "Google Bob";
13	compatible = "google,bob-rev13", "google,bob-rev12",
14		     "google,bob-rev11", "google,bob-rev10",
15		     "google,bob-rev9", "google,bob-rev8",
16		     "google,bob-rev7", "google,bob-rev6",
17		     "google,bob-rev5", "google,bob-rev4",
18		     "google,bob", "google,gru", "rockchip,rk3399";
19
20	edp_panel: edp-panel {
21		compatible = "boe,nv101wxmn51", "simple-panel";
22		backlight = <&backlight>;
23		power-supply = <&pp3300_disp>;
24
25		port {
26			panel_in_edp: endpoint {
27				remote-endpoint = <&edp_out_panel>;
28			};
29		};
30	};
31};
32
33&ap_i2c_ts {
34	touchscreen: touchscreen@10 {
35		compatible = "elan,ekth3500";
36		reg = <0x10>;
37		interrupt-parent = <&gpio3>;
38		interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
39		pinctrl-names = "default";
40		pinctrl-0 = <&touch_int_l &touch_reset_l>;
41		reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
42	};
43};
44
45&ap_i2c_tp {
46	trackpad: trackpad@15 {
47		compatible = "elan,ekth3000";
48		reg = <0x15>;
49		interrupt-parent = <&gpio1>;
50		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
51		pinctrl-names = "default";
52		pinctrl-0 = <&trackpad_int_l>;
53		wakeup-source;
54	};
55};
56
57&backlight {
58	pwms = <&cros_ec_pwm 0>;
59};
60
61&cpu_alert0 {
62	temperature = <65000>;
63};
64
65&cpu_alert1 {
66	temperature = <70000>;
67};
68
69&spi0 {
70	status = "okay";
71};
72
73&pinctrl {
74	tpm {
75		h1_int_od_l: h1-int-od-l {
76			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
77		};
78	};
79};
80