[openwrt/openwrt] ath79: fix dtc warnings in ruckus zf7372

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 15 06:46:59 PST 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d8da5002a2429edb8a051fb45e258596704b11ab

commit d8da5002a2429edb8a051fb45e258596704b11ab
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Thu Dec 15 15:29:04 2022 +0100

    ath79: fix dtc warnings in ruckus zf7372
    
    |:69.4-14: Warning (reg_format): beamforming-2g-gpio at 0:reg: property has invalid length (4 bytes)
    |:85.4-14: Warning (reg_format): beamforming-5g-gpio at 0:reg: property has invalid length (4 bytes)
    
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 target/linux/ath79/dts/ar9344_ruckus_zf7372.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ath79/dts/ar9344_ruckus_zf7372.dts b/target/linux/ath79/dts/ar9344_ruckus_zf7372.dts
index 4bf7276db5..2cf7240931 100644
--- a/target/linux/ath79/dts/ar9344_ruckus_zf7372.dts
+++ b/target/linux/ath79/dts/ar9344_ruckus_zf7372.dts
@@ -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 at 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 at 0 {
 			compatible = "fairchild,74hc595";




More information about the lede-commits mailing list