summaryrefslogtreecommitdiff
path: root/zephyr/projects/herobrine/pwm.dts
blob: 13739eb1bee0c50933ca583a22caba936909319d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 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.
 */

/ {
	named-pwms {
		compatible = "named-pwms";

		displight: ecl_bl_pwm_r {
			pwms = <&pwm5 0 PWM_POLARITY_NORMAL>;
			frequency = <4800>;
		};
	};
};

/* Display backlight */
&pwm5 {
	status = "okay";
};