ath79: fix dtc warnings in ruckus zf7372
authorChristian Lamparter <chunkeey@gmail.com>
Thu, 15 Dec 2022 14:29:04 +0000 (15:29 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 15 Dec 2022 14:45:47 +0000 (15:45 +0100)
|:69.4-14: Warning (reg_format): beamforming-2g-gpio@0:reg: property has invalid length (4 bytes)
|:85.4-14: Warning (reg_format): beamforming-5g-gpio@0:reg: property has invalid length (4 bytes)

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ath79/dts/ar9344_ruckus_zf7372.dts

index 4bf7276db5b58aab5df5bb4a4c194f67b7d78245..2cf7240931177c6894b9eff7069522455385ad27 100644 (file)
@@ -63,6 +63,8 @@
                mosi-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                sck-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
                num-chipselects = <0>;
+               #address-cells = <1>;
+               #size-cells = <0>;
 
                beamforming-2g-gpio@0 {
                        compatible = "fairchild,74hc595";
@@ -79,6 +81,8 @@
                mosi-gpios = <&ath9k 15 GPIO_ACTIVE_HIGH>;
                sck-gpios = <&ath9k 14 GPIO_ACTIVE_HIGH>;
                num-chipselects = <0>;
+               #address-cells = <1>;
+               #size-cells = <0>;
 
                beamforming-5g-gpio@0 {
                        compatible = "fairchild,74hc595";