提交 dd70ccfa 编写于 作者: R Rafał Miłecki 提交者: Florian Fainelli

ARM: BCM5301X: Set vcc-gpio for USB controllers of few devices

There are few devices that have USB power controlled using GPIO. Linux
USB host driver (bcma-hcd) already supports this by reading vcc-gpio
from DT. Set it properly for all known devices.
Signed-off-by: NRafał Miłecki <zajec5@gmail.com>
Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
上级 f55532a0
...@@ -139,3 +139,11 @@ ...@@ -139,3 +139,11 @@
&uart0 { &uart0 {
status = "okay"; status = "okay";
}; };
&usb2 {
vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
};
&usb3 {
vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
};
...@@ -24,17 +24,6 @@ ...@@ -24,17 +24,6 @@
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
axi@18000000 {
usb3@23000 {
reg = <0x00023000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
...@@ -97,3 +86,7 @@ ...@@ -97,3 +86,7 @@
&uart0 { &uart0 {
status = "okay"; status = "okay";
}; };
&usb3 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
...@@ -126,3 +126,8 @@ ...@@ -126,3 +126,8 @@
}; };
}; };
}; };
&usb2 {
vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
};
...@@ -106,3 +106,11 @@ ...@@ -106,3 +106,11 @@
}; };
}; };
}; };
&usb2 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
&usb3 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
...@@ -109,3 +109,7 @@ ...@@ -109,3 +109,7 @@
status = "okay"; status = "okay";
clock-frequency = <125000000>; clock-frequency = <125000000>;
}; };
&usb3 {
vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
};
...@@ -207,6 +207,20 @@ ...@@ -207,6 +207,20 @@
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
}; };
usb2: usb2@21000 {
reg = <0x00021000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
};
usb3: usb3@23000 {
reg = <0x00023000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
};
}; };
lcpll0: lcpll0@1800c100 { lcpll0: lcpll0@1800c100 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册