Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DA616C25B4E for ; Tue, 24 Jan 2023 17:09:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1B2AA856CD; Tue, 24 Jan 2023 18:07:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1674580067; bh=1JBQLkApFmBl88EL2GFbuhiBG3uNKC3ii90TZmiIY50=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=J+wnzCN6qTztGxYVjUy/JNnnkOZViSR+GsmLj6CmlH35SHKOQ1b9dnHZz2SsFVK/N SMCZWG98XQjcHQj9HbtQfiz4P0Q/dc1g/un/a832m59EQh0FlS/J23xW17TQqMl7JF GhpFQrh6n6P+cXspzoD1bYGDSZPQ4BwHCusnunHP4ZiWkWFkDzss+ck8YLTFF7d6JY 2/YBPyA9cRrRR3bqORgs6gETRnklN2MFd3r/bMJE+acsTkncgcbXigSo31pXuGm25B DmmoVk7v390PQ602+IrZfPO/t5dawhZQTYx03AJu2DkFd+BbYcwc8H7oBxwh90J6jt g+ieKd2I5FZHA== Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 4634485674; Tue, 24 Jan 2023 18:07:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1674580057; bh=1JBQLkApFmBl88EL2GFbuhiBG3uNKC3ii90TZmiIY50=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hl4UTexBCeRaUIRv2ePCDRPyADOe0+aqWZaietV3QaQXph8PvVy/uLjXXcV9qi3aw telVvPv6TpqVCetKrTPilxA9scY342b4CbAfuKSXjLIvb3Ofu1zwaJSC84xnNZjmF3 VKpL4m88IqUn+76VXg/q8KJVCNtcQD/MsFaErrzJPKz6GjKjSGEsE8sZMFUkqtVHvJ qpBV0Poao2BW9G3tqiR0CgU1+6VQXCup3gszM/QGYeCn9HcVm4CL34i7iqFA9A13l1 PDQWlefdc/BFardQu5KEtUHpeznLUyloPOUuRG+SDZS7CX+eUsi1ckhsRxR+I6sU+d ICA0N5FFr0V2A== Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTPS id 1568B180391; Tue, 24 Jan 2023 18:07:07 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 0E8951A009F; Tue, 24 Jan 2023 18:07:07 +0100 (CET) From: Heiko Schocher To: U-Boot Mailing List Cc: pali@kernel.org, Heiko Schocher Subject: [PATCH v1 04/12] powerpc: dts: updates socrates board Date: Tue, 24 Jan 2023 18:06:52 +0100 Message-Id: <20230124170700.3889830-5-hs@denx.de> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20230124170700.3889830-1-hs@denx.de> References: <20230124170700.3889830-1-hs@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean include common e500v2_power_isa.dtsi and rearrange some nodes. Signed-off-by: Heiko Schocher --- arch/powerpc/dts/socrates.dts | 59 +++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/arch/powerpc/dts/socrates.dts b/arch/powerpc/dts/socrates.dts index 452cf58b5e..ea75eb6af3 100644 --- a/arch/powerpc/dts/socrates.dts +++ b/arch/powerpc/dts/socrates.dts @@ -9,6 +9,8 @@ /dts-v1/; +/include/ "e500v2_power_isa.dtsi" + / { model = "abb,socrates"; compatible = "abb,socrates"; @@ -142,26 +144,29 @@ phy-handle = <&phy0>; tbi-handle = <&tbi0>; phy-connection-type = "rgmii-id"; + }; - mdio@520 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,gianfar-mdio"; - reg = <0x520 0x20>; - - phy0: ethernet-phy@0 { - interrupt-parent = <&mpic>; - interrupts = <0 1>; - reg = <0>; - }; - phy1: ethernet-phy@1 { - interrupt-parent = <&mpic>; - interrupts = <0 1>; - reg = <1>; - }; - tbi0: tbi-phy@11 { - reg = <0x11>; - }; + mdio@24520 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,gianfar-mdio"; + reg = <0x24520 0x20>; + + phy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + interrupt-parent = <&mpic>; + interrupts = <0 1>; + reg = <0>; + }; + + phy1: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + interrupt-parent = <&mpic>; + interrupts = <0 1>; + reg = <1>; + }; + tbi0: tbi-phy@11 { + reg = <0x11>; }; }; @@ -180,16 +185,16 @@ phy-handle = <&phy1>; tbi-handle = <&tbi1>; phy-connection-type = "rgmii-id"; + }; - mdio@520 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,gianfar-tbi"; - reg = <0x520 0x20>; + mdio@26520 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,gianfar-tbi"; + reg = <0x26520 0x20>; - tbi1: tbi-phy@11 { - reg = <0x11>; - }; + tbi1: tbi-phy@11 { + reg = <0x11>; }; }; -- 2.37.3