Praveen Paneri | 337dc3a | 2012-11-23 16:03:06 +0530 | [diff] [blame] | 1 | * Samsung's usb phy transceiver |
| 2 | |
Vivek Gautam | 8c1b3e1 | 2013-01-22 18:30:41 +0530 | [diff] [blame^] | 3 | The Samsung's phy transceiver is used for controlling usb phy for |
| 4 | s3c-hsotg as well as ehci-s5p and ohci-exynos usb controllers |
| 5 | across Samsung SOCs. |
Praveen Paneri | 337dc3a | 2012-11-23 16:03:06 +0530 | [diff] [blame] | 6 | TODO: Adding the PHY binding with controller(s) according to the under |
| 7 | developement generic PHY driver. |
| 8 | |
| 9 | Required properties: |
Vivek Gautam | 8c1b3e1 | 2013-01-22 18:30:41 +0530 | [diff] [blame^] | 10 | |
| 11 | Exynos4210: |
Praveen Paneri | 337dc3a | 2012-11-23 16:03:06 +0530 | [diff] [blame] | 12 | - compatible : should be "samsung,exynos4210-usbphy" |
| 13 | - reg : base physical address of the phy registers and length of memory mapped |
| 14 | region. |
Vivek Gautam | 69f0946 | 2013-01-15 11:40:25 +0530 | [diff] [blame] | 15 | |
Vivek Gautam | 8c1b3e1 | 2013-01-22 18:30:41 +0530 | [diff] [blame^] | 16 | Exynos5250: |
| 17 | - compatible : should be "samsung,exynos5250-usbphy" |
| 18 | - reg : base physical address of the phy registers and length of memory mapped |
| 19 | region. |
| 20 | |
Vivek Gautam | 69f0946 | 2013-01-15 11:40:25 +0530 | [diff] [blame] | 21 | Optional properties: |
| 22 | - #address-cells: should be '1' when usbphy node has a child node with 'reg' |
| 23 | property. |
| 24 | - #size-cells: should be '1' when usbphy node has a child node with 'reg' |
| 25 | property. |
| 26 | - ranges: allows valid translation between child's address space and parent's |
| 27 | address space. |
| 28 | |
| 29 | - The child node 'usbphy-sys' to the node 'usbphy' is for the system controller |
| 30 | interface for usb-phy. It should provide the following information required by |
| 31 | usb-phy controller to control phy. |
| 32 | - reg : base physical address of PHY_CONTROL registers. |
| 33 | The size of this register is the total sum of size of all PHY_CONTROL |
| 34 | registers that the SoC has. For example, the size will be |
| 35 | '0x4' in case we have only one PHY_CONTROL register (e.g. |
| 36 | OTHERS register in S3C64XX or USB_PHY_CONTROL register in S5PV210) |
| 37 | and, '0x8' in case we have two PHY_CONTROL registers (e.g. |
| 38 | USBDEVICE_PHY_CONTROL and USBHOST_PHY_CONTROL registers in exynos4x). |
| 39 | and so on. |
| 40 | |
| 41 | Example: |
| 42 | - Exynos4210 |
| 43 | |
| 44 | usbphy@125B0000 { |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <1>; |
| 47 | compatible = "samsung,exynos4210-usbphy"; |
| 48 | reg = <0x125B0000 0x100>; |
| 49 | ranges; |
| 50 | |
| 51 | usbphy-sys { |
| 52 | /* USB device and host PHY_CONTROL registers */ |
| 53 | reg = <0x10020704 0x8>; |
| 54 | }; |
| 55 | }; |