From patchwork Mon May 1 12:45:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9706487 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 27BAB60387 for ; Mon, 1 May 2017 12:51:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 176A62807E for ; Mon, 1 May 2017 12:51:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BD112808C; Mon, 1 May 2017 12:51:08 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 962A322B27 for ; Mon, 1 May 2017 12:51:07 +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:References: In-Reply-To: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:List-Owner; bh=F47dBy1D1aFqEUZXNJJK4oeWkJahhp+ArghRiNEWolU=; b=Rlu1wzRP8kl4JZbOneP2IJgA4x b8+n99zQ+Ia4O1KmKm4KI8BLoFTu3nHSmwZKrK9AUx7qPsimNxIFHNEgqwkE1yVT+/zNj+SkhPqqB w/rna4jmD2D+68A9oSDIyS1qtjRxp9O5ier7BOu1LOOf1A4iJ2iZJF7O8djoZSgyuPl2a2CFntou8 i2lTJGPEFGAuhPvG2Y7Du915Z9ojwayYwdlnCAiWb/zHXcpc4HW6HAJhcEwGOuObVqGFfqzK/zY5l bO6X/q5CFAX8198JwtQnuyQBbT80Gf/rfLTfGpAH9BuSdQLP/a07AywKJRWCWknWLA0NvRUxhcr3k Seecz9Sw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d5AnC-0006WZ-2D; Mon, 01 May 2017 12:51:06 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d5Akq-0002L5-PT for linux-arm-kernel@lists.infradead.org; Mon, 01 May 2017 12:48:43 +0000 Received: by mail-wm0-x243.google.com with SMTP id y10so23285192wmh.0 for ; Mon, 01 May 2017 05:48:20 -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=xntOxtrfD0eE/uDshSP1OWu0f3tLTO059s2PnBpjT/U=; b=qAs2+pM+dUVgwoR34HaBlcx4S3WsT7tShdf8PkxyH60fGQmhMFZ3Skt8ox66hSdQSx jsyFULlgvAwtLNPY0Ii7Si7HWuB6ulRv2azwXNdNwReb7jR83kjI4Q5pbkjG7JghJlsT /42BChgh/mQWQ8k7kkoXVOhMth5eSpopRucSl4d36qWIkDFgTs/7+nAJ377rUhb0w6bo rBYmN7LMPzushz5eZ+MPrsMqfS020J6y0QnEB6nfYyjbzUXuNV4PzJYi1plwDLCsPna4 4YwcS9n3YFJVTgfaIIE6rHyNtVjS2Har27lvRzgUv+s7mfTxPGwefVbecxtR4+wfE/c+ ASfw== 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=xntOxtrfD0eE/uDshSP1OWu0f3tLTO059s2PnBpjT/U=; b=CS8EGXvM7ay/JztuU1i8YY46KII2ZLisTpNkEa6JFkj/cvFkfDa0/v9V1EBIlg4ii/ 2dBzR+MSYIKnIkoyjoZvpAx4ST0BHe0dlmVTluQe6Nj+k4UCn7h6W+IeumaBkmnTe3Qi sOABg+JSN3kQTcJC6bQXvlYR1N72Rk4EoWfzpBmh6p3apS9vNLBTUv6RK5Qj3C8rPKxb WifI9bhnvYn+XHVBjrbxghcnQPa2ka2ZxX3pqrePbp1BwHeXumfru88F8A1VdQSxD3i6 Kzsr/eSzdYbtVYdcJRrn1MKa0EOjn/TPVRh0qCvQhX8HK3tzEtu0l4195URLCBsuL5OU 61oQ== X-Gm-Message-State: AN3rC/6azoYcyhnhxuBbhCGS0r/22LwEe1D6IeUACxQ7i96k6mb4148n ZDN2DdQw6Dkd+Q== X-Received: by 10.28.234.205 with SMTP id g74mr24480wmi.13.1493642899073; Mon, 01 May 2017 05:48:19 -0700 (PDT) Received: from Red.local (LFbn-1-7035-57.w90-116.abo.wanadoo.fr. [90.116.208.57]) by smtp.googlemail.com with ESMTPSA id 4sm3364514wrv.33.2017.05.01.05.48.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 May 2017 05:48:18 -0700 (PDT) From: Corentin Labbe To: robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, peppe.cavallaro@st.com, alexandre.torgue@st.com Subject: [PATCH v5 12/20] arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high Date: Mon, 1 May 2017 14:45:12 +0200 Message-Id: <20170501124520.3769-13-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170501124520.3769-1-clabbe.montjoie@gmail.com> References: <20170501124520.3769-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170501_054841_146442_5C4AB99B X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. 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, Corentin Labbe , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org 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 On the Orange Pi PC Plus, the polarity of the LEDs on the RJ45 Ethernet port were changed from active low to active high. Signed-off-by: Chen-Yu Tsai Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts index 8b93f5c..a10281b 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts @@ -53,6 +53,11 @@ }; }; +&emac { + /* LEDs changed to active high on the plus */ + /delete-property/ allwinner,leds-active-low; +}; + &mmc1 { pinctrl-names = "default"; pinctrl-0 = <&mmc1_pins_a>;