fw-utils/tplink-safeloader.c: Add support for Archer C2600
[openwrt/openwrt.git] / target / linux / ipq806x / patches-3.18 / 036-ARM-qcom-add-SMEM-device-node-to-IPQ806x-dts.patch
1 From f212be3a6134db8dd7c5f6f0987536a669401fae Mon Sep 17 00:00:00 2001
2 From: Mathieu Olivari <mathieu@codeaurora.org>
3 Date: Fri, 14 Aug 2015 11:17:20 -0700
4 Subject: [PATCH 2/3] ARM: qcom: add SMEM device node to IPQ806x dts
5
6 SMEM is used on IPQ806x to store various board related information such
7 as boot device and flash partition layout. We'll declare it as a device
8 so we can make use of it thanks to the new SMEM soc driver.
9
10 Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
11 ---
12 arch/arm/boot/dts/qcom-ipq8064.dtsi | 8 +++++++-
13 1 file changed, 7 insertions(+), 1 deletion(-)
14
15 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
16 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
17 @@ -54,7 +54,7 @@
18 no-map;
19 };
20
21 - smem@41000000 {
22 + smem: smem@41000000 {
23 reg = <0x41000000 0x200000>;
24 no-map;
25 };
26 @@ -304,4 +304,10 @@
27
28 #hwlock-cells = <1>;
29 };
30 +
31 + smem {
32 + compatible = "qcom,smem";
33 + memory-region = <&smem>;
34 + hwlocks = <&sfpb_mutex 3>;
35 + };
36 };