This commit is contained in:
4pplet 2020-11-09 22:18:15 +01:00 committed by Stefan Sundin
parent 553193b076
commit e7d7e53917
2 changed files with 27 additions and 4 deletions

View file

@ -21,7 +21,7 @@
vbat-sense-en { vbat-sense-en {
label = "VBAT_SENSE_EN"; label = "VBAT_SENSE_EN";
control-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; control-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
}; };
vbatt { // need to figure out the resistances vbatt { // need to figure out the resistances
@ -35,15 +35,15 @@
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
red_led: led_3 { red_led: led_3 {
gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
label = "Red LED"; label = "Red LED";
}; };
green_led: led_2 { green_led: led_2 {
gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
label = "Green LED"; label = "Green LED";
}; };
blue_led: led_1 { // also broken out on header con307 on cyber60-2 Rev A1 blue_led: led_1 { // also broken out on header con307 on cyber60-2 Rev A1
gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
label = "Blue LED"; label = "Blue LED";
}; };
}; };
@ -98,6 +98,14 @@ RC(5,0) RC(5,1) RC(5,2) RC(5,3) RC(5,4)
}; };
}; };
&gpio0 {
status = "okay";
};
&gpio1 {
status = "okay";
};
&adc { &adc {
status = "okay"; status = "okay";
}; };

View file

@ -0,0 +1,15 @@
identifier: cyber60_rev_a
name: Cyber60 Rev A
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- adc
- usb_device
- ble
- ieee802154
- pwm
- watchdog