forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Telink] Disable LEDs for retention board
- Loading branch information
1 parent
0ce9805
commit e187ffb
Showing
23 changed files
with
86 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/ { | ||
/* | ||
* There is no way to keep GPIOs | ||
* during deep-sleep mode so output GPIOs | ||
* and PWM's are useless. | ||
*/ | ||
|
||
aliases { | ||
/delete-property/ led0; | ||
/delete-property/ led1; | ||
/delete-property/ led2; | ||
/delete-property/ led3; | ||
/delete-property/ mcuboot-led0; | ||
/delete-property/ pwm-led0; | ||
/delete-property/ pwm-0; | ||
}; | ||
|
||
/delete-node/ leds; | ||
/delete-node/ pwm_leds; | ||
|
||
keys { | ||
/delete-node/ button_1; | ||
/delete-node/ button_3; | ||
compatible = "gpio-keys"; | ||
key_1: button_1 { | ||
gpios = <&gpiod 2 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; | ||
}; | ||
key_2: button_2 { | ||
gpios = <&gpiod 7 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; | ||
}; | ||
key_3: button_3 { | ||
gpios = <&gpiod 6 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; | ||
}; | ||
key_4: button_4 { | ||
gpios = <&gpiof 6 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; | ||
}; | ||
|
||
key_matrix_col1: key_matrix_col1 { | ||
gpios = <&gpiod 6 GPIO_ACTIVE_HIGH>; | ||
}; | ||
key_matrix_col2: key_matrix_col2 { | ||
gpios = <&gpiof 6 GPIO_ACTIVE_HIGH>; | ||
}; | ||
key_matrix_row1: key_matrix_row1 { | ||
gpios = <&gpiod 2 GPIO_PULL_DOWN>; | ||
}; | ||
key_matrix_row2: key_matrix_row2 { | ||
gpios = <&gpiod 7 GPIO_PULL_DOWN>; | ||
}; | ||
}; | ||
}; | ||
|
||
&pwm0 { | ||
status = "disabled"; | ||
}; |