Skip to content

Commit 7aea664

Browse files
committed
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 b6e18b2 commit 7aea664

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
@@ -800,6 +800,12 @@
800800
atmel,clk-output-range = <0 83000000>;
801801
};
802802

803+
ptc_clk: ptc_clk {
804+
#clock-cells = <0>;
805+
reg = <58>;
806+
atmel,clk-output-range = <0 83000000>;
807+
};
808+
803809
classd_clk: classd_clk {
804810
#clock-cells = <0>;
805811
reg = <59>;
@@ -1462,6 +1468,16 @@
14621468
status = "disabled";
14631469
};
14641470

1471+
ptc@fc060000 {
1472+
compatible = "atmel,sama5d2-ptc";
1473+
reg = <0x00800000 0x10000
1474+
0xfc060000 0xcf>;
1475+
interrupts = <58 IRQ_TYPE_LEVEL_HIGH 7>;
1476+
clocks = <&ptc_clk>, <&main>, <&clk32k>;
1477+
clock-names = "ptc_clk", "ptc_int_osc", "slow_clk";
1478+
status = "disabled";
1479+
};
1480+
14651481
chipid@fc069000 {
14661482
compatible = "atmel,sama5d2-chipid";
14671483
reg = <0xfc069000 0x8>;

0 commit comments

Comments
 (0)