mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Since commit 26c9d152eb
("dt-bindings: tpm: Consolidate TCG TIS
bindings"), several issues are reported by "make dtbs_check" for arm64
devicetrees:
The compatible property needs to contain the chip's name in addition to
the generic "tcg,tpm_tis-spi" and the nodename needs to be "tpm@0"
rather than "cr50@0":
tpm@1: compatible: ['tcg,tpm_tis-spi'] is too short
from schema $id: http://devicetree.org/schemas/tpm/tcg,tpm_tis-spi.yaml#
cr50@0: $nodename:0: 'cr50@0' does not match '^tpm(@[0-9a-f]+)?$'
from schema $id: http://devicetree.org/schemas/tpm/google,cr50.yaml#
Fix these schema violations.
phyGATE-Tauri uses an Infineon SLB9670:
https://lore.kernel.org/all/ab45c82485fa272f74adf560cbb58ee60cc42689.camel@phytec.de/
Gateworks Venice uses an Atmel ATTPM20P:
https://trac.gateworks.com/wiki/tpm
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
96 lines
1.9 KiB
Plaintext
96 lines
1.9 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Google Gru-Bob Rev 4+ board device tree source
|
|
*
|
|
* Copyright 2018 Google, Inc
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "rk3399-gru-chromebook.dtsi"
|
|
|
|
/ {
|
|
model = "Google Bob";
|
|
compatible = "google,bob-rev13", "google,bob-rev12",
|
|
"google,bob-rev11", "google,bob-rev10",
|
|
"google,bob-rev9", "google,bob-rev8",
|
|
"google,bob-rev7", "google,bob-rev6",
|
|
"google,bob-rev5", "google,bob-rev4",
|
|
"google,bob", "google,gru", "rockchip,rk3399";
|
|
chassis-type = "convertible";
|
|
|
|
edp_panel: edp-panel {
|
|
compatible = "boe,nv101wxmn51";
|
|
backlight = <&backlight>;
|
|
power-supply = <&pp3300_disp>;
|
|
|
|
port {
|
|
panel_in_edp: endpoint {
|
|
remote-endpoint = <&edp_out_panel>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&ap_i2c_ts {
|
|
touchscreen: touchscreen@10 {
|
|
compatible = "elan,ekth3500";
|
|
reg = <0x10>;
|
|
interrupt-parent = <&gpio3>;
|
|
interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&touch_int_l &touch_reset_l>;
|
|
reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
&ap_i2c_tp {
|
|
trackpad: trackpad@15 {
|
|
compatible = "elan,ekth3000";
|
|
reg = <0x15>;
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&trackpad_int_l>;
|
|
wakeup-source;
|
|
};
|
|
};
|
|
|
|
&backlight {
|
|
pwms = <&cros_ec_pwm 0>;
|
|
};
|
|
|
|
&cpu_alert0 {
|
|
temperature = <65000>;
|
|
};
|
|
|
|
&cpu_alert1 {
|
|
temperature = <70000>;
|
|
};
|
|
|
|
&spi0 {
|
|
status = "okay";
|
|
|
|
tpm@0 {
|
|
compatible = "google,cr50";
|
|
reg = <0>;
|
|
interrupt-parent = <&gpio0>;
|
|
interrupts = <5 IRQ_TYPE_EDGE_RISING>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&h1_int_od_l>;
|
|
spi-max-frequency = <800000>;
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
tpm {
|
|
h1_int_od_l: h1-int-od-l {
|
|
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&wlan_host_wake_l {
|
|
/* Kevin has an external pull up, but Bob does not. */
|
|
rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
};
|