Commit c756f614 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Alexandre Belloni

ARM: dts: at91: ariettag25: style cleanup

- newline between properties and sub-nodes
- use tags from included dtsi instead of duplicating the hierarchy
- status should be the last property
- drop duplicated alias

There are no differences in the generated .dtb
Signed-off-by: default avatarUwe Kleine-König <uwe@kleine-koenig.org>
Link: https://lore.kernel.org/r/20190812212757.23432-3-uwe@kleine-koenig.orgSigned-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 60839c53
...@@ -6,14 +6,11 @@ ...@@ -6,14 +6,11 @@
*/ */
/dts-v1/; /dts-v1/;
#include "at91sam9g25.dtsi" #include "at91sam9g25.dtsi"
/ { / {
model = "Acme Systems Arietta G25"; model = "Acme Systems Arietta G25";
compatible = "acme,ariettag25", "atmel,at91sam9x5", "atmel,at91sam9"; compatible = "acme,ariettag25", "atmel,at91sam9x5", "atmel,at91sam9";
aliases {
serial0 = &dbgu;
};
chosen { chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
...@@ -32,9 +29,22 @@ main_xtal { ...@@ -32,9 +29,22 @@ main_xtal {
}; };
}; };
ahb { leds {
apb { compatible = "gpio-leds";
mmc0: mmc@f0008000 {
arietta_led {
label = "arietta_led";
gpios = <&pioB 8 GPIO_ACTIVE_HIGH>; /* PB8 */
linux,default-trigger = "heartbeat";
};
};
};
&dbgu {
status = "okay";
};
&mmc0 {
pinctrl-0 = < pinctrl-0 = <
&pinctrl_mmc0_slot0_clk_cmd_dat0 &pinctrl_mmc0_slot0_clk_cmd_dat0
&pinctrl_mmc0_slot0_dat1_3>; &pinctrl_mmc0_slot0_dat1_3>;
...@@ -44,9 +54,13 @@ slot@0 { ...@@ -44,9 +54,13 @@ slot@0 {
reg = <0>; reg = <0>;
bus-width = <4>; bus-width = <4>;
}; };
}; };
&rtc {
status = "okay";
};
tcb0: timer@f8008000 { &tcb0 {
timer@0 { timer@0 {
compatible = "atmel,tcb-timer"; compatible = "atmel,tcb-timer";
reg = <0>; reg = <0>;
...@@ -56,37 +70,17 @@ timer@1 { ...@@ -56,37 +70,17 @@ timer@1 {
compatible = "atmel,tcb-timer"; compatible = "atmel,tcb-timer";
reg = <1>; reg = <1>;
}; };
}; };
usb2: gadget@f803c000 {
status = "okay";
};
dbgu: serial@fffff200 {
status = "okay";
};
rtc@fffffeb0 { &usb0 {
num-ports = <3>;
status = "okay"; status = "okay";
}; };
};
usb0: ohci@600000 { &usb1 {
status = "okay"; status = "okay";
num-ports = <3>; };
};
usb1: ehci@700000 { &usb2 {
status = "okay"; status = "okay";
};
};
leds {
compatible = "gpio-leds";
arietta_led {
label = "arietta_led";
gpios = <&pioB 8 GPIO_ACTIVE_HIGH>; /* PB8 */
linux,default-trigger = "heartbeat";
};
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment