Skip to content
Permalink
Browse files

ath79: fix dtc compiler warnings

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>
  • Loading branch information...
mkresin committed Dec 6, 2018
1 parent 35f7077 commit 0fdfdaef2dc61ce528afa8e08a77bde61013ae9e
@@ -104,7 +104,7 @@
#reset-cells = <1>;
};

pcie0: pcie-controller@180c0000 {
pcie0: pcie-controller@17010000 {
compatible = "qca,ar7100-pci";
#address-cells = <3>;
#size-cells = <2>;
@@ -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>;
@@ -130,8 +132,7 @@

rst: reset-controller@1806001c {
compatible = "qca,qca9550-reset",
"qca,ar7100-reset",
"simple-bus";
"qca,ar7100-reset";
reg = <0x1806001c 0x4>;

#reset-cells = <1>;
@@ -107,8 +107,7 @@

rst: reset-controller@1806001c {
compatible = "qca,qca9560-reset",
"qca,ar7100-reset",
"simple-bus";
"qca,ar7100-reset";
reg = <0x1806001c 0x4>;

#reset-cells = <1>;

0 comments on commit 0fdfdae

Please sign in to comment.
You can’t perform that action at this time.