ARM: dts: vf610: Add usbmisc for non-core registers
authorStefan Agner <stefan@agner.ch>
Mon, 18 Aug 2014 20:07:14 +0000 (22:07 +0200)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 16 Sep 2014 02:25:54 +0000 (10:25 +0800)
Add device tree node for usbmisc which controls the non-core USB
registers. This is required to use the property to disable the over-
current detection.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/vf610.dtsi

index dc5cd11379d3744452c089e1518edb8f08a9f4f3..4d2ec32de96f408f5e7b9b6c383cbde06fe566a5 100644 (file)
                                interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks VF610_CLK_USBC0>;
                                fsl,usbphy = <&usbphy0>;
+                               fsl,usbmisc = <&usbmisc0 0>;
                                dr_mode = "peripheral";
                                status = "disabled";
                        };
 
-
+                       usbmisc0: usb@40034800 {
+                               #index-cells = <1>;
+                               compatible = "fsl,vf610-usbmisc";
+                               reg = <0x40034800 0x200>;
+                               clocks = <&clks VF610_CLK_USBC0>;
+                       };
                };
 
                aips1: aips-bus@40080000 {
                                interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks VF610_CLK_USBC1>;
                                fsl,usbphy = <&usbphy1>;
+                               fsl,usbmisc = <&usbmisc1 0>;
                                dr_mode = "host";
                                status = "disabled";
                        };
 
+                       usbmisc1: usb@400b4800 {
+                               #index-cells = <1>;
+                               compatible = "fsl,vf610-usbmisc";
+                               reg = <0x400b4800 0x200>;
+                               clocks = <&clks VF610_CLK_USBC1>;
+                       };
+
                        ftm: ftm@400b8000 {
                                compatible = "fsl,ftm-timer";
                                reg = <0x400b8000 0x1000 0x400b9000 0x1000>;