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

&pwm0 {
	status = "okay";
	prescaler-cx = <PWM_PRESCALER_C4>;
	pinctrl-0 = <&pwm0_gpa0_default>;
	pinctrl-names = "default";
};