[PATCH 05/14] mips: dts: ralink: mt7621: reorder gpio node attributes
Justin Swartz
justin.swartz at risingedge.co.za
Fri Mar 15 21:54:33 PDT 2024
Shuffle the attributes of the gpio node to appease the DTS
style guide.
Signed-off-by: Justin Swartz <justin.swartz at risingedge.co.za>
---
arch/mips/boot/dts/ralink/mt7621.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi
index d1d4399d7..99d47f286 100644
--- a/arch/mips/boot/dts/ralink/mt7621.dtsi
+++ b/arch/mips/boot/dts/ralink/mt7621.dtsi
@@ -86,13 +86,16 @@ wdt: watchdog at 100 {
};
gpio: gpio at 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>;
};
--
More information about the Linux-mediatek
mailing list