/* Copyright 2022 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Herobrine program common DTS includes */ #include "../adc.dtsi" #include "../common.dtsi" #include "../i2c.dtsi" #include "../interrupts.dtsi" #include "../keyboard.dtsi" #include "../default_gpio_pinctrl.dtsi" #include "../usbc.dtsi" #include "../switchcap.dtsi" /* Hoglin project DTS includes*/ #include "gpio.dtsi" #include "led_pins.dtsi" #include "led_policy.dtsi" #include "motionsense.dtsi" /* hoglin overrides follow... */ /* battery overrides */ / { batteries { default_battery: 7c01 { compatible = "ganfeng,7c01", "battery-smart"; }; }; }; /* switchcap overrides */ &{/switchcap} { /delete-property/ power-good-pin; poff-delay-ms = <550>; }; /* i2c overrides */ &i2c1_0 { /delete-node/ ps8xxx@b; tcpc_port0: ps8xxx@1b { compatible = "parade,ps8xxx"; reg = <0x1b>; /* a duplicate of the <&gpio_usb_c0_pd_int_odl> node in * "named-gpios". This is the Zephyr preferred style, * the "named-gpios" node will be dealt with at a later date. */ irq-gpios = <&gpioe 0 GPIO_ACTIVE_LOW>; }; }; &i2c2_0 { /delete-node/ ps8xxx@b; tcpc_port1: ps8xxx@1b { compatible = "parade,ps8xxx"; reg = <0x1b>; /* a duplicate of the <&gpio_usb_c1_pd_int_odl> node in * "named-gpios". This is the Zephyr preferred style, * the "named-gpios" node will be dealt with at a later date. */ irq-gpios = <&gpiof 5 GPIO_ACTIVE_LOW>; }; };