1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Google Gru-Bob Rev 4+ board device tree sou 3 * Google Gru-Bob Rev 4+ board device tree source 4 * 4 * 5 * Copyright 2018 Google, Inc 5 * Copyright 2018 Google, Inc 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 #include "rk3399-gru-chromebook.dtsi" 9 #include "rk3399-gru-chromebook.dtsi" 10 10 11 / { 11 / { 12 model = "Google Bob"; 12 model = "Google Bob"; 13 compatible = "google,bob-rev13", "goog 13 compatible = "google,bob-rev13", "google,bob-rev12", 14 "google,bob-rev11", "goog 14 "google,bob-rev11", "google,bob-rev10", 15 "google,bob-rev9", "googl 15 "google,bob-rev9", "google,bob-rev8", 16 "google,bob-rev7", "googl 16 "google,bob-rev7", "google,bob-rev6", 17 "google,bob-rev5", "googl 17 "google,bob-rev5", "google,bob-rev4", 18 "google,bob", "google,gru 18 "google,bob", "google,gru", "rockchip,rk3399"; 19 chassis-type = "convertible"; << 20 19 21 edp_panel: edp-panel { 20 edp_panel: edp-panel { 22 compatible = "boe,nv101wxmn51" !! 21 compatible = "boe,nv101wxmn51", "simple-panel"; 23 backlight = <&backlight>; 22 backlight = <&backlight>; 24 power-supply = <&pp3300_disp>; 23 power-supply = <&pp3300_disp>; 25 24 26 port { 25 port { 27 panel_in_edp: endpoint 26 panel_in_edp: endpoint { 28 remote-endpoin 27 remote-endpoint = <&edp_out_panel>; 29 }; 28 }; 30 }; 29 }; 31 }; 30 }; 32 }; 31 }; 33 32 34 &ap_i2c_ts { 33 &ap_i2c_ts { 35 touchscreen: touchscreen@10 { 34 touchscreen: touchscreen@10 { 36 compatible = "elan,ekth3500"; 35 compatible = "elan,ekth3500"; 37 reg = <0x10>; 36 reg = <0x10>; 38 interrupt-parent = <&gpio3>; 37 interrupt-parent = <&gpio3>; 39 interrupts = <13 IRQ_TYPE_LEVE 38 interrupts = <13 IRQ_TYPE_LEVEL_LOW>; 40 pinctrl-names = "default"; 39 pinctrl-names = "default"; 41 pinctrl-0 = <&touch_int_l &tou 40 pinctrl-0 = <&touch_int_l &touch_reset_l>; 42 reset-gpios = <&gpio4 26 GPIO_ 41 reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>; 43 }; 42 }; 44 }; 43 }; 45 44 46 &ap_i2c_tp { 45 &ap_i2c_tp { 47 trackpad: trackpad@15 { 46 trackpad: trackpad@15 { 48 compatible = "elan,ekth3000"; 47 compatible = "elan,ekth3000"; 49 reg = <0x15>; 48 reg = <0x15>; 50 interrupt-parent = <&gpio1>; 49 interrupt-parent = <&gpio1>; 51 interrupts = <4 IRQ_TYPE_LEVEL 50 interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 52 pinctrl-names = "default"; 51 pinctrl-names = "default"; 53 pinctrl-0 = <&trackpad_int_l>; 52 pinctrl-0 = <&trackpad_int_l>; 54 wakeup-source; 53 wakeup-source; 55 }; 54 }; 56 }; 55 }; 57 56 58 &backlight { 57 &backlight { 59 pwms = <&cros_ec_pwm 0>; 58 pwms = <&cros_ec_pwm 0>; 60 }; 59 }; 61 60 62 &cpu_alert0 { 61 &cpu_alert0 { 63 temperature = <65000>; 62 temperature = <65000>; 64 }; 63 }; 65 64 66 &cpu_alert1 { 65 &cpu_alert1 { 67 temperature = <70000>; 66 temperature = <70000>; 68 }; 67 }; 69 68 70 &spi0 { 69 &spi0 { 71 status = "okay"; 70 status = "okay"; 72 << 73 tpm@0 { << 74 compatible = "google,cr50"; << 75 reg = <0>; << 76 interrupt-parent = <&gpio0>; << 77 interrupts = <5 IRQ_TYPE_EDGE_ << 78 pinctrl-names = "default"; << 79 pinctrl-0 = <&h1_int_od_l>; << 80 spi-max-frequency = <800000>; << 81 }; << 82 }; 71 }; 83 72 84 &pinctrl { 73 &pinctrl { 85 tpm { 74 tpm { 86 h1_int_od_l: h1-int-od-l { 75 h1_int_od_l: h1-int-od-l { 87 rockchip,pins = <0 RK_ 76 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 88 }; 77 }; 89 }; 78 }; 90 }; 79 }; 91 80 92 &wlan_host_wake_l { 81 &wlan_host_wake_l { 93 /* Kevin has an external pull up, but 82 /* Kevin has an external pull up, but Bob does not. */ 94 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO 83 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; 95 }; 84 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.