summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/phy
diff options
context:
space:
mode:
authorJohn Crispin2017-08-17 12:33:23 +0200
committerKishon Vijay Abraham I2017-08-20 10:32:22 +0200
commit1cc81efe8e64ddea7af0607f59df9fd5ba163c81 (patch)
tree82cce82a200cecf3ba84e5938d7e4c136b120773 /Documentation/devicetree/bindings/phy
parentphy: samsung: use of_device_get_match_data() (diff)
downloadkernel-qcow2-linux-1cc81efe8e64ddea7af0607f59df9fd5ba163c81.tar.gz
kernel-qcow2-linux-1cc81efe8e64ddea7af0607f59df9fd5ba163c81.tar.xz
kernel-qcow2-linux-1cc81efe8e64ddea7af0607f59df9fd5ba163c81.zip
dt-bindings: phy: Add bindings for ralink-usb PHY
Add a binding for the USB phy on Mediatek/Ralink SoCs. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Harvey Hunt <harvey.hunt@imgtec.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/phy')
-rw-r--r--Documentation/devicetree/bindings/phy/ralink-usb-phy.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt b/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt
new file mode 100644
index 000000000000..9d2868a437ab
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt
@@ -0,0 +1,23 @@
+Mediatek/Ralink USB PHY
+
+Required properties:
+ - compatible: "ralink,rt3352-usbphy"
+ "mediatek,mt7620-usbphy"
+ "mediatek,mt7628-usbphy"
+ - reg: required for "mediatek,mt7628-usbphy", unused otherwise
+ - #phy-cells: should be 0
+ - ralink,sysctl: a phandle to a ralink syscon register region
+ - resets: the two reset controllers for host and device
+ - reset-names: the names of the 2 reset controllers
+
+Example:
+
+usbphy: phy {
+ compatible = "mediatek,mt7628-usbphy";
+ reg = <0x10120000 0x1000>;
+ #phy-cells = <0>;
+
+ ralink,sysctl = <&sysc>;
+ resets = <&rstctrl 22 &rstctrl 25>;
+ reset-names = "host", "device";
+};