Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wakeup-source and remove some labels. #16

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions boards/arm/zaphod/zaphod.dts
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@
compatible = "gpio-leds";
blue_led: led_0 {
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
label = "Blue LED";
};
};

vbatt: vbatt {
compatible = "zmk,battery-voltage-divider";
label = "BATTERY";
io-channels = <&adc 7>;
output-ohms = <2000000>;
full-ohms = <(2000000 + 806000)>;
Expand All @@ -75,7 +73,8 @@

kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN";
wakeup-source;

debounce-press-ms = <1>;
debounce-release-ms = <5>;

Expand Down Expand Up @@ -130,7 +129,6 @@

ls0xx: ls0xx@0 {
compatible = "sharp,ls0xx";
label = "DISPLAY";
spi-max-frequency = <2000000>;
reg = <0>;
width = <144>;
Expand All @@ -144,7 +142,6 @@
compatible = "nordic,nrf-usbd";
cdc_acm_uart: cdc_acm_uart {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};

Expand All @@ -160,21 +157,17 @@
#size-cells = <1>;

sd_partition: partition@0 {
label = "mbr";
reg = <0x00000000 0x00001000>;
};
code_partition: partition@1000 {
label = "code_partition";
reg = <0x00001000 0x000d3000>;
};

storage_partition: partition@d4000 {
label = "storage";
reg = <0x000d4000 0x00020000>;
};

boot_partition: partition@f4000 {
label = "adafruit_boot";
reg = <0x000f4000 0x0000c000>;
};
};
Expand Down
4 changes: 1 addition & 3 deletions boards/shields/zaphod_lite/zaphod_lite.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@
gpio-controller;
spi-max-frequency = <200000>;
reg = <0>;
label = "4HC595";
#gpio-cells = <2>;
ngpios = <8>;
};

ls0xx: ls0xx@1 {
compatible = "sharp,ls0xx";
label = "DISPLAY";
spi-max-frequency = <2000000>;
reg = <1>;
width = <144>;
Expand Down Expand Up @@ -61,7 +59,7 @@

kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN";
wakeup-source;

debounce-press-ms = <1>;
debounce-release-ms = <5>;
Expand Down
Loading