1 // SPDX-License-Identifier: BSD-3-Clause
3 * sc7280 EC/H1 over SPI (common between IDP2 and CRD)
5 * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
11 pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs_gpio_init_high>, <&qup_spi10_cs_gpio>;
12 cs-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
15 compatible = "google,cros-ec-spi";
17 interrupt-parent = <&tlmm>;
18 interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
19 pinctrl-names = "default";
20 pinctrl-0 = <&ap_ec_int_l>;
21 spi-max-frequency = <3000000>;
24 compatible = "google,cros-ec-pwm";
28 i2c_tunnel: i2c-tunnel {
29 compatible = "google,cros-ec-i2c-tunnel";
30 google,remote-bus = <0>;
36 compatible = "google,cros-ec-typec";
41 compatible = "usb-c-connector";
46 try-power-role = "source";
50 compatible = "usb-c-connector";
55 try-power-role = "source";
61 #include <arm/cros-ec-keyboard.dtsi>
62 #include <arm/cros-ec-sbs.dtsi>
67 pinctrl-0 = <&qup_spi14_data_clk>, <&qup_spi14_cs_gpio_init_high>, <&qup_spi14_cs_gpio>;
68 cs-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
71 compatible = "google,cr50";
73 pinctrl-names = "default";
74 pinctrl-0 = <&h1_ap_int_odl>;
75 spi-max-frequency = <800000>;
76 interrupt-parent = <&tlmm>;
77 interrupts = <104 IRQ_TYPE_EDGE_RISING>;
82 ap_ec_int_l: ap-ec-int-l-state {
88 h1_ap_int_odl: h1-ap-int-odl-state {
94 qup_spi10_cs_gpio_init_high: qup-spi10-cs-gpio-init-high-state {
100 qup_spi14_cs_gpio_init_high: qup-spi14-cs-gpio-init-high-state {