summaryrefslogtreecommitdiff
path: root/zephyr/projects/herobrine/display.dts
blob: 6f28e7e81ae4a96056a2f2fbf6da1da900970d8f (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.
 */

/ {
	displight {
		compatible = "cros-ec,displight";
		pwms = <&pwm5 0 PWM_HZ(4800) PWM_POLARITY_NORMAL>;
		frequency = <4800>;
		generic-pwm-channel = <1>;
	};
};

&pwm5 {
	status = "okay";
	pinctrl-0 = <&pwm5_gpb7>;
	pinctrl-names = "default";
};