Skip to content

Commit 9ecdb6d

Browse files
committed
arm64: dts: ti: k3-am65|j721e|am64: Map the dma / navigator subsystem via explicit ranges
Instead of using empty ranges property, lets map explicitly the address range that is mapped onto the dma / navigator subsystems (navss/dmss). This is also exposed via the dtbs_check with dt-schema newer than 2021.03 version by throwing out following: arch/arm64/boot/dts/ti/k3-am654-base-board.dt.yaml: bus@100000: main-navss: {'type': 'object'} is not allowed for {'compatible': ['simple-mfd'], '#address-cells': [[2]], ..... This has already been correctly done for J7200, however was missed for other k3 SoCs. Fix that oversight. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Tero Kristo <kristo@kernel.org> Acked-by: Vignesh Raghavendra <vigneshr@ti.com> Link: https://lore.kernel.org/r/20210510145429.8752-1-nm@ti.com
1 parent 9d3c937 commit 9ecdb6d

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

arch/arm64/boot/dts/ti/k3-am64-main.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
};
4343
};
4444

45-
dmss: dmss {
45+
dmss: bus@48000000 {
4646
compatible = "simple-mfd";
4747
#address-cells = <2>;
4848
#size-cells = <2>;
4949
dma-ranges;
50-
ranges;
50+
ranges = <0x00 0x48000000 0x00 0x48000000 0x00 0x06400000>;
5151

5252
ti,sci-dev-id = <25>;
5353

arch/arm64/boot/dts/ti/k3-am65-main.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,11 +444,11 @@
444444
ti,interrupt-ranges = <0 392 32>;
445445
};
446446

447-
main-navss {
447+
main_navss: bus@30800000 {
448448
compatible = "simple-mfd";
449449
#address-cells = <2>;
450450
#size-cells = <2>;
451-
ranges;
451+
ranges = <0x0 0x30800000 0x0 0x30800000 0x0 0xbc00000>;
452452
dma-coherent;
453453
dma-ranges;
454454

arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@
116116
};
117117
};
118118

119-
mcu-navss {
119+
mcu_navss: bus@28380000 {
120120
compatible = "simple-mfd";
121121
#address-cells = <2>;
122122
#size-cells = <2>;
123-
ranges;
123+
ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
124124
dma-coherent;
125125
dma-ranges;
126126

arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@
8787
ti,interrupt-ranges = <8 392 56>;
8888
};
8989

90-
main-navss {
90+
main_navss: bus@30000000 {
9191
compatible = "simple-mfd";
9292
#address-cells = <2>;
9393
#size-cells = <2>;
94-
ranges;
94+
ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>;
9595
dma-coherent;
9696
dma-ranges;
9797

arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,11 @@
249249
};
250250
};
251251

252-
mcu-navss {
252+
mcu_navss: bus@28380000 {
253253
compatible = "simple-mfd";
254254
#address-cells = <2>;
255255
#size-cells = <2>;
256-
ranges;
256+
ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
257257
dma-coherent;
258258
dma-ranges;
259259

0 commit comments

Comments
 (0)