Commit 532d8fe5 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Shawn Guo
Browse files

ARM: dts: imx6: skov: add aliases for all ethernet nodes



Add aliases for all ethernet nodes including the switch. It makes it
easier to find this nodes by the boot loader.

Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 2a339523
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -13,10 +13,14 @@ chosen {
	aliases {
		can0 = &can1;
		can1 = &can2;
		ethernet0 = &fec;
		ethernet1 = &lan1;
		ethernet2 = &lan2;
		mdio-gpio0 = &mdio;
		nand = &gpmi;
		rtc0 = &i2c_rtc;
		rtc1 = &snvs;
		switch0 = &switch;
		usb0 = &usbh1;
		usb1 = &usbotg;
	};
@@ -60,7 +64,7 @@ mdio: mdio {
		gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>,
			<&gpio1 22 GPIO_ACTIVE_HIGH>;

		switch@0 {
		switch: switch@0 {
			compatible = "microchip,ksz8873";
			pinctrl-names = "default";
			pinctrl-0 = <&pinctrl_switch>;
@@ -73,13 +77,13 @@ ports {
				#address-cells = <1>;
				#size-cells = <0>;

				ports@0 {
				lan1: ports@0 {
					reg = <0>;
					phy-mode = "internal";
					label = "lan1";
				};

				ports@1 {
				lan2: ports@1 {
					reg = <1>;
					phy-mode = "internal";
					label = "lan2";