-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ev11l78a: update devicetree definition of ev11l78a.
This includes an important fix for RAM and Flash size (not all samd20 are the same, but unlike the samc20 series there's no separate dtsi files for the various sizes.) In addition to that, it adds custom bindings for the EN_SINK output in (which is what enables the actual sink for the board), and exposes the 1.5A and 3.0A indicators as LEDs (even though they are just test points) and enables the DAC. Signed-off-by: Diego Elio Pettenò <[email protected]>
- Loading branch information
Showing
6 changed files
with
49 additions
and
2 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
13 changes: 13 additions & 0 deletions
13
boards/arm/ev11l78a/dts/bindings/microchip,ev11l78a-ensink.yaml
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,13 @@ | ||
# Copyright (c) 2023, Meta Platforms, Inc. and its affiliates. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
description: GPIO used to enable the power Sink on the EV11L78A board | ||
|
||
compatible: "microchip,ev11l78a-ensink" | ||
|
||
properties: | ||
gpios: | ||
type: phandle-array | ||
required: true | ||
description: | | ||
GPIO to enable the power sink on the EV11L78A board, output. |
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 |
---|---|---|
|
@@ -34,4 +34,10 @@ | |
<PA5B_ADC_AIN5>; | ||
}; | ||
}; | ||
|
||
dac_default: dac_default { | ||
group1 { | ||
pinmux = <PA2B_DAC_VOUT>; | ||
}; | ||
}; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ toolchain: | |
- xtools | ||
supported: | ||
- adc | ||
- dac | ||
- gpio | ||
- i2c | ||
- spi | ||
|
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