summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts23
1 files changed, 9 insertions, 14 deletions
diff --git a/zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts b/zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts
index 1c24c1cf45..d106ece265 100644
--- a/zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts
+++ b/zephyr/boards/riscv/it8xxx2_evb/it8xxx2_evb.dts
@@ -20,6 +20,15 @@
zephyr,flash-controller = &flashctrl;
};
+ pwmleds {
+ compatible = "pwm-leds";
+
+ /* NOTE: &pwm number needs same with channel number */
+ pwm_led_test: pwm_led_test {
+ pwms = <&pwm0 PWM_CHANNEL_0 PWM_POLARITY_NORMAL>;
+ };
+ };
+
aliases {
gpio-wp = &gpio_wp;
};
@@ -142,20 +151,6 @@
};
};
- named-pwms {
- compatible = "named-pwms";
-
- /* NOTE: &pwm number needs same with channel number */
- pwm_test: test {
- pwms = <&pwm0 PWM_CHANNEL_0 PWM_POLARITY_NORMAL>;
- /*
- * If we need pwm output in ITE chip power saving
- * mode, then we should set frequency <=324Hz.
- */
- frequency = <324>;
- };
- };
-
named-fans {
compatible = "named-fans";