Skip to content

Commit de143ba

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 8d8b1c3 commit de143ba

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
@@ -768,6 +768,12 @@
768768
atmel,clk-output-range = <0 83000000>;
769769
};
770770

771+
ptc_clk: ptc_clk {
772+
#clock-cells = <0>;
773+
reg = <58>;
774+
atmel,clk-output-range = <0 83000000>;
775+
};
776+
771777
classd_clk: classd_clk {
772778
#clock-cells = <0>;
773779
reg = <59>;
@@ -1502,6 +1508,16 @@
15021508
reg = <0xfc05c000 0x20>;
15031509
};
15041510

1511+
ptc@fc060000 {
1512+
compatible = "atmel,sama5d2-ptc";
1513+
reg = <0x00800000 0x10000
1514+
0xfc060000 0xcf>;
1515+
interrupts = <58 IRQ_TYPE_LEVEL_HIGH 7>;
1516+
clocks = <&ptc_clk>, <&main>, <&clk32k>;
1517+
clock-names = "ptc_clk", "ptc_int_osc", "slow_clk";
1518+
status = "disabled";
1519+
};
1520+
15051521
chipid@fc069000 {
15061522
compatible = "atmel,sama5d2-chipid";
15071523
reg = <0xfc069000 0x8>;

0 commit comments

Comments
 (0)