summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorJustin Swartz <justin.swartz@risingedge.co.za>2024-03-16 06:54:33 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-04-15 10:23:36 +0200
commit9a4ba656343d4a34626cf0c222ecb6bac8dd1490 (patch)
tree34db288a460baf1f280c89ec34b56e3b88ba8915 /arch/mips
parent9938cd312b8f1922b76e9d48a13425d56b597580 (diff)
mips: dts: ralink: mt7621: reorder gpio node attributes
Shuffle the attributes of the gpio node to appease the DTS style guide. Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za> Reviewed-by: Arınç ÜNAL <arinc.unal@arinc9.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/boot/dts/ralink/mt7621.dtsi7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi
index d1d4399d730c..99d47f286769 100644
--- a/arch/mips/boot/dts/ralink/mt7621.dtsi
+++ b/arch/mips/boot/dts/ralink/mt7621.dtsi
@@ -86,13 +86,16 @@
};
gpio: gpio@600 {
+ compatible = "mediatek,mt7621-gpio";
+ reg = <0x600 0x100>;
+
#gpio-cells = <2>;
#interrupt-cells = <2>;
- compatible = "mediatek,mt7621-gpio";
+
gpio-controller;
gpio-ranges = <&pinctrl 0 0 95>;
+
interrupt-controller;
- reg = <0x600 0x100>;
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 12 IRQ_TYPE_LEVEL_HIGH>;
};