mvebu: ClearFog DT file renamed upstream
[openwrt/staging/luka.git] / target / linux / mvebu / patches-4.9 / 470-ClearFog-renamed-upstream.patch
1 From b0db8cc1fe7eab722bc1f7c386132b3905d67f30 Mon Sep 17 00:00:00 2001
2 From: Marko Ratkaj <marko.ratkaj@sartura.hr>
3 Date: Fri, 7 Apr 2017 11:01:26 +0200
4 Subject: [PATCH 1/2] ClearFog renamed upstream
5
6 Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
7 ---
8 arch/arm/boot/dts/Makefile | 1 +
9 arch/arm/boot/dts/armada-388-clearfog-pro.dts | 55 +++++++++++++++++++++++++++
10 2 files changed, 56 insertions(+)
11 create mode 100644 arch/arm/boot/dts/armada-388-clearfog-pro.dts
12
13 --- a/arch/arm/boot/dts/Makefile
14 +++ b/arch/arm/boot/dts/Makefile
15 @@ -924,6 +924,7 @@ dtb-$(CONFIG_MACH_ARMADA_38X) += \
16 armada-385-linksys-rango.dtb \
17 armada-385-linksys-shelby.dtb \
18 armada-388-clearfog.dtb \
19 + armada-388-clearfog-pro.dtb \
20 armada-388-db.dtb \
21 armada-388-gp.dtb \
22 armada-388-rd.dtb
23 --- /dev/null
24 +++ b/arch/arm/boot/dts/armada-388-clearfog-pro.dts
25 @@ -0,0 +1,55 @@
26 +/*
27 + * Device Tree file for SolidRun Clearfog Pro revision A1 rev 2.0 (88F6828)
28 + *
29 + * Copyright (C) 2015 Russell King
30 + *
31 + * This board is in development; the contents of this file work with
32 + * the A1 rev 2.0 of the board, which does not represent final
33 + * production board. Things will change, don't expect this file to
34 + * remain compatible info the future.
35 + *
36 + * This file is dual-licensed: you can use it either under the terms
37 + * of the GPL or the X11 license, at your option. Note that this dual
38 + * licensing only applies to this file, and not this project as a
39 + * whole.
40 + *
41 + * a) This file is free software; you can redistribute it and/or
42 + * modify it under the terms of the GNU General Public License
43 + * version 2 as published by the Free Software Foundation.
44 + *
45 + * This file is distributed in the hope that it will be useful,
46 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
47 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48 + * GNU General Public License for more details.
49 + *
50 + * Or, alternatively,
51 + *
52 + * b) Permission is hereby granted, free of charge, to any person
53 + * obtaining a copy of this software and associated documentation
54 + * files (the "Software"), to deal in the Software without
55 + * restriction, including without limitation the rights to use,
56 + * copy, modify, merge, publish, distribute, sublicense, and/or
57 + * sell copies of the Software, and to permit persons to whom the
58 + * Software is furnished to do so, subject to the following
59 + * conditions:
60 + *
61 + * The above copyright notice and this permission notice shall be
62 + * included in all copies or substantial portions of the Software.
63 + *
64 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
65 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
66 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
67 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
68 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
69 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
70 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
71 + * OTHER DEALINGS IN THE SOFTWARE.
72 + */
73 +#include "armada-388-clearfog.dts"
74 +
75 +/ {
76 + model = "SolidRun Clearfog Pro A1";
77 + compatible = "solidrun,clearfog-pro-a1",
78 + "solidrun,clearfog-a1", "marvell,armada388",
79 + "marvell,armada385", "marvell,armada380";
80 +};