From patchwork Wed May 18 07:39:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oswald Buddenhagen X-Patchwork-Id: 623417 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (caladan.dune.hu [78.24.191.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3r8mLl48rkz9t3h for ; Wed, 18 May 2016 17:39:59 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 8E7F5B801B2; Wed, 18 May 2016 09:39:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Wed, 18 May 2016 09:39:41 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 975F1B801D3 for ; Wed, 18 May 2016 09:39:39 +0200 (CEST) X-policyd-weight: using cached result; rate:hard: -6.1 Received: from postbox.kde.org (postbox.kde.org [46.4.96.248]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Wed, 18 May 2016 09:39:39 +0200 (CEST) Received: from byte1.vm.bytemark.co.uk (unknown [IPv6:2001:41c8:1:6043::12]) by postbox.kde.org (Postfix) with ESMTPS id C8E52BF39F; Wed, 18 May 2016 07:39:38 +0000 (UTC) Received: from localhost ([127.0.0.1]) by byte1.vm.bytemark.co.uk with esmtp (Exim 4.72) (envelope-from ) id 1b2w4w-0000Nr-FK; Wed, 18 May 2016 08:39:38 +0100 Received: by ugly.fritz.box (masqmail 0.3.4, from userid 1000) id 1b2w4w-51j-00; Wed, 18 May 2016 09:39:38 +0200 From: Oswald Buddenhagen To: openwrt-devel@lists.openwrt.org Date: Wed, 18 May 2016 09:39:24 +0200 Message-Id: <1463557164-19272-2-git-send-email-oswald.buddenhagen@gmx.de> X-Mailer: git-send-email 2.7.4.1.gb6fc189 In-Reply-To: <1463557164-19272-1-git-send-email-oswald.buddenhagen@gmx.de> References: <1463557164-19272-1-git-send-email-oswald.buddenhagen@gmx.de> Subject: [OpenWrt-Devel] [PATCH 2/2] [RFC] lantiq: explicitly configure some pins as outputs X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" They clearly are meant to be, and the bootloader (presumably) sets them up accordingly, but it's nicer to state it explicitly in the DT. Entirely untested. Signed-off-by: Oswald Buddenhagen --- target/linux/lantiq/dts/ARV4520PW.dts | 1 + target/linux/lantiq/dts/BTHOMEHUBV2B.dts | 1 + target/linux/lantiq/dts/BTHOMEHUBV3A.dts | 1 + target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 1 + target/linux/lantiq/dts/EASY50712.dts | 1 + target/linux/lantiq/dts/EASY50810.dts | 1 + 6 files changed, 6 insertions(+) diff --git a/target/linux/lantiq/dts/ARV4520PW.dts b/target/linux/lantiq/dts/ARV4520PW.dts index 0320ce4..3672601 100644 --- a/target/linux/lantiq/dts/ARV4520PW.dts +++ b/target/linux/lantiq/dts/ARV4520PW.dts @@ -111,6 +111,7 @@ pci_rst { lantiq,pins = "io21"; lantiq,open-drain = <0>; + lantiq,output = <1>; lantiq,pull = <0>; }; }; diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts index 219c584..46f197c 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts @@ -148,6 +148,7 @@ nand_cs1 { lantiq,groups = "nand cs1"; lantiq,function = "ebu"; + lantiq,output = <1>; lantiq,open-drain = <0>; lantiq,pull = <0>; }; diff --git a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts index 61746af..190d949 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts @@ -111,6 +111,7 @@ nand_cs1 { lantiq,groups = "nand cs1"; lantiq,function = "ebu"; + lantiq,output = <1>; lantiq,open-drain = <0>; lantiq,pull = <0>; }; diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts index e62a18d..df0b59e 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts @@ -104,6 +104,7 @@ lantiq,function = "ebu"; lantiq,open-drain = <0>; lantiq,pull = <0>; + lantiq,output = <1>; }; }; }; diff --git a/target/linux/lantiq/dts/EASY50712.dts b/target/linux/lantiq/dts/EASY50712.dts index 39ba1f7..9df3da0 100644 --- a/target/linux/lantiq/dts/EASY50712.dts +++ b/target/linux/lantiq/dts/EASY50712.dts @@ -80,6 +80,7 @@ }; conf_out { lantiq,pins = "io4", "io5", "io6"; /* stp */ + lantiq,output = <1>; lantiq,open-drain; lantiq,pull = <0>; }; diff --git a/target/linux/lantiq/dts/EASY50810.dts b/target/linux/lantiq/dts/EASY50810.dts index 70d2ff5..b155118 100644 --- a/target/linux/lantiq/dts/EASY50810.dts +++ b/target/linux/lantiq/dts/EASY50810.dts @@ -80,6 +80,7 @@ }; conf_out { lantiq,pins = "io4", "io5", "io6"; /* stp */ + lantiq,output = <1>; lantiq,open-drain; lantiq,pull = <0>; };