Skip to content

Commit 1c9eb9e

Browse files
Dharma-Bclaudiubeznea
authored andcommitted
dt-bindings: clock: Add SAMA7D65 PMC compatible string
Add the `microchip,sama7d65-pmc` compatible string to the existing binding, since the SAMA7D65 PMC shares the same properties and clock requirements as the SAMA7G5. Export MCK3 and MCK5 to be accessed and referenced in DT to assign to the clocks property for sama7d65 SoC. Signed-off-by: Dharma Balasubiramani <[email protected]> Signed-off-by: Ryan Wanner <[email protected]> Reviewed-by: Claudiu Beznea <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/5252a28531deaee67af1edd8e72d45ca57783464.1733505542.git.Ryan.Wanner@microchip.com [claudiu.beznea: use tabs instead of spaces in include/dt-bindings/clock/at91.h] Signed-off-by: Claudiu Beznea <[email protected]>
1 parent 188002b commit 1c9eb9e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Documentation/devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ properties:
4343
- atmel,sama5d4-pmc
4444
- microchip,sam9x60-pmc
4545
- microchip,sam9x7-pmc
46+
- microchip,sama7d65-pmc
4647
- microchip,sama7g5-pmc
4748
- const: syscon
4849

@@ -90,6 +91,7 @@ allOf:
9091
enum:
9192
- microchip,sam9x60-pmc
9293
- microchip,sam9x7-pmc
94+
- microchip,sama7d65-pmc
9395
- microchip,sama7g5-pmc
9496
then:
9597
properties:

include/dt-bindings/clock/at91.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
#define PMC_PLLADIV2 (PMC_MAIN + 11)
4343
#define PMC_LVDSPLL (PMC_MAIN + 12)
4444

45+
/* SAMA7D65 */
46+
#define PMC_MCK3 (PMC_MAIN + 13)
47+
#define PMC_MCK5 (PMC_MAIN + 14)
48+
4549
#ifndef AT91_PMC_MOSCS
4650
#define AT91_PMC_MOSCS 0 /* MOSCS Flag */
4751
#define AT91_PMC_LOCKA 1 /* PLLA Lock */

0 commit comments

Comments
 (0)