Commit dd70ccfa authored by Rafał Miłecki's avatar Rafał Miłecki Committed by 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: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent f55532a0
...@@ -139,3 +139,11 @@ eject { ...@@ -139,3 +139,11 @@ eject {
&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 @@ memory { ...@@ -24,17 +24,6 @@ memory {
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 @@ restart { ...@@ -97,3 +86,7 @@ restart {
&uart0 { &uart0 {
status = "okay"; status = "okay";
}; };
&usb3 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
...@@ -126,3 +126,8 @@ eject { ...@@ -126,3 +126,8 @@ eject {
}; };
}; };
}; };
&usb2 {
vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
};
...@@ -106,3 +106,11 @@ restart { ...@@ -106,3 +106,11 @@ restart {
}; };
}; };
}; };
&usb2 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
&usb3 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
...@@ -109,3 +109,7 @@ &uart0 { ...@@ -109,3 +109,7 @@ &uart0 {
status = "okay"; status = "okay";
clock-frequency = <125000000>; clock-frequency = <125000000>;
}; };
&usb3 {
vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
};
...@@ -207,6 +207,20 @@ chipcommon: chipcommon@0 { ...@@ -207,6 +207,20 @@ chipcommon: chipcommon@0 {
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment