/dts-v1/;
#include "meson-s4.dtsi"
+#include <dt-bindings/leds/common.h>
/ {
model = "Khadas VIM1S";
reset-gpios = <&gpio GPIOB_9 GPIO_ACTIVE_LOW>;
};
+ pwm-leds {
+ compatible = "pwm-leds";
+
+ led-1 {
+ color = <LED_COLOR_ID_WHITE>;
+ function = LED_FUNCTION_STATUS;
+ linux,default-trigger = "heartbeat";
+ max-brightness = <255>;
+ pwms = <&pwm_gh 0 30040 0>;
+ };
+ };
+
sdio_32k: sdio-32k {
compatible = "pwm-clock";
#clock-cells = <0>;
pinctrl-names = "default";
};
+&pwm_gh {
+ status = "okay";
+ pinctrl-0 = <&pwm_g_pins1>;
+ pinctrl-names = "default";
+};
+
&pwm_ij {
status = "okay";
};