diff options
author | Nick <nick.win999@gmail.com> | 2020-11-08 15:05:13 -0600 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-11-10 23:14:38 -0500 |
commit | 91e3a7d75a961db68aa8bbc7a8836695748b961e (patch) | |
tree | f0cc05821a5d31054415a9577a2785b8cb2fc1a1 /app/boards/arm/bluemicro840 | |
parent | ae51000d60c301d7780211373e4a31add20c9f87 (diff) |
boards: Cleanup and standardize features
Diffstat (limited to 'app/boards/arm/bluemicro840')
-rw-r--r-- | app/boards/arm/bluemicro840/bluemicro840_v1.dts | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/app/boards/arm/bluemicro840/bluemicro840_v1.dts b/app/boards/arm/bluemicro840/bluemicro840_v1.dts index 141dbe1..18dff1a 100644 --- a/app/boards/arm/bluemicro840/bluemicro840_v1.dts +++ b/app/boards/arm/bluemicro840/bluemicro840_v1.dts @@ -14,9 +14,6 @@ chosen { zephyr,code-partition = &code_partition; - // zephyr,console = &uart0; - //zephyr,bt-mon-uart = &uart0; - //zephyr,bt-c2h-uart = &uart0; zephyr,sram = &sram0; zephyr,flash = &flash0; }; @@ -29,6 +26,12 @@ }; }; + ext-power { + compatible = "zmk,ext-power-generic"; + label = "EXT_POWER"; + control-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; + }; + vbatt { compatible = "zmk,battery-voltage-divider"; label = "BATTERY"; @@ -43,6 +46,10 @@ status = "okay"; }; +&gpiote { + status = "okay"; +}; + &gpio0 { status = "okay"; }; @@ -61,10 +68,10 @@ compatible = "nordic,nrf-uarte"; status = "okay"; current-speed = <115200>; - tx-pin = <39>; - rx-pin = <34>; - rts-pin = <33>; - cts-pin = <12>; + tx-pin = <19>; + rx-pin = <21>; + rts-pin = <23>; + cts-pin = <25>; }; &usbd { |