bcm53xx: backport DT changes from v6.5
[openwrt/staging/hauke.git] / target / linux / bcm53xx / patches-5.15 / 036-v6.5-0009-ARM-dts-BCM5301X-Drop-invalid-usb-cells.patch
1 From c3acdd4901192bc69dc577012663d5abae21661e Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 2 Jun 2023 15:34:54 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Drop invalid #usb-cells
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Such property simply doesn't exist (is not documented or used anywhere).
10
11 This fixes:
12 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: usb@21000: Unevaluated properties are not allowed ('#usb-cells' was unexpected)
13 From schema: Documentation/devicetree/bindings/usb/generic-ehci.yaml
14 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: usb@22000: Unevaluated properties are not allowed ('#usb-cells' was unexpected)
15 From schema: Documentation/devicetree/bindings/usb/generic-ohci.yaml
16 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: usb@23000: Unevaluated properties are not allowed ('#usb-cells' was unexpected)
17 From schema: Documentation/devicetree/bindings/usb/generic-xhci.yaml
18
19 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
20 Link: https://lore.kernel.org/r/20230602133455.7441-1-zajec5@gmail.com
21 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
22 ---
23 arch/arm/boot/dts/bcm-ns.dtsi | 6 ------
24 1 file changed, 6 deletions(-)
25
26 --- a/arch/arm/boot/dts/bcm-ns.dtsi
27 +++ b/arch/arm/boot/dts/bcm-ns.dtsi
28 @@ -192,8 +192,6 @@
29 interrupt-parent = <&gic>;
30
31 ehci: usb@21000 {
32 - #usb-cells = <0>;
33 -
34 compatible = "generic-ehci";
35 reg = <0x00021000 0x1000>;
36 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
37 @@ -214,8 +212,6 @@
38 };
39
40 ohci: usb@22000 {
41 - #usb-cells = <0>;
42 -
43 compatible = "generic-ohci";
44 reg = <0x00022000 0x1000>;
45 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
46 @@ -245,8 +241,6 @@
47 interrupt-parent = <&gic>;
48
49 xhci: usb@23000 {
50 - #usb-cells = <0>;
51 -
52 compatible = "generic-xhci";
53 reg = <0x00023000 0x1000>;
54 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;