Message ID | 20240812200358.4061-5-wahrenst@gmx.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ARM: dts: bcm283x: Improve device-trees and bindings | expand |
From: Florian Fainelli <f.fainelli@gmail.com> On Mon, 12 Aug 2024 22:03:58 +0200, Stefan Wahren <wahrenst@gmx.net> wrote: > After converting the bcm2836-l1-intc DT binding to YAML, the DT schema > checks gave warnings like: > > interrupt-controller@40000000: 'interrupt-controller' is a required property > interrupt-controller@40000000: '#interrupt-cells' is a required property > > So add them accordingly. > > Signed-off-by: Stefan Wahren <wahrenst@gmx.net> > --- Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks! -- Florian
diff --git a/arch/arm/boot/dts/broadcom/bcm2711.dtsi b/arch/arm/boot/dts/broadcom/bcm2711.dtsi index e4e42af21ef3..313b1046d74f 100644 --- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi @@ -51,6 +51,8 @@ soc { local_intc: interrupt-controller@40000000 { compatible = "brcm,bcm2836-l1-intc"; reg = <0x40000000 0x100>; + interrupt-controller; + #interrupt-cells = <2>; }; gicv2: interrupt-controller@40041000 { diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi index 6e5a984c1d4e..7d192a5be851 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi @@ -224,6 +224,8 @@ mailbox: mailbox@7c013880 { local_intc: interrupt-controller@7cd00000 { compatible = "brcm,bcm2836-l1-intc"; reg = <0x7cd00000 0x100>; + interrupt-controller; + #interrupt-cells = <2>; }; uart10: serial@7d001000 {
After converting the bcm2836-l1-intc DT binding to YAML, the DT schema checks gave warnings like: interrupt-controller@40000000: 'interrupt-controller' is a required property interrupt-controller@40000000: '#interrupt-cells' is a required property So add them accordingly. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> --- arch/arm/boot/dts/broadcom/bcm2711.dtsi | 2 ++ arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 2 ++ 2 files changed, 4 insertions(+) -- 2.34.1