From patchwork Wed Nov 13 15:46:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 1194349 X-Patchwork-Delegate: lokeshvutla@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="BrmfRfgy"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 47CprX4NRgz9sPk for ; Thu, 14 Nov 2019 02:46:52 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 32EE7C21C29; Wed, 13 Nov 2019 15:46:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 79D5DC21C29; Wed, 13 Nov 2019 15:46:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id EF7E0C21C29; Wed, 13 Nov 2019 15:46:47 +0000 (UTC) Received: from mail-yb1-f193.google.com (mail-yb1-f193.google.com [209.85.219.193]) by lists.denx.de (Postfix) with ESMTPS id 73E43C21BE5 for ; Wed, 13 Nov 2019 15:46:47 +0000 (UTC) Received: by mail-yb1-f193.google.com with SMTP id v15so1089168ybp.13 for ; Wed, 13 Nov 2019 07:46:47 -0800 (PST) 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=hIr05zkgH8ujJTuRvuLIxSNSwFTYs5TwpI2ICQ6t/FI=; b=BrmfRfgykhYsTQ4SJhE3SN1VM9OISf/GrnyiVCGPYwCMv77K5+OERW+9OHxbmJdWoh 6GD2PEyYUVwDZWv6EyH7e1XdIOX0Vl9o5BDQGMJ1Umb9OHgvuQA1M1VtKNes9c8hmJ4J eo+TglvfXnSUKRDCz1HvqZJ7XwbJL0ndk441WDPHqRctAFev/lo8Ed3PCJYJTMXfCNOv lBYR/UPE/kEUcQEphbd1Kd3/1TmqvftcL+4Jf1eA8Qx4ZicRj2bprVL6whn3mH5d9NvT 4yCFKKHvh4tnH4ZyZV+k4GoRxF/3C5jpe18U9lBmKrLajTi/5I2Gup9i0d8P+WwUde0G 8O0g== 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=hIr05zkgH8ujJTuRvuLIxSNSwFTYs5TwpI2ICQ6t/FI=; b=sK2N5pK68RS6EqfCdy0lvcMX6JMWTYNXI33A0s2GtrAwG38CS5koVsIrb/MpeaBv9Y 3o/+zDYAsOCb8vKnT7vWpctsy7+7J7v9Rr91Q9RM53aIx/bSt2qErdygRhvrtqunUPjm WeZWTaGHrSW0cPBMIHqRP9ntPAoXt5kTD+SHdMoHMJ2yp5J0HdhJM38HkyHRQHKV9NEq VIoQCGlMGT0c2J7rG8MMy3TclPOul3CY88GYgMijxDKHsopTczN6g5bgKPcdHe8fTTKa 51BkXX6Gu96rvJtM6kBN8MmudLcdPr3eheRmM7vkMNtuRPjK1OZP0Lum9QPpu2ZY+WLo civg== X-Gm-Message-State: APjAAAU3Olv4m9OR+O8+5BczypoztmN8a4KM2LdwSBWCB4n2I4WVqjqr vR3XoFCb36LVqeLnHBEqb+eV4j7TcaQ= X-Google-Smtp-Source: APXvYqwAkaxT/yzbNlVPp9B0vhJFRBJyLsT6UQbS4oBO421YMJWl1GUj5JaHgntMaggK9gypEekfYw== X-Received: by 2002:a25:ac8:: with SMTP id 191mr3263295ybk.396.1573660005189; Wed, 13 Nov 2019 07:46:45 -0800 (PST) Received: from localhost.localdomain (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id j144sm785415ywg.77.2019.11.13.07.46.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2019 07:46:44 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Date: Wed, 13 Nov 2019 09:46:32 -0600 Message-Id: <20191113154632.24997-1-aford173@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: bgolaszewski@baylibre.com, phoward@gme.net.au Subject: [U-Boot] [PATCH] ARM: dts: da850-lcdk: Update DTS files for SPL device tree support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Currently, the da850-lcdk uses SPL_OF_PLATDATA and manually loads the necessary source code instead of using the auto-generated, because the drivers don't properly autogenerate the code. This patch simply enables the various device tree options to mimic the da850-evm which doesn't need or use OF_PLATDATA for device tree support. It does not disable OF_PLATDATA. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/da850-lcdk-u-boot.dtsi b/arch/arm/dts/da850-lcdk-u-boot.dtsi index 541f4ca200..b372d06ca9 100644 --- a/arch/arm/dts/da850-lcdk-u-boot.dtsi +++ b/arch/arm/dts/da850-lcdk-u-boot.dtsi @@ -8,9 +8,23 @@ / { aliases { i2c0 = &i2c0; + mmc0 = &mmc0; + serial2 = &serial2; + }; + + soc@1c00000 { + u-boot,dm-spl; }; nand { compatible = "ti,davinci-nand"; }; }; + +&mmc0 { + u-boot,dm-spl; +}; + +&serial2 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/da850-lcdk.dts b/arch/arm/dts/da850-lcdk.dts index 0177e3ed20..db8ae566f3 100644 --- a/arch/arm/dts/da850-lcdk.dts +++ b/arch/arm/dts/da850-lcdk.dts @@ -18,7 +18,7 @@ }; chosen { - stdout-path = "serial2:115200n8"; + stdout-path = &serial2; }; memory@c0000000 {