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] Added W91 v2.1 board configuration
- Loading branch information
Showing
7 changed files
with
83 additions
and
45 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 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 @@ | ||
tlsr9118bdk40d_v2.overlay |
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,39 @@ | ||
/ { | ||
/* Short TL_Key1 (J20 pin 11) to ground (J20 pin 25-35) */ | ||
key_pool { | ||
compatible = "gpio-keys"; | ||
|
||
inp { | ||
gpios = <&gpio0 16 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>, | ||
<&gpio0 15 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
}; | ||
|
||
key_matrix { | ||
compatible = "gpio-keys"; | ||
|
||
col { | ||
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>, | ||
<&gpio0 17 GPIO_ACTIVE_HIGH>; | ||
}; | ||
|
||
row { | ||
gpios = <&gpio0 16 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>, | ||
<&gpio0 15 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>; | ||
}; | ||
}; | ||
|
||
led_pool{ | ||
compatible = "gpio-leds"; | ||
|
||
out { | ||
gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>; | ||
}; | ||
}; | ||
pwm_pool { | ||
compatible = "pwm-leds"; | ||
out { | ||
pwms = <&pwm0 4 PWM_MSEC(1) PWM_POLARITY_NORMAL>; | ||
}; | ||
}; | ||
}; |
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,30 @@ | ||
|
||
/* TLSR9118BDK40D V2.1 */ | ||
|
||
/ { | ||
key_pool { | ||
compatible = "gpio-keys"; | ||
|
||
inp { | ||
gpios = <&gpio0 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>, | ||
<&gpio0 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>, | ||
<&gpio0 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>, | ||
<&gpio0 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
}; | ||
|
||
led_pool{ | ||
compatible = "gpio-leds"; | ||
|
||
out { | ||
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; | ||
}; | ||
}; | ||
|
||
pwm_pool { | ||
compatible = "pwm-leds"; | ||
out { | ||
pwms = <&pwm0 3 PWM_MSEC(1) PWM_POLARITY_NORMAL>; | ||
}; | ||
}; | ||
}; |