ath79: fix dtc compiler warnings
authorMathias Kresin <dev@kresin.me>
Thu, 6 Dec 2018 09:07:30 +0000 (10:07 +0100)
committerMathias Kresin <dev@kresin.me>
Wed, 12 Dec 2018 11:28:26 +0000 (12:28 +0100)
The qca9557/qca956x reset-controller aren't a simple bus. A simple bus
would require node unit addresses.

Add the node unit addresses for the qca9557 usb phys. Add the regs for
the USB_PWRCTL and USB_CONFIG registers even not yet used.

Fix the wrong ar7100 pcie controller node unit address as well.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ath79/dts/ar7100.dtsi
target/linux/ath79/dts/qca9557.dtsi
target/linux/ath79/dts/qca956x.dtsi

index 982ad9648467107aeac85a3ea51acb7b2758c5e8..e3f0edccff44c4bdf8a2dcb1300598468c52a6bf 100644 (file)
                                #reset-cells = <1>;
                        };
 
-                       pcie0: pcie-controller@180c0000 {
+                       pcie0: pcie-controller@17010000 {
                                compatible = "qca,ar7100-pci";
                                #address-cells = <3>;
                                #size-cells = <2>;
index 379e257d021f561e88d518518ebd3c14830cf84e..0357be9b5c6cbc4960b5baa829d089d976fec4e2 100644 (file)
@@ -53,8 +53,9 @@
                                status = "disabled";
                        };
 
-                       usb_phy0: usb-phy0 {
+                       usb_phy0: usb-phy0@18030000 {
                                compatible ="qca,qca9550-usb-phy", "qca,ar7200-usb-phy";
+                               reg = <0x18030000 4>, <0x18030004 4>;
 
                                reset-names = "usb-phy", "usb-suspend-override";
                                resets = <&rst 4>, <&rst 3>;
@@ -64,8 +65,9 @@
                                status = "disabled";
                        };
 
-                       usb_phy1: usb-phy1 {
+                       usb_phy1: usb-phy1@18030010 {
                                compatible = "qca,qca9550-usb-phy", "qca,ar7200-usb-phy";
+                               reg = <0x18030010 4>, <0x18030014 4>;
 
                                reset-names = "usb-phy", "usb-suspend-override";
                                resets = <&rst2 4>, <&rst2 3>;
 
                        rst: reset-controller@1806001c {
                                compatible = "qca,qca9550-reset",
-                                               "qca,ar7100-reset",
-                                                "simple-bus";
+                                               "qca,ar7100-reset";
                                reg = <0x1806001c 0x4>;
 
                                #reset-cells = <1>;
index 81453717477f5985dff912c50c720a0d46b40957..248c001cd26bb97fff2a1f0e0aa26c1056fd04f0 100644 (file)
 
                        rst: reset-controller@1806001c {
                                compatible = "qca,qca9560-reset",
-                                               "qca,ar7100-reset",
-                                                "simple-bus";
+                                               "qca,ar7100-reset";
                                reg = <0x1806001c 0x4>;
 
                                #reset-cells = <1>;