summaryrefslogtreecommitdiff
path: root/zephyr/projects/nissa/nereid_keyboard.dts
blob: a020a92ba90fc94159dec715ba6c4b7622f9397c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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_POLARITY_NORMAL>;
		frequency = <10000>;
	};
};

&pwm0 {
	status = "okay";
	prescaler-cx = <PWM_PRESCALER_C4>;
};