From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93C27C433EF for ; Sat, 18 Dec 2021 04:25:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AD79083007; Sat, 18 Dec 2021 05:25:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PVG9Hw0V"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DCC9A82FE0; Sat, 18 Dec 2021 05:25:03 +0100 (CET) Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 62D6F8304A for ; Sat, 18 Dec 2021 05:24:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mibodhi@gmail.com Received: by mail-ot1-x32c.google.com with SMTP id w6-20020a9d77c6000000b0055e804fa524so5359176otl.3 for ; Fri, 17 Dec 2021 20:24:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hGaBXRrVYMvo5T9rmHDXBFGO6wJKHrOArmQbgTwmy+k=; b=PVG9Hw0VnvxIUrYUvEl+y+/7tDnKgV9fWJxfK9xtFeqeVrZGQ0pxKSJKTiVf4zav2g jDkysswALgIIzqCRX5Ht6wFS1bM51Bd3wgKkj73zDeFcEoTseF247kq3110PF9kjqYFk Orw/cThleTayNwp7g7wR64NL+KBO/TJU/BM/wHFaa9kGi9P3uPkeRXCk5lZAwu126joj CXdFJEaN9ks45od6V7jN8NqSdOn+OgdoZgMz8919JSHa1YIheGGois70Fn8dQCSITKJU Cv2UjQnSZCxbU8Yk1QA4v1axCZ2BU3q8mZhr3Yc++F674VuhoOsIFmLRtBwbGpqibDI2 UAPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hGaBXRrVYMvo5T9rmHDXBFGO6wJKHrOArmQbgTwmy+k=; b=sQ74SQ3WMFEpn9acktzf+yCYFZRcv67ifbDrvYz4Tosv5siKM8LLEooJLsktpNEk8N IDXd99jyHGooFpR16biQjUQHWg3ZTwU4DbqjQPNIa+Pavnj3tMLwNn4f1PLvUV0jpf6F NZff0hrCdF0lD52u3zrrNbLp6MzAR++S+Iz0LH+FDvCNl6MRNsCC5MaQQHjruXyX5C7T cMNe1F5h/eRpo2H4QV3mZZnD1dQzpku1MA+AS7hHkh2kOyoK2HdAbBXI5ByQ7lISx+8o gzzsnXzMCYVzcX7IOsXjJAPj+P6NZ88wx89rLHshjai6+VDoH987Q+xgb0h9efLsfxat IKew== X-Gm-Message-State: AOAM532PaTZnKhLZaGu1llRkqKgGzftbx071wUyiu9MrNUytGW1JEU/A sRoYJcpS4pLhnmnMAACnU1Zi468Cuxiiag== X-Google-Smtp-Source: ABdhPJxqyB5y8wgw/ShhmDnTMHY2f15sTk9OTpqG7Q1IQUrhzheTgKm2mRoNnhGTAJFvnt/lp+DPFA== X-Received: by 2002:a05:6830:2019:: with SMTP id e25mr4541583otp.96.1639801494863; Fri, 17 Dec 2021 20:24:54 -0800 (PST) Received: from localhost.localdomain (76-229-100-169.lightspeed.irvnca.sbcglobal.net. [76.229.100.169]) by smtp.gmail.com with ESMTPSA id n22sm1915050oop.29.2021.12.17.20.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 20:24:54 -0800 (PST) From: Tony Dinh To: U-Boot Mailing List , Stefan Roese Cc: David Purdy , Tom Rini , =?UTF-8?q?Marek=20Beh=FAn?= , =?UTF-8?q?Pali=20Roh=E1r?= , Tony Dinh , Andre Przywara , Christian Hewitt , Fabio Estevam , Jagan Teki , Lokesh Vutla , Neil Armstrong , Peter Robinson , Tim Harvey Subject: [PATCH 1/8] arm: kirkwood: Pogoplug-V4 : Add DTS files Date: Fri, 17 Dec 2021 20:23:27 -0800 Message-Id: <20211218042335.5865-2-mibodhi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211218042335.5865-1-mibodhi@gmail.com> References: <20211218042335.5865-1-mibodhi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Add DTS files for Pogoplug V4 board Signed-off-by: Tony Dinh --- arch/arm/dts/Makefile | 1 + arch/arm/dts/kirkwood-pogoplug_v4.dts | 145 ++++++++++++++++++++++++++ 2 files changed, 146 insertions(+) create mode 100644 arch/arm/dts/kirkwood-pogoplug_v4.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 7f622fedbd..716c6c0ed2 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -68,6 +68,7 @@ dtb-$(CONFIG_ARCH_KIRKWOOD) += \ kirkwood-openrd-client.dtb \ kirkwood-openrd-ultimate.dtb \ kirkwood-pogo_e02.dtb \ + kirkwood-pogoplug_v4.dtb \ kirkwood-sheevaplug.dtb dtb-$(CONFIG_MACH_S900) += \ diff --git a/arch/arm/dts/kirkwood-pogoplug_v4.dts b/arch/arm/dts/kirkwood-pogoplug_v4.dts new file mode 100644 index 0000000000..b4754f600e --- /dev/null +++ b/arch/arm/dts/kirkwood-pogoplug_v4.dts @@ -0,0 +1,145 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2014-2021 Tony Dinh + * + * Device tree file for the Pogoplug V4/Mobile + * + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6192.dtsi" + +/ { + model = "Pogoplug v4"; + compatible = "cloudengines,pogoplug-v4", "cloudengines,pogoplug-mobile", + "marvell,kirkwood-88f6192", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; + + ocp@f1000000 { + pinctrl: pin-controller@10000 { + pmx_led_green: pmx-led-green { + marvell,pins = "mpp22"; + marvell,function = "gpio"; + }; + pmx_led_red: pmx-led-red { + marvell,pins = "mpp24"; + marvell,function = "gpio"; + }; + pmx_button_eject: pmx-button-eject { + marvell,pins = "mpp29"; + marvell,function = "gpio"; + }; + }; + + serial@12000 { + status = "ok"; + }; + + sata@80000 { + status = "okay"; + nr-ports = <2>; + }; + + mvsdio@90000 { + pinctrl-0 = <&pmx_sdio>; + pinctrl-names = "default"; + status = "okay"; + cd-gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>; + /* No WP GPIO */ + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + pinctrl-0 = <&pmx_led_red &pmx_led_green>; + pinctrl-names = "default"; + + health { + label = "status:green:health"; + gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; + default-state = "keep"; + }; + fault { + label = "status:red:fault"; + gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; + }; + }; + + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-0 = <&pmx_button_eject>; + pinctrl-names = "default"; + + button@1 { + label = "Eject Button"; + linux,code = ; + gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; + }; + }; + +}; + +&nand { + status = "okay"; + + partition@0 { + label = "u-boot"; + reg = <0x0000000 0x200000>; + }; + + partition@200000 { + label = "uImage"; + reg = <0x200000 0x300000>; + }; + + partition@500000 { + label = "uImage2"; + reg = <0x500000 0x300000>; + }; + + partition@800000 { + label = "failsafe"; + reg = <0x800000 0x800000>; + }; + + partition@1000000 { + label = "root"; + reg = <0x1000000 0x7000000>; + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy@0 { + reg = <0>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port@0 { + phy-handle = <ðphy0>; + }; +}; + +&pciec { + status = "okay"; +}; + +&pcie0 { + status = "okay"; +}; -- 2.20.1