summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorPurna Chandra Mandal <purna.mandal@microchip.com>2016-03-21 13:05:43 +0530
committerMarek Vasut <marex@denx.de>2016-04-10 17:18:42 +0200
commitac7eef716e6298feea81a927904b25efe1f492ac (patch)
tree12b0335ceb27c311be7cf280b37b3a1a34da9f56 /arch/mips
parent03b8e04632cac41e4000daed70d6987d118bf3d7 (diff)
downloadu-boot-imx-ac7eef716e6298feea81a927904b25efe1f492ac.zip
u-boot-imx-ac7eef716e6298feea81a927904b25efe1f492ac.tar.gz
u-boot-imx-ac7eef716e6298feea81a927904b25efe1f492ac.tar.bz2
board: pic32mzda: enable USB-host, USB-storage support.
Enable MUSB host and USB storage support for Microchip PIC32MZ[DA] Starter Kit. Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/dts/pic32mzda.dtsi12
-rw-r--r--arch/mips/dts/pic32mzda_sk.dts4
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/mips/dts/pic32mzda.dtsi b/arch/mips/dts/pic32mzda.dtsi
index 7d180d9..8a554f9 100644
--- a/arch/mips/dts/pic32mzda.dtsi
+++ b/arch/mips/dts/pic32mzda.dtsi
@@ -171,4 +171,16 @@
#address-cells = <1>;
#size-cells = <0>;
};
+
+ usb: musb@1f8e3000 {
+ compatible = "microchip,pic32mzda-usb";
+ reg = <0x1f8e3000 0x1000>,
+ <0x1f884000 0x1000>;
+ reg-names = "mc", "control";
+ interrupts = <132 IRQ_TYPE_EDGE_RISING>,
+ <133 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clock PB5CLK>;
+ clock-names = "usb_clk";
+ status = "disabled";
+ };
};
diff --git a/arch/mips/dts/pic32mzda_sk.dts b/arch/mips/dts/pic32mzda_sk.dts
index e5ce0bd..0a7847e 100644
--- a/arch/mips/dts/pic32mzda_sk.dts
+++ b/arch/mips/dts/pic32mzda_sk.dts
@@ -52,4 +52,8 @@
ethernet_phy: lan8740_phy@0 {
reg = <0>;
};
+};
+
+&usb {
+ status = "okay";
}; \ No newline at end of file