Skip to content

Commit 2a24bb2

Browse files
nandojvembolivar-nordic
authored andcommitted
drivers: wdt: sam: Update to use clock control
This update Atmel SAM wdt devicetree to use clock control information. Signed-off-by: Gerson Fernando Budke <[email protected]>
1 parent 6951160 commit 2a24bb2

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

dts/arm/atmel/sam3x.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
compatible = "atmel,sam-watchdog";
7171
reg = <0x400e1a50 0xc>;
7272
interrupts = <4 0>;
73-
peripheral-id = <4>;
73+
clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
7474
status = "disabled";
7575
};
7676

dts/arm/atmel/sam4e.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
compatible = "atmel,sam-watchdog";
8989
reg = <0x400e1850 0x10>;
9090
interrupts = <4 0>;
91-
peripheral-id = <4>;
91+
clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
9292
status = "disabled";
9393
};
9494

dts/arm/atmel/sam4s.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
compatible = "atmel,sam-watchdog";
7373
reg = <0x400e1450 0xc>;
7474
interrupts = <4 0>;
75-
peripheral-id = <4>;
75+
clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
7676
status = "disabled";
7777
};
7878

dts/arm/atmel/same70.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
compatible = "atmel,sam-watchdog";
7979
reg = <0x400e1850 0xc>;
8080
interrupts = <4 0>;
81-
peripheral-id = <4>;
81+
clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
8282
status = "disabled";
8383
};
8484

dts/bindings/watchdog/atmel,sam-watchdog.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,5 @@ properties:
1414
interrupts:
1515
required: true
1616

17-
peripheral-id:
18-
type: int
19-
description: peripheral ID
17+
clocks:
2018
required: true

0 commit comments

Comments
 (0)