diff options
Diffstat (limited to 'zephyr/projects/herobrine/display.dts')
-rw-r--r-- | zephyr/projects/herobrine/display.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/zephyr/projects/herobrine/display.dts b/zephyr/projects/herobrine/display.dts new file mode 100644 index 0000000000..65d3a2d91b --- /dev/null +++ b/zephyr/projects/herobrine/display.dts @@ -0,0 +1,18 @@ +/* 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. + */ + +/ { + displight { + compatible = "cros-ec,displight"; + pwms = <&pwm5 0 PWM_HZ(4800) PWM_POLARITY_NORMAL>; + generic-pwm-channel = <1>; + }; +}; + +&pwm5 { + status = "okay"; + pinctrl-0 = <&pwm5_gpb7>; + pinctrl-names = "default"; +}; |