|
|
@ -131,28 +131,19 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
/* gpio 12 and 13 handle the OC input */ |
|
|
|
gpio_export { |
|
|
|
usb0: gpio-regulator { |
|
|
|
compatible = "gpio-export"; |
|
|
|
compatible = "regulator-gpio"; |
|
|
|
#size-cells = <0>; |
|
|
|
|
|
|
|
/* gpio 12 and 13 handle the OC input */ |
|
|
|
regulator-name = "usb0-power"; |
|
|
|
usb0 { |
|
|
|
regulator-min-microvolt = <5000000>; |
|
|
|
gpio-export,name = "usb0"; |
|
|
|
regulator-max-microvolt = <5000000>; |
|
|
|
gpio-export,output = <1>; |
|
|
|
regulator-boot-on; |
|
|
|
gpios = <&gpio0 2 0>; |
|
|
|
|
|
|
|
}; |
|
|
|
enable-active-high; |
|
|
|
usb1 { |
|
|
|
enable-gpio = <&gpio0 2 0>; |
|
|
|
gpio-export,name = "usb1"; |
|
|
|
}; |
|
|
|
gpio-export,output = <1>; |
|
|
|
|
|
|
|
gpios = <&gpio0 1 0>; |
|
|
|
usb1: gpio-regulator { |
|
|
|
}; |
|
|
|
compatible = "regulator-gpio"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
regulator-name = "usb1-power"; |
|
|
|
|
|
|
|
regulator-min-microvolt = <5000000>; |
|
|
|
|
|
|
|
regulator-max-microvolt = <5000000>; |
|
|
|
|
|
|
|
regulator-boot-on; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enable-active-high; |
|
|
|
|
|
|
|
enable-gpio = <&gpio0 1 0>; |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|