diff mbox series

[05/14] mips: dts: ralink: mt7621: reorder gpio node attributes

Message ID 20240316045442.31469-6-justin.swartz@risingedge.co.za (mailing list archive)
State New
Headers show
Series mips: dts: ralink: mt7621: improve DTS style | expand

Commit Message

Justin Swartz March 16, 2024, 4:54 a.m. UTC
Shuffle the attributes of the gpio node to appease the DTS
style guide.

Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za>
---
 arch/mips/boot/dts/ralink/mt7621.dtsi | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--

Comments

Arınç ÜNAL March 16, 2024, 9:21 a.m. UTC | #1
On 16.03.2024 07:54, Justin Swartz wrote:
> 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>

Arınç
AngeloGioacchino Del Regno March 18, 2024, 10:20 a.m. UTC | #2
Il 16/03/24 05:54, Justin Swartz ha scritto:
> 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: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
diff mbox series

Patch

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@100 {
 		};
 
 		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>;
 		};