diff options
Diffstat (limited to 'zephyr/projects/nissa/nereid/keyboard.dts')
-rw-r--r-- | zephyr/projects/nissa/nereid/keyboard.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/zephyr/projects/nissa/nereid/keyboard.dts b/zephyr/projects/nissa/nereid/keyboard.dts new file mode 100644 index 0000000000..b9e9c21707 --- /dev/null +++ b/zephyr/projects/nissa/nereid/keyboard.dts @@ -0,0 +1,18 @@ +/* Copyright 2022 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/ { + kblight { + compatible = "cros-ec,kblight-pwm"; + pwms = <&pwm0 0 PWM_KHZ(10) PWM_POLARITY_NORMAL>; + }; +}; + +&pwm0 { + status = "okay"; + prescaler-cx = <PWM_PRESCALER_C4>; + pinctrl-0 = <&pwm0_gpa0_default>; + pinctrl-names = "default"; +}; |