From patchwork Wed Sep 21 20:58:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 9344215 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 CF87A601C2 for ; Wed, 21 Sep 2016 21:01:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF1072A80D for ; Wed, 21 Sep 2016 21:01:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B36D02A85A; Wed, 21 Sep 2016 21:01:16 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 713F92A80D for ; Wed, 21 Sep 2016 21:01:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmocC-0005GO-48; Wed, 21 Sep 2016 20:59:36 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bmoc7-0005DS-2Y for linux-arm-kernel@lists.infradead.org; Wed, 21 Sep 2016 20:59:31 +0000 Received: by mail-lf0-x243.google.com with SMTP id s64so3043335lfs.2 for ; Wed, 21 Sep 2016 13:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=twgHyOs0+7rU1LLdTIx7Mxiue61zPZOAdaP3hg3DYQU=; b=hbscNn5IoEIfjHG+C7UZrpt4U2r8PxcNXszV0JnUKnGKIp+tGpbuTIOwa5Zc+8SBL8 VnG8MkHW6oC9s4yEG5b0hKwVB6Wd9/9ygEyGxYoNZ4nwkZDBTn9Px1zBF75gvsp5mvNH scrNFpYBI2VJ/pXAI5OEGQuOEL+WmDCNensSNWuroh3yWasY9FTP5q5yP30yBdx6j/wd Rig9vPzpGqbqx9zn7E5lWgcFjv1PFf5QkK5WzmsSh/sSqgtV3zG9xqD8i4R2qLMVvCmv 9kL0MIAEDfEcFPzAocT1R02d+0qd+80cnLY+/dmbq1dlWLsgLX/secFM8qY2et2HcjoQ agKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=twgHyOs0+7rU1LLdTIx7Mxiue61zPZOAdaP3hg3DYQU=; b=a7o2xO9XeNn2+5ng+V2kUDn6kh2XoI2qIp98hLEX2CiLBW/iqY/keCDk5tB/fL02dO xYNammkIgsAJpaFlVrJcCUeLtqKBG3d6K1Ycki1zu9zqh7NX9OMXIN2THWeX4jdJrPJr XYTj6Du6ojf0F2f1A9InTI6fQ4Px4wKmg8B7WbhV2RKIS8u88LOJn7vlMBv8Ia/nHO+h zxFM+GfQryYe25xV5WQ1UzQWFOUvNtPl3G3Byl3C06B+NzjoWwrUIKrsjEm/4L+oc/Fo 6U/myvL7k0ofv7axvjutMoAZoWQ1rhL7RBxBwhF2BEL07ErJwKxLZ5XTYV8U9/ZeI0G5 ipng== X-Gm-Message-State: AE9vXwP5X7n2T2vQ6dFH8MJ7q/djBC1xawC9rBWsMo772A2mGtzWz1VNVhOnD+78B+qfdw== X-Received: by 10.25.218.6 with SMTP id r6mr16894372lfg.111.1474491546936; Wed, 21 Sep 2016 13:59:06 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id o84sm890440lfi.34.2016.09.21.13.59.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Sep 2016 13:59:05 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Florian Fainelli Subject: [PATCH 1/3] ARM: BCM5301X: Add separated DTS include file for BCM47094 Date: Wed, 21 Sep 2016 22:58:32 +0200 Message-Id: <20160921205838.15627-1-zajec5@gmail.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160921_135931_370274_C83520CD X-CRM114-Status: GOOD ( 15.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Russell King , open list , Rob Herring , "maintainer:BROADCOM BCM5301X ARM ARCHITECTURE" , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , "open list:BROADCOM BCM5301X ARM ARCHITECTURE" 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: Rafał Miłecki Use it to store BCM47094 specific properties/values and avoid repeating them in device DTS files. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 3 +-- arch/arm/boot/dts/bcm47094-netgear-r8500.dts | 3 +-- arch/arm/boot/dts/bcm47094.dtsi | 11 +++++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 arch/arm/boot/dts/bcm47094.dtsi diff --git a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts index c8c0b36..661348d 100644 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts @@ -9,7 +9,7 @@ /dts-v1/; -#include "bcm4708.dtsi" +#include "bcm47094.dtsi" #include "bcm5301x-nand-cs0-bch1.dtsi" / { @@ -107,7 +107,6 @@ &uart0 { status = "okay"; - clock-frequency = <125000000>; }; &usb3 { diff --git a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts index 10db4f8..521b415 100644 --- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts +++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts @@ -6,7 +6,7 @@ /dts-v1/; -#include "bcm4708.dtsi" +#include "bcm47094.dtsi" #include "bcm5301x-nand-cs0-bch8.dtsi" / { @@ -100,5 +100,4 @@ &uart0 { status = "okay"; - clock-frequency = <125000000>; }; diff --git a/arch/arm/boot/dts/bcm47094.dtsi b/arch/arm/boot/dts/bcm47094.dtsi new file mode 100644 index 0000000..f039765 --- /dev/null +++ b/arch/arm/boot/dts/bcm47094.dtsi @@ -0,0 +1,11 @@ +/* + * Copyright (C) 2016 Rafał Miłecki + * + * Licensed under the ISC license. + */ + +#include "bcm4708.dtsi" + +&uart0 { + clock-frequency = <125000000>; +};