Full feature Linux kernel - which one to use?


#41

Please add " #address-cells = <1>; #size-cells = <0>; " in the node “mdio: mdio-bus”
to fix these warnings.


(xbgmsharp) #42

Thanks for the feedback, seem to be already present, from file arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts

        mdio: mdio-bus {
                #address-cells = <1>;
                #size-cells = <0>;
                };

(Frank W.) #43

Not in mdio-block…

Your warnings are for mt7530@0 and switch


(xbgmsharp) #44

so in file arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts in the switch node?

$ git df arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
index 79694afb3533..f41728fb94bd 100644
--- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
+++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
@@ -123,8 +123,8 @@
 
        switch {
                compatible = "mediatek,mt7530";
-               #address-cells = <1>;
-               #size-cells = <0>;
+               address-cells = <1>;
+               size-cells = <0>;
                reg = <0>;
 
                dsa,mii-bus = <&mdio>;

(Frank W.) #45

sorry, i’m wrong…ryder talked about the mdio-block…