Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Google Gru-Bob Rev 4+ board device tree source
0004  *
0005  * Copyright 2018 Google, Inc
0006  */
0007 
0008 /dts-v1/;
0009 #include "rk3399-gru-chromebook.dtsi"
0010 
0011 / {
0012         model = "Google Bob";
0013         compatible = "google,bob-rev13", "google,bob-rev12",
0014                      "google,bob-rev11", "google,bob-rev10",
0015                      "google,bob-rev9", "google,bob-rev8",
0016                      "google,bob-rev7", "google,bob-rev6",
0017                      "google,bob-rev5", "google,bob-rev4",
0018                      "google,bob", "google,gru", "rockchip,rk3399";
0019         chassis-type = "convertible";
0020 
0021         edp_panel: edp-panel {
0022                 compatible = "boe,nv101wxmn51";
0023                 backlight = <&backlight>;
0024                 power-supply = <&pp3300_disp>;
0025 
0026                 port {
0027                         panel_in_edp: endpoint {
0028                                 remote-endpoint = <&edp_out_panel>;
0029                         };
0030                 };
0031         };
0032 };
0033 
0034 &ap_i2c_ts {
0035         touchscreen: touchscreen@10 {
0036                 compatible = "elan,ekth3500";
0037                 reg = <0x10>;
0038                 interrupt-parent = <&gpio3>;
0039                 interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
0040                 pinctrl-names = "default";
0041                 pinctrl-0 = <&touch_int_l &touch_reset_l>;
0042                 reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
0043         };
0044 };
0045 
0046 &ap_i2c_tp {
0047         trackpad: trackpad@15 {
0048                 compatible = "elan,ekth3000";
0049                 reg = <0x15>;
0050                 interrupt-parent = <&gpio1>;
0051                 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
0052                 pinctrl-names = "default";
0053                 pinctrl-0 = <&trackpad_int_l>;
0054                 wakeup-source;
0055         };
0056 };
0057 
0058 &backlight {
0059         pwms = <&cros_ec_pwm 0>;
0060 };
0061 
0062 &cpu_alert0 {
0063         temperature = <65000>;
0064 };
0065 
0066 &cpu_alert1 {
0067         temperature = <70000>;
0068 };
0069 
0070 &spi0 {
0071         status = "okay";
0072 
0073         cr50@0 {
0074                 compatible = "google,cr50";
0075                 reg = <0>;
0076                 interrupt-parent = <&gpio0>;
0077                 interrupts = <5 IRQ_TYPE_EDGE_RISING>;
0078                 pinctrl-names = "default";
0079                 pinctrl-0 = <&h1_int_od_l>;
0080                 spi-max-frequency = <800000>;
0081         };
0082 };
0083 
0084 &pinctrl {
0085         tpm {
0086                 h1_int_od_l: h1-int-od-l {
0087                         rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
0088                 };
0089         };
0090 };
0091 
0092 &wlan_host_wake_l {
0093         /* Kevin has an external pull up, but Bob does not. */
0094         rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
0095 };