Skip to content

Commit 0f7c637

Browse files
LorenzoBianconibebarino
authored andcommitted
dt-bindings: clock: airoha: Update reg mapping for EN7581 SoC.
clk-en7523 driver for EN7581 SoC is mapping all the scu memory region while it is configuring the chip-scu one via a syscon. Update the reg mapping definition for this device. This patch does not introduce any backward incompatibility since the dts for EN7581 SoC is not upstream yet. Signed-off-by: Lorenzo Bianconi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 0bd9b12 commit 0f7c637

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ properties:
3434
- airoha,en7581-scu
3535

3636
reg:
37-
minItems: 2
38-
maxItems: 4
37+
items:
38+
- description: scu base address
39+
- description: misc scu base address
40+
minItems: 1
3941

4042
"#clock-cells":
4143
description:
@@ -60,9 +62,7 @@ allOf:
6062
then:
6163
properties:
6264
reg:
63-
items:
64-
- description: scu base address
65-
- description: misc scu base address
65+
minItems: 2
6666

6767
'#reset-cells': false
6868

@@ -73,11 +73,7 @@ allOf:
7373
then:
7474
properties:
7575
reg:
76-
items:
77-
- description: scu base address
78-
- description: misc scu base address
79-
- description: reset base address
80-
- description: pb scu base address
76+
maxItems: 1
8177

8278
additionalProperties: false
8379

@@ -96,12 +92,9 @@ examples:
9692
#address-cells = <2>;
9793
#size-cells = <2>;
9894
99-
scuclk: clock-controller@1fa20000 {
95+
scuclk: clock-controller@1fb00000 {
10096
compatible = "airoha,en7581-scu";
101-
reg = <0x0 0x1fa20000 0x0 0x400>,
102-
<0x0 0x1fb00000 0x0 0x90>,
103-
<0x0 0x1fb00830 0x0 0x8>,
104-
<0x0 0x1fbe3400 0x0 0xfc>;
97+
reg = <0x0 0x1fb00000 0x0 0x970>;
10598
#clock-cells = <1>;
10699
#reset-cells = <1>;
107100
};

0 commit comments

Comments
 (0)