Skip to content

Commit 2b80ca5

Browse files
ldesrochescristibirsan
authored andcommitted
ARM: dts: at91: sama5d2: add PTC subsystem device
Add the Atmel Peripheral Touch Controller subsystem. Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
1 parent 2e23842 commit 2b80ca5

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

arch/arm/boot/dts/sama5d2.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,12 @@
842842
atmel,clk-output-range = <0 83000000>;
843843
};
844844

845+
ptc_clk: ptc_clk {
846+
#clock-cells = <0>;
847+
reg = <58>;
848+
atmel,clk-output-range = <0 83000000>;
849+
};
850+
845851
classd_clk: classd_clk {
846852
#clock-cells = <0>;
847853
reg = <59>;
@@ -1543,6 +1549,16 @@
15431549
reg = <0xfc05c000 0x20>;
15441550
};
15451551

1552+
ptc@fc060000 {
1553+
compatible = "atmel,sama5d2-ptc";
1554+
reg = <0x00800000 0x10000
1555+
0xfc060000 0xcf>;
1556+
interrupts = <58 IRQ_TYPE_LEVEL_HIGH 7>;
1557+
clocks = <&ptc_clk>, <&main>, <&clk32k>;
1558+
clock-names = "ptc_clk", "ptc_int_osc", "slow_clk";
1559+
status = "disabled";
1560+
};
1561+
15461562
chipid@fc069000 {
15471563
compatible = "atmel,sama5d2-chipid";
15481564
reg = <0xfc069000 0x8>;

0 commit comments

Comments
 (0)