aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2017-12-12 03:24:35 -0500
committerSimon Horman <horms+renesas@verge.net.au>2017-12-18 06:03:40 -0500
commit9b9b8fd7e7c057fc8fd8148416296e71df70af44 (patch)
treefa4d2b12cbdd94f1b64e3c6762679ff427a2d738
parent9d51ffc55dc1762a6300eaffd270c0aadd7b353b (diff)
arm64: dts: renesas: r8a7796: move nodes which have no reg property out of bus
Move pmu_a5[73], timer and thermal-zones nodes from soc node to root node. The nodes that have been moved do not have any register properties and thus shouldn't be placed on the bus. This problem is flagged by the compiler as follows: $ make ... DTC arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb ... arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb: Warning (simple_bus_reg): Node /soc/timer missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb: Warning (simple_bus_reg): Node /soc/pmu_a57 missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb: Warning (simple_bus_reg): Node /soc/pmu_a53 missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb: Warning (simple_bus_reg): Node /soc/thermal-zones missing or empty reg/ranges property ... DTC arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dtb ... arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dtb: Warning (simple_bus_reg): Node /soc/timer missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dtb: Warning (simple_bus_reg): Node /soc/pmu_a57 missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dtb: Warning (simple_bus_reg): Node /soc/pmu_a53 missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dtb: Warning (simple_bus_reg): Node /soc/thermal-zones missing or empty reg/ranges property ... DTC arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dtb ... arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dtb: Warning (simple_bus_reg): Node /soc/timer missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dtb: Warning (simple_bus_reg): Node /soc/pmu_a57 missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dtb: Warning (simple_bus_reg): Node /soc/pmu_a53 missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dtb: Warning (simple_bus_reg): Node /soc/thermal-zones missing or empty reg/ranges property ... DTC arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dtb ... arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dtb: Warning (simple_bus_reg): Node /soc/timer missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dtb: Warning (simple_bus_reg): Node /soc/pmu_a57 missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dtb: Warning (simple_bus_reg): Node /soc/pmu_a53 missing or empty reg/ranges property arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dtb: Warning (simple_bus_reg): Node /soc/thermal-zones missing or empty reg/ranges property ... Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm64/boot/dts/renesas/r8a7796.dtsi144
1 files changed, 68 insertions, 76 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index c1b0d0344329..49c5893f8a35 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -154,6 +154,22 @@
154 clock-frequency = <0>; 154 clock-frequency = <0>;
155 }; 155 };
156 156
157 pmu_a57 {
158 compatible = "arm,cortex-a57-pmu";
159 interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
160 <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
161 interrupt-affinity = <&a57_0>, <&a57_1>;
162 };
163
164 pmu_a53 {
165 compatible = "arm,cortex-a53-pmu";
166 interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
167 <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
168 <&gic GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
169 <&gic GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
170 interrupt-affinity = <&a53_0>, <&a53_1>, <&a53_2>, <&a53_3>;
171 };
172
157 psci { 173 psci {
158 compatible = "arm,psci-1.0", "arm,psci-0.2"; 174 compatible = "arm,psci-1.0", "arm,psci-0.2";
159 method = "smc"; 175 method = "smc";
@@ -190,18 +206,6 @@
190 resets = <&cpg 408>; 206 resets = <&cpg 408>;
191 }; 207 };
192 208
193 timer {
194 compatible = "arm,armv8-timer";
195 interrupts = <GIC_PPI 13
196 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
197 <GIC_PPI 14
198 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
199 <GIC_PPI 11
200 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
201 <GIC_PPI 10
202 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>;
203 };
204
205 wdt0: watchdog@e6020000 { 209 wdt0: watchdog@e6020000 {
206 compatible = "renesas,r8a7796-wdt", 210 compatible = "renesas,r8a7796-wdt",
207 "renesas,rcar-gen3-wdt"; 211 "renesas,rcar-gen3-wdt";
@@ -337,26 +341,6 @@
337 reg = <0 0xe6060000 0 0x50c>; 341 reg = <0 0xe6060000 0 0x50c>;
338 }; 342 };
339 343
340 pmu_a57 {
341 compatible = "arm,cortex-a57-pmu";
342 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
343 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
344 interrupt-affinity = <&a57_0>,
345 <&a57_1>;
346 };
347
348 pmu_a53 {
349 compatible = "arm,cortex-a53-pmu";
350 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
351 <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
352 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
353 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
354 interrupt-affinity = <&a53_0>,
355 <&a53_1>,
356 <&a53_2>,
357 <&a53_3>;
358 };
359
360 ipmmu_vi0: mmu@febd0000 { 344 ipmmu_vi0: mmu@febd0000 {
361 compatible = "renesas,ipmmu-r8a7796"; 345 compatible = "renesas,ipmmu-r8a7796";
362 reg = <0 0xfebd0000 0 0x1000>; 346 reg = <0 0xfebd0000 0 0x1000>;
@@ -1577,50 +1561,6 @@
1577 status = "okay"; 1561 status = "okay";
1578 }; 1562 };
1579 1563
1580 thermal-zones {
1581 sensor_thermal1: sensor-thermal1 {
1582 polling-delay-passive = <250>;
1583 polling-delay = <1000>;
1584 thermal-sensors = <&tsc 0>;
1585
1586 trips {
1587 sensor1_crit: sensor1-crit {
1588 temperature = <120000>;
1589 hysteresis = <2000>;
1590 type = "critical";
1591 };
1592 };
1593 };
1594
1595 sensor_thermal2: sensor-thermal2 {
1596 polling-delay-passive = <250>;
1597 polling-delay = <1000>;
1598 thermal-sensors = <&tsc 1>;
1599
1600 trips {
1601 sensor2_crit: sensor2-crit {
1602 temperature = <120000>;
1603 hysteresis = <2000>;
1604 type = "critical";
1605 };
1606 };
1607 };
1608
1609 sensor_thermal3: sensor-thermal3 {
1610 polling-delay-passive = <250>;
1611 polling-delay = <1000>;
1612 thermal-sensors = <&tsc 2>;
1613
1614 trips {
1615 sensor3_crit: sensor3-crit {
1616 temperature = <120000>;
1617 hysteresis = <2000>;
1618 type = "critical";
1619 };
1620 };
1621 };
1622 };
1623
1624 rcar_sound: sound@ec500000 { 1564 rcar_sound: sound@ec500000 {
1625 /* 1565 /*
1626 * #sound-dai-cells is required 1566 * #sound-dai-cells is required
@@ -2027,4 +1967,56 @@
2027 resets = <&cpg 822>; 1967 resets = <&cpg 822>;
2028 }; 1968 };
2029 }; 1969 };
1970
1971 timer {
1972 compatible = "arm,armv8-timer";
1973 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
1974 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
1975 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
1976 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>;
1977 };
1978
1979 thermal-zones {
1980 sensor_thermal1: sensor-thermal1 {
1981 polling-delay-passive = <250>;
1982 polling-delay = <1000>;
1983 thermal-sensors = <&tsc 0>;
1984
1985 trips {
1986 sensor1_crit: sensor1-crit {
1987 temperature = <120000>;
1988 hysteresis = <2000>;
1989 type = "critical";
1990 };
1991 };
1992 };
1993
1994 sensor_thermal2: sensor-thermal2 {
1995 polling-delay-passive = <250>;
1996 polling-delay = <1000>;
1997 thermal-sensors = <&tsc 1>;
1998
1999 trips {
2000 sensor2_crit: sensor2-crit {
2001 temperature = <120000>;
2002 hysteresis = <2000>;
2003 type = "critical";
2004 };
2005 };
2006 };
2007
2008 sensor_thermal3: sensor-thermal3 {
2009 polling-delay-passive = <250>;
2010 polling-delay = <1000>;
2011 thermal-sensors = <&tsc 2>;
2012
2013 trips {
2014 sensor3_crit: sensor3-crit {
2015 temperature = <120000>;
2016 hysteresis = <2000>;
2017 type = "critical";
2018 };
2019 };
2020 };
2021 };
2030}; 2022};