mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
bcm53xx: Netgear R8000: define GPIO powering USB ports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r47337 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47399 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -61,3 +61,32 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
--- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
|
||||
+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
|
||||
@@ -25,6 +25,26 @@
|
||||
0x88000000 0x08000000>;
|
||||
};
|
||||
|
||||
+ axi@18000000 {
|
||||
+ usb2@21000 {
|
||||
+ reg = <0x00021000 0x1000>;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+
|
||||
+ vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
|
||||
+ };
|
||||
+
|
||||
+ usb3@23000 {
|
||||
+ reg = <0x00023000 0x1000>;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+
|
||||
+ vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
|
||||
@@ -151,8 +151,8 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||
#address-cells = <1>;
|
||||
--- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
|
||||
+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
|
||||
@@ -25,6 +25,18 @@
|
||||
0x88000000 0x08000000>;
|
||||
@@ -45,6 +45,18 @@
|
||||
};
|
||||
};
|
||||
|
||||
+ chipcommonA {
|
||||
|
||||
Reference in New Issue
Block a user