MIPS: devicetree: fix cpu interrupt controller node-names
Subsystems (4)
PATCH 1/1 MIPS: devicetree: fix cpu interrupt controller node-names
Here is the quote from [1]:
The unit-address must match the first address specified in the reg property of the node. If the node has no reg property, the @ and unit-address must be omitted and the node-name alone differentiates the node from other nodes at the same level
This patch adjusts MIPS dts-files and devicetree binding documentation in accordance with [1].
[1] Power.org(tm) Standard for Embedded Power Architecture(tm) Platform Requirements (ePAPR). Version 1.1 – 08 April 2011. Chapter 2.2.1.1 Node Name Requirements
--- Documentation/devicetree/bindings/mips/cpu_irq.txt | 2 +- arch/mips/boot/dts/ingenic/jz4740.dtsi | 2 +- arch/mips/boot/dts/ralink/mt7620a.dtsi | 2 +- arch/mips/boot/dts/ralink/rt2880.dtsi | 2 +- arch/mips/boot/dts/ralink/rt3050.dtsi | 2 +- arch/mips/boot/dts/ralink/rt3883.dtsi | 2 +- arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)
Documentation/devicetree/bindings/mips/cpu_irq.txt +1 -1
@@ -13,7 +13,7 @@ Required properties: - compatible : Should be "mti,cpu-interrupt-controller" Example devicetree: - cpu-irq: cpu-irq@0 { + cpu-irq: cpu-irq { #address-cells = <0>; interrupt-controller;
arch/mips/boot/dts/ingenic/jz4740.dtsi +1 -1
@@ -5,7 +5,7 @@ #size-cells = <1>; compatible = "ingenic,jz4740"; - cpuintc: interrupt-controller@0 { + cpuintc: interrupt-controller { #address-cells = <0>; #interrupt-cells = <1>; interrupt-controller;
arch/mips/boot/dts/ralink/mt7620a.dtsi +1 -1
@@ -9,7 +9,7 @@ }; }; - cpuintc: cpuintc@0 { + cpuintc: cpuintc { #address-cells = <0>; #interrupt-cells = <1>; interrupt-controller;
arch/mips/boot/dts/ralink/rt2880.dtsi +1 -1
@@ -9,7 +9,7 @@ }; }; - cpuintc: cpuintc@0 { + cpuintc: cpuintc { #address-cells = <0>; #interrupt-cells = <1>; interrupt-controller;
arch/mips/boot/dts/ralink/rt3050.dtsi +1 -1
@@ -9,7 +9,7 @@ }; }; - cpuintc: cpuintc@0 { + cpuintc: cpuintc { #address-cells = <0>; #interrupt-cells = <1>; interrupt-controller;
arch/mips/boot/dts/ralink/rt3883.dtsi +1 -1
@@ -9,7 +9,7 @@ }; }; - cpuintc: cpuintc@0 { + cpuintc: cpuintc { #address-cells = <0>; #interrupt-cells = <1>; interrupt-controller;
arch/mips/boot/dts/xilfpga/nexys4ddr.dts +1 -1
@@ -10,7 +10,7 @@ reg = <0x0 0x08000000>; }; - cpuintc: interrupt-controller@0 { + cpuintc: interrupt-controller { #address-cells = <0>; #interrupt-cells = <1>; interrupt-controller;
Signature · 1 line
2.7.0
Quoted 7 lines · Antony Pavlov
Here is the quote from [1]:
The unit-address must match the first address specified in the reg property of the node. If the node has no reg property, the @ and unit-address must be omitted and the node-name alone differentiates the node from other nodes at the same level
Quoted 6 lines
This patch adjusts MIPS dts-files and devicetree binding documentation in accordance with [1].
[1]
Power.org(tm)Standard for Embedded Power Architecture(tm) Platform Requirements (ePAPR). Version 1.1 – 08 April 2011. Chapter 2.2.1.1 Node Name Requirements
FYI, you can reference "the Devicetree Spec" now: devicetree.org
Quoted 21 lines
Signed-off-by Antony Pavlov <[email protected]>Cc Ralf Baechle <[email protected]>Cc Paul Burton <[email protected]>Cc Zubair Lutfullah Kakakhel <[email protected]>Cc Rob Herring <[email protected]>Cc Pawel Moll <[email protected]>Cc Mark Rutland <[email protected]>Cc Ian Campbell <[email protected]>Cc Kumar Gala <[email protected]>--- Documentation/devicetree/bindings/mips/cpu_irq.txt | 2 +- arch/mips/boot/dts/ingenic/jz4740.dtsi | 2 +- arch/mips/boot/dts/ralink/mt7620a.dtsi | 2 +- arch/mips/boot/dts/ralink/rt2880.dtsi | 2 +- arch/mips/boot/dts/ralink/rt3050.dtsi | 2 +- arch/mips/boot/dts/ralink/rt3883.dtsi | 2 +- arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)
Quoted 8 lines · On Mon, 23 May 2016 10:47:16 -0500 Rob Herring <[email protected]> wrote:
Quoted 7 lines · Antony Pavlov
Here is the quote from [1]:
The unit-address must match the first address specified in the reg property of the node. If the node has no reg property, the @ and unit-address must be omitted and the node-name alone differentiates the node from other nodes at the same level
Quoted 8 lines
Quoted 6 lines
This patch adjusts MIPS dts-files and devicetree binding documentation in accordance with [1].
[1]
Power.org(tm)Standard for Embedded Power Architecture(tm) Platform Requirements (ePAPR). Version 1.1 – 08 April 2011. Chapter 2.2.1.1 Node Name RequirementsFYI, you can reference "the Devicetree Spec" now: devicetree.org
Thanks for your note! Last time I visited devicetree.org in Jan 2015. Now I see that the devicetree.org site has changed dramaticaly, e.g. it does not use Mediawiki anymore.
Alas some important links from the http://www.devicetree.org/specifications/ page are broken:
* http://www.devicetree.org/specifications-pdf
* https://github.com/devicetree-org/devicetree-specification-released
Anyway I have got a prerelease specification version from github:
Quoted 23 lines
Acked-by Rob Herring <[email protected]>Quoted 21 lines
Signed-off-by Antony Pavlov <[email protected]>Cc Ralf Baechle <[email protected]>Cc Paul Burton <[email protected]>Cc Zubair Lutfullah Kakakhel <[email protected]>Cc Rob Herring <[email protected]>Cc Pawel Moll <[email protected]>Cc Mark Rutland <[email protected]>Cc Ian Campbell <[email protected]>Cc Kumar Gala <[email protected]>--- Documentation/devicetree/bindings/mips/cpu_irq.txt | 2 +- arch/mips/boot/dts/ingenic/jz4740.dtsi | 2 +- arch/mips/boot/dts/ralink/mt7620a.dtsi | 2 +- arch/mips/boot/dts/ralink/rt2880.dtsi | 2 +- arch/mips/boot/dts/ralink/rt3050.dtsi | 2 +- arch/mips/boot/dts/ralink/rt3883.dtsi | 2 +- arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)
Signature · 3 lines
-- Best regards, Antony Pavlov