1 From 916553449561c4f0b61c71b751b7bb583f5dddd4 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Wed, 3 May 2023 14:16:11 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Relicense Florian's code to the GPL 2.0+
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 All BCM5301X device DTS files use dual licensing. Try the same for SoC.
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Link: https://lore.kernel.org/r/20230503121611.1629-2-zajec5@gmail.com
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
16 arch/arm/boot/dts/bcm-ns.dtsi | 36 ++++++++++++++++++++++++++++++
17 arch/arm/boot/dts/bcm5301x.dtsi | 39 ---------------------------------
18 2 files changed, 36 insertions(+), 39 deletions(-)
20 --- a/arch/arm/boot/dts/bcm-ns.dtsi
21 +++ b/arch/arm/boot/dts/bcm-ns.dtsi
26 + interrupt-controller;
27 + #interrupt-cells = <2>;
36 + gmac0: ethernet@24000 {
37 + reg = <0x24000 0x800>;
40 + gmac1: ethernet@25000 {
41 + reg = <0x25000 0x800>;
44 + gmac2: ethernet@26000 {
45 + reg = <0x26000 0x800>;
48 + gmac3: ethernet@27000 {
49 + reg = <0x27000 0x800>;
59 + compatible = "brcm,bcm5301x-rng";
60 + reg = <0x18004000 0x14>;
63 + srab: ethernet-switch@18007000 {
64 + compatible = "brcm,bcm53011-srab", "brcm,bcm5301x-srab";
65 + reg = <0x18007000 0x1000>;
67 + status = "disabled";
69 + /* ports are defined in board DTS */
71 + #address-cells = <1>;
77 compatible = "simple-bus";
78 ranges = <0 0x1800c000 0x1000>;
79 --- a/arch/arm/boot/dts/bcm5301x.dtsi
80 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
82 <0x00028000 6 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
83 <0x00028000 7 &gic GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
86 - interrupt-controller;
87 - #interrupt-cells = <2>;
91 reg = <0x00014000 0x1000>;
94 - gmac0: ethernet@24000 {
95 - reg = <0x24000 0x800>;
98 - gmac1: ethernet@25000 {
99 - reg = <0x25000 0x800>;
102 - gmac2: ethernet@26000 {
103 - reg = <0x26000 0x800>;
106 - gmac3: ethernet@27000 {
107 - reg = <0x27000 0x800>;
116 - srab: ethernet-switch@18007000 {
117 - compatible = "brcm,bcm53011-srab", "brcm,bcm5301x-srab";
118 - reg = <0x18007000 0x1000>;
120 - status = "disabled";
122 - /* ports are defined in board DTS */
124 - #address-cells = <1>;
129 - rng: rng@18004000 {
130 - compatible = "brcm,bcm5301x-rng";
131 - reg = <0x18004000 0x14>;
134 nand_controller: nand-controller@18028000 {
135 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
136 reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;