Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2313718ybp; Sat, 12 Oct 2019 07:59:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqySU4VZlqjnZf/4kLP52YYdwaptiumcgKLxNBx5liU+9QxH+mRAC1usWSrzFgQr/D+vcHBn X-Received: by 2002:a05:6402:1519:: with SMTP id f25mr19401821edw.65.1570892344517; Sat, 12 Oct 2019 07:59:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570892344; cv=none; d=google.com; s=arc-20160816; b=O6P37fmQOiXZ8DWxpU3iLceMsjgAtOhwEYeHzNTgJprWlRE1/SyG89RWb+k8hdqEoy 43LAy5Xcw6E4kELvy9EGOUE/QI3DIXve3FX3vzbAx9nJsQ/LiSqcr/WuyW2kFbq9QcO4 2dECmXEAZ3g1WxSkX2wI8fq+reJfKOtYEcc8PW7ridDjE2qMaNJM/NwEOsocw1WxKggP A0halVHNlNKHorUnpArma5yD4XopJJy1LhHl1hsbvcZyQNT9U/KdvfY1iP8ZzgkKze2+ iG3XwasyW/00meGr1b0wEIQEiW6CNPRonK3pHDh9cisXEZB357FHOFEKvDlbYms8cBoS XoOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HrLiuXk6l7SBWQR/FCMK363GSw8hqDIyi5NTJpfi314=; b=oFZv8cP4Y0iCrK3PtxZUecccGizZ0qGCPfrzg6iwDhbdMukb4Ls14okcsQXk9FRbmI wPRY43msxhNy5Pqz8gz6RMpqM5zKDep/HwJnPvGMF52Jk6GbDj9txnfw1b/ZKizWz6d0 czlXGcpb5xxnfkq2gBarcXXu+ApOvKAPstXha6jCvIFw9aGICAfuGGo7hQfsnMTOcBC5 J2IE39Yan39ygII2Rp/tHecxvpiwO5o4HO9q1LCNBH3rX9uTpJONZgIM/zZdv9r9EBym T9iCMh6AeK8Qvcj0K71oZhUcRRp5IWtMTxiuYfARtQ73/IVb0prIRfvXNvjiY+RUgh3X to8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iCaBwwXy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s20si8205130ejx.223.2019.10.12.07.58.40; Sat, 12 Oct 2019 07:59:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iCaBwwXy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728978AbfJLO6h (ORCPT + 99 others); Sat, 12 Oct 2019 10:58:37 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:43876 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727115AbfJLO6g (ORCPT ); Sat, 12 Oct 2019 10:58:36 -0400 Received: by mail-lj1-f196.google.com with SMTP id n14so12516056ljj.10; Sat, 12 Oct 2019 07:58:34 -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=HrLiuXk6l7SBWQR/FCMK363GSw8hqDIyi5NTJpfi314=; b=iCaBwwXyKPJMg1mxYoSRXQD/mncQ1z96UvDtS8jEzgZITzuq4gpgXTzU0offq3wurE MEZwnpqibgg5BQzSLhS9d9BL/dkJC/Vss8N0a8vWXmICnhqAbx9zyLqKbHDdDv+D2q8i QKylPi+m9O+rkIQWXNkSr0AaEpW8crubfVQJPttMzrPJCICM5E970Oqr61AIfjVTXYWx HO0GJyO+jmjuoOAPp7BeaR/14jCDg0Wbe27wlumM0VwPrMhB3SQXtHAlVPh0Ju9wqGgf Z/fYEv5cKX7yhIpfbFvqpk0syBEj5BIw7VdcwNhhypBMCPZ9Wk2sl0z0HDgQQecgyZeQ kVPw== 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=HrLiuXk6l7SBWQR/FCMK363GSw8hqDIyi5NTJpfi314=; b=UvrzPMIL0b3Cce96jaOoxzChnALp22qLnRIM58m/sxgJPFrXLgJDrqxtqblgUtdvJV wdzP0J6H/dbMNRx9Nd2W8XcHyOc+YRVg/lBW9xzLq0wSgsTWdyD1ssoeYNgFb2GB95ih bQMNBYytd5tlrSmBcqZRG1kCCBC0/2O67LPtvy+RvbrA4n4+sdu1LkubJJfvRJmSkYjW QHmCKqhfiU16GEOQ3eEq+2bGCx2rpGUrxaX8941vzwleHQqvsEBL8062NtTioNyCkdZT gs0VrjzfMQfBGe7IFaaznYRDuXE1Tap8Op43TjsxI6AUTHnTWOG+9t7k7XVUbY8Igzf8 a6zA== X-Gm-Message-State: APjAAAVa7K/wF5I1OExBL58JOJrY40X9dTVbSE9vksRFtJ4mS2VThIle jmYmRQ3M9WkrHyzG0bc3sX8= X-Received: by 2002:a2e:6c15:: with SMTP id h21mr12681149ljc.86.1570892314106; Sat, 12 Oct 2019 07:58:34 -0700 (PDT) Received: from localhost.localdomain ([2a01:540:3f08:6700:a54a:5215:2ca7:fec9]) by smtp.gmail.com with ESMTPSA id t4sm2599764lji.40.2019.10.12.07.58.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2019 07:58:33 -0700 (PDT) From: nikitos.tr@gmail.com To: agross@kernel.org, bjorn.andersson@linaro.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stephan@gerhold.net, Nikita Travkin Subject: [PATCH 1/2] arm64: dts: msm8916-longcheer-l8150: Enable WCNSS for WiFi and BT Date: Sat, 12 Oct 2019 19:58:20 +0500 Message-Id: <20191012145821.20846-1-nikitos.tr@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nikita Travkin WCNSS is used on L8150 for WiFi and BT. Its firmware isn't relocatable and must be loaded at specific address. Signed-off-by: Nikita Travkin --- .../boot/dts/qcom/msm8916-longcheer-l8150.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts index 2b28e383fd0b..e4d467e7dedb 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts @@ -18,6 +18,16 @@ stdout-path = "serial0"; }; + reserved-memory { + // wcnss.mdt is not relocatable, so it must be loaded at 0x8b600000 + /delete-node/ wcnss@89300000; + + wcnss_mem: wcnss@8b600000 { + reg = <0x0 0x8b600000 0x0 0x600000>; + no-map; + }; + }; + soc { sdhci@7824000 { status = "okay"; @@ -68,6 +78,10 @@ }; }; + wcnss@a21b000 { + status = "okay"; + }; + /* * Attempting to enable these devices causes a "synchronous * external abort". Suspected cause is that the debug power -- 2.19.1