From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Marek=20Beh=C3=BAn?= Date: Tue, 20 Nov 2018 13:04:03 +0100 Subject: [U-Boot] [PATCH u-boot-marvell v3 04/10] arch/arm/dts: Fix Turris Mox device tree In-Reply-To: <20181120120409.12822-1-marek.behun@nic.cz> References: <20181120120409.12822-1-marek.behun@nic.cz> Message-ID: <20181120120409.12822-4-marek.behun@nic.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de DTC issues a warning because #address-cells and #size-cells properties are not set in the mdio node. Also add ethernet1 alias. Also add RTC node. Also fix USB3 regulator startup delay time. Also fix PCI Express SERDES speed to 5 GHz (this is only cosmetic, the speed value is not used byt the comphy driver for PCI Express, but should be 5 GHz nonetheless). Signed-off-by: Marek Beh=C3=BAn --- arch/arm/dts/armada-3720-turris-mox.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/armada-3720-turris-mox.dts b/arch/arm/dts/armada-= 3720-turris-mox.dts index 9c96dd39a9..2a71da21bf 100644 --- a/arch/arm/dts/armada-3720-turris-mox.dts +++ b/arch/arm/dts/armada-3720-turris-mox.dts @@ -24,6 +24,7 @@ =20 aliases { ethernet0 =3D ð0; + ethernet1 =3D ð1; i2c0 =3D &i2c0; spi0 =3D &spi0; }; @@ -38,12 +39,16 @@ regulator-name =3D "usb3-vbus"; regulator-min-microvolt =3D <5000000>; regulator-max-microvolt =3D <5000000>; + startup-delay-us =3D <2000000>; shutdown-delay-us =3D <1000000>; gpio =3D <&gpiosb 0 GPIO_ACTIVE_HIGH>; regulator-boot-on; }; =20 mdio { + #address-cells =3D <1>; + #size-cells =3D <0>; + eth_phy1: ethernet-phy at 1 { reg =3D <1>; }; @@ -59,7 +64,7 @@ =20 phy1 { phy-type =3D ; - phy-speed =3D ; + phy-speed =3D ; }; =20 phy2 { @@ -80,6 +85,11 @@ pinctrl-names =3D "default"; pinctrl-0 =3D <&i2c1_pins>; status =3D "okay"; + + rtc at 6f { + compatible =3D "microchip,mcp7941x"; + reg =3D <0x6f>; + }; }; =20 &sdhci1 { --=20 2.18.1