From patchwork Wed Jul 4 08:30:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Code Kipper X-Patchwork-Id: 10506135 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7F0FD602BC for ; Wed, 4 Jul 2018 08:31:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67ED528D43 for ; Wed, 4 Jul 2018 08:31:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 666C428D4F; Wed, 4 Jul 2018 08:31:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 18C9428D5B for ; Wed, 4 Jul 2018 08:31:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=lT529rlXLZjRRxqVs3nOqg5iYJW70UuJUPz10a32Yeo=; b=Jqz s7jJ+E4qsOCUVTRc+0vUsrQGOF/ssLoCVOwWqvss+h3EaNbTOXKx/A1Jc2tZ5RECuBEnyjSEntaeP 6//tDJPagL3kZK3UVGxszb95kaMcCQl3kxDIfKBUX/KKJDxZHFnUfVSr1+dDbKIRZ0IbH1WIkShOs ftobyHlELzHESAWicRGdpwGAeuAcbMvh46Bp4ALc0DWsQQ8EBgiS0Lmu7n2AydmVqYqqmRHXdF/bu ZLjdCThk9imHE9LQwDfy/ayB9m2lEDnfDEOwNH/EC7ZClMv2c/4a8FbjLfUf0GyVPewmMbty711WR ShSH3noCBf3szP4INiXpMoa+nakyqWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fadBj-00048j-8j; Wed, 04 Jul 2018 08:30:59 +0000 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fadB3-0002yN-I5 for linux-arm-kernel@lists.infradead.org; Wed, 04 Jul 2018 08:30:22 +0000 Received: by mail-lj1-x244.google.com with SMTP id i125-v6so3635614lji.2 for ; Wed, 04 Jul 2018 01:30:07 -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; bh=3fd9JwAK5DMghrxFGjr7EmQrWicJv1y2b2d8iO/ekRA=; b=dYez4Q84J3RmAKDo0pWm3wgLcC5V5ckfM0PWD4fUiFLJ2WCLCZF2NFxCnVc10FQXnq 8KuQ6+/m07eyuwayiN91lVFzmvnmhaNmdodGtZOxa6UAlsSXEw4/G+/syv5+gxlCqwCv l9U+toYch2D3m5CwCRrGnqPBtNSeqFDucWGYEGbisrVoEfhYoJI+W0Fv3lXjJdpV6FQA T+1QoX3618RmKJak2w5u9cvgCocP0wyPCjPqBIJzFuoZihqjgzDix7tDWHcpWaF5YatF j2/6XB0MchfjiHltloqCRqCwlehYXpg3RhChYs2ZmsrCwNEentThYJ9YAcgDfRDhd0AU dB7g== 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; bh=3fd9JwAK5DMghrxFGjr7EmQrWicJv1y2b2d8iO/ekRA=; b=s2G4i3P2Y3kBKHmkxJjvY6UlaRJL8xP2SHyFOpTyFOFPEqJlR7TVRd9vOwdUydpmPT 5lj+4j4QjFa96+t1P8zcDxi2TlRc2QpjL+TjQmJ5j9xbytM1V+wMPLUeEtK4diqMZTd+ QmfbzYG7WfTTOd5Cl+E81hOepGm+LpEq/eXGEglsUc9I0wtFxVeKJG2Jh1Am2SSPK6Aq ffxcvUD38RjP49BHse9tV+20kq43WXbLX3FjxvASqZGqjYa9PFqJAFHHMEMEEztYlOs6 EHmeL/z5lg/Dqj3xVIC9hFQBvq6uS+xqb2zVf80Ti483NNSQySmiyCuokW316mn1BWoE 6Wpg== X-Gm-Message-State: APt69E01Ah4KBCAPac6e8PRt1SJHDARBx4k6VjmnyvM29yBixxxEe6+m rF+gi6TNQNYz9L2jWlZqeRg= X-Google-Smtp-Source: AAOMgpdaoA62K/1Vu0oA22rrtnMWXLIHZy25RUVr9rPrE5dpGrEB0sR2qHHW8Rhj2jKigBxF4BUNSQ== X-Received: by 2002:a2e:834a:: with SMTP id l10-v6mr802799ljh.7.1530693005548; Wed, 04 Jul 2018 01:30:05 -0700 (PDT) Received: from localhost.localdomain (c83-253-254-90.bredband.comhem.se. [83.253.254.90]) by smtp.gmail.com with ESMTPSA id n17-v6sm485900ljb.82.2018.07.04.01.30.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jul 2018 01:30:04 -0700 (PDT) From: codekipper@gmail.com To: maxime.ripard@free-electrons.com, wens@csie.org, linux-sunxi@googlegroups.com Subject: [linux-sunxi][PATCH v2] ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2 Date: Wed, 4 Jul 2018 10:30:03 +0200 Message-Id: <20180704083003.26849-1-codekipper@gmail.com> X-Mailer: git-send-email 2.18.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180704_013018_017069_3244FD10 X-CRM114-Status: GOOD ( 11.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Marcus Cooper MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Marcus Cooper The enabling of the EMAC was reverted as there was an issue on how to handle the integrated PHY and it was getting close to the release window (fe45174b72ae ("arm: dts: sunxi: Revert EMAC changes")). When a solution was found, then the changes were restored in 4b236a0fe512 ("arm: dts: sunxi: h3/h5: Restore EMAC changes") and 4904337fe34f ("ARM: dts: sunxi: Restore EMAC changes (boards)"). Unfortunately enabling for the Beelink X2 was missed. This reverts partially commit 6b0e06df5cad (Revert "ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2") Signed-off-by: Marcus Cooper --- Changes for v2: - Added more details in commit message about the reverting and restoring patches. --- arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts index cf1f970b0c6f..5d23667dc2d2 100644 --- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts +++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts @@ -123,6 +123,13 @@ status = "okay"; }; +&emac { + phy-handle = <&int_mii_phy>; + phy-mode = "mii"; + allwinner,leds-active-low; + status = "okay"; +}; + &hdmi { status = "okay"; };