Message ID | 20240316045442.31469-6-justin.swartz@risingedge.co.za (mailing list archive) |
---|---|
State | Accepted |
Commit | 9a4ba656343d4a34626cf0c222ecb6bac8dd1490 |
Headers | show |
Series | mips: dts: ralink: mt7621: improve DTS style | expand |
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ç
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 --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>; };
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(-) --