Message ID | 20240316045442.31469-7-justin.swartz@risingedge.co.za (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mips: dts: ralink: mt7621: improve DTS style | expand |
Il 16/03/24 05:54, Justin Swartz ha scritto: > Rearrange the order of the i2c node's attributes so that they > are inline with 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 99d47f286..87a3bcbc0 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -104,18 +104,19 @@ i2c: i2c@900 { compatible = "mediatek,mt7621-i2c"; reg = <0x900 0x100>; - clocks = <&sysc MT7621_CLK_I2C>; - clock-names = "i2c"; - resets = <&sysc MT7621_RST_I2C>; - reset-names = "i2c"; - #address-cells = <1>; #size-cells = <0>; - status = "disabled"; + clocks = <&sysc MT7621_CLK_I2C>; + clock-names = "i2c"; pinctrl-names = "default"; pinctrl-0 = <&i2c_pins>; + + resets = <&sysc MT7621_RST_I2C>; + reset-names = "i2c"; + + status = "disabled"; }; memc: memory-controller@5000 {
Rearrange the order of the i2c node's attributes so that they are inline with the DTS style guide. Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za> --- arch/mips/boot/dts/ralink/mt7621.dtsi | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)