diff options
Diffstat (limited to 'zephyr/program/herobrine/hoglin/project.overlay')
-rw-r--r-- | zephyr/program/herobrine/hoglin/project.overlay | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/zephyr/program/herobrine/hoglin/project.overlay b/zephyr/program/herobrine/hoglin/project.overlay new file mode 100644 index 0000000000..e37a325654 --- /dev/null +++ b/zephyr/program/herobrine/hoglin/project.overlay @@ -0,0 +1,54 @@ +/* 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>; + }; +}; + +&i2c2_0 { + /delete-node/ ps8xxx@b; + tcpc_port1: ps8xxx@1b { + compatible = "parade,ps8xxx"; + reg = <0x1b>; + }; +}; |