ARM: dts: BCM5301X: Relicense Rafał's code to the GPL 2.0+ / MIT
PATCH 1/2 ARM: dts: BCM5301X: Relicense Rafał's code to the GPL 2.0+ / MIT
From: Rafał Miłecki <[email protected]>
All BCM5301X device DTS files use dual licensing. Try the same for SoC. Introduce a new .dtsi file with a proper SPDX tag.
--- MAINTAINERS | 1 + arch/arm/boot/dts/bcm-ns.dtsi | 202 ++++++++++++++++++++++++++++++++ arch/arm/boot/dts/bcm5301x.dtsi | 192 +----------------------------- 3 files changed, 205 insertions(+), 190 deletions(-) create mode 100644 arch/arm/boot/dts/bcm-ns.dtsi
MAINTAINERS +1 -0
@@ -4001,6 +4001,7 @@ M: Rafał Miłecki <[email protected]> R: Broadcom internal kernel review list <[email protected]> L: [email protected] (moderated for non-subscribers) S: Maintained +F: arch/arm/boot/dts/bcm-ns.dtsi F: arch/arm/boot/dts/bcm470* F: arch/arm/boot/dts/bcm5301* F: arch/arm/boot/dts/bcm953012*
arch/arm/boot/dts/bcm-ns.dtsi new file +202 -0
202 lines not on this page · raw message
arch/arm/boot/dts/bcm5301x.dtsi +2 -190
241 lines not on this page · raw message
Signature · 1 line
2.35.3
PATCH 2/2 ARM: dts: BCM5301X: Relicense Florian's code to the GPL 2.0+ / MIT
From: Rafał Miłecki <[email protected]>
All BCM5301X device DTS files use dual licensing. Try the same for SoC.
--- arch/arm/boot/dts/bcm-ns.dtsi | 36 ++++++++++++++++++++++++++++++ arch/arm/boot/dts/bcm5301x.dtsi | 39 --------------------------------- 2 files changed, 36 insertions(+), 39 deletions(-)
arch/arm/boot/dts/bcm-ns.dtsi +36 -0
@@ -19,6 +19,8 @@ chipcommon: chipcommon@0 { gpio-controller; #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; }; pcie0: pcie@12000 {
@@ -109,6 +111,22 @@ xhci_port1: port@1 { }; }; }; + + gmac0: ethernet@24000 { + reg = <0x24000 0x800>; + }; + + gmac1: ethernet@25000 { + reg = <0x25000 0x800>; + }; + + gmac2: ethernet@26000 { + reg = <0x26000 0x800>; + }; + + gmac3: ethernet@27000 { + reg = <0x27000 0x800>; + }; }; mdio: mdio@18003000 {
@@ -118,6 +136,24 @@ mdio: mdio@18003000 { #address-cells = <1>; }; + rng: rng@18004000 { + compatible = "brcm,bcm5301x-rng"; + reg = <0x18004000 0x14>; + }; + + srab: ethernet-switch@18007000 { + compatible = "brcm,bcm53011-srab", "brcm,bcm5301x-srab"; + reg = <0x18007000 0x1000>; + + status = "disabled"; + + /* ports are defined in board DTS */ + ports { + #address-cells = <1>; + #size-cells = <0>; + }; + }; + dmu-bus@1800c000 { compatible = "simple-bus"; ranges = <0 0x1800c000 0x1000>;
arch/arm/boot/dts/bcm5301x.dtsi +0 -39
@@ -218,30 +218,9 @@ axi@18000000 { <0x00028000 6 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, <0x00028000 7 &gic GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; - chipcommon@0 { - interrupt-controller; - #interrupt-cells = <2>; - }; - pcie2: pcie@14000 { reg = <0x00014000 0x1000>; }; - - gmac0: ethernet@24000 { - reg = <0x24000 0x800>; - }; - - gmac1: ethernet@25000 { - reg = <0x25000 0x800>; - }; - - gmac2: ethernet@26000 { - reg = <0x26000 0x800>; - }; - - gmac3: ethernet@27000 { - reg = <0x27000 0x800>; - }; }; pwm: pwm@18002000 {
@@ -322,24 +301,6 @@ genpll: clock-controller@140 { }; }; - srab: ethernet-switch@18007000 { - compatible = "brcm,bcm53011-srab", "brcm,bcm5301x-srab"; - reg = <0x18007000 0x1000>; - - status = "disabled"; - - /* ports are defined in board DTS */ - ports { - #address-cells = <1>; - #size-cells = <0>; - }; - }; - - rng: rng@18004000 { - compatible = "brcm,bcm5301x-rng"; - reg = <0x18004000 0x14>; - }; - nand_controller: nand-controller@18028000 { compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand"; reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;
Signature · 1 line
2.35.3
Florian Fainelli
AppliedRe: [PATCH 2/2] ARM: dts: BCM5301X: Relicense Florian's code to the GPL 2.0+ / MIT
Quoted 6 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
All BCM5301X device DTS files use dual licensing. Try the same for SoC.
Signed-off-by Rafał Miłecki <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian
Florian Fainelli
AppliedRe: [PATCH 1/2] ARM: dts: BCM5301X: Relicense =?iso-8859-2?Q?Rafa=B3's?= code to the GPL 2.0+ / MIT
In reply to Rafał MiłeckiQuoted 7 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
All BCM5301X device DTS files use dual licensing. Try the same for SoC. Introduce a new .dtsi file with a proper SPDX tag.
Signed-off-by Rafał Miłecki <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian