From patchwork Thu Apr 9 04:38:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Dembicki X-Patchwork-Id: 11481195 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A59B9112C for ; Thu, 9 Apr 2020 04:39:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 74CE020936 for ; Thu, 9 Apr 2020 04:39:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="b4XoRTw/"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="j+E/pO5o" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 74CE020936 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=0eb4ZhIooEc/35WusctGl0BYk4Zg45nnFZYPHXr5LTA=; b=b4XoRTw/vyDRCe Uj5CjKEAxJLg+GNOsIMriT622jJ6n5isRx8KWMzXZGhy0fpDnxFxSaDdq7KeUFaICEAaavFDut4mZ e+ikJrpH2oAJoA1JXzUgRD0OR9IqCfcdotQ8JaNGkfyu3g6c3Zqa30CkrcbDA9mM5acOw45WiWVZk +FakPStnknbpCKrNc2JtBA5GUgzpb+K9xFbw2BlEtPVU0IArlgMFo4OZN3W5mgXPW7uwio8TXc10c czlH8GKjzmyNGtAh6XO3d4+8mzslmGQy8bEiDCpVGgbMQzKWTyPtIv20bL+en/nFnw93jxENnbIqO LgA3VmpDmggNaIcyT1qw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMOyK-00069X-7t; Thu, 09 Apr 2020 04:39:24 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMOyH-00068M-Tn for linux-arm-kernel@lists.infradead.org; Thu, 09 Apr 2020 04:39:23 +0000 Received: by mail-lj1-x241.google.com with SMTP id q22so6290959ljg.0 for ; Wed, 08 Apr 2020 21:39:21 -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:mime-version :content-transfer-encoding; bh=9Q73xNdv2R+z9gFjCSnBmt7b8MZjalwO0UY5qHs4gQ0=; b=j+E/pO5oeUTKpHisnXPL4xKYx8rtZwHYf7uJLrXXx/7aWsdlHbu25EFqAjxUeHu4oW hMw0Ttm1oy1A3zdktYXHVVUbUMZ+UGfJEvorAWvu6qeexfAdegXTTqL09ClMcXD/MGuD wKtgRJHSdp5S9TqxtM6F0YQCPJ7VbNxkhu8t3S8/cGkctWfp77zZErzXhPPOlzkWtMpb CNWQ1yJQw90RGX+Q+JLkJHe4CbaW71XwlAMk1991LPlF2WlDwiHbiH6edVPU1/03JLK0 t36nOoCoYMdmG7iiu+l6Mf0xHcVi8GbJCd0lhfTH3o02AZLMgnVNhSIm50xvMwh7x/4n F9kw== 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:mime-version :content-transfer-encoding; bh=9Q73xNdv2R+z9gFjCSnBmt7b8MZjalwO0UY5qHs4gQ0=; b=MBFG88bLxFCIa5sKcjtUOyY2ODT7sWioSS2SpP5gAvX2tKBSYtLKsElDEh4HIP/Ihx 8pLuk1O/UfpOtFP8VRr7LcUCm00z615a1kJLXqulSY5XK52jy/OTE4mgzxQPYACTIz9g x94xMoG462CQqi8xUI0wt/kkycCgfjShlMG/r3IsnqjFoQYh95lFn7j9QLn45Ug4nfcu p9ebsIxBDIuZRickM4MOPjE1q7WVkl3SK7pgbRr9Eu1dY/ZMmwWKUpgC4Jgph/hB4QPB 68oZp7mtXH+kcnpxFdZfC+/oNestcHF+ulI/r5RfkywfDnJnuXVjId7q7dzYdu40QPod fgWA== X-Gm-Message-State: AGi0PuYTO1PCJ5i8tREzBxmpyxV26Vc4ShkYdRaVoswJOv+5SadGAmpM 8Xv9AaI6pTaHLJKCgodopmY= X-Google-Smtp-Source: APiQypLlJZGt/DrfTYvSSeDNeGl8eyvktPcVRIowcz7uFVSwS+hyBJYC/iExJ2JUGA5nxWvIjJPJJA== X-Received: by 2002:a2e:868b:: with SMTP id l11mr1872978lji.247.1586407156616; Wed, 08 Apr 2020 21:39:16 -0700 (PDT) Received: from localhost.localdomain ([185.188.71.122]) by smtp.gmail.com with ESMTPSA id h23sm12887893ljg.13.2020.04.08.21.39.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 21:39:16 -0700 (PDT) From: Pawel Dembicki To: Subject: [PATCH 1/2] dt-bindings: vendor-prefixes: Add Check Point Date: Thu, 9 Apr 2020 06:38:46 +0200 Message-Id: <20200409043851.31217-1-paweldembicki@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200408_213921_964275_7C5CAE8A X-CRM114-Status: UNSURE ( 9.04 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:241 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [paweldembicki[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Jason Cooper , Stephan Gerhold , devicetree@vger.kernel.org, Heiko Stuebner , Gregory Clement , linux-kernel@vger.kernel.org, Rob Herring , Pawel Dembicki , Mark Brown , Maxime Ripard , Sam Ravnborg , Linus Walleij , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Check Point Software Technologies Ltd. is a company based in Israel and USA. They manufacture network devices and provide software products for IT security. Signed-off-by: Pawel Dembicki --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index d3891386d671..4033d8b38170 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -182,6 +182,8 @@ patternProperties: "^ceva,.*": description: Ceva, Inc. "^chipidea,.*": + description: Check Point Software Technologies Ltd. + "^checkpoint,.*": description: Chipidea, Inc "^chipone,.*": description: ChipOne From patchwork Thu Apr 9 04:38:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Dembicki X-Patchwork-Id: 11481197 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9AAFD112C for ; Thu, 9 Apr 2020 04:40:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 68F7B20787 for ; Thu, 9 Apr 2020 04:40:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aAwXmUWO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FSUeT22q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 68F7B20787 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=jPeXhHsKyTC3F4SvzM1UwzChZQLIiXfyJroTsjSuk/8=; b=aAwXmUWOIjBl6y /l7Uq30QLF/gbJPYZlKvT29UsiMiw38b8q2PzR+2g5swiffVVfRlQaZrAfeybPUMMAHqzMeAC0A4g 33SF7myXIFbOEyLAbJSseKR0etJrtsVpOrGRlwjEKp4/IdmdnTg5dcOb2r/dETCQwXoW+WIFwtbBl Rf6+gAEaKSDR//iQ30UUhAS2GsgqcyoddcYiFu2L5Zgwt76RB5a/Xnii1xR5QhbW72rtEcAawXB6/ fTSPk60AZG28M0aKTWReloBbFpWtSP/qtu6Gu2ETth/OqxjUP8W+6+ZHXDYe+1wjESiAS51eYWZe/ LebOrifiQsVOGO9xO3nQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMOzd-0000Ns-1Y; Thu, 09 Apr 2020 04:40:45 +0000 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMOzZ-0000NU-KJ for linux-arm-kernel@lists.infradead.org; Thu, 09 Apr 2020 04:40:43 +0000 Received: by mail-lj1-x243.google.com with SMTP id 142so5491913ljj.7 for ; Wed, 08 Apr 2020 21:40:41 -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 :mime-version:content-transfer-encoding; bh=YV7vj17vcdQJ+jVfwxKNxZrPKUkrDS7t9FLm47yDnRw=; b=FSUeT22qW1aU2jRkIMS6j4cmQaUF633zAJzAcAz/QsRHHMjsOzkhj/7Q5iPEkbzQK2 MKGCJyznLt+U9EN3OS8osdghXo2ga5lx9ISXcWMR4YKgyG7G1p9UqoiEUFROfjIrtOky rbyvc0NrIrsReCg9d8XBe3+t91Ni9IR4KzWzh/f0fS38JCsBDMkkWqi/WBQGFHDpxp3I aXbS+8fogKKujvx6N5QQhoZyORkG3I0Z19CN39/i6S+7b4HqM6ii/6PC7suxZGf+4/9y Tj2uZKH0gIvmwAuk85YAKn2aJ0D0bIEQGotdG3NF1ZMkXliqa8FqMIK9T2F0P35WZpA4 td0w== 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:mime-version:content-transfer-encoding; bh=YV7vj17vcdQJ+jVfwxKNxZrPKUkrDS7t9FLm47yDnRw=; b=MA9+IICesAW19op5OXdFkwA1d1Cztfe40WOxNDrf7QeqU8cZ1l6GthA5xlTuJTcUT3 uKnclFVO0pzT+6p6RfXWSrRowIevm5Ry3hKR240MukvmncXfhuBR0HPX7y9b038fyp3X cKi+FkyL47LtHyfSVoKjAORGbXM6Hjfg313mVS5ojirbFxWBgqa4uXCLoZmS/2Df5z0m kN4Fdyu5rc3EOWfwTaonRdsmqphlpLog5ThmBb18LbLvQWNRUxD2y+JmXeMOUbPyzbwo S8XhziNjJsteS8nEOEOMmwhuyuNThpn6kbxmPROxmYkyG/WxTRBc5xegGUjjNn2y4LfU ZVrw== X-Gm-Message-State: AGi0PuZ+9CIymE2PtGrK1UcHswHDJGPtD0hwQro/XEFfQ6nuVDfSZ4pE ei1+PvuYi7AJ5bwTo/AAJPk= X-Google-Smtp-Source: APiQypJXknoq1mPgYK7B1fYLwzQQYuUWCdGN//zm2+ld19+GAJe00FzWgFzCtRM4Y6hXf4tpPpeX5A== X-Received: by 2002:a2e:b8c1:: with SMTP id s1mr7323307ljp.0.1586407239863; Wed, 08 Apr 2020 21:40:39 -0700 (PDT) Received: from localhost.localdomain ([185.188.71.122]) by smtp.gmail.com with ESMTPSA id h23sm12887893ljg.13.2020.04.08.21.40.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 21:40:39 -0700 (PDT) From: Pawel Dembicki To: Subject: [PATCH 2/2] ARM: dts: kirkwood: Add Check Point L-50 board Date: Thu, 9 Apr 2020 06:38:48 +0200 Message-Id: <20200409043851.31217-2-paweldembicki@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200409043851.31217-1-paweldembicki@gmail.com> References: <20200409043851.31217-1-paweldembicki@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200408_214041_673249_C1628D74 X-CRM114-Status: GOOD ( 16.16 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [paweldembicki[at]gmail.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:243 listed in] [list.dnswl.org] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Jason Cooper , Stephan Gerhold , devicetree@vger.kernel.org, Heiko Stuebner , Gregory Clement , linux-kernel@vger.kernel.org, Rob Herring , Pawel Dembicki , Mark Brown , Maxime Ripard , Sam Ravnborg , Linus Walleij , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch adds dts for the Check Point L-50 from 600/1100 series routers. Specification: -CPU: Marvell Kirkwood 88F6821 1200MHz -RAM: 512MB -Flash: NAND 512MB -WiFi: mPCIe card based on Atheros AR9287 b/g/n -WAN: 1 Gigabit Port (Marvell 88E1116R PHY) -LAN: 9 Gigabit Ports (2x Marvell 88E6171(5+3)) -USB: 2x USB2.0 -Express card slot -SD card slot -Serial console: RJ-45 115200 8n1 -Unsupported DSL Signed-off-by: Pawel Dembicki --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/kirkwood-l-50.dts | 441 ++++++++++++++++++++++++++++ 2 files changed, 442 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-l-50.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e8dd99201397..eba030b3ba69 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -279,6 +279,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += \ kirkwood-iomega_ix2_200.dtb \ kirkwood-is2.dtb \ kirkwood-km_kirkwood.dtb \ + kirkwood-l-50.dtb \ kirkwood-laplug.dtb \ kirkwood-linkstation-lsqvl.dtb \ kirkwood-linkstation-lsvl.dtb \ diff --git a/arch/arm/boot/dts/kirkwood-l-50.dts b/arch/arm/boot/dts/kirkwood-l-50.dts new file mode 100644 index 000000000000..ab3a90287260 --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-l-50.dts @@ -0,0 +1,441 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Check Point L-50 Board Description + * Copyright 2020 Pawel Dembicki + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6281.dtsi" + +/ { + model = "Check Point L-50"; + compatible = "checkpoint,l-50", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x20000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + ocp@f1000000 { + pinctrl: pin-controller@10000 { + pinctrl-0 = <&pmx_led38 &pmx_sysrst &pmx_button29>; + pinctrl-names = "default"; + + pmx_sysrst: pmx-sysrst { + marvell,pins = "mpp6"; + marvell,function = "sysrst"; + }; + + pmx_button29: pmx_button29 { + marvell,pins = "mpp29"; + marvell,function = "gpio"; + }; + + pmx_led38: pmx_led38 { + marvell,pins = "mpp38"; + marvell,function = "gpio"; + }; + + pmx_sdio_cd: pmx-sdio-cd { + marvell,pins = "mpp46"; + marvell,function = "gpio"; + }; + }; + + serial@12000 { + status = "okay"; + }; + + mvsdio@90000 { + status = "okay"; + cd-gpios = <&gpio1 14 9>; + }; + + i2c@11000 { + status = "okay"; + clock-frequency = <400000>; + + gpio2: gpio-expander@20{ + #gpio-cells = <2>; + #interrupt-cells = <2>; + compatible = "semtech,sx1505q"; + reg = <0x20>; + + gpio-controller; + }; + + /* Three GPIOs from 0x21 exp. are undescribed in dts: + * 1: DSL module reset (active low) + * 5: mPCIE reset (active low) + * 6: Express card reset (active low) + */ + gpio3: gpio-expander@21{ + #gpio-cells = <2>; + #interrupt-cells = <2>; + compatible = "semtech,sx1505q"; + reg = <0x21>; + + gpio-controller; + }; + + rtc@30 { + compatible = "s35390a"; + reg = <0x30>; + }; + }; + }; + + leds { + compatible = "gpio-leds"; + + status_green { + label = "l-50:green:status"; + gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; + }; + + status_orange { + label = "l-50:orange:status"; + gpios = <&gpio3 2 GPIO_ACTIVE_LOW>; + }; + + wifi { + label = "l-50:green:wifi"; + gpios = <&gpio2 7 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tpt"; + }; + + internet_green { + label = "l-50:green:internet"; + gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; + }; + + internet_red { + label = "l-50:red:internet"; + gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; + }; + + usb1_green { + label = "l-50:green:usb1"; + gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; + linux,default-trigger = "usbport"; + trigger-sources = <&hub_port3>; + }; + + usb1_red { + label = "l-50:red:usb1"; + gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; + }; + + usb2_green { + label = "l-50:green:usb2"; + gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; + linux,default-trigger = "usbport"; + trigger-sources = <&hub_port1>; + }; + + usb2_red { + label = "l-50:red:usb2"; + gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; + }; + }; + + usb2_pwr { + compatible = "regulator-fixed"; + regulator-name = "usb2_pwr"; + + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio3 3 GPIO_ACTIVE_LOW>; + enable-active-low; + regulator-always-on; + }; + + usb1_pwr { + compatible = "regulator-fixed"; + regulator-name = "usb1_pwr"; + + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio3 4 GPIO_ACTIVE_LOW>; + enable-active-low; + regulator-always-on; + }; + + mpcie_pwr { + compatible = "regulator-fixed"; + regulator-name = "mpcie_pwr"; + + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + + express_card_pwr { + compatible = "regulator-fixed"; + regulator-name = "express_card_pwr"; + + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio3 7 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + + keys { + compatible = "gpio-keys-polled"; + poll-interval = <20>; + + factory_defaults { + label = "factory_defaults"; + gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy@8 { + reg = <0x08>; + }; + + switch0: switch@10 { + compatible = "marvell,mv88e6085"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x10>; + dsa,member = <0 0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + label = "lan5"; + }; + + port@1 { + reg = <1>; + label = "lan1"; + }; + + port@2 { + reg = <2>; + label = "lan6"; + }; + + port@3 { + reg = <3>; + label = "lan2"; + }; + + port@4 { + reg = <4>; + label = "lan7"; + }; + + switch0port5: port@5 { + reg = <5>; + phy-mode = "rgmii-txid"; + link = <&switch1port5>; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@6 { + reg = <6>; + label = "cpu"; + phy-mode = "rgmii-id"; + ethernet = <ð1port>; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + }; + }; + switch@11 { + compatible = "marvell,mv88e6085"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x11>; + dsa,member = <0 1>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + label = "lan3"; + }; + + port@1 { + reg = <1>; + label = "lan8"; + }; + + port@2 { + reg = <2>; + label = "lan4"; + }; + + port@3 { + reg = <3>; + label = "dmz"; + }; + + switch1port5: port@5 { + reg = <5>; + phy-mode = "rgmii-txid"; + link = <&switch0port5>; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@6 { + reg = <6>; + label = "dsl"; + fixed-link { + speed = <100>; + full-duplex; + }; + }; + }; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port@0 { + phy-handle = <ðphy0>; + }; +}; + +ð1 { + status = "okay"; + ethernet1-port@0 { + speed = <1000>; + duplex = <1>; + }; +}; + +&nand { + status = "okay"; + pinctrl-0 = <&pmx_nand>; + pinctrl-names = "default"; + + partition@0 { + label = "u-boot"; + reg = <0x0000000 0xc0000>; + }; + + partition@a0000 { + label = "bootldr-env"; + reg = <0x000c0000 0x40000>; + }; + + partition@100000 { + label = "kernel-1"; + reg = <0x00100000 0x800000>; + }; + + partition@900000 { + label = "rootfs-1"; + reg = <0x08200000 0x7100000>; + }; + + partition@7a00000 { + label = "kernel-2"; + reg = <0x07a00000 0x800000>; + }; + + partition@8200000 { + label = "rootfs-2"; + reg = <0x08200000 0x7100000>; + }; + + partition@f300000 { + label = "default_sw"; + reg = <0x0f300000 0x7900000>; + }; + + partition@16c00000 { + label = "logs"; + reg = <0x16c00000 0x1800000>; + }; + + partition@18400000 { + label = "preset_cfg"; + reg = <0x18400000 0x100000>; + }; + + partition@18500000 { + label = "adsl"; + reg = <0x18500000 0x100000>; + }; + + partition@18600000 { + label = "storage"; + reg = <0x18600000 0x7A00000>; + }; +}; + +&rtc { + status = "disabled"; +}; + +&pciec { + status = "okay"; +}; + +&pcie0 { + status = "okay"; +}; + +&sata_phy0 { + status = "disabled"; +}; + +&sata_phy1 { + status = "disabled"; +}; + +&usb0 { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + #trigger-source-cells = <0>; + + hub_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + hub_port3: port@3 { + reg = <3>; + #trigger-source-cells = <0>; + }; + }; +};