Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: keystone: Add usb phy devicetree bindings

Added device tree support for TI's Keystone USB PHY driver and updated the
Documentation with device tree binding information.

Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>

authored by

WingMan Kwok and committed by
Santosh Shilimkar
08c36762 0ee15444

+28
+20
Documentation/devicetree/bindings/usb/keystone-phy.txt
··· 1 + TI Keystone USB PHY 2 + 3 + Required properties: 4 + - compatible: should be "ti,keystone-usbphy". 5 + - #address-cells, #size-cells : should be '1' if the device has sub-nodes 6 + with 'reg' property. 7 + - reg : Address and length of the usb phy control register set. 8 + 9 + The main purpose of this PHY driver is to enable the USB PHY reference clock 10 + gate on the Keystone SOC for both the USB2 and USB3 PHY. Otherwise it is just 11 + an NOP PHY driver. Hence this node is referenced as both the usb2 and usb3 12 + phy node in the USB Glue layer driver node. 13 + 14 + usb_phy: usb_phy@2620738 { 15 + compatible = "ti,keystone-usbphy"; 16 + #address-cells = <1>; 17 + #size-cells = <1>; 18 + reg = <0x2620738 32>; 19 + status = "disabled"; 20 + };
+8
arch/arm/boot/dts/keystone.dtsi
··· 181 181 interrupts = <GIC_SPI 300 IRQ_TYPE_EDGE_RISING>; 182 182 clocks = <&clkspi>; 183 183 }; 184 + 185 + usb_phy: usb_phy@2620738 { 186 + compatible = "ti,keystone-usbphy"; 187 + #address-cells = <1>; 188 + #size-cells = <1>; 189 + reg = <0x2620738 32>; 190 + status = "disabled"; 191 + }; 184 192 }; 185 193 };