Skip to content

Commit 1dce3c3

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

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
@@ -46,7 +46,7 @@
4646
eefc: flash-controller@400e0a00 {
4747
compatible = "atmel,sam-flash-controller";
4848
reg = <0x400e0a00 0x200>;
49-
peripheral-id = <6>;
49+
clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
5050

5151
#address-cells = <1>;
5252
#size-cells = <1>;

dts/arm/atmel/sam4e.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
eefc: flash-controller@400e0a00 {
7272
compatible = "atmel,sam-flash-controller";
7373
reg = <0x400e0a00 0x200>;
74-
peripheral-id = <6>;
74+
clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
7575

7676
#address-cells = <1>;
7777
#size-cells = <1>;

dts/arm/atmel/sam4s.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
eefc: flash-controller@400e0a00 {
5656
compatible = "atmel,sam-flash-controller";
5757
reg = <0x400e0a00 0x200>;
58-
peripheral-id = <6>;
58+
clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
5959

6060
#address-cells = <1>;
6161
#size-cells = <1>;

dts/arm/atmel/same70.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
compatible = "atmel,sam-flash-controller";
6161
reg = <0x400e0c00 0x200>;
6262
interrupts = <6 0>;
63-
peripheral-id = <6>;
63+
clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
6464

6565
#address-cells = <1>;
6666
#size-cells = <1>;

dts/bindings/flash_controller/atmel,sam-flash-controller.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@ compatible: "atmel,sam-flash-controller"
88
include: flash-controller.yaml
99

1010
properties:
11-
peripheral-id:
12-
type: int
13-
description: peripheral ID
11+
clocks:
1412
required: true

0 commit comments

Comments
 (0)