From patchwork Sat May 9 14:25:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Tomer X-Patchwork-Id: 1286683 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=K9vfo1xD; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49K8f1626Yz9sNH for ; Sun, 10 May 2020 00:26:49 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9A75080476; Sat, 9 May 2020 16:26:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="K9vfo1xD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2688480551; Sat, 9 May 2020 16:26:01 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3AF8380476 for ; Sat, 9 May 2020 16:25:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=amittomer25@gmail.com Received: by mail-pl1-x642.google.com with SMTP id z6so1961629plk.10 for ; Sat, 09 May 2020 07:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=R7HK0uvWVE+0gfYiGsWfRo2jq35wN7RWtWtlLiCe6pI=; b=K9vfo1xDIJwbyjJr1JTWe7JQjlEvznPMUUhTPWtPdHhWgtu7SPWPad1l5d1PQzo/n7 n/2cHkFPWP9iIqBJ3BuHeoIt5TbcK6nNz4ZfG/YnKsLvKv9jXMwRh8v5K5WbsdF3UT08 OiGhSLIVRSafhrR3UTZG+Z4/EuTmMlVjf0w3PsdTBThNC9HeS/J+v8orQVqCFEOS6ApU aMrLxxPb5cHJ9V6GtVArcXE1+dkEHO2JTIw8TiiZyClMg640P4CQU8Qx+dooJ4dvMEGm nuvpygs5asQui4qir1lepFtVFicYDCjt22/5QD14ahDA13D9RtF9Y3bxCPF0BCiC/Oa/ 0RUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=R7HK0uvWVE+0gfYiGsWfRo2jq35wN7RWtWtlLiCe6pI=; b=ugr1PA1AAhKXQN7Vi2sLa6fb5ZMmPnBuSx1t/i0ArG7wDmcEB+1PtoBvnGFGG5w95T PMK6dUKfrXPha2G6GdGNxUKv4Wik0prlDX5bgk14i6cp5aFD7sM4rVsHMPY5+jTvuHrq 456K4xklo4KUIsjwOfSJYbO54EITKXFtTYdQODrer+aBJNBc6TIcxqozyntsyqltx3gF oC0mkekQWpZC4n1E3mx2k4My1yLW0B9Apd26+uJW7dk9UYQpHE+WteYRNxuVzEswoddG cP4yuKgj7y1NRZyScM4CJk7PFVyKuylleIl6h4HgNf45yN9FJV3phUAbUDvGJrFYSSv4 rsSw== X-Gm-Message-State: AGi0Pua+4tOLsI+iat7qHYIvKrzOV7a0Bf/03NOHwJDD26zRNIAg5d9d gh4VSX4Wxpv1BKvqI6NHL31uqYdd4P8= X-Google-Smtp-Source: APiQypIIlGBF/GH3tjiNyunHjXO79ukga2b20IacfH929a3SQsAzbcdABkSdCwYFSSp0x593kkwNFg== X-Received: by 2002:a17:902:c015:: with SMTP id v21mr7424063plx.189.1589034353251; Sat, 09 May 2020 07:25:53 -0700 (PDT) Received: from localhost.localdomain ([106.215.22.163]) by smtp.gmail.com with ESMTPSA id a22sm4781699pfg.169.2020.05.09.07.25.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 May 2020 07:25:52 -0700 (PDT) From: Amit Singh Tomar To: u-boot@lists.denx.de Cc: andre.przywara@arm.com, manivannan.sadhasivam@linaro.org, trini@konsulko.com Subject: [PATCH v1 5/7] arm: dts: s700: add node for ethernet controller Date: Sat, 9 May 2020 19:55:13 +0530 Message-Id: <1589034315-19722-6-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1589034315-19722-1-git-send-email-amittomer25@gmail.com> References: <1589034315-19722-1-git-send-email-amittomer25@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean This patch adds node for ethernet controller found on Action Semi OWL S700 SoC. Since, there is no upstream Linux binding exist for S700 ethernet controller, Changes are put in u-boot specific dtsi file. Signed-off-by: Amit Singh Tomar --- arch/arm/dts/s700-u-boot.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/s700-u-boot.dtsi b/arch/arm/dts/s700-u-boot.dtsi index a527cccc75f2..1b2768272c62 100644 --- a/arch/arm/dts/s700-u-boot.dtsi +++ b/arch/arm/dts/s700-u-boot.dtsi @@ -6,6 +6,19 @@ /{ soc { u-boot,dm-pre-reloc; + + gmac: ethernet@e0220000 { + compatible = "actions,s700-ethernet"; + reg = <0 0xe0220000 0 0x2000>; + interrupts = ; + interrupt-names = "macirq"; + local-mac-address = [ 00 18 fe 66 66 66 ]; + clocks = <&cmu CLK_ETHERNET>, <&cmu CLK_RMII_REF>; + clock-names = "ethernet", "rmii_ref"; + phy-mode = "rmii"; + status = "okay"; + }; + }; };