samples: led_apa102: overlay and config for blueclover_plt_demo_v2
Added dts overlay and config to support using samples/driver/apa201 with blueclover_plt_demo_v2_nrf52832. Signed-off-by: Jeremy Wood <jeremy@bcdevices.com>
This commit is contained in:
parent
07056736fc
commit
8068ab5261
|
@ -0,0 +1,2 @@
|
|||
# Enable LED 5V Regulator
|
||||
CONFIG_REGULATOR=y
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2021 Blue Clover
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
led_pwr: led-pwr-ctrl {
|
||||
compatible = "regulator-fixed-sync", "regulator-fixed";
|
||||
label = "led-pwr-ctrl";
|
||||
regulator-name = "led-pwr-ctrl";
|
||||
enable-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
|
||||
regulator-boot-on;
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue