aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2019-04-15 14:05:07 -0400
committerKrzysztof Kozlowski <krzk@kernel.org>2019-04-24 13:52:30 -0400
commitbe00300147ae3c0b2fa4dbc5f00d4332a8d00fac (patch)
treec1599bc8fcb6ca2cb10d943c7219404d6034e0c8
parent8cc76b1c75722196fb3d7ffe67cbfeb721a7b0e3 (diff)
ARM: dts: exynos: Move pmu and timer nodes out of soc
The ARM PMU and ARM architected timer nodes are part of ARM CPU design therefore they should not be inside the soc node. This also fixes DTC W=1 warnings like: arch/arm/boot/dts/exynos3250.dtsi:106.21-135.5: Warning (simple_bus_reg): /soc/fixed-rate-clocks: missing or empty reg/ranges property arch/arm/boot/dts/exynos3250.dtsi:676.7-680.5: Warning (simple_bus_reg): /soc/pmu: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
-rw-r--r--arch/arm/boot/dts/exynos3250.dtsi12
-rw-r--r--arch/arm/boot/dts/exynos4.dtsi12
-rw-r--r--arch/arm/boot/dts/exynos5250.dtsi40
-rw-r--r--arch/arm/boot/dts/exynos54xx.dtsi38
4 files changed, 51 insertions, 51 deletions
diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi
index 5892a9f7622f..af54b306204b 100644
--- a/arch/arm/boot/dts/exynos3250.dtsi
+++ b/arch/arm/boot/dts/exynos3250.dtsi
@@ -97,6 +97,12 @@
97 }; 97 };
98 }; 98 };
99 99
100 pmu {
101 compatible = "arm,cortex-a7-pmu";
102 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
103 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
104 };
105
100 soc: soc { 106 soc: soc {
101 compatible = "simple-bus"; 107 compatible = "simple-bus";
102 #address-cells = <1>; 108 #address-cells = <1>;
@@ -673,12 +679,6 @@
673 status = "disabled"; 679 status = "disabled";
674 }; 680 };
675 681
676 pmu {
677 compatible = "arm,cortex-a7-pmu";
678 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
679 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
680 };
681
682 ppmu_dmc0: ppmu_dmc0@106a0000 { 682 ppmu_dmc0: ppmu_dmc0@106a0000 {
683 compatible = "samsung,exynos-ppmu"; 683 compatible = "samsung,exynos-ppmu";
684 reg = <0x106a0000 0x2000>; 684 reg = <0x106a0000 0x2000>;
diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi
index 6085e92ac2d7..1c21627e3c3c 100644
--- a/arch/arm/boot/dts/exynos4.dtsi
+++ b/arch/arm/boot/dts/exynos4.dtsi
@@ -51,6 +51,12 @@
51 serial3 = &serial_3; 51 serial3 = &serial_3;
52 }; 52 };
53 53
54 pmu: pmu {
55 compatible = "arm,cortex-a9-pmu";
56 interrupt-parent = <&combiner>;
57 interrupts = <2 2>, <3 2>;
58 };
59
54 soc: soc { 60 soc: soc {
55 compatible = "simple-bus"; 61 compatible = "simple-bus";
56 #address-cells = <1>; 62 #address-cells = <1>;
@@ -169,12 +175,6 @@
169 reg = <0x10440000 0x1000>; 175 reg = <0x10440000 0x1000>;
170 }; 176 };
171 177
172 pmu: pmu {
173 compatible = "arm,cortex-a9-pmu";
174 interrupt-parent = <&combiner>;
175 interrupts = <2 2>, <3 2>;
176 };
177
178 sys_reg: syscon@10010000 { 178 sys_reg: syscon@10010000 {
179 compatible = "samsung,exynos4-sysreg", "syscon"; 179 compatible = "samsung,exynos4-sysreg", "syscon";
180 reg = <0x10010000 0x400>; 180 reg = <0x10010000 0x400>;
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 80986b97dfe5..d5e0392b409e 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -157,6 +157,12 @@
157 }; 157 };
158 }; 158 };
159 159
160 pmu {
161 compatible = "arm,cortex-a15-pmu";
162 interrupt-parent = <&combiner>;
163 interrupts = <1 2>, <22 4>;
164 };
165
160 soc: soc { 166 soc: soc {
161 sysram@2020000 { 167 sysram@2020000 {
162 compatible = "mmio-sram"; 168 compatible = "mmio-sram";
@@ -227,20 +233,6 @@
227 power-domains = <&pd_mau>; 233 power-domains = <&pd_mau>;
228 }; 234 };
229 235
230 timer {
231 compatible = "arm,armv7-timer";
232 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
233 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
234 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
235 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
236 /*
237 * Unfortunately we need this since some versions
238 * of U-Boot on Exynos don't set the CNTFRQ register,
239 * so we need the value from DT.
240 */
241 clock-frequency = <24000000>;
242 };
243
244 mct@101c0000 { 236 mct@101c0000 {
245 compatible = "samsung,exynos4210-mct"; 237 compatible = "samsung,exynos4210-mct";
246 reg = <0x101C0000 0x800>; 238 reg = <0x101C0000 0x800>;
@@ -265,12 +257,6 @@
265 }; 257 };
266 }; 258 };
267 259
268 pmu {
269 compatible = "arm,cortex-a15-pmu";
270 interrupt-parent = <&combiner>;
271 interrupts = <1 2>, <22 4>;
272 };
273
274 pinctrl_0: pinctrl@11400000 { 260 pinctrl_0: pinctrl@11400000 {
275 compatible = "samsung,exynos5250-pinctrl"; 261 compatible = "samsung,exynos5250-pinctrl";
276 reg = <0x11400000 0x1000>; 262 reg = <0x11400000 0x1000>;
@@ -1097,6 +1083,20 @@
1097 }; 1083 };
1098 }; 1084 };
1099 }; 1085 };
1086
1087 timer {
1088 compatible = "arm,armv7-timer";
1089 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1090 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1091 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1092 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
1093 /*
1094 * Unfortunately we need this since some versions
1095 * of U-Boot on Exynos don't set the CNTFRQ register,
1096 * so we need the value from DT.
1097 */
1098 clock-frequency = <24000000>;
1099 };
1100}; 1100};
1101 1101
1102&dp { 1102&dp {
diff --git a/arch/arm/boot/dts/exynos54xx.dtsi b/arch/arm/boot/dts/exynos54xx.dtsi
index de26e5ee0d2d..ae866bcc30c4 100644
--- a/arch/arm/boot/dts/exynos54xx.dtsi
+++ b/arch/arm/boot/dts/exynos54xx.dtsi
@@ -25,27 +25,27 @@
25 usbdrdphy1 = &usbdrd_phy1; 25 usbdrdphy1 = &usbdrd_phy1;
26 }; 26 };
27 27
28 soc: soc { 28 arm_a7_pmu: arm-a7-pmu {
29 arm_a7_pmu: arm-a7-pmu { 29 compatible = "arm,cortex-a7-pmu";
30 compatible = "arm,cortex-a7-pmu"; 30 interrupt-parent = <&gic>;
31 interrupt-parent = <&gic>; 31 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
32 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, 32 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
33 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, 33 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
34 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, 34 <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
35 <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>; 35 status = "disabled";
36 status = "disabled"; 36 };
37 };
38 37
39 arm_a15_pmu: arm-a15-pmu { 38 arm_a15_pmu: arm-a15-pmu {
40 compatible = "arm,cortex-a15-pmu"; 39 compatible = "arm,cortex-a15-pmu";
41 interrupt-parent = <&combiner>; 40 interrupt-parent = <&combiner>;
42 interrupts = <1 2>, 41 interrupts = <1 2>,
43 <7 0>, 42 <7 0>,
44 <16 6>, 43 <16 6>,
45 <19 2>; 44 <19 2>;
46 status = "disabled"; 45 status = "disabled";
47 }; 46 };
48 47
48 soc: soc {
49 sysram@2020000 { 49 sysram@2020000 {
50 compatible = "mmio-sram"; 50 compatible = "mmio-sram";
51 reg = <0x02020000 0x54000>; 51 reg = <0x02020000 0x54000>;