[LEDE-DEV] [PATCH V2] ath79: relicense DTS files to the GPL 2.0+ / MIT

John Crispin john at phrozen.org
Mon May 7 01:15:10 PDT 2018



On 07/05/18 10:10, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
>
> Some maintainers prefer DTS files licensed under permissive license like
> MIT / BSD. As all DT bindings should be OS independent and DTS files are
> pretty separated from Linux code it probably makes sense to share them
> across projects.
>
> The safest solution is to use dual licensing: that way it stays clear
> these files can be used in GPL projects without depending on current
> belief of licenses compatibility.
>
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
Acked-by: John Crispin <john at phrozen.org>
> ---
> V2: Use the new "GPL-2.0-or-later" identifier
> ---
>   target/linux/ath79/dts/ar7100.dtsi                     | 2 +-
>   target/linux/ath79/dts/ar7161_netgear_wndr3800.dts     | 2 +-
>   target/linux/ath79/dts/ar7241.dtsi                     | 2 +-
>   target/linux/ath79/dts/ar7241_ubnt-bullet-m.dts        | 2 +-
>   target/linux/ath79/dts/ar7241_ubnt-nano-m.dts          | 2 +-
>   target/linux/ath79/dts/ar7241_ubnt-rocket-m.dts        | 2 +-
>   target/linux/ath79/dts/ar7241_ubnt-unifi.dts           | 2 +-
>   target/linux/ath79/dts/ar7241_ubnt-xm.dts              | 2 +-
>   target/linux/ath79/dts/ar7241_ubnt-xm.dtsi             | 2 +-
>   target/linux/ath79/dts/ar7242.dtsi                     | 2 +-
>   target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts | 2 +-
>   target/linux/ath79/dts/ar724x.dtsi                     | 2 +-
>   target/linux/ath79/dts/ar9132.dtsi                     | 2 +-
>   target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts       | 2 +-
>   target/linux/ath79/dts/ar9330.dtsi                     | 2 +-
>   target/linux/ath79/dts/ar9330_gl_ar150.dts             | 2 +-
>   target/linux/ath79/dts/ar9331.dtsi                     | 2 +-
>   target/linux/ath79/dts/ar9331_dpt_module.dts           | 2 +-
>   target/linux/ath79/dts/ar9331_dragino_ms14.dts         | 2 +-
>   target/linux/ath79/dts/ar9331_ew_dorin.dts             | 2 +-
>   target/linux/ath79/dts/ar9331_omega.dts                | 2 +-
>   target/linux/ath79/dts/ar9331_tl_mr3020.dts            | 2 +-
>   target/linux/ath79/dts/ath79.dtsi                      | 2 +-
>   target/linux/ath79/dts/qca9557.dtsi                    | 2 +-
>   target/linux/ath79/dts/qca9558_om5p_ac.dts             | 2 +-
>   25 files changed, 25 insertions(+), 25 deletions(-)
>
> diff --git a/target/linux/ath79/dts/ar7100.dtsi b/target/linux/ath79/dts/ar7100.dtsi
> index d4a973f505..9957b8df60 100644
> --- a/target/linux/ath79/dts/ar7100.dtsi
> +++ b/target/linux/ath79/dts/ar7100.dtsi
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   #include <dt-bindings/clock/ath79-clk.h>
>   #include "ath79.dtsi"
>   
> diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts b/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
> index 60102b03ab..ba6e9ae03c 100644
> --- a/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
> +++ b/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/target/linux/ath79/dts/ar7241.dtsi b/target/linux/ath79/dts/ar7241.dtsi
> index f2efbe4358..91ebea54e0 100644
> --- a/target/linux/ath79/dts/ar7241.dtsi
> +++ b/target/linux/ath79/dts/ar7241.dtsi
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   
>   #include "ar724x.dtsi"
>   
> diff --git a/target/linux/ath79/dts/ar7241_ubnt-bullet-m.dts b/target/linux/ath79/dts/ar7241_ubnt-bullet-m.dts
> index d14e2fdcb0..067c612516 100644
> --- a/target/linux/ath79/dts/ar7241_ubnt-bullet-m.dts
> +++ b/target/linux/ath79/dts/ar7241_ubnt-bullet-m.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include "ar7241_ubnt-xm.dtsi"
> diff --git a/target/linux/ath79/dts/ar7241_ubnt-nano-m.dts b/target/linux/ath79/dts/ar7241_ubnt-nano-m.dts
> index 91fbac039e..8fbd7a6eec 100644
> --- a/target/linux/ath79/dts/ar7241_ubnt-nano-m.dts
> +++ b/target/linux/ath79/dts/ar7241_ubnt-nano-m.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include "ar7241_ubnt-xm.dtsi"
> diff --git a/target/linux/ath79/dts/ar7241_ubnt-rocket-m.dts b/target/linux/ath79/dts/ar7241_ubnt-rocket-m.dts
> index ef2e407b87..e1ef6d7095 100644
> --- a/target/linux/ath79/dts/ar7241_ubnt-rocket-m.dts
> +++ b/target/linux/ath79/dts/ar7241_ubnt-rocket-m.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include "ar7241_ubnt-xm.dtsi"
> diff --git a/target/linux/ath79/dts/ar7241_ubnt-unifi.dts b/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
> index c1829cb4f9..aaafb08424 100644
> --- a/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
> +++ b/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/target/linux/ath79/dts/ar7241_ubnt-xm.dts b/target/linux/ath79/dts/ar7241_ubnt-xm.dts
> index 3461c5b4c3..efb01f7b51 100644
> --- a/target/linux/ath79/dts/ar7241_ubnt-xm.dts
> +++ b/target/linux/ath79/dts/ar7241_ubnt-xm.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include "ar7241_ubnt-xm.dtsi"
> diff --git a/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi b/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
> index c9ad0413dc..cd7da2089b 100644
> --- a/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
> +++ b/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   
>   #include <dt-bindings/gpio/gpio.h>
>   #include <dt-bindings/input/input.h>
> diff --git a/target/linux/ath79/dts/ar7242.dtsi b/target/linux/ath79/dts/ar7242.dtsi
> index 427d67a854..a5909a9b31 100644
> --- a/target/linux/ath79/dts/ar7242.dtsi
> +++ b/target/linux/ath79/dts/ar7242.dtsi
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   
>   #include "ar724x.dtsi"
>   
> diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
> index 826790f539..4e52e30b9d 100644
> --- a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
> +++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/target/linux/ath79/dts/ar724x.dtsi b/target/linux/ath79/dts/ar724x.dtsi
> index c1818a5905..4108745113 100644
> --- a/target/linux/ath79/dts/ar724x.dtsi
> +++ b/target/linux/ath79/dts/ar724x.dtsi
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   #include <dt-bindings/clock/ath79-clk.h>
>   #include "ath79.dtsi"
>   
> diff --git a/target/linux/ath79/dts/ar9132.dtsi b/target/linux/ath79/dts/ar9132.dtsi
> index 7a7a5f1b3d..4a03049989 100644
> --- a/target/linux/ath79/dts/ar9132.dtsi
> +++ b/target/linux/ath79/dts/ar9132.dtsi
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   #include <dt-bindings/clock/ath79-clk.h>
>   
>   / {
> diff --git a/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts b/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
> index 099941258e..9589925eb5 100644
> --- a/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
> +++ b/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/target/linux/ath79/dts/ar9330.dtsi b/target/linux/ath79/dts/ar9330.dtsi
> index 1c03cd8880..f62367264f 100644
> --- a/target/linux/ath79/dts/ar9330.dtsi
> +++ b/target/linux/ath79/dts/ar9330.dtsi
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   #include <dt-bindings/clock/ath79-clk.h>
>   #include "ath79.dtsi"
>   
> diff --git a/target/linux/ath79/dts/ar9330_gl_ar150.dts b/target/linux/ath79/dts/ar9330_gl_ar150.dts
> index a27956d9a4..a41799f0dc 100644
> --- a/target/linux/ath79/dts/ar9330_gl_ar150.dts
> +++ b/target/linux/ath79/dts/ar9330_gl_ar150.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/target/linux/ath79/dts/ar9331.dtsi b/target/linux/ath79/dts/ar9331.dtsi
> index ed816c0618..b29c88a958 100644
> --- a/target/linux/ath79/dts/ar9331.dtsi
> +++ b/target/linux/ath79/dts/ar9331.dtsi
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   #include "ar9330.dtsi"
>   
>   / {
> diff --git a/target/linux/ath79/dts/ar9331_dpt_module.dts b/target/linux/ath79/dts/ar9331_dpt_module.dts
> index bcd863605b..b3c1e2cd29 100644
> --- a/target/linux/ath79/dts/ar9331_dpt_module.dts
> +++ b/target/linux/ath79/dts/ar9331_dpt_module.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/target/linux/ath79/dts/ar9331_dragino_ms14.dts b/target/linux/ath79/dts/ar9331_dragino_ms14.dts
> index e7c446aa71..e63dcfaea8 100644
> --- a/target/linux/ath79/dts/ar9331_dragino_ms14.dts
> +++ b/target/linux/ath79/dts/ar9331_dragino_ms14.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/target/linux/ath79/dts/ar9331_ew_dorin.dts b/target/linux/ath79/dts/ar9331_ew_dorin.dts
> index de4d9fe45d..3c2a1b2147 100644
> --- a/target/linux/ath79/dts/ar9331_ew_dorin.dts
> +++ b/target/linux/ath79/dts/ar9331_ew_dorin.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/target/linux/ath79/dts/ar9331_omega.dts b/target/linux/ath79/dts/ar9331_omega.dts
> index 1225b245fd..79da4e3ac5 100644
> --- a/target/linux/ath79/dts/ar9331_omega.dts
> +++ b/target/linux/ath79/dts/ar9331_omega.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/target/linux/ath79/dts/ar9331_tl_mr3020.dts b/target/linux/ath79/dts/ar9331_tl_mr3020.dts
> index 7439768a2b..929e08252b 100644
> --- a/target/linux/ath79/dts/ar9331_tl_mr3020.dts
> +++ b/target/linux/ath79/dts/ar9331_tl_mr3020.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/target/linux/ath79/dts/ath79.dtsi b/target/linux/ath79/dts/ath79.dtsi
> index c49f4652fe..baf348207e 100644
> --- a/target/linux/ath79/dts/ath79.dtsi
> +++ b/target/linux/ath79/dts/ath79.dtsi
> @@ -1,4 +1,4 @@
> -
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   / {
>   	#address-cells = <1>;
>   	#size-cells = <1>;
> diff --git a/target/linux/ath79/dts/qca9557.dtsi b/target/linux/ath79/dts/qca9557.dtsi
> index ed92da3bd7..6058552372 100644
> --- a/target/linux/ath79/dts/qca9557.dtsi
> +++ b/target/linux/ath79/dts/qca9557.dtsi
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   #include <dt-bindings/clock/ath79-clk.h>
>   #include "ath79.dtsi"
>   
> diff --git a/target/linux/ath79/dts/qca9558_om5p_ac.dts b/target/linux/ath79/dts/qca9558_om5p_ac.dts
> index 7165bc4e11..517bc17cd7 100644
> --- a/target/linux/ath79/dts/qca9558_om5p_ac.dts
> +++ b/target/linux/ath79/dts/qca9558_om5p_ac.dts
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
>   /dts-v1/;
>   
>   #include <dt-bindings/gpio/gpio.h>




More information about the Lede-dev mailing list