Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60839c53 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Alexandre Belloni
Browse files

ARM: dts: at91: ariag25: Style cleanup



- newline between properties and sub-nodes
- use tags from included dtsi instead of duplicating the hierarchy

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-2-uwe@kleine-koenig.org


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 1fef2bf5
Loading
Loading
Loading
Loading
+124 −131
Original line number Diff line number Diff line
@@ -14,11 +14,6 @@
		     "atmel,at91sam9x5", "atmel,at91sam9";

	aliases {
		serial0 = &dbgu;
		serial1 = &usart0;
		serial2 = &usart1;
		serial3 = &usart2;
		serial4 = &usart3;
		serial5 = &uart0;
		serial6 = &uart1;
	};
@@ -42,22 +37,83 @@
		};
	};

	ahb {
		apb {
			mmc0: mmc@f0008000 {
	leds {
		compatible = "gpio-leds";

		/* little green LED in middle of Aria G25 module */
		aria_led {
			label = "aria_led";
			gpios = <&pioB 8 GPIO_ACTIVE_HIGH>; /* PB8 */
			linux,default-trigger = "heartbeat";
		};

	};

	onewire {
		compatible = "w1-gpio";
		gpios = <&pioA 21 GPIO_ACTIVE_LOW>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_w1_0>;
	};
};

&adc0 {
	status = "okay";
	atmel,adc-channels-used = <0xf>;
};

&dbgu {
	status = "okay";
};

&i2c0 {
	status = "okay";
};

&i2c1 {
	status = "okay";
};

/* TWD2+TCLK2 hidden behind ethernet, so no i2c2 */

&macb0 {
	phy-mode = "rmii";
	/*
	 * following can be overwritten by bootloader:
	 * for example u-boot 'ftd set' command
	 */
	local-mac-address = [00 00 00 00 00 00];
	status = "okay";
};


&mmc0 {
	/* N.B. Aria has no SD card detect (CD), assumed present */

	pinctrl-0 = <
		&pinctrl_mmc0_slot0_clk_cmd_dat0
		&pinctrl_mmc0_slot0_dat1_3>;
	status = "okay";

	slot@0 {
		reg = <0>;
		bus-width = <4>;
	};
};

			tcb0: timer@f8008000 {
&pinctrl {
	w1_0 {
		pinctrl_w1_0: w1_0-0 {
			atmel,pins = <0 21 0x0 0x1>; /* PA21 PIO, pull-up */
		};
	};
};

&rtc {
	status = "okay";
};

&tcb0 {
	timer@0 {
		compatible = "atmel,tcb-timer";
		reg = <0>;
@@ -69,24 +125,27 @@
	};
};

			i2c0: i2c@f8010000 {
				status = "okay";
/*
 * UART0/1 pins are marked as GPIO on
 * Aria documentation.
 * Change to "okay" if you need additional serial ports
 */
&uart0 {
	status = "disabled";
};

			i2c1: i2c@f8014000 {
				status = "okay";
&uart1 {
	status = "disabled";
};

			/* TWD2+TCLK2 hidden behind ethernet, so no i2c2 */

			usart0: serial@f801c000 {
&usart0 {
	pinctrl-0 = <&pinctrl_usart0
		     &pinctrl_usart0_rts
		     &pinctrl_usart0_cts>;
	status = "okay";
};

			usart1: serial@f8020000 {
&usart1 {
	pinctrl-0 = <&pinctrl_usart1
		     /* &pinctrl_usart1_rts */
		     /* &pinctrl_usart1_cts */
@@ -94,14 +153,14 @@
	status = "okay";
};

			usart2: serial@f8024000 {
&usart2 {
	/* cannot activate RTS2+CTS2, clash with
	 * ethernet on PB0 and PB1 */
	pinctrl-0 = <&pinctrl_usart2>;
	status = "okay";
};

			usart3: serial@f8028000 {
&usart3 {
	compatible = "atmel,at91sam9260-usart";
	reg = <0xf8028000 0x200>;
	interrupts = <8 4 5>;
@@ -113,77 +172,11 @@
	status = "okay";
};

			macb0: ethernet@f802c000 {
				phy-mode = "rmii";
				/*
				 * following can be overwritten by bootloader:
				 * for example u-boot 'ftd set' command
				 */
				local-mac-address = [00 00 00 00 00 00];
				status = "okay";
			};

			/*
			 * UART0/1 pins are marked as GPIO on
			 * Aria documentation.
			 * Change to "okay" if you need additional serial ports
			 */
			uart0: serial@f8040000 {
				status = "disabled";
			};

			uart1: serial@f8044000 {
				status = "disabled";
			};

			adc0: adc@f804c000 {
				status = "okay";
				atmel,adc-channels-used = <0xf>;
			};

			dbgu: serial@fffff200 {
				status = "okay";
			};

			pinctrl@fffff400 {
				w1_0 {
					pinctrl_w1_0: w1_0-0 {
						atmel,pins = <0 21 0x0 0x1>; /* PA21 PIO, pull-up */
					};
				};
			};

			rtc@fffffeb0 {
				status = "okay";
			};
		};

		usb0: ohci@600000 {
&usb0 {
	status = "okay";
	num-ports = <3>;
};

		usb1: ehci@700000 {
&usb1 {
	status = "okay";
};
	};

	leds {
		compatible = "gpio-leds";

		/* little green LED in middle of Aria G25 module */
		aria_led {
			label = "aria_led";
			gpios = <&pioB 8 GPIO_ACTIVE_HIGH>; /* PB8 */
			linux,default-trigger = "heartbeat";
		};

	};

	onewire {
		compatible = "w1-gpio";
		gpios = <&pioA 21 GPIO_ACTIVE_LOW>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_w1_0>;
	};
};