From patchwork Mon Jan 19 19:45:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Haab X-Patchwork-Id: 5660821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CB7CA9F333 for ; Mon, 19 Jan 2015 19:49:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EA0182045B for ; Mon, 19 Jan 2015 19:49:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E6F8120450 for ; Mon, 19 Jan 2015 19:49:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YDIHg-0008MS-O9; Mon, 19 Jan 2015 19:46:48 +0000 Received: from mail-ig0-x22d.google.com ([2607:f8b0:4001:c05::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YDIHE-0007qY-PO for linux-arm-kernel@lists.infradead.org; Mon, 19 Jan 2015 19:46:22 +0000 Received: by mail-ig0-f173.google.com with SMTP id a13so14308453igq.0 for ; Mon, 19 Jan 2015 11:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Ty3sju3++PASvKd53nNKF4nWvd/R5kGdPCf2ZqG+l2c=; b=Q62HZvKMbuIQkQRPmoBaX0B06yZz007XouOZm+bO7tfwpCwMIA5SWqDGgnlDxBoAQD 7LaZ4MOsMO35ycqUJxzymSiKnpzLzgwewxtwJX/RxMMIP4lisDSt6UoOfEFA5huOJ8+R m70bRcXZ0k2BFRSSq7oM7dF8vN+eeyoDNVTC8iGyAB83VCkZ9MKcgVWY1e52KE7QpNz3 6Gfohkm1d7G/goHYS/8nJPhLWbz8YCAe9vl0Aqc32w5CR7ySlz39IHtcmyUDm8k1ok9x M7IfBacHpKR8EZV+k6OiN1Jie4jhRIjXruKASlbOjNOaZliStw3CAJ/wH5WAMXyAYJuQ LylA== X-Received: by 10.42.79.76 with SMTP id q12mr29660620ick.16.1421696758088; Mon, 19 Jan 2015 11:45:58 -0800 (PST) Received: from localhost.localdomain (173-10-26-10-BusName-utah.ut.hfc.comcastbusiness.net. [173.10.26.10]) by mx.google.com with ESMTPSA id hi15sm174178igb.19.2015.01.19.11.45.56 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Jan 2015 11:45:57 -0800 (PST) From: Dan Haab To: Hauke Mehrtens , linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XWC-1000 Date: Mon, 19 Jan 2015 12:45:37 -0700 Message-Id: <1421696737-11779-1-git-send-email-riproute@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150119_114620_961897_F890EB5D X-CRM114-Status: GOOD ( 14.81 ) X-Spam-Score: -0.8 (/) Cc: "Rafa. Mi.ecki" , Russell King , Dan Haab X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Dan Haab Luxul XWC-1000 is a controller device based on BCM4708 SoC. The only unusual thing in its DTS file is "ubi" partition on NAND flash. Signed-off-by: Dan Haab --- As requested, I'm resending this patch including Linux ARM ML. P.S. We've successfully tested our device with earlyprintk which you may want to enable in the future. --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 60 ++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 2ca4bab..a03afbd 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -57,6 +57,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b-plus.dtb dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm4708-buffalo-wzr-1750dhp.dtb \ + bcm4708-luxul-xwc-1000.dtb \ bcm4708-netgear-r6250.dtb \ bcm4708-netgear-r6300-v2.dtb \ bcm47081-asus-rt-n18u.dtb \ diff --git a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts new file mode 100644 index 0000000..946c728 --- /dev/null +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts @@ -0,0 +1,60 @@ +/* + * Broadcom BCM470X / BCM5301X ARM platform code. + * DTS for Luxul XWC-1000 + * + * Copyright 2014 Luxul Inc. + * + * Licensed under the GNU/GPL. See COPYING for details. + */ + +/dts-v1/; + +#include "bcm4708.dtsi" + +/ { + compatible = "luxul,xwc-1000", "brcm,bcm4708"; + model = "Luxul XWC-1000 (BCM4708)"; + + chosen { + bootargs = "console=ttyS0,115200"; + }; + + memory { + reg = <0x00000000 0x08000000>; + }; + + axi@18000000 { + nand@28000 { + reg = <0x00028000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "ubi"; + reg = <0x00000000 0x08000000>; + }; + }; + }; + + leds { + compatible = "gpio-leds"; + + status { + label = "bcm53xx:green:status"; + gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "timer"; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + restart { + label = "Reset"; + linux,code = ; + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; + }; + }; +};