mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2024-12-04 16:45:43 +01:00
26 lines
386 B
Plaintext
26 lines
386 B
Plaintext
/ {
|
|
buttons {
|
|
compatible = "gpio-keys";
|
|
button1: button_1 {
|
|
gpios = <&gpio0 15 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
|
|
label = "button1";
|
|
};
|
|
};
|
|
aliases {
|
|
sw1 = &button1;
|
|
};
|
|
|
|
};
|
|
|
|
&mx25r64 {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
partition@0 {
|
|
label = "ens_storage";
|
|
reg = <0x0000000 0x00300000>;
|
|
};
|
|
};
|
|
}; |